@staticmethod<EOL><INDENT>def build_funcs(modules):<DEDENT>
kernel32 = ['<STR_LIT>']<EOL>try:<EOL><INDENT>kernel32 += remove_dups(modules['<STR_LIT>'])<EOL><DEDENT>except KeyError:<EOL><INDENT>if len(modules) and '<STR_LIT>' not in kernel32:<EOL><INDENT>kernel32.insert(<NUM_LIT:1>, '<STR_LIT>')<EOL><DEDENT><DEDENT>if len(modules) > <NUM_LIT:1> and '<STR_LIT>' not in kernel32:<EOL><INDENT>kernel32.insert(<NUM_LIT:1>, '<STR_LIT>')<EOL><DEDENT>if '<STR_LIT>' not in kernel32:<EOL><INDENT>kernel32.insert(<NUM_LIT:1>, '<STR_LIT>')<EOL><DEDENT>logging.debug('<STR_LIT>', kernel32)<EOL>for module, funcs in modules.items():<EOL><INDENT>logging.debug('<STR_LIT>', module, funcs)<EOL>if module != '<STR_LIT>':<EOL><INDENT>kernel32.extend([module + '<STR_LIT:_>'] + remove_dups(funcs))<EOL><DEDENT><DEDENT>return kernel32<EOL>
Build a used functions and modules list
        for later consumption.