Function at 0x140002f40
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, edx
mov rbx, rcx
lea rdx, str.Py_DontWriteBytecodeFlag
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032b48], rax
test rax, rax
jne 0x140002f89
lea rdx, str.Failed_to_get_address_for_Py_DontWriteBytecodeFlag_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.Py_FileSystemDefaultEncoding
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032b30], rax
test rax, rax
jne 0x140002fc6
lea rdx, str.Failed_to_get_address_for_Py_FileSystemDefaultEncoding_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.Py_FrozenFlag
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032b18], rax
test rax, rax
jne 0x140003003
lea rdx, str.Failed_to_get_address_for_Py_FrozenFlag_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.Py_IgnoreEnvironmentFlag
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032b40], rax
test rax, rax
jne 0x140003040
lea rdx, str.Failed_to_get_address_for_Py_IgnoreEnvironmentFlag_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.Py_NoSiteFlag
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032b20], rax
test rax, rax
jne 0x14000307d
lea rdx, str.Failed_to_get_address_for_Py_NoSiteFlag_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.Py_NoUserSiteDirectory
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032b50], rax
test rax, rax
jne 0x1400030ba
lea rdx, str.Failed_to_get_address_for_Py_NoUserSiteDirectory_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.Py_OptimizeFlag
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032b28], rax
test rax, rax
jne 0x1400030f7
lea rdx, str.Failed_to_get_address_for_Py_OptimizeFlag_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.Py_VerboseFlag
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032b38], rax
test rax, rax
jne 0x140003134
lea rdx, str.Failed_to_get_address_for_Py_VerboseFlag_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.Py_BuildValue
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032be0], rax
test rax, rax
jne 0x140003171
lea rdx, str.Failed_to_get_address_for_Py_BuildValue_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.Py_DecRef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032b70], rax
test rax, rax
jne 0x1400031ae
lea rdx, str.Failed_to_get_address_for_Py_DecRef_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.Py_Finalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032b60], rax
test rax, rax
jne 0x1400031eb
lea rdx, str.Failed_to_get_address_for_Py_Finalize_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.Py_IncRef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032b68], rax
test rax, rax
jne 0x140003228
lea rdx, str.Failed_to_get_address_for_Py_IncRef_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.Py_Initialize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032b58], rax
test rax, rax
jne 0x140003265
lea rdx, str.Failed_to_get_address_for_Py_Initialize_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp edi, 0x1e
jl 0x1400032e4
lea rdx, str.Py_SetPath
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032b88], rax
test rax, rax
jne 0x1400032a7
lea rdx, str.Failed_to_get_address_for_Py_SetPath_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.Py_GetPath
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032b90], rax
test rax, rax
jne 0x1400032e4
lea rdx, str.Failed_to_get_address_for_Py_GetPath_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.Py_SetProgramName
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032b78], rax
test rax, rax
jne 0x140003321
lea rdx, str.Failed_to_get_address_for_Py_SetProgramName_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.Py_SetPythonHome
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032b80], rax
test rax, rax
jne 0x14000335e
lea rdx, str.Failed_to_get_address_for_Py_SetPythonHome_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.PyDict_GetItemString
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032c08], rax
test rax, rax
jne 0x14000339b
lea rdx, str.Failed_to_get_address_for_PyDict_GetItemString_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.PyErr_Clear
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032c10], rax
test rax, rax
jne 0x1400033d8
lea rdx, str.Failed_to_get_address_for_PyErr_Clear_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.PyErr_Occurred
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032c18], rax
test rax, rax
jne 0x140003415
lea rdx, str.Failed_to_get_address_for_PyErr_Occurred_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.PyErr_Print
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032c20], rax
test rax, rax
jne 0x140003452
lea rdx, str.Failed_to_get_address_for_PyErr_Print_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.PyImport_AddModule
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032bc0], rax
test rax, rax
jne 0x14000348f
lea rdx, str.Failed_to_get_address_for_PyImport_AddModule_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.PyImport_ExecCodeModule
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032bb0], rax
test rax, rax
jne 0x1400034cc
lea rdx, str.Failed_to_get_address_for_PyImport_ExecCodeModule_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.PyImport_ImportModule
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032bb8], rax
test rax, rax
jne 0x140003509
lea rdx, str.Failed_to_get_address_for_PyImport_ImportModule_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.PyList_Append
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032bd8], rax
test rax, rax
jne 0x140003546
lea rdx, str.Failed_to_get_address_for_PyList_Append_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.PyList_New
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032bd0], rax
test rax, rax
jne 0x140003583
lea rdx, str.Failed_to_get_address_for_PyList_New_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.PyLong_AsLong
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032c30], rax
test rax, rax
jne 0x1400035c0
lea rdx, str.Failed_to_get_address_for_PyLong_AsLong_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.PyModule_GetDict
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032c00], rax
test rax, rax
jne 0x1400035fd
lea rdx, str.Failed_to_get_address_for_PyModule_GetDict_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.PyObject_CallFunction
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032bf8], rax
test rax, rax
jne 0x14000363a
lea rdx, str.Failed_to_get_address_for_PyObject_CallFunction_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.PyObject_SetAttrString
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032bc8], rax
test rax, rax
jne 0x140003677
lea rdx, str.Failed_to_get_address_for_PyObject_SetAttrString_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.PyRun_SimpleString
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032ba8], rax
test rax, rax
jne 0x1400036b4
lea rdx, str.Failed_to_get_address_for_PyRun_SimpleString_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp edi, 0x1e
jge 0x140003733
lea rdx, str.PyString_FromString
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032be8], rax
test rax, rax
jne 0x1400036f6
lea rdx, str.Failed_to_get_address_for_PyString_FromString_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.PyString_FromFormat
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032c50], rax
test rax, rax
jne 0x140003733
lea rdx, str.Failed_to_get_address_for_PyString_FromFormat_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.PySys_AddWarnOption
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032c28], rax
test rax, rax
jne 0x140003770
lea rdx, str.Failed_to_get_address_for_PySys_AddWarnOption_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.PySys_SetArgvEx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032ba0], rax
test rax, rax
jne 0x1400037ad
lea rdx, str.Failed_to_get_address_for_PySys_SetArgvEx_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.PySys_GetObject
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032c48], rax
test rax, rax
jne 0x1400037ea
lea rdx, str.Failed_to_get_address_for_PySys_GetObject_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.PySys_SetObject
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032c38], rax
test rax, rax
jne 0x140003827
lea rdx, str.Failed_to_get_address_for_PySys_SetObject_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.PySys_SetPath
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032b98], rax
test rax, rax
jne 0x140003864
lea rdx, str.Failed_to_get_address_for_PySys_SetPath_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.PyEval_EvalCode
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032c70], rax
test rax, rax
jne 0x1400038a1
lea rdx, str.Failed_to_get_address_for_PyEval_EvalCode_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.PyMarshal_ReadObjectFromString
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032c78], rax
test rax, rax
jne 0x1400038de
lea rdx, str.Failed_to_get_address_for_PyMarshal_ReadObjectFromString_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp edi, 0x1e
jl 0x140003a1a
lea rdx, str.PyUnicode_FromString
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032bf0], rax
test rax, rax
jne 0x140003924
lea rdx, str.Failed_to_get_address_for_PyUnicode_FromString_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
cmp edi, 0x23
jl 0x140003966
lea rdx, str.Py_DecodeLocale
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032c40], rax
test rax, rax
jne 0x1400039a0
lea rdx, str.Failed_to_get_address_for_Py_DecodeLocale_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str._Py_char2wchar
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032c40], rax
test rax, rax
jne 0x1400039a0
lea rdx, str.Failed_to_get_address_for__Py_char2wchar_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.PyUnicode_FromFormat
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032c58], rax
test rax, rax
jne 0x1400039dd
lea rdx, str.Failed_to_get_address_for_PyUnicode_FromFormat_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.PyUnicode_Decode
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032c68], rax
test rax, rax
jne 0x140003a1a
lea rdx, str.Failed_to_get_address_for_PyUnicode_Decode_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp edi, 0x20
jl 0x140003a5c
lea rdx, str.PyUnicode_DecodeFSDefault
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140032c60], rax
test rax, rax
jne 0x140003a5c
lea rdx, str.Failed_to_get_address_for_PyUnicode_DecodeFSDefault_n
lea rcx, [0x1400228f8]
call fcn.140001b60
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret