Function at 0x14000eaa0
Capabilities:
Accept command line arguments
Set environment variable
Terminate process
Write and execute a file
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x138
movups xmmword [rsp + 0x120], xmm6
movdqu xmm6, xmmword [0x140018210]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x58], rax
mov r15, qword [0x140026078]
mov rsi, qword [0x140026080]
lea r14, [0x140025860]
nop dword [rax]
mov r12, qword [rsp + 0x58]
xor r13d, r13d
mov ebp, 2
nop dword [rax]
mov rbx, r15
sub rbx, rsi
jne 0x14000eb68
mov rcx, qword [0x1400260a0]
mov rdx, qword [0x140026098]
cmp rcx, rdx
setb al
or r13b, al
je 0x14000ebc0
mov rcx, qword [0x140026068]
movups xmmword [0x140026078], xmm6
call fcn.14000d810
mov r15, qword [0x140026080]
cmp qword [0x140026078], r15
sete r13b
cmp rax, 0xffffffffffffff88
ja 0x14000f09e
xor esi, esi
mov rbx, r15
mov qword [0x140026078], r15
mov qword [0x140026080], 0
sub rbx, rsi
je 0x14000eb00
cmp rbx, rbp
mov rdx, qword [0x140026070]
mov rcx, r12
lea rdi, [0x140026070]
cmova rbx, rbp
add rdx, rsi
mov r8, rbx
add rsi, rbx
add r12, rbx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov qword [0x140026080], rsi
sub rbp, rbx
jne 0x14000eaf8
movzx eax, word [rsp + 0x80]
mov word [r14], ax
test ax, ax
je 0x14000ec1f
add r14, 2
jmp 0x14000eae8
cmp rcx, rdx
jne 0x14000f09e
mov rdx, qword [0x1400260b0]
mov rax, rdx
sub rax, qword [0x140026060]
neg rax
je 0x14000eaf8
mov ecx, 0x20003
mov qword [0x140026090], rdx
mov qword [0x1400260a0], 0
cmp rax, rcx
cmova rax, rcx
add qword [0x14001d040], rax
lea rcx, [rdx + rax]
mov qword [0x140026098], rax
mov qword [0x1400260b0], rcx
jmp 0x14000eaf8
lea rax, [0x140025860]
movzx ecx, word [rax]
test cx, cx
je 0x14000f0af
movzx r8d, word [0x1400260c0]
lea rbx, [0x14001b040]
xor r10d, r10d
lea rax, [0x1400260c0]
mov word [0x14001b040], r10w
mov rdx, rbx
lea r9, [rax + 0x2000]
test r8w, r8w
jne 0x14000ec71
jmp 0x14000ec87
cmp rax, r9
je 0x140015258
add rax, 2
mov word [rdx], r8w
add rdx, 2
movzx r8d, word [rax]
test r8w, r8w
jne 0x14000ec68
xor r9d, r9d
mov word [rdx], r9w
cmp word [0x14001b040], 0
je 0x14000f0a3
mov edx, 0x1000
lea rax, [0x14001b040]
nop dword [rax + rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000ecb0
test rdx, rdx
je 0x14000f3a8
mov dword [rax], 0x5c
cmp word [0x14001b040], 0
mov edx, 0x1000
lea rax, [0x14001b040]
je 0x14000ecff
nop dword [rax + rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000ece8
test rdx, rdx
je 0x14000f3b2
lea r8, [0x140025860]
jmp 0x14000ed19
test rdx, rdx
je 0x14000f3ad
add r8, 2
mov word [rax], cx
add rax, 2
sub rdx, 1
movzx ecx, word [r8]
test cx, cx
jne 0x14000ed10
xor r8d, r8d
cmp word [0x140025060], 0
mov word [rax], r8w
je 0x14000f04f
lea rax, [rsp + 0xa0]
xor r14d, r14d
mov ebp, 8
mov qword [rsp + 0x68], rax
mov r12, rax
nop
mov r13, r15
sub r13, rsi
jne 0x14000edd0
mov rcx, qword [0x1400260a0]
mov rdx, qword [0x140026098]
cmp rcx, rdx
setb al
or r14b, al
je 0x14000eff0
mov rcx, qword [0x140026068]
movups xmmword [0x140026078], xmm6
call fcn.14000d810
mov r15, qword [0x140026080]
cmp qword [0x140026078], r15
sete r14b
cmp rax, 0xffffffffffffff88
ja 0x14000f09e
xor esi, esi
mov r13, r15
mov qword [0x140026078], r15
mov qword [0x140026080], 0
sub r13, rsi
je 0x14000ed68
cmp r13, rbp
mov rdx, qword [rdi]
mov rcx, r12
cmova r13, rbp
add rdx, rsi
mov r8, r13
add rsi, r13
add r12, r13
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov qword [0x140026080], rsi
sub rbp, r13
jne 0x14000ed60
mov r12, qword [rsp + 0xa0]
call fcn.14000ff30
mov rcx, rbx
xor r9d, r9d
mov edx, 0x40000000
mov qword [rsp + 0x30], 0
mov r8d, 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, rax
cmp rax, 0xffffffffffffffff
je 0x14000f366
test r12, r12
je 0x14000ef77
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x60], rax
nop dword [rax + rax]
mov rax, qword [rsp + 0x50]
mov r13d, 0x8000
lea rbp, [0x14001d060]
mov r14, qword [0x140026078]
mov rbx, qword [0x140026080]
mov r12, rbp
cmp rax, r13
cmovbe r13, rax
xor r15d, r15d
mov rbp, r13
mov r8, r14
sub r8, rbx
jne 0x14000ef00
mov rcx, qword [0x1400260a0]
mov rdx, qword [0x140026098]
cmp rcx, rdx
setb al
or r15b, al
je 0x14000ef88
mov rcx, qword [0x140026068]
movups xmmword [0x140026078], xmm6
call fcn.14000d810
mov r14, qword [0x140026080]
cmp qword [0x140026078], r14
sete r15b
cmp rax, 0xffffffffffffff88
ja 0x14000f09e
xor ebx, ebx
mov r8, r14
mov qword [0x140026078], r14
mov qword [0x140026080], 0
sub r8, rbx
je 0x14000ee98
cmp r8, rbp
mov rsi, r8
mov rdx, qword [rdi]
mov rcx, r12
cmova rsi, rbp
add rdx, rbx
mov r8, rsi
add rbx, rsi
add r12, rsi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov qword [0x140026080], rbx
sub rbp, rsi
jne 0x14000ee90
mov r9, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov r8d, r13d
mov dword [rsp + 0xa0], 0
mov qword [rsp + 0x20], 0
lea rdx, [0x14001d060]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000f2b9
sub qword [rsp + 0x50], r13
jne 0x14000ee60
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000ead0
cmp rcx, rdx
jne 0x14000f09e
mov rdx, qword [0x1400260b0]
mov rax, rdx
sub rax, qword [0x140026060]
neg rax
je 0x14000ee90
mov ecx, 0x20003
mov qword [0x140026090], rdx
mov qword [0x1400260a0], 0
cmp rax, rcx
cmova rax, rcx
add qword [0x14001d040], rax
lea rcx, [rdx + rax]
mov qword [0x140026098], rax
mov qword [0x1400260b0], rcx
jmp 0x14000ee90
cmp rcx, rdx
jne 0x14000f09e
mov rdx, qword [0x1400260b0]
mov rax, rdx
sub rax, qword [0x140026060]
neg rax
je 0x14000ed60
mov ecx, 0x20003
mov qword [0x140026090], rdx
mov qword [0x1400260a0], 0
cmp rax, rcx
cmova rax, rcx
add qword [0x14001d040], rax
lea rcx, [rdx + rax]
mov qword [0x140026098], rax
mov qword [0x1400260b0], rcx
jmp 0x14000ed60
movzx ecx, word [0x14001b040]
lea rax, [0x14001b040]
lea rdx, [0x140025060]
lea r8, [rax + 0x2000]
test cx, cx
jne 0x14000f081
jmp 0x14000f094
cmp rax, r8
je 0x140015258
add rax, 2
mov word [rdx], cx
add rdx, 2
movzx ecx, word [rax]
test cx, cx
jne 0x14000f078
xor ecx, ecx
mov word [rdx], cx
jmp 0x14000ed46
call fcn.140007c20
lea rax, [0x14001b040]
jmp 0x14000ecc7
mov rsi, qword [0x140026068]
test rsi, rsi
je 0x14000f15f
cmp qword [rsi + 0x73c8], 0
jne 0x14000f15f
mov rdi, qword [rsi + 0x73d8]
mov rbp, qword [rsi + 0x73a8]
mov r13, qword [rsi + 0x73b0]
test rdi, rdi
je 0x14000f119
mov rdx, qword [rdi]
mov r12, qword [rdi + 0x6ac8]
mov r14, qword [rdi + 0x6ad0]
test rdx, rdx
je 0x14000f350
test r12, r12
je 0x14000f39e
mov rcx, r14
call r12
mov rdx, rdi
mov rcx, r14
call r12
mov rdx, qword [rsi + 0x73f8]
pxor xmm0, xmm0
mov dword [rsi + 0x73f0], 0
movups xmmword [rsi + 0x73d8], xmm0
test rdx, rdx
je 0x14000f2c5
test rbp, rbp
je 0x14000f391
mov rcx, r13
call rbp
mov qword [rsi + 0x73f8], 0
mov rdx, rsi
mov rcx, r13
call rbp
mov rcx, qword [0x140026070]
lea rsi, [rsp + 0xa0]
lea rdi, [rsp + 0xa8]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x1400172ba]
mov edx, pe_nt_image_headers64
mov rcx, rsi
mov r9d, eax
call fcn.140015070
mov rdx, rsi
lea rcx, str.NUITKA_ONEFILE_PARENT
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
xor eax, eax
mov ecx, 0xc
mov qword [rsp + 0xa4], 0
mov qword [rsp + 0x100], 0
rep stosq qword [rdi], rax
mov dword [rsp + 0xa0], 0x68
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x40], rsi
mov rdx, rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], 0
lea rcx, [0x140025060]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000f2db
mov rcx, qword [rsp + 0x88]
mov rbx, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rbx
mov rcx, qword [rsp + 0x80]
mov dword [rsp + 0x78], 0
mov qword [0x14001d048], rcx
test rcx, rcx
je 0x14000f294
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x14001d048]
lea rdx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x14000f280
mov dword [rsp + 0x78], 1
mov rcx, qword [0x14001d048]
call rbx
mov qword [0x14001d048], 0
call fcn.140007c70
mov eax, dword [rsp + 0x78]
movups xmm6, xmmword [rsp + 0x120]
add rsp, 0x138
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.Error__couldnt_runtime_expand_target_path.
call fcn.140007c00
test rbp, rbp
jne 0x14000f157
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x14000f15f
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
mov r9d, 0x409
mov ecx, 0x1300
mov ebx, eax
xor eax, eax
mov dword [rsp + 0x28], edx
xor edx, edx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov r8d, ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov rsi, qword [rsp + 0x78]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, ebx
lea r8, str.Error__couldnt_launch_child
lea rdx, str._s___Error__d___s__n
mov qword [rsp + 0x20], rsi
mov rcx, rax
call fcn.140014c80
mov ecx, 2
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop dword [rax + rax]
test r12, r12
jne 0x14000f110
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x14000f119
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea r8, [0x14001b040]
lea rdx, str.Error__failed_to_open__ls_for_writing._n
mov rcx, rax
call fcn.140014c80
mov ecx, 2
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov rcx, rdx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x14000f2ce
mov rcx, rdx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x14000f359
jmp 0x140015258
jmp 0x140015258
jmp 0x140015258
push rbx
sub rsp, 0x20
lea rbx, str._TEMP_onefile__PID___TIME_
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv]
mov r8d, 0x1000
mov rdx, rbx
lea rcx, [0x1400260c0]
call fcn.1400075a0
test al, al
je 0x14000f710
mov edx, 1
lea rcx, [0x140007dd0]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x14000f724
mov r8d, 0xa
xor ecx, ecx
mov edx, 0x1b
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
lea rcx, [rax + 3]
cmp byte [rax], 0x4b
mov qword [0x140026060], rax
movzx edx, byte [rax + 1]
movzx r8d, byte [rax + 2]
mov qword [0x1400260b0], rcx
jne 0x14000f718
cmp dl, 0x41
jne 0x14000f718
cmp r8b, 0x59
jne 0x14000f718
mov qword [0x140026090], 0
mov ecx, 0x20000
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [0x140026070], rax
test rax, rax
je 0x14000f6fb
mov ecx, 0x274b8
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r8, rax
test rax, rax
je 0x14000f6f0
mov qword [rax + 0x73b0], 0
pxor xmm0, xmm0
mov qword [rax + 0x73c8], 0
mov qword [rax + 0x72d8], 0
mov qword [rax + 0x73ec], 0
mov qword [rax + 0x73f8], 0
mov qword [rax + 0x7400], 0
mov qword [rax + 0x7420], 0
mov dword [rax + 0x73f4], 0
mov qword [rax + 0x7440], 0
mov dword [rax + 0x7448], 0
mov dword [rax + 0x7454], 0
mov qword [rax + 0x274b0], 0
movups xmmword [rax + 0x73a0], xmm0
movups xmmword [rax + 0x73d8], xmm0
xor eax, eax
cpuid
xor ecx, ecx
cmp eax, 6
ja 0x14000f6d8
mov dword [r8 + 0x73d0], ecx
mov qword [r8 + 0x7410], 0x8000001
mov dword [r8 + 0x7458], 0
mov qword [r8 + 0x7388], 0
mov dword [r8 + 0x7390], 1
mov qword [0x140026068], r8
mov byte [0x1400260a8], 1
add rsp, 0x20
pop rbx
jmp 0x14000eaa0
mov eax, 7
cpuid
shr ebx, 8
mov ecx, ebx
and ecx, 1
jmp 0x14000f686
mov qword [0x140026068], 0
lea rcx, str.Error__couldnt_allocate_memory.
call fcn.140007c00
nop word [rax + rax]
mov rcx, rbx
call fcn.140007c40
lea rcx, str.Error__couldnt_find_attached_data_header.
call fcn.140007c00
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.140007c00
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push rdi
push rbx
sub rsp, 0x98
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p__wcmdln
xor edx, edx
mov rbx, qword [rax]
test rbx, rbx
jne 0x140013c03
jmp 0x140013c80
test ax, ax
je 0x140013c28
and edx, 1
je 0x140013c28
mov edx, 1
add rbx, 2
movzx eax, word [rbx]
cmp ax, 0x20
jbe 0x140013bf0
mov ecx, edx
xor ecx, 1
cmp ax, 0x22
cmove edx, ecx
jmp 0x140013bff
movzx eax, word [rbx + 2]
add rbx, 2
sub eax, 1
cmp ax, 0x1f
jbe 0x140013c20
lea rdx, [rsp + 0x20]
xor eax, eax
mov ecx, 0xd
mov rdi, rdx
rep stosq qword [rdi], rax
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov r9d, 0xa
test byte [rsp + 0x5c], 1
je 0x140013c5f
movzx r9d, word [rsp + 0x60]
mov rcx, qword [0x140018660]
mov r8, rbx
xor edx, edx
add rsp, 0x98
pop rbx
pop rdi
jmp 0x14000f500
lea rbx, [0x140018280]
jmp 0x140013c31
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop
nop