Function at 0x402f50
Capabilities:
Link many functions at runtime

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov dword [esp + 4], str.Py_DontWriteBytecodeFlag
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x4120dc], eax
je 0x403581
mov dword [esp + 4], str.Py_FileSystemDefaultEncoding
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x4120d8], eax
je 0x403597
mov dword [esp + 4], str.Py_FrozenFlag
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x4120d4], eax
je 0x4035ad
mov dword [esp + 4], str.Py_IgnoreEnvironmentFlag
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x4120d0], eax
je 0x4035c3
mov dword [esp + 4], str.Py_NoSiteFlag
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x4120cc], eax
je 0x4035d9
mov dword [esp + 4], str.Py_NoUserSiteDirectory
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x4120c8], eax
je 0x4035ef
mov dword [esp + 4], str.Py_OptimizeFlag
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x4120c4], eax
je 0x403605
mov dword [esp + 4], str.Py_VerboseFlag
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x4120c0], eax
je 0x40361b
mov dword [esp + 4], str.Py_BuildValue
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x4120bc], eax
je 0x403631
mov dword [esp + 4], str.Py_DecRef
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x4120b8], eax
je 0x403647
mov dword [esp + 4], str.Py_EndInterpreter
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x4120b4], eax
je 0x40365d
mov dword [esp + 4], str.Py_Finalize
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x4120b0], eax
je 0x403673
mov dword [esp + 4], str.Py_IncRef
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x4120ac], eax
je 0x403689
mov dword [esp + 4], str.Py_Initialize
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x4120a8], eax
je 0x4036b5
mov dword [esp + 4], str.Py_NewInterpreter
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x4120a4], eax
je 0x4038c5
cmp edi, 0x1d
jg 0x403410
mov dword [esp + 4], str.Py_SetProgramName
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x41209c], eax
je 0x40369f
mov dword [esp + 4], str.Py_SetPythonHome
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x412098], eax
je 0x4036e1
mov dword [esp + 4], str.PyDict_GetItemString
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x412094], eax
je 0x4036cb
mov dword [esp + 4], str.PyErr_Clear
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x412090], eax
je 0x40370d
mov dword [esp + 4], str.PyErr_Occurred
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x41208c], eax
je 0x4036f7
mov dword [esp + 4], str.PyErr_Print
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x412088], eax
je 0x403739
mov dword [esp + 4], str.PyEval_AcquireThread
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x412084], eax
je 0x403723
mov dword [esp + 4], str.PyEval_InitThreads
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x412080], eax
je 0x403765
mov dword [esp + 4], str.PyEval_ReleaseThread
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x41207c], eax
je 0x40374f
mov dword [esp + 4], str.PyImport_AddModule
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x412078], eax
je 0x4037a7
mov dword [esp + 4], str.PyImport_ExecCodeModule
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x412074], eax
je 0x403791
mov dword [esp + 4], str.PyImport_ImportModule
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x412070], eax
je 0x40377b
mov dword [esp + 4], str.PyList_Append
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x41206c], eax
je 0x4037bd
mov dword [esp + 4], str.PyList_New
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x412068], eax
je 0x4037d3
mov dword [esp + 4], str.PyLong_AsLong
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x412064], eax
je 0x4037e9
mov dword [esp + 4], str.PyModule_GetDict
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x412060], eax
je 0x4037ff
mov dword [esp + 4], str.PyObject_CallFunction
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x41205c], eax
je 0x403815
mov dword [esp + 4], str.PyObject_SetAttrString
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x412058], eax
je 0x40382b
mov dword [esp + 4], str.PyRun_SimpleString
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x412054], eax
je 0x4038db
cmp edi, 0x1d
jle 0x403440
mov dword [esp + 4], str.PySys_AddWarnOption
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x41204c], eax
je 0x403841
mov dword [esp + 4], str.PySys_SetArgvEx
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x412048], eax
je 0x403857
mov dword [esp + 4], str.PySys_GetObject
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x412044], eax
je 0x40386d
mov dword [esp + 4], str.PySys_SetObject
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x412040], eax
je 0x403883
mov dword [esp + 4], str.PySys_SetPath
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x41203c], eax
je 0x403899
mov dword [esp + 4], str.PyThreadState_Swap
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x412038], eax
je 0x4038f1
cmp edi, 0x1d
jg 0x403490
xor eax, eax
add esp, 0x10
pop ebx
pop esi
pop edi
ret
mov dword [esp + 4], str.Py_SetPath
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x4120a0], eax
jne 0x403120
mov dword [esp], str.Cannot_GetProcAddress_for_Py_SetPath_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp + 4], str.PyString_FromString
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x412050], eax
je 0x4038af
mov dword [esp + 4], str.PyString_FromFormat
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x41202c], eax
jne 0x403350
mov dword [esp], str.Cannot_GetProcAddress_for_PyString_FromFormat_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp + 4], str.PyUnicode_FromString
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x412034], eax
je 0x40391d
cmp edi, 0x22
jg 0x403550
mov dword [esp + 4], str._Py_char2wchar
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x412030], eax
je 0x403945
mov dword [esp + 4], str.PyUnicode_FromFormat
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x412028], eax
je 0x403907
mov dword [esp + 4], str.PyUnicode_Decode
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x412020], eax
je 0x403931
cmp edi, 0x1f
jle 0x403407
mov dword [esp + 4], str.PyUnicode_DecodeFSDefault
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x412024], eax
jne 0x403407
mov dword [esp], str.Cannot_GetProcAddress_for_PyUnicode_DecodeFSDefault_n
call fcn.00401e10
or eax, 0xffffffff
jmp 0x403409
mov dword [esp + 4], str.Py_DecodeLocale
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
mov dword [0x412030], eax
jne 0x4034d3
mov dword [esp], str.Cannot_GetProcAddress_for_Py_DecodeLocale_n
call fcn.00401e10
or eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_Py_DontWriteBytecodeFlag_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_Py_FileSystemDefaultEncoding_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_Py_FrozenFlag_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_Py_IgnoreEnvironmentFlag_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_Py_NoSiteFlag_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_Py_NoUserSiteDirectory_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_Py_OptimizeFlag_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_Py_VerboseFlag_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_Py_BuildValue_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_Py_DecRef_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_Py_EndInterpreter_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_Py_Finalize_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_Py_IncRef_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_Py_SetProgramName_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_Py_Initialize_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_PyDict_GetItemString_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_Py_SetPythonHome_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_PyErr_Occurred_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_PyErr_Clear_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_PyEval_AcquireThread_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_PyErr_Print_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_PyEval_ReleaseThread_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_PyEval_InitThreads_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_PyImport_ImportModule_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_PyImport_ExecCodeModule_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_PyImport_AddModule_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_PyList_Append_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_PyList_New_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_PyLong_AsLong_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_PyModule_GetDict_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_PyObject_CallFunction_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_PyObject_SetAttrString_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_PySys_AddWarnOption_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_PySys_SetArgvEx_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_PySys_GetObject_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_PySys_SetObject_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_PySys_SetPath_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_PyString_FromString_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_Py_NewInterpreter_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_PyRun_SimpleString_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_PyThreadState_Swap_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_PyUnicode_FromFormat_n
call fcn.00401e10
mov eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_PyUnicode_FromString_n
call fcn.00401e10
or eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for_PyUnicode_Decode_n
call fcn.00401e10
or eax, 0xffffffff
jmp 0x403409
mov dword [esp], str.Cannot_GetProcAddress_for__Py_char2wchar_n
call fcn.00401e10
or eax, 0xffffffff
jmp 0x403409