Function at 0x14000f220
Capabilities:
Accept command line arguments
Extract resource via kernel32 functions
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
movaps xmmword [rsp + 0x120], xmm6
movdqa xmm6, xmmword [0x1400181d0]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x58], rax
mov rbx, qword [0x1400280c0]
lea r14, [0x1400278a0]
nop
mov r15, qword [0x1400280b8]
xor r13d, r13d
mov ebp, 2
mov r12, qword [rsp + 0x58]
nop dword [rax]
mov rsi, r15
sub rsi, rbx
jne 0x14000e8a8
mov rcx, qword [0x1400280e0]
mov rdx, qword [0x1400280d8]
cmp rcx, rdx
setb al
or r13b, al
je 0x14000e900
mov rcx, qword [0x1400280a8]
movups xmmword [0x1400280b8], xmm6
call fcn.14000d460
mov r15, qword [0x1400280c0]
cmp qword [0x1400280b8], r15
sete r13b
cmp rax, 0xffffffffffffff88
ja 0x14000edee
xor ebx, ebx
mov rsi, r15
mov qword [0x1400280b8], r15
mov qword [0x1400280c0], 0
sub rsi, rbx
je 0x14000e840
mov rdx, qword [0x1400280b0]
cmp rbp, rsi
mov rcx, r12
cmovbe rsi, rbp
lea rdi, [0x1400280b0]
mov r8, rsi
add r12, rsi
add rdx, rbx
add rbx, rsi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
sub rbp, rsi
mov qword [0x1400280c0], rbx
jne 0x14000e838
movzx eax, word [rsp + 0x80]
test ax, ax
mov word [r14], ax
je 0x14000e95f
add r14, 2
jmp 0x14000e820
cmp rcx, rdx
jne 0x14000edee
mov rdx, qword [0x1400280e8]
mov rax, rdx
sub rax, qword [0x1400280a0]
neg rax
je 0x14000e838
mov ecx, 0x20003
mov qword [0x1400280d0], rdx
mov qword [0x1400280e0], 0
cmp rax, rcx
cmova rax, rcx
add qword [0x14001f080], rax
mov qword [0x1400280d8], rax
lea rcx, [rdx + rax]
mov qword [0x1400280e8], rcx
jmp 0x14000e838
lea rax, [0x1400278a0]
movzx ecx, word [rax]
test cx, cx
je 0x14000edff
movzx edx, word [0x14001d080]
lea rbx, [0x14001b060]
xor r10d, r10d
mov word [0x14001b060], r10w
mov rax, rbx
lea r8, [0x14001d080]
lea r9, [rbx + 0x2000]
test dx, dx
jne 0x14000e9b1
jmp 0x14000e9c5
cmp rax, r9
je 0x1400150cf
add r8, 2
mov word [rax], dx
add rax, 2
movzx edx, word [r8]
test dx, dx
jne 0x14000e9a8
xor r9d, r9d
mov word [rax], r9w
cmp word [0x14001b060], 0
je 0x14000edf3
lea rax, [0x14001b060]
mov edx, 0x1000
nop word cs:[rax + rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000e9f0
test rdx, rdx
je 0x14000f0d8
mov edx, dword [0x1400181e0]
mov dword [rax], edx
cmp word [0x14001b060], 0
mov edx, 0x1000
lea rax, [0x14001b060]
je 0x14000ea3f
nop dword [rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000ea28
test rdx, rdx
je 0x14000f0e2
lea r8, [0x1400278a0]
jmp 0x14000ea59
test rdx, rdx
je 0x14000f0dd
add r8, 2
mov word [rax], cx
add rax, 2
sub rdx, 1
movzx ecx, word [r8]
test cx, cx
jne 0x14000ea50
xor r8d, r8d
cmp word [0x1400270a0], 0
mov word [rax], r8w
je 0x14000ed9f
mov r13, qword [0x1400280b8]
lea rax, [rsp + 0xa0]
xor r14d, r14d
mov r12d, 8
mov rsi, qword [0x1400280c0]
mov qword [rsp + 0x68], rax
mov r15, rax
nop dword [rax]
mov rbp, r13
sub rbp, rsi
jne 0x14000eb20
mov rcx, qword [0x1400280e0]
mov rdx, qword [0x1400280d8]
cmp rcx, rdx
setb al
or r14b, al
je 0x14000ed40
mov rcx, qword [0x1400280a8]
movups xmmword [0x1400280b8], xmm6
call fcn.14000d460
mov r13, qword [0x1400280c0]
cmp qword [0x1400280b8], r13
sete r14b
cmp rax, 0xffffffffffffff88
ja 0x14000edee
xor esi, esi
mov rbp, r13
mov qword [0x1400280b8], r13
mov qword [0x1400280c0], 0
sub rbp, rsi
je 0x14000eab8
mov rdx, qword [rdi]
cmp rbp, r12
mov rcx, r15
cmova rbp, r12
mov r8, rbp
add r15, rbp
add rdx, rsi
add rsi, rbp
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
sub r12, rbp
mov qword [0x1400280c0], rsi
jne 0x14000eab0
mov r12, qword [rsp + 0xa0]
call fcn.14000ff70
xor r9d, r9d
mov rcx, rbx
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]
cmp rax, 0xffffffffffffffff
mov rcx, rax
je 0x14000f096
test r12, r12
je 0x14000ecc7
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x60], rax
nop dword [rax + rax]
mov rax, qword [rsp + 0x50]
mov r13d, 0x8000
mov r14, qword [0x1400280b8]
lea rbp, [0x14001f0a0]
mov rbx, qword [0x1400280c0]
mov r12, rbp
cmp rax, r13
cmovbe r13, rax
xor r15d, r15d
mov rbp, r13
mov r8, r14
sub r8, rbx
jne 0x14000ec50
mov rcx, qword [0x1400280e0]
mov rdx, qword [0x1400280d8]
cmp rcx, rdx
setb al
or r15b, al
je 0x14000ecd8
mov rcx, qword [0x1400280a8]
movups xmmword [0x1400280b8], xmm6
call fcn.14000d460
mov r14, qword [0x1400280c0]
cmp qword [0x1400280b8], r14
sete r15b
cmp rax, 0xffffffffffffff88
ja 0x14000edee
xor ebx, ebx
mov r8, r14
mov qword [0x1400280b8], r14
mov qword [0x1400280c0], 0
sub r8, rbx
je 0x14000ebe8
mov rdx, qword [rdi]
cmp r8, rbp
mov rsi, r8
mov rcx, r12
cmova rsi, rbp
mov r8, rsi
add r12, rsi
add rdx, rbx
add rbx, rsi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
sub rbp, rsi
mov qword [0x1400280c0], rbx
jne 0x14000ebe0
mov r9, qword [rsp + 0x68]
mov r8d, r13d
mov dword [rsp + 0xa0], 0
mov rcx, qword [rsp + 0x60]
lea rdx, [0x14001f0a0]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000effa
sub qword [rsp + 0x50], r13
jne 0x14000ebb0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000e810
cmp rcx, rdx
jne 0x14000edee
mov rdx, qword [0x1400280e8]
mov rax, rdx
sub rax, qword [0x1400280a0]
neg rax
je 0x14000ebe0
mov ecx, 0x20003
mov qword [0x1400280d0], rdx
mov qword [0x1400280e0], 0
cmp rax, rcx
cmova rax, rcx
add qword [0x14001f080], rax
mov qword [0x1400280d8], rax
lea rcx, [rdx + rax]
mov qword [0x1400280e8], rcx
jmp 0x14000ebe0
cmp rcx, rdx
jne 0x14000edee
mov rdx, qword [0x1400280e8]
mov rax, rdx
sub rax, qword [0x1400280a0]
neg rax
je 0x14000eab0
mov ecx, 0x20003
mov qword [0x1400280d0], rdx
mov qword [0x1400280e0], 0
cmp rax, rcx
cmova rax, rcx
add qword [0x14001f080], rax
mov qword [0x1400280d8], rax
lea rcx, [rdx + rax]
mov qword [0x1400280e8], rcx
jmp 0x14000eab0
movzx ecx, word [0x14001b060]
lea rax, [0x14001b060]
lea rdx, [0x1400270a0]
lea r8, [rax + 0x2000]
test cx, cx
jne 0x14000edd1
jmp 0x14000ede4
cmp rax, r8
je 0x1400150cf
add rax, 2
mov word [rdx], cx
add rdx, 2
movzx ecx, word [rax]
test cx, cx
jne 0x14000edc8
xor ecx, ecx
mov word [rdx], cx
jmp 0x14000ea86
call fcn.1400075a0
lea rax, [0x14001b060]
jmp 0x14000ea07
mov rsi, qword [0x1400280a8]
test rsi, rsi
je 0x14000eeaf
cmp qword [rsi + 0x73c8], 0
jne 0x14000eeaf
mov rdi, qword [rsi + 0x73d8]
mov rbp, qword [rsi + 0x73a8]
mov r13, qword [rsi + 0x73b0]
test rdi, rdi
je 0x14000ee69
mov rdx, qword [rdi]
mov r12, qword [rdi + 0x6ac8]
mov r14, qword [rdi + 0x6ad0]
test rdx, rdx
je 0x14000f080
test r12, r12
je 0x14000f0ce
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 0x14000f006
test rbp, rbp
je 0x14000f0c1
mov rcx, r13
call rbp
mov qword [rsi + 0x73f8], 0
mov rdx, rsi
mov rcx, r13
call rbp
mov rcx, qword [0x1400280b0]
lea rsi, [rsp + 0xa0]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x1400172d6]
mov edx, pe_nt_image_headers64
mov rcx, rsi
mov r9d, eax
call fcn.140014ec0
lea rcx, str.NUITKA_ONEFILE_PARENT
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rdx, [rsp + 0xa4]
xor eax, eax
mov ecx, 0xc
mov rdi, rdx
rep stosq qword [rdi], rax
mov dword [rdi], 0
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
mov qword [rsp + 0x30], 0
lea rcx, [0x1400270a0]
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000f01c
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
test rcx, rcx
mov qword [0x14001b040], rcx
je 0x14000efd5
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x14001b040]
lea rdx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x14000efc1
mov dword [rsp + 0x78], 1
mov rcx, qword [0x14001b040]
call rbx
mov qword [0x14001b040], 0
call fcn.14000f860
mov eax, dword [rsp + 0x78]
movaps 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.140007580
test rbp, rbp
jne 0x14000eea7
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x14000eeaf
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
mov r9d, 0x400
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 r9, qword [rsp + 0x78]
mov r8d, ebx
lea rcx, str._s___Error__d___s__n
lea rdx, str.Error__couldnt_launch_child.
call fcn.140014f00
mov ecx, 2
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop word cs:[rax + rax]
test r12, r12
jne 0x14000ee60
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x14000ee69
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea r8, [0x14001b060]
lea rdx, str.Error__failed_to_open__ls_for_writing._n
mov rcx, rax
call fcn.140014ae0
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 0x14000f00f
mov rcx, rdx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x14000f089
jmp 0x1400150cf
jmp 0x1400150cf
jmp 0x1400150cf
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]
lea rcx, [0x14001d080]
mov rdx, rbx
call fcn.140007610
test al, al
je 0x14000f420
lea rcx, [0x1400075f0]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x14000f434
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]
cmp byte [rax], 0x4b
lea rcx, [rax + 3]
mov qword [0x1400280a0], rax
movzx edx, byte [rax + 1]
mov qword [0x1400280e8], rcx
movzx r8d, byte [rax + 2]
jne 0x14000f428
cmp dl, 0x41
jne 0x14000f428
cmp r8b, 0x59
jne 0x14000f428
mov qword [0x1400280d0], 0
mov ecx, 0x20000
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
test rax, rax
mov qword [0x1400280b0], rax
je 0x14000f413
mov ecx, 0x274b8
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
test rax, rax
mov r8, rax
je 0x14000f408
mov qword [rax + 0x73b0], 0
pxor xmm0, xmm0
mov qword [rax + 0x73c8], 0
movups xmmword [rax + 0x73a0], xmm0
movups xmmword [rax + 0x73d8], xmm0
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
xor eax, eax
cpuid
xor ecx, ecx
cmp eax, 6
ja 0x14000f3f0
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 [0x1400280a8], r8
mov byte [0x14001d060], 1
add rsp, 0x20
pop rbx
jmp 0x14000e7e0
mov eax, 7
cpuid
shr ebx, 8
mov ecx, ebx
and ecx, 1
jmp 0x14000f3a0
mov qword [0x1400280a8], 0
lea rcx, str.Error__couldnt_allocate_memory.
call fcn.140007580
nop
mov rcx, rbx
call fcn.1400075c0
lea rcx, str.Error__could_find_attached_data_header.
call fcn.140007580
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.140007580
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
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 0x140013a63
jmp 0x140013ae0
test ax, ax
je 0x140013a88
and edx, 1
je 0x140013a88
mov edx, 1
add rbx, 2
movzx eax, word [rbx]
cmp ax, 0x20
jbe 0x140013a50
mov ecx, edx
xor ecx, 1
cmp ax, 0x22
cmove edx, ecx
jmp 0x140013a5f
movzx eax, word [rbx + 2]
add rbx, 2
sub eax, 1
cmp ax, 0x1f
jbe 0x140013a80
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]
test byte [rsp + 0x5c], 1
mov r9d, 0xa
je 0x140013abf
movzx r9d, word [rsp + 0x60]
mov rcx, qword [0x140018610]
mov r8, rbx
xor edx, edx
add rsp, 0x98
pop rbx
pop rdi
jmp 0x14000f220
lea rbx, [0x140018270]
jmp 0x140013a91
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop