Function at 0x140220010
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, 0x1f8
lea r15, [0x1402b631e]
lea r14, [0x1402b632c]
xor ebx, ebx
mov r12d, ecx
mov rcx, r15
mov r13, rdx
call fcn.14021fe10
mov rdi, qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea rdx, [0x1402b6328]
mov rcx, r15
mov qword [0x1402d72d8], rax
mov qword [rsp + 0x30], rdi
call rdi
mov rcx, r14
call fcn.14021fe10
call fcn.140247800
mov rcx, r14
mov rdx, rax
call rdi
call fcn.140247800
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov r14, qword [sym.imp.python38.dll_PyImport_FrozenModules]
mov rax, qword [sym.imp.python38.dll__Py_path_config]
mov rsi, qword [r14]
mov dword [rax + 0x30], 1
test rsi, rsi
je 0x1402200c7
cmp qword [rsi], 0
mov rax, rsi
je 0x1402200ba
nop dword [rax]
add rax, 0x18
cmp qword [rax], 0
jne 0x1402200b0
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.1400019a0
mov rax, qword [r14]
mov rcx, qword [r13]
mov qword [r14], rdi
mov qword [0x1402d72f0], r13
lea rdi, str.__multiprocessing_fork
mov qword [0x1402d72e0], rax
mov rax, qword [sym.imp.python38.dll_Py_DebugFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python38.dll_Py_InspectFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python38.dll_Py_InteractiveFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python38.dll_Py_OptimizeFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python38.dll_Py_DontWriteBytecodeFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python38.dll_Py_NoUserSiteDirectory]
mov dword [rax], 1
mov rax, qword [sym.imp.python38.dll_Py_IgnoreEnvironmentFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python38.dll_Py_VerboseFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python38.dll_Py_BytesWarningFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python38.dll_Py_UTF8Mode]
mov dword [rax], 0
mov rax, qword [sym.imp.python38.dll_Py_FrozenFlag]
mov dword [rax], 1
mov rax, qword [sym.imp.python38.dll_Py_NoSiteFlag]
mov dword [rax], 1
call qword [sym.imp.python38.dll_Py_SetProgramName]
mov dword [0x1402d72e8], r12d
cmp r12d, 1
jle 0x140220217
nop
mov rcx, qword [rsi]
mov rdx, rdi
add ebx, 1
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x1402201fb
cmp r12d, ebx
jg 0x140220676
mov rcx, qword [rsi]
mov rdx, rbp
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x140220590
cmp r12d, ebx
jg 0x1402206b8
lea rbp, [rsp + 0x60]
mov rcx, rbp
call qword [sym.imp.python38.dll__PyRuntime_Initialize]
mov edx, dword [rsp + 0x60]
test edx, edx
jne 0x140220712
lea r13, [rsp + 0x80]
lea rbx, [rsp + 0x40]
mov rcx, r13
call qword [sym.imp.python38.dll__PyConfig_InitCompatConfig]
mov r9, qword [0x1402d72f0]
mov rdx, r13
mov rcx, rbx
movsxd r8, dword [0x1402d72e8]
call qword [sym.imp.python38.dll_PyConfig_SetArgv]
call fcn.140247800
mov rdi, qword [sym.imp.python38.dll_PyConfig_SetString]
mov rdx, r13
mov rcx, rbx
mov rsi, rax
mov rax, qword [0x1402d72f0]
lea r8, [rsp + 0x190]
mov r9, qword [rax]
call rdi
mov r9, rsi
lea r8, [rsp + 0x1a0]
mov rdx, r13
mov rcx, rbx
call rdi
mov r9, rsi
lea r8, [rsp + 0x1b0]
mov rdx, r13
mov rcx, rbx
call rdi
mov r9, rsi
lea r8, [rsp + 0x1a8]
mov rdx, r13
mov rcx, rbx
call rdi
mov r9, rsi
lea r8, [rsp + 0x1b8]
mov rdx, r13
mov rcx, rbx
call rdi
mov r9, rsi
lea r8, [rsp + 0x170]
mov rdx, r13
mov rcx, rbx
call rdi
lea rdx, [rsp + 0x180]
mov r8, rsi
mov rcx, rbx
call qword [sym.imp.python38.dll_PyWideStringList_Append]
mov rdx, r13
mov rcx, rbp
mov dword [rsp + 0x178], 1
mov dword [rsp + 0x90], 1
call qword [sym.imp.python38.dll_Py_InitializeFromConfig]
mov eax, dword [rsp + 0x60]
test eax, eax
jne 0x140220717
mov rax, qword [sym.imp.python38.dll_Py_NoSiteFlag]
mov rdx, qword [0x1402d72f0]
mov ecx, r12d
lea rbp, [0x1402b63c9]
mov dword [rax], 1
call qword [sym.imp.python38.dll_PySys_SetArgv]
call fcn.1402479d0
call fcn.140001810
call fcn.14005f950
call fcn.14024a330
call fcn.140237550
call fcn.140236000
call fcn.140235950
call fcn.140235d50
call fcn.140237160
call fcn.140274590
call fcn.14024a4d0
call fcn.140247790
call fcn.14029c9a0
call fcn.1402a28f0
mov rbx, qword [sym.imp.python38.dll_PyUnicode_FromString]
lea rcx, [0x1402b63be]
call rbx
lea rcx, str.NUL:
mov r12, rax
call rbx
mov rdi, qword [sym.imp.python38.dll_PySys_GetObject]
mov rcx, rbp
mov rbx, rax
call rdi
mov rsi, qword [sym.imp.python38.dll__Py_NoneStruct]
cmp rax, rsi
je 0x140220639
test rax, rax
je 0x140220639
lea rbp, [0x1402b63d1]
mov rcx, rbp
call rdi
cmp rax, rsi
je 0x1402205ff
test rax, rax
je 0x1402205ff
lea rbp, [0x1402b63da]
mov rcx, rbp
call rdi
test rax, rax
je 0x1402205c9
cmp rax, rsi
je 0x1402205c9
sub qword [rbx], 1
je 0x1402205a2
test r12, r12
je 0x14022042f
sub qword [r12], 1
je 0x1402205bc
call fcn.14029bf20
call fcn.14029c320
mov rax, qword [0x1402d72e0]
mov qword [r14], rax
call fcn.140001940
call qword [sym.imp.python38.dll__PyWarnings_Init]
call fcn.14029c690
mov rsi, qword [0x1402d72d8]
call fcn.140241640
lea rdx, str.environ
mov rbx, qword [sym.imp.python38.dll_PyObject_GetAttrString]
mov rcx, rax
call rbx
mov rdx, 0xffffffffffffffff
mov rcx, r15
mov r12, rax
call sub.python38.dll_PyUnicode_FromWideChar
mov r14, rax
test rsi, rsi
je 0x140220682
mov rcx, r15
mov rdx, rsi
mov rax, qword [rsp + 0x30]
call rax
or rdx, 0xffffffffffffffff
mov rcx, rsi
call sub.python38.dll_PyUnicode_FromWideChar
mov rdx, r14
mov rcx, r12
mov r15, rax
mov r8, rax
call qword [sym.imp.python38.dll_PyObject_SetItem]
test eax, eax
jne 0x1402206a2
sub qword [r15], 1
jne 0x1402204d1
mov rcx, r15
call fcn.14021fee0
sub qword [r14], 1
jne 0x1402204df
mov rcx, r14
call fcn.14021fee0
sub qword [r12], 1
je 0x1402205af
cmp byte [0x1402d72d0], 0
jne 0x140220736
cmp qword [0x1402d72c8], 0
jne 0x14022074e
xor eax, eax
mov ecx, 0x1c
mov r8d, pe_nt_image_headers64
mov rdx, r13
lea rdi, [rsp + 0x90]
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
rep stosd dword [rdi], eax
lea rcx, str.NUITKA_ONEFILE_PARENT
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
sub eax, 1
cmp eax, 0x7d
jbe 0x1402206da
mov rax, qword [sym.imp.python38.dll__PyRuntime]
lea r12, [0x1402b643c]
mov rdx, r12
mov rax, qword [rax + 0x510]
mov rax, qword [rax + 0x10]
mov rcx, qword [rax + 0x38]
call qword [sym.imp.python38.dll_PyDict_DelItemString]
mov rcx, r12
call fcn.14029b9e0
call fcn.14021fe60
mov ecx, eax
call qword [sym.imp.python38.dll_Py_Exit]
nop dword [rax + rax]
add rsi, 8
cmp r12d, ebx
jne 0x1402201e0
jmp 0x140220217
mov rcx, rbx
call fcn.14021fee0
jmp 0x14022041f
mov rcx, r12
call fcn.14021fee0
jmp 0x1402204ea
mov rcx, r12
call fcn.14021fee0
jmp 0x14022042f
mov r9, r12
xor r8d, r8d
lea rdx, [0x1402b63d8]
mov rcx, rbx
call fcn.140263240
mov rcx, rbp
mov rsi, rax
mov rdx, rax
call qword [sym.imp.python38.dll_PySys_SetObject]
mov rdx, rsi
mov ecx, 0xfffffff4
call fcn.14021ff70
jmp 0x140220415
mov r9, r12
xor r8d, r8d
lea rdx, [0x1402b63d8]
mov rcx, rbx
call fcn.140263240
mov rcx, rbp
mov qword [rsp + 0x38], rax
mov rdx, rax
call qword [sym.imp.python38.dll_PySys_SetObject]
mov rdx, qword [rsp + 0x38]
mov ecx, 0xfffffff5
call fcn.14021ff70
jmp 0x1402203f7
mov r9, r12
mov r8d, 1
mov rcx, rbx
lea rdx, [0x1402b63cf]
call fcn.140263240
mov rcx, rbp
mov qword [rsp + 0x38], rax
mov rdx, rax
call qword [sym.imp.python38.dll_PySys_SetObject]
mov rdx, qword [rsp + 0x38]
mov ecx, 0xfffffff6
call fcn.14021ff70
jmp 0x1402203d9
mov byte [0x1402d72d0], 1
jmp 0x140220217
xor edx, edx
mov rcx, r15
mov rax, qword [rsp + 0x30]
call rax
mov rdx, r14
mov rcx, r12
call qword [sym.imp.python38.dll_PyObject_DelItem]
test eax, eax
je 0x1402204d1
mov ecx, 1
call qword [sym.imp.python38.dll_PyErr_PrintEx]
mov ecx, 1
call qword [sym.imp.python38.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.python38.dll_PyLong_FromLong]
mov qword [0x1402d72c8], rax
jmp 0x140220217
mov rcx, r13
call sub.msvcrt.dll_atol
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], 0
lea r8, [0x14021fd70]
mov dword [rsp + 0x20], 0
mov dword [0x1402d72c4], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x140220550
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.python38.dll_Py_ExitStatusException]
lea rcx, str.__parents_main__
call fcn.14029b9e0
call fcn.14021fe60
mov ecx, eax
call sub.msvcrt.dll_exit
lea rcx, str.multiprocessing.resource_tracker
call fcn.14029b9e0
lea rdx, [0x1402b6421]
mov rcx, rax
call rbx
mov rdx, qword [0x1402d72c8]
mov rcx, rax
call fcn.1402597e0
call fcn.14021fe60
mov ecx, eax
call sub.msvcrt.dll_exit
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop