Function at 0x14054a100
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, 0x218
lea r15, [0x1405ec6a8]
lea r14, str.PYTHONHOME
xor ebx, ebx
mov r12d, ecx
mov rcx, r15
mov r13, rdx
call fcn.140549e10
lea rdx, [0x1405ec6ae]
mov rcx, r15
mov qword [0x140637b90], rax
call fcn.140549e80
mov rcx, r14
call fcn.140549e10
mov ecx, 1
mov qword [0x140637b88], rax
call fcn.140571130
mov rcx, r14
mov rdx, rax
call fcn.140549e80
mov ecx, 1
call fcn.140571130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov rax, qword [sym.imp.python310.dll__Py_path_config]
mov dword [rax + 0x30], 1
mov rax, qword [sym.imp.python310.dll_PyImport_FrozenModules]
mov rsi, qword [rax]
test rsi, rsi
je 0x14054a1bf
cmp qword [rsi], 0
mov rax, rsi
je 0x14054a1b2
nop dword [rax]
add rax, 0x18
cmp qword [rax], 0
jne 0x14054a1a8
sub rax, rsi
sar rax, 3
imul ebx, eax, 0xaaaaaaab
lea eax, [rbx + 0x9a]
movsxd rbx, ebx
lea rbp, str.__multiprocessing_resource_tracker
cdqe
lea rbx, [rbx + rbx*2]
lea rcx, [rax + rax*2]
shl rbx, 3
shl rcx, 3
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.python310.dll_PyImport_FrozenModules]
mov qword [0x140637ba8], r13
mov rcx, qword [r13]
mov rax, qword [rax]
mov qword [0x140637b98], rax
mov rax, qword [sym.imp.python310.dll_PyImport_FrozenModules]
mov qword [rax], rdi
mov rax, qword [sym.imp.python310.dll_Py_DebugFlag]
lea rdi, str.__multiprocessing_fork
mov dword [rax], 0
mov rax, qword [sym.imp.python310.dll_Py_InspectFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python310.dll_Py_InteractiveFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python310.dll_Py_OptimizeFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python310.dll_Py_DontWriteBytecodeFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python310.dll_Py_NoUserSiteDirectory]
mov dword [rax], 1
mov rax, qword [sym.imp.python310.dll_Py_IgnoreEnvironmentFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python310.dll_Py_VerboseFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python310.dll_Py_BytesWarningFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python310.dll_Py_UTF8Mode]
mov dword [rax], 0
mov rax, qword [sym.imp.python310.dll_Py_FrozenFlag]
mov dword [rax], 1
mov rax, qword [sym.imp.python310.dll_Py_NoSiteFlag]
mov dword [rax], 1
call qword [sym.imp.python310.dll_Py_SetProgramName]
mov dword [0x140637ba0], r12d
cmp r12d, 1
jle 0x14054a31b
nop dword [rax]
mov rcx, qword [rsi]
mov rdx, rdi
add ebx, 1
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14054a2ff
cmp r12d, ebx
jg 0x14054a31b
mov rcx, qword [rsi]
mov rdx, rbp
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14054a718
cmp r12d, ebx
jg 0x14054a825
lea rbp, [rsp + 0x60]
mov rcx, rbp
call qword [sym.imp.python310.dll__PyRuntime_Initialize]
mov edx, dword [rsp + 0x60]
test edx, edx
jne 0x14054a838
lea r13, [rsp + 0x80]
lea rbx, [rsp + 0x40]
mov rcx, r13
call qword [sym.imp.python310.dll__PyConfig_InitCompatConfig]
mov r9, qword [0x140637ba8]
mov rdx, r13
mov rcx, rbp
movsxd r8, dword [0x140637ba0]
call qword [sym.imp.python310.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.python310.dll_PyStatus_Exception]
mov dword [rsp + 0x3c], eax
test eax, eax
jne 0x14054a83d
mov ecx, 1
call fcn.140571130
mov rdi, qword [sym.imp.python310.dll_PyConfig_SetString]
mov rdx, r13
mov rcx, rbx
mov rsi, rax
mov rax, qword [0x140637ba8]
lea r8, [rsp + 0x1b0]
mov r9, qword [rax]
call rdi
mov r9, rsi
lea r8, [rsp + 0x1c0]
mov rdx, r13
mov rcx, rbx
call rdi
mov r9, rsi
lea r8, [rsp + 0x1d0]
mov rdx, r13
mov rcx, rbx
call rdi
mov r9, rsi
lea r8, [rsp + 0x1c8]
mov rdx, r13
mov rcx, rbx
call rdi
mov r9, rsi
lea r8, [rsp + 0x1d8]
mov rdx, r13
mov rcx, rbx
call rdi
mov r9, rsi
lea r8, [rsp + 0x188]
mov rdx, r13
mov rcx, rbx
call rdi
mov r9, rsi
lea r8, [rsp + 0x190]
mov rdx, r13
mov rcx, rbx
call rdi
lea rdx, [rsp + 0x1a0]
mov r8, rsi
mov rcx, rbx
call qword [sym.imp.python310.dll_PyWideStringList_Append]
mov rdx, r13
mov rcx, rbp
mov dword [rsp + 0x198], 1
mov dword [rsp + 0x90], 1
call qword [sym.imp.python310.dll_Py_InitializeFromConfig]
mov eax, dword [rsp + 0x60]
test eax, eax
jne 0x14054a83d
mov rax, qword [sym.imp.python310.dll_Py_NoSiteFlag]
mov rdx, qword [0x140637ba8]
mov ecx, r12d
lea rdi, [0x1405ec73b]
mov dword [rax], 1
call qword [sym.imp.python310.dll_PySys_SetArgv]
call fcn.140576ca0
call fcn.140001810
call fcn.140002b90
call fcn.1405736e0
call fcn.140561430
call fcn.140560280
call fcn.14055fc10
call fcn.140560000
call fcn.140561070
call fcn.1405a0cb0
call fcn.1405738b0
call fcn.1405710c0
call fcn.1405ca860
call fcn.1405d0890
lea rcx, str.NUL:
call qword [sym.imp.python310.dll_PyUnicode_FromString]
mov rsi, qword [sym.imp.python310.dll_PySys_GetObject]
mov rcx, rdi
mov r12, rax
call rsi
mov rbx, qword [sym.imp.python310.dll__Py_NoneStruct]
cmp rax, rbx
je 0x14054a7db
test rax, rax
je 0x14054a7db
lea rdi, [0x1405ec743]
mov rcx, rdi
call rsi
cmp rax, rbx
je 0x14054a7a5
test rax, rax
je 0x14054a7a5
lea rdi, [0x1405ec74c]
mov rcx, rdi
call rsi
cmp rax, rbx
je 0x14054a76f
test rax, rax
je 0x14054a76f
sub qword [r12], 1
je 0x14054a72a
call fcn.1405c9a00
call fcn.1405c9de0
mov rax, qword [0x140637b98]
mov rdi, qword [sym.imp.python310.dll_PyImport_FrozenModules]
mov qword [rdi], rax
call fcn.140001950
call qword [sym.imp.python310.dll__PyWarnings_Init]
call fcn.1405ca560
mov rdx, qword [0x140637b90]
mov rcx, r15
call fcn.140549f50
mov rdx, qword [0x140637b88]
mov rcx, r14
call fcn.140549f50
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 0x14054a737
mov rbx, qword [sym.imp.python310.dll__PyRuntime]
lea r12, [0x1405ec769]
mov rdx, r12
mov rax, qword [rbx + 0x1f0]
mov rax, qword [rax + 0x10]
mov rcx, qword [rax + 0x358]
call qword [sym.imp.python310.dll_PyDict_DelItemString]
mov rcx, r12
call fcn.1405c94c0
mov rsi, qword [rbx + 0x1f0]
cmp qword [rsi + 0x58], 0
je 0x14054a70a
mov rbx, qword [rsi + 0x68]
test rbx, rbx
je 0x14054a6fa
mov rbp, qword [sym.imp.python310.dll_PyUnicode_AsUTF8]
lea rdi, str._frozen_importlib._bootstrap_
mov rax, qword [rbx + 0x18]
mov rax, qword [rax + 0x20]
mov rcx, qword [rax + 0x68]
call rbp
mov rdx, rdi
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x14054a814
xor ecx, ecx
call qword [sym.imp.python310.dll_PyErr_PrintEx]
mov dword [rsp + 0x3c], 1
mov ecx, dword [rsp + 0x3c]
call qword [sym.imp.python310.dll_Py_Exit]
nop dword [rax]
add rsi, 8
cmp r12d, ebx
jne 0x14054a2e8
jmp 0x14054a31b
mov rcx, r12
call fcn.140549ec0
jmp 0x14054a558
mov rcx, r13
call sub.msvcrt.dll_atol
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], 0
lea r8, [0x140549d70]
mov dword [rsp + 0x20], 0
mov dword [0x140637b84], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x14054a683
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1405ec74a]
mov rcx, r12
call fcn.14058f240
mov rcx, rdi
mov rbx, rax
mov rdx, rax
call qword [sym.imp.python310.dll_PySys_SetObject]
mov rdx, rbx
mov ecx, 0xfffffff4
call fcn.14054a060
jmp 0x14054a54d
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1405ec74a]
mov rcx, r12
call fcn.14058f240
mov rcx, rdi
mov rbp, rax
mov rdx, rax
call qword [sym.imp.python310.dll_PySys_SetObject]
mov rdx, rbp
mov ecx, 0xfffffff5
call fcn.14054a060
jmp 0x14054a52f
xor r9d, r9d
mov r8d, 1
mov rcx, r12
lea rdx, [0x1405ec741]
call fcn.14058f240
mov rcx, rdi
mov rbp, rax
mov rdx, rax
call qword [sym.imp.python310.dll_PySys_SetObject]
mov rdx, rbp
mov ecx, 0xfffffff6
call fcn.14054a060
jmp 0x14054a511
mov rbx, qword [rbx + 0x10]
mov qword [rsi + 0x68], rbx
add qword [rbx], 1
jmp 0x14054a6d9
movsxd rbx, ebx
mov rcx, qword [r13 + rbx*8]
call qword [sym.imp.msvcrt.dll__wtoi]
jmp 0x14054a31b
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.python310.dll_Py_ExitStatusException]
nop
nop
nop
nop