Function at 0x140010500
Capabilities:
Create thread
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x238
mov rax, qword [sym.imp.msvcrt.dll___argc]
lea r15, [0x1400a7858]
xor ebx, ebx
mov rcx, r15
lea r14, str.PYTHONHOME
mov rax, qword [rax]
mov r12d, dword [rax]
mov rax, qword [sym.imp.msvcrt.dll___wargv]
mov rax, qword [rax]
mov r13, qword [rax]
call fcn.140010210
lea rdx, [0x1400a785e]
mov rcx, r15
mov qword [0x1400bf830], rax
call fcn.140010280
mov rcx, r14
call fcn.140010210
mov ecx, 1
mov qword [0x1400bf828], rax
call fcn.14002ae40
mov rcx, r14
mov rdx, rax
call fcn.140010280
mov ecx, 1
call fcn.14002ae40
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov rax, qword [sym.imp.python311.dll_PyImport_FrozenModules]
mov rsi, qword [rax]
test rsi, rsi
je 0x1400105c4
cmp qword [rsi], 0
mov rax, rsi
je 0x1400105ba
nop word [rax + rax]
add rax, 0x20
cmp qword [rax], 0
jne 0x1400105b0
sub rax, rsi
mov rbx, rax
sar rbx, 5
lea ecx, [rbx + 0x9c]
movsxd rbx, ebx
lea rbp, str.__multiprocessing_resource_tracker
movsxd rcx, ecx
shl rbx, 5
shl rcx, 5
call sub.msvcrt.dll_malloc
mov r8, rbx
mov rdx, rsi
lea rsi, [r13 + 8]
mov rdi, rax
mov rcx, rax
call sub.msvcrt.dll_memcpy
lea rcx, [rdi + rbx]
mov ebx, 1
call fcn.1400019b0
mov rax, qword [sym.imp.python311.dll_PyImport_FrozenModules]
mov qword [0x1400bf848], r13
mov rcx, qword [r13]
mov rax, qword [rax]
mov qword [0x1400bf838], rax
mov rax, qword [sym.imp.python311.dll_PyImport_FrozenModules]
mov qword [rax], rdi
mov rax, qword [sym.imp.python311.dll_Py_DebugFlag]
lea rdi, str.__multiprocessing_fork
mov dword [rax], 0
mov rax, qword [sym.imp.python311.dll_Py_InspectFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python311.dll_Py_InteractiveFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python311.dll_Py_OptimizeFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python311.dll_Py_DontWriteBytecodeFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python311.dll_Py_NoUserSiteDirectory]
mov dword [rax], 1
mov rax, qword [sym.imp.python311.dll_Py_IgnoreEnvironmentFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python311.dll_Py_VerboseFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python311.dll_Py_BytesWarningFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python311.dll_Py_UTF8Mode]
mov dword [rax], 0
mov rax, qword [sym.imp.python311.dll_Py_FrozenFlag]
mov dword [rax], 1
mov rax, qword [sym.imp.python311.dll_Py_NoSiteFlag]
mov dword [rax], 1
call qword [sym.imp.python311.dll_Py_SetProgramName]
mov dword [0x1400bf840], r12d
cmp r12d, 1
jle 0x14001071b
nop dword [rax + rax]
mov rcx, qword [rsi]
mov rdx, rdi
add ebx, 1
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x1400106ff
cmp r12d, ebx
jg 0x14001071b
mov rcx, qword [rsi]
mov rdx, rbp
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x140010b20
cmp r12d, ebx
jg 0x140010c2d
lea rbp, [rsp + 0x60]
mov rcx, rbp
call qword [sym.imp.python311.dll__PyRuntime_Initialize]
mov edx, dword [rsp + 0x60]
test edx, edx
jne 0x140010c40
lea r13, [rsp + 0x80]
lea rbx, [rsp + 0x40]
mov rcx, r13
call qword [sym.imp.python311.dll__PyConfig_InitCompatConfig]
mov r9, qword [0x1400bf848]
mov rdx, r13
mov rcx, rbp
movsxd r8, dword [0x1400bf840]
call qword [sym.imp.python311.dll_PyConfig_SetArgv]
movdqa xmm0, xmmword [rsp + 0x60]
movdqa xmm1, xmmword [rsp + 0x70]
mov rcx, rbx
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm1
call qword [sym.imp.python311.dll_PyStatus_Exception]
mov dword [rsp + 0x3c], eax
test eax, eax
jne 0x140010c45
mov ecx, 1
call fcn.14002ae40
mov rdi, qword [sym.imp.python311.dll_PyConfig_SetString]
mov rdx, r13
mov rcx, rbx
mov rsi, rax
mov rax, qword [0x1400bf848]
lea r8, [rsp + 0x1d0]
mov r9, qword [rax]
call rdi
mov r9, rsi
lea r8, [rsp + 0x1e0]
mov rdx, r13
mov rcx, rbx
call rdi
mov r9, rsi
lea r8, [rsp + 0x1f0]
mov rdx, r13
mov rcx, rbx
call rdi
mov r9, rsi
lea r8, [rsp + 0x1e8]
mov rdx, r13
mov rcx, rbx
call rdi
mov r9, rsi
lea r8, [rsp + 0x1f8]
mov rdx, r13
mov rcx, rbx
call rdi
mov r9, rsi
lea r8, [rsp + 0x1a0]
mov rdx, r13
mov rcx, rbx
call rdi
mov r9, rsi
lea r8, [rsp + 0x1a8]
mov rdx, r13
mov rcx, rbx
call rdi
lea rdx, [rsp + 0x1b8]
mov r8, rsi
mov rcx, rbx
call qword [sym.imp.python311.dll_PyWideStringList_Append]
mov rdx, r13
mov rcx, rbp
mov dword [rsp + 0x1b0], 1
mov dword [rsp + 0x90], 1
call qword [sym.imp.python311.dll_Py_InitializeFromConfig]
mov eax, dword [rsp + 0x60]
test eax, eax
jne 0x140010c45
mov rax, qword [sym.imp.python311.dll_Py_NoSiteFlag]
mov rdx, qword [0x1400bf848]
mov ecx, r12d
lea rdi, [0x1400a78eb]
mov dword [rax], 1
call qword [sym.imp.python311.dll_PySys_SetArgv]
call fcn.14004ed90
call fcn.140001810
call fcn.14000dc20
call fcn.140031ca0
call fcn.1400251b0
call fcn.1400249a0
call fcn.140024840
call fcn.1400248f0
call fcn.140024ed0
call fcn.140050240
call fcn.140050150
call fcn.14002ac80
call fcn.14008fa70
call fcn.1400959c0
lea rcx, str.NUL:
call qword [sym.imp.python311.dll_PyUnicode_FromString]
mov rsi, qword [sym.imp.python311.dll_PySys_GetObject]
mov rcx, rdi
mov r12, rax
call rsi
mov rbx, qword [sym.imp.python311.dll__Py_NoneStruct]
cmp rax, rbx
je 0x140010be3
test rax, rax
je 0x140010be3
lea rdi, [0x1400a78f3]
mov rcx, rdi
call rsi
cmp rax, rbx
je 0x140010bad
test rax, rax
je 0x140010bad
lea rdi, [0x1400a78fc]
mov rcx, rdi
call rsi
cmp rax, rbx
je 0x140010b77
test rax, rax
je 0x140010b77
sub qword [r12], 1
je 0x140010b32
call fcn.14008ebe0
call fcn.14008ef70
mov rax, qword [0x1400bf838]
mov rdi, qword [sym.imp.python311.dll_PyImport_FrozenModules]
mov qword [rdi], rax
call fcn.140001950
call qword [sym.imp.python311.dll__PyWarnings_Init]
call fcn.14008f760
mov rdx, qword [0x1400bf830]
mov rcx, r15
call fcn.140010350
mov rdx, qword [0x1400bf828]
mov rcx, r14
call fcn.140010350
mov r8d, pe_nt_image_headers64
mov rdx, r13
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
lea rcx, str.NUITKA_ONEFILE_PARENT
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xd8], 0
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xf8], 0
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
sub eax, 1
cmp eax, 0x7d
jbe 0x140010b3f
mov rbx, qword [sym.imp.python311.dll__PyRuntime]
lea r12, [0x1400a7919]
mov rdx, r12
mov rax, qword [rbx + 0x1f8]
mov rax, qword [rax + 0x10]
mov rcx, qword [rax + 0x378]
call qword [sym.imp.python311.dll_PyDict_DelItemString]
mov rcx, r12
call fcn.14008e610
mov rsi, qword [rbx + 0x1f8]
cmp qword [rsi + 0x60], 0
je 0x140010b0e
mov rbx, qword [rsi + 0x70]
test rbx, rbx
je 0x140010afe
mov rbp, qword [sym.imp.python311.dll_PyUnicode_AsUTF8]
lea rdi, str._frozen_importlib._bootstrap_
mov rax, qword [rbx + 0x18]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rcx, qword [rax + 0x70]
call rbp
mov rdx, rdi
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x140010c1c
xor ecx, ecx
call qword [sym.imp.python311.dll_PyErr_PrintEx]
mov dword [rsp + 0x3c], 1
mov ecx, dword [rsp + 0x3c]
call qword [sym.imp.python311.dll_Py_Exit]
nop dword [rax + rax]
add rsi, 8
cmp r12d, ebx
jne 0x1400106e8
jmp 0x14001071b
mov rcx, r12
call fcn.1400102c0
jmp 0x140010958
mov rcx, r13
call sub.msvcrt.dll_atol
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], 0
lea r8, [0x140010170]
mov dword [rsp + 0x20], 0
mov dword [0x1400bf824], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x140010a83
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1400a78fa]
mov rcx, r12
call fcn.140061a10
mov rcx, rdi
mov rbx, rax
mov rdx, rax
call qword [sym.imp.python311.dll_PySys_SetObject]
mov rdx, rbx
mov ecx, 0xfffffff4
call fcn.140010460
jmp 0x14001094d
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1400a78fa]
mov rcx, r12
call fcn.140061a10
mov rcx, rdi
mov rbp, rax
mov rdx, rax
call qword [sym.imp.python311.dll_PySys_SetObject]
mov rdx, rbp
mov ecx, 0xfffffff5
call fcn.140010460
jmp 0x14001092f
xor r9d, r9d
mov r8d, 1
mov rcx, r12
lea rdx, [0x1400a78f1]
call fcn.140061a10
mov rcx, rdi
mov rbp, rax
mov rdx, rax
call qword [sym.imp.python311.dll_PySys_SetObject]
mov rdx, rbp
mov ecx, 0xfffffff6
call fcn.140010460
jmp 0x140010911
mov rbx, qword [rbx + 0x10]
mov qword [rsi + 0x70], rbx
add qword [rbx], 1
jmp 0x140010ad9
movsxd rbx, ebx
mov rcx, qword [r13 + rbx*8]
call qword [sym.imp.msvcrt.dll__wtoi]
jmp 0x14001071b
lea rbx, [rsp + 0x40]
movdqa xmm2, xmmword [rsp + 0x60]
movdqa xmm3, xmmword [rsp + 0x70]
mov rcx, rbx
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x50], xmm3
call qword [sym.imp.python311.dll_Py_ExitStatusException]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rcx, qword [rcx + 0x88]
mov rdi, rdx
mov rbp, r8
test rcx, rcx
je 0x140010c96
mov rdx, r8
call rdi
test eax, eax
jne 0x140010cd0
mov rax, qword [rsi + 0xd0]
xor ebx, ebx
test rax, rax
jle 0x140010cce
nop dword [rax]
mov rcx, qword [rsi + rbx*8 + 0xd8]
test rcx, rcx
je 0x140010cc5
mov rdx, rbp
call rdi
test eax, eax
jne 0x140010cd0
mov rax, qword [rsi + 0xd0]
add rbx, 1
cmp rbx, rax
jl 0x140010ca8
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret