Function at 0x1400081e0
Capabilities:
Create thread
Query environment variable
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x238
lea r15, [0x14009d7c0]
lea r14, str.PYTHONHOME
xor ebx, ebx
mov r12d, ecx
mov rcx, r15
mov r13, rdx
call fcn.140008060
mov rdi, qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea rdx, [0x14009d7ca]
mov rcx, r15
mov qword [0x1400b4408], rax
mov qword [rsp + 0x30], rdi
call rdi
mov rcx, r14
call fcn.140008060
call fcn.140022290
mov rcx, r14
mov rdx, rax
call rdi
call fcn.140022290
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov r14, qword [sym.imp.python311.dll_PyImport_FrozenModules]
mov rsi, qword [r14]
test rsi, rsi
je 0x140008284
cmp qword [rsi], 0
mov rax, rsi
je 0x14000827a
nop dword [rax + rax]
add rax, 0x20
cmp qword [rax], 0
jne 0x140008270
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.1400019a0
mov rax, qword [r14]
mov rcx, qword [r13]
mov qword [r14], rdi
mov qword [0x1400b4420], r13
lea rdi, str.__multiprocessing_fork
mov qword [0x1400b4410], rax
mov rax, qword [sym.imp.python311.dll_Py_DebugFlag]
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 [0x1400b4418], r12d
cmp r12d, 1
jle 0x1400083cb
nop dword [rax]
mov rcx, qword [rsi]
mov rdx, rdi
add ebx, 1
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x1400083af
cmp r12d, ebx
jg 0x1400083cb
mov rcx, qword [rsi]
mov rdx, rbp
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x140008838
cmp r12d, ebx
jg 0x14000897f
lea rbp, [rsp + 0x60]
mov rcx, rbp
call qword [sym.imp.python311.dll__PyRuntime_Initialize]
mov edx, dword [rsp + 0x60]
test edx, edx
jne 0x14000899a
lea r13, [rsp + 0x80]
lea rbx, [rsp + 0x40]
mov rcx, r13
call qword [sym.imp.python311.dll__PyConfig_InitCompatConfig]
mov r9, qword [0x1400b4420]
mov rdx, r13
mov rcx, rbx
movsxd r8, dword [0x1400b4418]
call qword [sym.imp.python311.dll_PyConfig_SetArgv]
call fcn.140022290
mov rdi, qword [sym.imp.python311.dll_PyConfig_SetString]
mov rdx, r13
mov rcx, rbx
mov rsi, rax
mov rax, qword [0x1400b4420]
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 0x14000899f
mov rax, qword [sym.imp.python311.dll_Py_NoSiteFlag]
mov rdx, qword [0x1400b4420]
mov ecx, r12d
lea rbp, [0x14009d869]
mov dword [rax], 1
call qword [sym.imp.python311.dll_PySys_SetArgv]
call fcn.140045f10
call fcn.140001810
call fcn.1400027e0
call fcn.140028e20
call fcn.14001c7d0
call fcn.14001bfc0
call fcn.14001bec0
call fcn.14001bf70
call fcn.14001c4f0
call fcn.140047340
call fcn.140047250
call fcn.140022220
call fcn.140085ee0
call fcn.14008bbb0
mov rbx, qword [sym.imp.python311.dll_PyUnicode_FromString]
lea rcx, [0x14009d85e]
call rbx
lea rcx, str.NUL:
mov r12, rax
call rbx
mov rdi, qword [sym.imp.python311.dll_PySys_GetObject]
mov rcx, rbp
mov rbx, rax
call rdi
mov rsi, qword [sym.imp.python311.dll__Py_NoneStruct]
cmp rax, rsi
je 0x14000890c
test rax, rax
je 0x14000890c
lea rbp, [0x14009d871]
mov rcx, rbp
call rdi
cmp rax, rsi
je 0x1400088d2
test rax, rax
je 0x1400088d2
lea rbp, [0x14009d87a]
mov rcx, rbp
call rdi
cmp rax, rsi
je 0x14000889c
test rax, rax
je 0x14000889c
sub qword [rbx], 1
je 0x14000884a
test r12, r12
je 0x1400085f6
sub qword [r12], 1
je 0x140008857
call fcn.1400854d0
call fcn.140085860
mov rax, qword [0x1400b4410]
mov qword [r14], rax
call fcn.140001940
call qword [sym.imp.python311.dll__PyWarnings_Init]
call fcn.140085bd0
mov rbx, qword [0x1400b4408]
call fcn.14001d9c0
lea rdx, str.environ
mov rcx, rax
call qword [sym.imp.python311.dll_PyObject_GetAttrString]
mov rdx, 0xffffffffffffffff
mov rcx, r15
mov r12, rax
call sub.python311.dll_PyUnicode_FromWideChar
mov r14, rax
test rbx, rbx
je 0x140008949
mov rcx, r15
mov rdx, rbx
mov rax, qword [rsp + 0x30]
call rax
or rdx, 0xffffffffffffffff
mov rcx, rbx
call sub.python311.dll_PyUnicode_FromWideChar
mov rdx, r14
mov rcx, r12
mov r15, rax
mov r8, rax
call qword [sym.imp.python311.dll_PyObject_SetItem]
test eax, eax
jne 0x140008969
sub qword [r15], 1
jne 0x140008695
mov rcx, r15
call fcn.1400080b0
sub qword [r14], 1
jne 0x1400086a3
mov rcx, r14
call fcn.1400080b0
sub qword [r12], 1
jne 0x1400086b2
mov rcx, r12
call fcn.1400080b0
mov qword [rsp + 0x80], 0
mov rdx, r13
mov r8d, pe_nt_image_headers64
lea rcx, str.NUITKA_ONEFILE_PARENT
mov qword [rsp + 0x88], 0
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 0x140008864
mov rbx, qword [sym.imp.python311.dll__PyRuntime]
lea r12, [0x14009d89f]
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.140084f00
mov rax, qword [rbx + 0x1f8]
xor ecx, ecx
cmp qword [rax + 0x60], 0
je 0x14000882f
mov rsi, qword [rbx + 0x1f8]
mov rbx, qword [rsi + 0x70]
test rbx, rbx
je 0x140008822
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
jne 0x140008822
mov rbx, qword [rbx + 0x10]
mov qword [rsi + 0x70], rbx
add qword [rbx], 1
jmp 0x1400087f3
xor ecx, ecx
call qword [sym.imp.python311.dll_PyErr_PrintEx]
mov ecx, 1
call qword [sym.imp.python311.dll_Py_Exit]
nop dword [rax]
add rsi, 8
cmp r12d, ebx
jne 0x140008398
jmp 0x1400083cb
mov rcx, rbx
call fcn.1400080b0
jmp 0x1400085e6
mov rcx, r12
call fcn.1400080b0
jmp 0x1400085f6
mov rcx, r13
call sub.msvcrt.dll_atol
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], 0
lea r8, [0x140007fc0]
mov dword [rsp + 0x20], 0
mov dword [0x1400b4404], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x140008794
mov r9, r12
xor r8d, r8d
lea rdx, [0x14009d878]
mov rcx, rbx
call fcn.140058120
mov rcx, rbp
mov rsi, rax
mov rdx, rax
call qword [sym.imp.python311.dll_PySys_SetObject]
mov rdx, rsi
mov ecx, 0xfffffff4
call fcn.140008140
jmp 0x1400085dc
mov r9, r12
xor r8d, r8d
lea rdx, [0x14009d878]
mov rcx, rbx
call fcn.140058120
mov rcx, rbp
mov qword [rsp + 0x38], rax
mov rdx, rax
call qword [sym.imp.python311.dll_PySys_SetObject]
mov rdx, qword [rsp + 0x38]
mov ecx, 0xfffffff5
call fcn.140008140
jmp 0x1400085be
mov r9, r12
mov r8d, 1
mov rcx, rbx
lea rdx, [0x14009d86f]
call fcn.140058120
mov rcx, rbp
mov qword [rsp + 0x38], rax
mov rdx, rax
call qword [sym.imp.python311.dll_PySys_SetObject]
mov rdx, qword [rsp + 0x38]
mov ecx, 0xfffffff6
call fcn.140008140
jmp 0x1400085a0
xor edx, edx
mov rcx, r15
mov rax, qword [rsp + 0x30]
call rax
mov rdx, r14
mov rcx, r12
call qword [sym.imp.python311.dll_PyObject_DelItem]
test eax, eax
je 0x140008695
mov ecx, 1
call qword [sym.imp.python311.dll_PyErr_PrintEx]
mov ecx, 1
call qword [sym.imp.python311.dll_Py_Exit]
movsxd rbx, ebx
mov rcx, qword [r13 + rbx*8]
call qword [sym.imp.msvcrt.dll__wtoi]
mov ecx, eax
call qword [sym.imp.python311.dll_PyLong_FromLong]
jmp 0x1400083cb
lea rbx, [rsp + 0x40]
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_Py_ExitStatusException]
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 0x1400089e6
mov rdx, r8
call rdi
test eax, eax
jne 0x140008a20
mov rax, qword [rsi + 0xd0]
xor ebx, ebx
test rax, rax
jle 0x140008a1e
nop dword [rax]
mov rcx, qword [rsi + rbx*8 + 0xd8]
test rcx, rcx
je 0x140008a15
mov rdx, rbp
call rdi
test eax, eax
jne 0x140008a20
mov rax, qword [rsi + 0xd0]
add rbx, 1
cmp rbx, rax
jl 0x1400089f8
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret