Function at 0x40cf70
Capabilities:
Create thread
Query environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x14c
mov eax, dword [sym.imp.msvcrt.dll___argc]
mov ebx, dword [eax]
mov eax, dword [sym.imp.msvcrt.dll___wargv]
mov eax, dword [eax]
mov dword [esp + 4], 0x40cd90
mov dword [esp], 0xb
mov dword [esp + 0x24], eax
call sub.msvcrt.dll_signal
mov dword [esp], 0x49f552
call fcn.0042c510
mov dword [esp + 4], 0x49f558
mov dword [esp], 0x49f552
mov dword [0x4c5a14], eax
call fcn.0042c610
mov dword [esp], str.PYTHONHOME
call fcn.0042c510
mov dword [esp], 1
mov dword [0x4c5a10], eax
call fcn.0042ec20
mov dword [esp], str.PYTHONHOME
mov dword [esp + 4], eax
call fcn.0042c610
mov dword [esp], 1
call fcn.0042ec20
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov eax, dword [sym.imp.python38.dll__Py_path_config]
sub esp, 4
mov dword [eax + 0x18], 1
mov eax, dword [sym.imp.python38.dll_PyImport_FrozenModules]
mov esi, dword [eax]
test esi, esi
je 0x40d5ec
mov ecx, dword [esi]
mov eax, esi
test ecx, ecx
je 0x40d03a
lea esi, [esi]
mov edx, dword [eax + 0xc]
add eax, 0xc
test edx, edx
jne 0x40d030
sub eax, esi
mov ebp, eax
sar ebp, 2
imul ebp, ebp, 0xaaaaaaab
add eax, 0x72c
lea ebp, [ebp + ebp*2]
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.00401780
mov eax, dword [sym.imp.python38.dll_PyImport_FrozenModules]
mov esi, dword [esp + 0x24]
mov eax, dword [eax]
mov dword [0x4c5a20], esi
lea ebp, [esi + 4]
mov dword [0x4c5a18], eax
mov eax, dword [sym.imp.python38.dll_PyImport_FrozenModules]
mov dword [eax], edi
mov eax, dword [sym.imp.python38.dll_Py_DebugFlag]
mov edi, 1
mov dword [eax], 0
mov eax, dword [sym.imp.python38.dll_Py_InspectFlag]
mov dword [eax], 0
mov eax, dword [sym.imp.python38.dll_Py_InteractiveFlag]
mov dword [eax], 0
mov eax, dword [sym.imp.python38.dll_Py_OptimizeFlag]
mov dword [eax], 0
mov eax, dword [sym.imp.python38.dll_Py_DontWriteBytecodeFlag]
mov dword [eax], 0
mov eax, dword [sym.imp.python38.dll_Py_NoUserSiteDirectory]
mov dword [eax], 1
mov eax, dword [sym.imp.python38.dll_Py_IgnoreEnvironmentFlag]
mov dword [eax], 0
mov eax, dword [sym.imp.python38.dll_Py_VerboseFlag]
mov dword [eax], 0
mov eax, dword [sym.imp.python38.dll_Py_BytesWarningFlag]
mov dword [eax], 0
mov eax, dword [sym.imp.python38.dll_Py_UTF8Mode]
mov dword [eax], 0
mov eax, dword [sym.imp.python38.dll_Py_FrozenFlag]
mov dword [eax], 1
mov eax, dword [sym.imp.python38.dll_Py_NoSiteFlag]
mov dword [eax], 1
mov eax, dword [esi]
mov dword [esp], eax
call dword [sym.imp.python38.dll_Py_SetProgramName]
mov dword [0x4c5a1c], ebx
jmp 0x40d171
mov dword [esp + 4], 0x49f568
mov eax, dword [ebp]
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x40d73d
mov dword [esp + 4], 0x49f7e6
mov eax, dword [ebp]
add ebp, 4
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x40d73d
cmp ebx, edi
jle 0x40d238
add edi, 1
mov eax, dword [ebp]
mov esi, ebp
cmp ebx, edi
jle 0x40d138
mov dword [esp + 4], str.__multiprocessing_fork
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x40d238
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 0x40d728
mov dword [esp + 4], 0x49f568
mov eax, dword [ebp]
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x40d138
mov dword [esp + 8], 0x49bd20
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.0040cde0
test eax, eax
jne 0x40d238
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 0x40d238
mov dword [esp + 0xc], 0x4c5a08
mov dword [esp + 8], 0x4c5a0c
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.0040cde0
test eax, eax
je 0x40d138
lea esi, [esi]
call fcn.00424160
lea eax, [esp + 0x44]
mov dword [esp], eax
call dword [sym.imp.python38.dll__PyRuntime_Initialize]
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x40d715
lea ebp, [esp + 0x54]
mov dword [esp], ebp
call dword [sym.imp.python38.dll__PyConfig_InitCompatConfig]
mov eax, dword [0x4c5a20]
mov dword [esp + 4], ebp
mov dword [esp + 0xc], eax
mov eax, dword [0x4c5a1c]
mov dword [esp + 8], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
call dword [sym.imp.python38.dll_PyConfig_SetArgv]
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], eax
call dword [sym.imp.python38.dll_PyStatus_Exception]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x40d715
mov dword [esp], 1
lea edi, [esp + 0x30]
call fcn.0042ec20
mov esi, eax
mov eax, dword [0x4c5a20]
mov eax, dword [eax]
mov dword [esp + 4], ebp
mov dword [esp], edi
mov dword [esp + 0xc], eax
lea eax, [esp + 0x110]
mov dword [esp + 8], eax
mov eax, dword [sym.imp.python38.dll_PyConfig_SetString]
mov dword [esp + 0x24], eax
call eax
lea eax, [esp + 0x118]
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 + 0x11c]
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 + 0x100]
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 + 0x108]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.python38.dll_PyWideStringList_Append]
lea eax, [esp + 0x44]
mov dword [esp + 4], ebp
mov dword [esp], eax
mov dword [esp + 0x104], 1
mov dword [esp + 0x64], 1
call dword [sym.imp.python38.dll_Py_InitializeFromConfig]
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x40d715
mov eax, dword [sym.imp.python38.dll__PyRuntime]
mov esi, dword [eax + 0x2cc]
mov eax, dword [sym.imp.python38.dll_Py_NoSiteFlag]
mov dword [eax], 1
mov eax, dword [0x4c5a20]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.python38.dll_PySys_SetArgv]
call fcn.0042ee70
mov dword [esp], esi
call fcn.00401590
mov dword [esp], esi
call fcn.004091d0
call fcn.00430100
call fcn.00421a60
call fcn.004207b0
call fcn.00420150
call fcn.00420490
call fcn.00421710
call fcn.0045dca0
call fcn.004302a0
call fcn.0042eba0
call fcn.00483b70
call fcn.00489230
mov dword [esp], str.NUL:
call dword [sym.imp.python38.dll_PyUnicode_FromString]
mov dword [esp], 0x49f7f1
mov edi, dword [sym.imp.python38.dll_PySys_GetObject]
mov ebx, eax
call edi
mov edx, dword [sym.imp.python38.dll__Py_NoneStruct]
mov dword [esp + 0x24], edx
cmp eax, edx
je 0x40d6bb
test eax, eax
je 0x40d6bb
mov dword [esp], 0x49f7f9
call edi
mov ecx, dword [esp + 0x24]
cmp eax, ecx
je 0x40d673
test eax, eax
je 0x40d673
mov dword [esp], 0x49f802
call edi
mov edx, dword [esp + 0x24]
cmp eax, edx
je 0x40d5f5
test eax, eax
je 0x40d5f5
sub dword [ebx], 1
je 0x40d5e0
call fcn.00482b70
mov dword [esp], esi
mov edi, ebp
lea ebx, [esp + 0x54]
call fcn.00482f30
mov ecx, dword [sym.imp.python38.dll_PyImport_FrozenModules]
mov eax, dword [0x4c5a18]
mov dword [ecx], eax
mov dword [esp], esi
call fcn.00401710
call dword [sym.imp.python38.dll__PyWarnings_Init]
mov dword [esp], esi
call fcn.00483850
mov eax, dword [0x4c5a14]
mov dword [esp + 4], 0x49f552
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.0042c950
mov eax, dword [0x4c5a10]
mov dword [esp + 4], str.PYTHONHOME
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.0042c950
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 0x40d639
mov eax, dword [sym.imp.python38.dll__PyRuntime]
mov eax, dword [eax + 0x2cc]
mov dword [esp + 4], 0x49f81f
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x24]
mov dword [esp], eax
call dword [sym.imp.python38.dll_PyDict_DelItemString]
mov eax, esi
call fcn.0040ce20
mov dword [esp + 4], 0x49f81f
mov dword [esp], esi
call fcn.00482310
mov edx, dword [esi + 0x34]
test edx, edx
je 0x40d5d3
mov ebx, dword [esi + 0x3c]
mov edi, dword [sym.imp.python38.dll_PyUnicode_AsUTF8]
test ebx, ebx
je 0x40d5c0
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 0x40d707
xor eax, eax
mov dword [esp], eax
call dword [sym.imp.python38.dll_PyErr_PrintEx]
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call dword [sym.imp.python38.dll_Py_Exit]
mov eax, ebx
call fcn.0040ce10
jmp 0x40d4b4
xor eax, eax
xor ebp, ebp
jmp 0x40d047
xor edi, edi
mov dword [esp + 8], 0x49f800
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edi
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.0044ccc0
mov dword [esp], 0x49f802
mov edi, eax
mov dword [esp + 4], eax
call dword [sym.imp.python38.dll_PySys_SetObject]
mov ecx, edi
mov edx, 0xfffffff4
mov eax, esi
call fcn.0040ce80
jmp 0x40d4ab
mov dword [esp], ebx
xor ebx, ebx
call sub.msvcrt.dll_atol
xor ecx, ecx
mov dword [esp + 8], 0x40ccf0
mov dword [0x4c5a04], 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 0x40d54d
xor eax, eax
mov dword [esp + 8], 0x49f800
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.0044ccc0
mov dword [esp], 0x49f7f9
mov dword [esp + 4], eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.python38.dll_PySys_SetObject]
mov ecx, dword [esp + 0x2c]
mov edx, 0xfffffff5
mov eax, esi
call fcn.0040ce80
jmp 0x40d48e
xor eax, eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x49f7f7
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.0044ccc0
mov dword [esp], 0x49f7f1
mov dword [esp + 4], eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.python38.dll_PySys_SetObject]
mov ecx, dword [esp + 0x2c]
mov edx, 0xfffffff6
mov eax, esi
call fcn.0040ce80
jmp 0x40d471
mov ebx, dword [ebx + 8]
mov dword [esi + 0x3c], ebx
add dword [ebx], 1
jmp 0x40d59a
mov ecx, 4
mov edi, esp
lea esi, [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.python38.dll_Py_ExitStatusException]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + edi*4]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wtoi]
jmp 0x40d238
mov ebx, dword [esi]
mov dword [esp], 2
call dword [0x49d6c4]
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.0040cf40
mov dword [esp], 2
call sub.msvcrt.dll_exit
nop
nop
nop
nop