Function at 0x407850
Capabilities:
Create thread
Query environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x17c
mov dword [esp], 0x49c772
mov ebx, dword [esp + 0x190]
call fcn.00421020
mov dword [esp + 4], 0x49c778
mov dword [esp], 0x49c772
mov dword [0x4c2994], eax
call fcn.00421110
mov dword [esp], str.PYTHONHOME
call fcn.00421020
mov dword [esp], 1
mov dword [0x4c2990], eax
call fcn.004228e0
mov dword [esp], str.PYTHONHOME
mov dword [esp + 4], eax
call fcn.00421110
mov dword [esp], 1
call fcn.004228e0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov eax, dword [sym.imp.python311.dll_PyImport_FrozenModules]
sub esp, 4
mov esi, dword [eax]
test esi, esi
je 0x407ecd
mov ecx, dword [esi]
mov eax, esi
test ecx, ecx
je 0x4078f2
lea esi, [esi]
mov edx, dword [eax + 0x14]
add eax, 0x14
test edx, edx
jne 0x4078e8
sub eax, esi
mov ebp, eax
sar ebp, 2
imul ebp, ebp, 0xcccccccd
add eax, 0xc1c
lea ebp, [ebp + ebp*4]
mov dword [esp], eax
shl ebp, 2
call sub.msvcrt.dll_malloc
mov dword [esp + 8], ebp
mov dword [esp + 4], esi
mov edi, eax
mov dword [esp], eax
add ebp, edi
call sub.msvcrt.dll_memcpy
mov dword [esp], ebp
call fcn.00401760
mov eax, dword [sym.imp.python311.dll_PyImport_FrozenModules]
mov eax, dword [eax]
mov dword [0x4c2998], eax
mov eax, dword [sym.imp.python311.dll_PyImport_FrozenModules]
mov dword [eax], edi
mov eax, dword [sym.imp.python311.dll_Py_DebugFlag]
mov edi, 1
mov dword [eax], 0
mov eax, dword [sym.imp.python311.dll_Py_InspectFlag]
mov dword [eax], 0
mov eax, dword [sym.imp.python311.dll_Py_InteractiveFlag]
mov dword [eax], 0
mov eax, dword [sym.imp.python311.dll_Py_OptimizeFlag]
mov dword [eax], 0
mov eax, dword [sym.imp.python311.dll_Py_DontWriteBytecodeFlag]
mov dword [eax], 0
mov eax, dword [sym.imp.python311.dll_Py_NoUserSiteDirectory]
mov dword [eax], 1
mov eax, dword [sym.imp.python311.dll_Py_IgnoreEnvironmentFlag]
mov dword [eax], 0
mov eax, dword [sym.imp.python311.dll_Py_VerboseFlag]
mov dword [eax], 0
mov eax, dword [sym.imp.python311.dll_Py_BytesWarningFlag]
mov dword [eax], 0
mov eax, dword [sym.imp.python311.dll_Py_UTF8Mode]
mov dword [eax], 0
mov eax, dword [sym.imp.python311.dll_Py_FrozenFlag]
mov dword [eax], 1
mov eax, dword [sym.imp.python311.dll_Py_NoSiteFlag]
mov dword [eax], 1
mov eax, dword [esp + 0x194]
mov dword [0x4c29a0], eax
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.python311.dll_Py_SetProgramName]
mov eax, dword [esp + 0x194]
mov dword [0x4c299c], ebx
lea ebp, [eax + 4]
jmp 0x407a2e
mov dword [esp + 4], 0x49c788
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x408021
mov dword [esp + 4], 0x49ca06
mov eax, dword [ebp]
add ebp, 4
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x408021
cmp ebx, edi
jle 0x407af8
add edi, 1
mov eax, dword [ebp]
mov esi, ebp
cmp ebx, edi
jle 0x4079f8
mov dword [esp + 4], str.__multiprocessing_fork
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x407af8
mov dword [esp + 4], str.__multiprocessing_resource_tracker
mov eax, dword [ebp]
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x408009
mov dword [esp + 4], 0x49c788
mov eax, dword [ebp]
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x407a98
mov eax, dword [ebp]
jmp 0x4079f8
mov dword [esp + 8], 0x4991a0
mov dword [esp + 4], str.from_joblib.externals.loky.backend.resource_tracker_import_main__main__i__False_
mov eax, dword [ebp + 4]
mov dword [esp], eax
call fcn.00407700
test eax, eax
jne 0x407af8
mov dword [esp + 4], str.from_joblib.externals.loky.backend.popen_loky_win32_import_main__main__
mov eax, dword [ebp + 4]
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x407af8
mov dword [esp + 0xc], 0x4c2988
mov dword [esp + 8], 0x4c298c
mov dword [esp + 4], str.from_joblib.externals.loky.backend.popen_loky_win32_import_main__main_pipe_handle_i__parent_pid_i_
mov eax, dword [ebp + 4]
mov dword [esp], eax
call fcn.00407700
test eax, eax
je 0x407a8c
lea esi, [esi]
lea eax, [esp + 0x4c]
mov dword [esp], eax
call dword [sym.imp.python311.dll__PyRuntime_Initialize]
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x407ff6
lea ebp, [esp + 0x5c]
mov dword [esp], ebp
call dword [sym.imp.python311.dll__PyConfig_InitCompatConfig]
mov eax, dword [0x4c29a0]
mov dword [esp + 4], ebp
mov dword [esp + 0xc], eax
mov eax, dword [0x4c299c]
mov dword [esp + 8], eax
lea eax, [esp + 0x4c]
mov dword [esp], eax
call dword [sym.imp.python311.dll_PyConfig_SetArgv]
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], eax
call dword [sym.imp.python311.dll_PyStatus_Exception]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x407ff6
mov dword [esp], 1
lea edi, [esp + 0x30]
call fcn.004228e0
mov esi, eax
mov eax, dword [0x4c29a0]
mov eax, dword [eax]
mov dword [esp + 4], ebp
mov dword [esp], edi
mov dword [esp + 0xc], eax
lea eax, [esp + 0x138]
mov dword [esp + 8], eax
mov eax, dword [sym.imp.python311.dll_PyConfig_SetString]
mov dword [esp + 0x24], eax
call eax
lea eax, [esp + 0x140]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], ebp
mov dword [esp], edi
call eax
lea eax, [esp + 0x148]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], ebp
mov dword [esp], edi
call eax
lea eax, [esp + 0x144]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], ebp
mov dword [esp], edi
call eax
lea eax, [esp + 0x14c]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], ebp
mov dword [esp], edi
call eax
lea eax, [esp + 0x120]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], ebp
mov dword [esp], edi
call eax
lea eax, [esp + 0x124]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], ebp
mov dword [esp], edi
call eax
lea eax, [esp + 0x12c]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.python311.dll_PyWideStringList_Append]
lea eax, [esp + 0x4c]
mov dword [esp + 4], ebp
mov dword [esp], eax
mov dword [esp + 0x128], 1
mov dword [esp + 0x10c], 0
mov dword [esp + 0x6c], 1
call dword [sym.imp.python311.dll_Py_InitializeFromConfig]
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x407ff6
mov eax, dword [sym.imp.python311.dll__PyRuntime]
mov esi, dword [eax + 0x118]
mov eax, dword [sym.imp.python311.dll_Py_NoSiteFlag]
mov dword [eax], 1
mov eax, dword [0x4c29a0]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.python311.dll_PySys_SetArgv]
call fcn.004405f0
mov dword [esp], esi
call fcn.00401590
mov dword [esp], esi
call fcn.00404a30
call fcn.00423360
call fcn.00419e80
call fcn.004196f0
call fcn.004195c0
call fcn.00419660
call fcn.00419c10
call fcn.0043ff20
call fcn.00440040
call fcn.00422860
call fcn.0047f560
call fcn.00485df0
mov dword [esp], str.NUL:
call dword [sym.imp.python311.dll_PyUnicode_FromString]
mov dword [esp], 0x49ca11
mov edi, dword [sym.imp.python311.dll_PySys_GetObject]
mov ebx, eax
call edi
mov edx, dword [sym.imp.python311.dll__Py_NoneStruct]
mov dword [esp + 0x24], edx
cmp eax, edx
je 0x407f9c
test eax, eax
je 0x407f9c
mov dword [esp], 0x49ca19
call edi
mov ecx, dword [esp + 0x24]
cmp eax, ecx
je 0x407f54
test eax, eax
je 0x407f54
mov dword [esp], 0x49ca22
call edi
mov edx, dword [esp + 0x24]
cmp eax, edx
je 0x407ed6
test eax, eax
je 0x407ed6
sub dword [ebx], 1
je 0x407ec1
call fcn.0047e5c0
mov dword [esp], esi
mov edi, ebp
lea ebx, [esp + 0x5c]
call fcn.0047e910
mov ecx, dword [sym.imp.python311.dll_PyImport_FrozenModules]
mov eax, dword [0x4c2998]
mov dword [ecx], eax
mov dword [esp], esi
call fcn.004016f0
call dword [sym.imp.python311.dll__PyWarnings_Init]
mov dword [esp], esi
call fcn.0047f220
mov eax, dword [0x4c2994]
mov dword [esp + 4], 0x49c772
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.00421430
mov eax, dword [0x4c2990]
mov dword [esp + 4], str.PYTHONHOME
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.00421430
xor eax, eax
mov ecx, 0x20
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 0x407f1a
mov eax, dword [sym.imp.python311.dll__PyRuntime]
mov eax, dword [eax + 0x118]
mov dword [esp + 4], 0x49ca3f
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x1f8]
mov dword [esp], eax
call dword [sym.imp.python311.dll_PyDict_DelItemString]
mov dword [esp + 4], 0x49ca3f
mov dword [esp], esi
call fcn.0047df50
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x407eb4
mov ebx, dword [esi + 0x44]
mov edi, dword [sym.imp.python311.dll_PyUnicode_AsUTF8]
test ebx, ebx
je 0x407ea1
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x50]
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 0x407fe8
xor eax, eax
mov dword [esp], eax
call dword [sym.imp.python311.dll_PyErr_PrintEx]
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call dword [sym.imp.python311.dll_Py_Exit]
mov eax, ebx
call fcn.00407730
jmp 0x407d96
xor eax, eax
xor ebp, ebp
jmp 0x4078ff
xor edi, edi
mov dword [esp + 8], 0x49ca20
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edi
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.00452f50
mov dword [esp], 0x49ca22
mov edi, eax
mov dword [esp + 4], eax
call dword [sym.imp.python311.dll_PySys_SetObject]
mov ecx, edi
mov edx, 0xfffffff4
mov eax, esi
call fcn.00407740
jmp 0x407d8d
mov dword [esp], ebx
xor ebx, ebx
call sub.msvcrt.dll_atol
xor ecx, ecx
mov dword [esp + 8], 0x407660
mov dword [0x4c2984], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], ebx
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
sub esp, 0x18
jmp 0x407e2f
xor eax, eax
mov dword [esp + 8], 0x49ca20
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.00452f50
mov dword [esp], 0x49ca19
mov dword [esp + 4], eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.python311.dll_PySys_SetObject]
mov ecx, dword [esp + 0x2c]
mov edx, 0xfffffff5
mov eax, esi
call fcn.00407740
jmp 0x407d70
xor eax, eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x49ca17
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.00452f50
mov dword [esp], 0x49ca11
mov dword [esp + 4], eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.python311.dll_PySys_SetObject]
mov ecx, dword [esp + 0x2c]
mov edx, 0xfffffff6
mov eax, esi
call fcn.00407740
jmp 0x407d53
mov ebx, dword [ebx + 8]
mov dword [esi + 0x44], ebx
add dword [ebx], 1
jmp 0x407e78
mov ecx, 4
mov edi, esp
lea esi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.python311.dll_Py_ExitStatusException]
mov eax, dword [esp + 0x194]
mov eax, dword [eax + edi*4]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wtoi]
jmp 0x407af8
mov ebx, dword [esi]
mov dword [esp], 2
call dword [0x49aae4]
mov dword [esp + 4], str.Error__the_program_tried_to_call_itself_with__ls_argument._Disable_with___no_deployment_flagself_execution._n
mov dword [esp + 8], ebx
mov dword [esp], eax
call fcn.00407820
mov dword [esp], 2
call sub.msvcrt.dll_exit