Function at 0x403010
Capabilities:
Create thread
Query environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xbc
mov esi, dword [esp + 0xd0]
mov ebx, dword [esp + 0xd4]
call fcn.00425350
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
sub esp, 4
call fcn.00425350
mov dword [esp], eax
call dword [sym.imp.python39.dll_Py_SetPythonHome]
mov eax, dword [sym.imp.python39.dll_PyImport_FrozenModules]
mov ebp, dword [eax]
test ebp, ebp
je 0x403506
mov edi, dword [ebp]
mov eax, ebp
test edi, edi
je 0x40306a
nop
mov ecx, dword [eax + 0xc]
add eax, 0xc
test ecx, ecx
jne 0x403060
sub eax, ebp
mov edx, eax
sar edx, 2
imul edx, edx, 0xaaaaaaab
add eax, 0x744
mov dword [esp + 0x2c], edx
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], ebp
mov dword [esp], eax
mov edi, eax
lea edx, [edx + edx*2]
shl edx, 2
mov dword [esp + 8], edx
mov dword [esp + 0x2c], edx
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x2c]
add edx, edi
mov dword [esp], edx
call fcn.00401820
mov eax, dword [sym.imp.python39.dll_PyImport_FrozenModules]
mov dword [0x4ac92c], ebx
mov eax, dword [eax]
mov dword [0x4ac928], eax
mov eax, dword [sym.imp.python39.dll_PyImport_FrozenModules]
mov dword [eax], edi
mov eax, dword [sym.imp.python39.dll_Py_DebugFlag]
mov edi, 1
mov dword [eax], 0
mov eax, dword [sym.imp.python39.dll_Py_InspectFlag]
mov dword [eax], 0
mov eax, dword [sym.imp.python39.dll_Py_InteractiveFlag]
mov dword [eax], 0
mov eax, dword [sym.imp.python39.dll_Py_OptimizeFlag]
mov dword [eax], 0
mov eax, dword [sym.imp.python39.dll_Py_DontWriteBytecodeFlag]
mov dword [eax], 0
mov eax, dword [sym.imp.python39.dll_Py_NoUserSiteDirectory]
mov dword [eax], 1
mov eax, dword [sym.imp.python39.dll_Py_IgnoreEnvironmentFlag]
mov dword [eax], 0
mov eax, dword [sym.imp.python39.dll_Py_VerboseFlag]
mov dword [eax], 0
mov eax, dword [sym.imp.python39.dll_Py_BytesWarningFlag]
mov dword [eax], 0
mov eax, dword [sym.imp.python39.dll_Py_UTF8Mode]
mov dword [eax], 0
mov eax, dword [sym.imp.python39.dll_Py_FrozenFlag]
mov dword [eax], 1
mov eax, dword [sym.imp.python39.dll_Py_NoSiteFlag]
mov dword [eax], 1
cmp esi, 1
jg 0x40317c
jmp 0x4031ca
cmp esi, edi
jg 0x4031ca
mov dword [esp + 4], str.__multiprocessing_resource_tracker
mov eax, dword [ebx + edi*4 - 4]
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
cmp esi, edi
je 0x4031ca
mov dword [esp + 4], str.__multiprocessing_fork
mov eax, dword [ebx + edi*4]
mov ebp, edi
add edi, 1
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x403160
mov dword [esp + 4], str.__multiprocessing_resource_tracker
mov eax, dword [ebx + edi*4 - 4]
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x403178
cmp esi, edi
jle 0x403178
mov eax, dword [ebx + ebp*4 + 4]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wtoi]
mov dword [esp], eax
call dword [sym.imp.python39.dll_PyLong_FromLong]
call dword [sym.imp.python39.dll_Py_Initialize]
call fcn.00425350
mov dword [esp], eax
call dword [sym.imp.python39.dll_PySys_SetPath]
call fcn.00425350
mov dword [esp], eax
call dword [sym.imp.python39.dll_Py_SetPath]
mov eax, dword [sym.imp.python39.dll_Py_NoSiteFlag]
mov dword [eax], 1
mov eax, dword [0x4ac92c]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.python39.dll_PySys_SetArgv]
call fcn.00425430
call fcn.004016a0
call fcn.004028c0
call fcn.00427db0
call fcn.00417410
call fcn.00416430
call fcn.00415f50
call fcn.00416240
call fcn.00417110
call fcn.00450960
call fcn.00427f40
call fcn.004252e0
call fcn.00477bb0
call fcn.0047cc30
mov esi, dword [sym.imp.python39.dll_PyUnicode_FromString]
mov dword [esp], 0x48a52e
call esi
mov dword [esp], str.NUL:
mov ebx, eax
call esi
mov dword [esp], 0x48a539
mov ebp, dword [sym.imp.python39.dll_PySys_GetObject]
mov esi, eax
call ebp
mov ecx, dword [sym.imp.python39.dll__Py_NoneStruct]
mov edi, ecx
cmp eax, ecx
je 0x40342a
test eax, eax
je 0x40342a
mov dword [esp], 0x48a541
call ebp
cmp eax, edi
je 0x4033e6
test eax, eax
je 0x4033e6
mov dword [esp], 0x48a54a
call ebp
cmp eax, edi
je 0x40346e
test eax, eax
je 0x40346e
sub dword [esi], 1
jne 0x4032d0
mov eax, esi
call fcn.00402f10
test ebx, ebx
je 0x4032dd
sub dword [ebx], 1
je 0x4033da
call fcn.00477320
lea edi, [esp + 0x34]
lea ebx, [esp + 0x30]
call fcn.00477590
mov ecx, dword [sym.imp.python39.dll_PyImport_FrozenModules]
mov eax, dword [0x4ac928]
mov dword [ecx], eax
call fcn.004017c0
call dword [sym.imp.python39.dll__PyWarnings_Init]
call fcn.00477870
xor eax, eax
mov ecx, 0x1f
mov dword [esp + 0x30], 0
rep stosd dword es:[edi], eax
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], ebx
mov dword [esp], str.NUITKA_ONEFILE_PARENT
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
sub eax, 1
sub esp, 0xc
cmp eax, 0x7d
jbe 0x4034ae
mov ebx, dword [sym.imp.python39.dll__PyRuntime]
mov eax, dword [ebx + 0x118]
mov dword [esp + 4], 0x48a567
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x1dc]
mov dword [esp], eax
call dword [sym.imp.python39.dll_PyDict_DelItemString]
mov dword [esp], 0x48a567
call fcn.00476e30
mov edx, dword [ebx + 0x118]
xor eax, eax
mov edx, dword [edx + 0x34]
test edx, edx
je 0x4033d1
mov esi, dword [ebx + 0x118]
mov ebx, dword [esi + 0x3c]
test ebx, ebx
je 0x4033bf
mov edi, dword [sym.imp.python39.dll_PyUnicode_AsUTF8]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x40]
mov dword [esp], eax
call edi
mov dword [esp + 4], str._frozen_importlib._bootstrap_
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x4034f8
mov dword [esp], 0
call dword [sym.imp.python39.dll_PyErr_PrintEx]
mov eax, 1
mov dword [esp], eax
call dword [sym.imp.python39.dll_Py_Exit]
mov eax, ebx
call fcn.00402f10
jmp 0x4032dd
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x48a548
mov dword [esp], esi
call fcn.004403c0
mov dword [esp], 0x48a541
mov dword [esp + 4], eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.python39.dll_PySys_SetObject]
mov edx, dword [esp + 0x2c]
mov eax, 0xfffffff5
call fcn.00402f90
jmp 0x4032ab
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x48a53f
mov dword [esp], esi
call fcn.004403c0
mov dword [esp], 0x48a539
mov dword [esp + 4], eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.python39.dll_PySys_SetObject]
mov edx, dword [esp + 0x2c]
mov eax, 0xfffffff6
call fcn.00402f90
jmp 0x403292
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x48a548
mov dword [esp], esi
call fcn.004403c0
mov dword [esp], 0x48a54a
mov ebp, eax
mov dword [esp + 4], eax
call dword [sym.imp.python39.dll_PySys_SetObject]
mov edx, ebp
mov eax, 0xfffffff4
call fcn.00402f90
jmp 0x4032c4
mov dword [esp], ebx
call sub.msvcrt.dll_atol
mov dword [esp + 0x14], 0
mov dword [0x4ac924], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x402e80
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
sub esp, 0x18
jmp 0x403345
mov ebx, dword [ebx + 8]
mov dword [esi + 0x3c], ebx
add dword [ebx], 1
jmp 0x403399
xor eax, eax
xor edx, edx
jmp 0x403077