Function at 0x402cd0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40ee20
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4151f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [0x416410], ebx
jne 0x403005
xor eax, eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 4], ebx
call fcn.00403d90
add esp, 4
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.004028e0
mov esi, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], esi
jb 0x402d4e
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004044a2
add esp, 4
push str._binpython27.dll
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.00402960
add esp, 0xc
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x34], esi
jae 0x402d72
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.Py_Initialize
push esi
call edi
push str.Py_Finalize
push esi
mov dword [0x4163fc], eax
call edi
push str.PyRun_SimpleString
push esi
mov dword [0x4163bc], eax
call edi
push str.PyRun_SimpleString
push esi
mov dword [0x4163c4], eax
call edi
push str.PyGILState_Ensure
push esi
mov dword [0x4163c4], eax
call edi
push str.PyGILState_Release
push esi
mov dword [0x4163d8], eax
call edi
push str.PyEval_InitThreads
push esi
mov dword [0x4163e4], eax
call edi
push str.PyEval_AcquireThread
push esi
mov dword [0x4163f4], eax
call edi
push str.PyEval_ReleaseThread
push esi
mov dword [0x4163a0], eax
call edi
push str.PyEval_SaveThread
push esi
mov dword [0x4163ac], eax
call edi
push str.PyEval_RestoreThread
push esi
mov dword [0x4163b0], eax
call edi
push str.PySys_SetArgv
push esi
mov dword [0x41640c], eax
call edi
push str.PyObject_CallObject
push esi
mov dword [0x4163a8], eax
call edi
push str.PyImport_Import
push esi
mov dword [0x4163d0], eax
call edi
push str.PyObject_GetAttrString
push esi
mov dword [0x4163b4], eax
call edi
push str.PyString_FromString
push esi
mov dword [0x4163ec], eax
call edi
push str.PyInt_FromLong
push esi
mov dword [0x4163e0], eax
call edi
push str.PyTuple_SetItem
push esi
mov dword [0x4163d4], eax
call edi
push str.PyTuple_New
push esi
mov dword [0x4163c0], eax
call edi
mov dword [0x4163dc], eax
push str.PyImport_ImportModule
push esi
call edi
push str.PyInt_AsLong
push esi
mov dword [0x4163a4], eax
call edi
push str.PyString_AsString
push esi
mov dword [0x416408], eax
call edi
push str.PyFloat_AsDouble
push esi
mov dword [0x4163f8], eax
call edi
push str.PyObject_SetAttrString
push esi
mov dword [0x416400], eax
call edi
push str.PyFloat_FromDouble
push esi
mov dword [0x4163cc], eax
call edi
push str.PyString_FromStringAndSize
push esi
mov dword [0x4163e8], eax
call edi
push str.PyString_AsStringAndSize
push esi
mov dword [0x4163f0], eax
call edi
push str.PyString_Size
push esi
mov dword [0x4163b8], eax
call edi
mov dword [0x416404], eax
call dword [0x4163fc]
call dword [0x4163f4]
mov edi, 0xf
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
sub esp, 0x1c
mov dword [ebp - 0x84], esp
mov esi, esp
push str._bin
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x84], esp
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x64]
xor edx, edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push eax
mov byte [ebp - 4], 3
mov dword [0x416410], 1
mov word [ecx], dx
call fcn.00401960
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00402090
add esp, 0x20
push eax
push esi
mov byte [ebp - 4], 4
call fcn.00402040
add esp, 0xc
push str.__DLL_PATH
call fcn.00402a50
mov esi, 0x10
add esp, 0x20
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], esi
jb 0x402f8c
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004044a2
add esp, 4
push 0x43
push str.import_sys__sys.path.insert_0___DLL_PATH___del___DLL_PATH__del_sys_n
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00401a60
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], esi
jae 0x402fb3
lea eax, [ebp - 0x2c]
push eax
call dword [0x4163c4]
add esp, 4
cmp dword [ebp - 0x18], esi
jb 0x402fce
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004044a2
add esp, 4
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x402fe4
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004044a2
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x50], esi
jb 0x403005
mov eax, dword [ebp - 0x64]
push eax
call fcn.004044a2
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004050ba
mov esp, ebp
pop ebp
ret