Function at 0x14000f320
Capabilities:
Accept command line arguments
Create process on windows
Extract resource via kernel32 functions
Set environment variable
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, 0x128
movaps xmmword [rsp + 0x100], xmm6
movaps xmmword [rsp + 0x110], xmm7
lea rbx, str._TEMP_onefile__PID___TIME_
mov r8d, 0x1000
lea rcx, [0x14002e080]
mov rdx, rbx
call fcn.14000a7d0
test al, al
je 0x14000fad5
mov edx, 1
lea rcx, [0x14000b040]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x14000fb14
mov r8d, 0xa
xor ecx, ecx
mov edx, 0x1b
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
mov rdx, rbx
mov qword [0x14002e070], rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov rax, qword [0x14002e070]
mov qword [0x14002e068], rsi
cmp byte [rax], 0x4b
lea rdi, [rax + 3]
movzx ecx, byte [rax + 2]
setne dl
cmp byte [rax + 1], 0x41
mov qword [0x14002e070], rdi
setne al
or dl, al
jne 0x14000fb08
cmp cl, 0x59
jne 0x14000fb08
mov qword [0x140032090], 0
mov ecx, 0x20000
call sub.msvcrt.dll_malloc
mov qword [0x1400320b0], rax
test rax, rax
je 0x14000fab4
mov ecx, 0x274b8
call sub.msvcrt.dll_malloc
mov r8, rax
test rax, rax
je 0x14000faa9
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 0x14000fa74
mov dword [r8 + 0x73d0], ecx
movdqa xmm6, xmmword [0x14001f230]
lea r12, [rsp + 0x80]
mov qword [r8 + 0x7410], 0x8000001
movd xmm7, dword [0x14001f240]
mov dword [r8 + 0x7458], 0
mov qword [r8 + 0x7388], 0
mov dword [r8 + 0x7390], 1
mov qword [0x140032088], r8
mov qword [0x140032090], rdi
mov qword [0x1400320a0], 0
mov qword [0x140032098], rsi
mov byte [0x14002e060], 1
mov rbx, qword [0x1400320b8]
mov rsi, qword [0x1400320c0]
lea r13, [0x14002d860]
nop
xor r14d, r14d
mov rbp, r12
mov edi, 2
nop dword [rax + rax]
mov r8, rbx
sub r8, rsi
jne 0x14000f5dc
mov rcx, qword [0x1400320a0]
mov rdx, qword [0x140032098]
cmp rcx, rdx
setb al
or r14b, al
je 0x14000f630
mov rcx, qword [0x140032088]
movups xmmword [0x1400320b8], xmm6
call fcn.14000d910
mov rbx, qword [0x1400320c0]
cmp qword [0x1400320b8], rbx
sete r14b
cmp rax, 0xffffffffffffff88
ja 0x14000f639
xor esi, esi
mov r8, rbx
mov qword [0x1400320b8], rbx
mov qword [0x1400320c0], 0
sub r8, rsi
je 0x14000f578
cmp rdi, r8
mov r15, r8
mov rdx, qword [0x1400320b0]
mov rcx, rbp
cmovbe r15, rdi
add rdx, rsi
mov r8, r15
add rsi, r15
add rbp, r15
call sub.msvcrt.dll_memcpy
mov qword [0x1400320c0], rsi
sub rdi, r15
jne 0x14000f570
movzx eax, word [rsp + 0x80]
mov word [r13], ax
test ax, ax
je 0x14000f645
add r13, 2
jmp 0x14000f560
cmp rcx, rdx
je 0x14000f570
lea rcx, str.Error__couldnt_decode_attached_data.
call fcn.14000aed0
lea rax, [0x14002d860]
movzx ecx, word [rax]
test cx, cx
je 0x14000f872
lea rax, [0x14002e080]
lea rbx, [0x14002b860]
xor r9d, r9d
movzx edx, word [rax]
mov word [0x14002b860], r9w
mov rax, rbx
lea r8, [0x14002e080]
lea r9, [rbx + 0x2000]
test dx, dx
jne 0x14000f699
jmp 0x14000f6ad
cmp rax, r9
je 0x14000fb6b
add r8, 2
mov word [rax], dx
add rax, 2
movzx edx, word [r8]
test dx, dx
jne 0x14000f690
xor r8d, r8d
mov word [rax], r8w
cmp word [0x14002b860], 0
je 0x14000f866
mov edx, 0x1000
lea rax, [0x14002b860]
nop
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000f6d0
test rdx, rdx
je 0x14000fb6b
movd dword [rax], xmm7
mov edx, 0x1000
cmp word [0x14002b860], 0
lea rax, [0x14002b860]
je 0x14000f716
nop dword [rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000f708
lea r8, [0x14002d860]
nop dword [rax]
test rdx, rdx
je 0x14000fb6b
add r8, 2
mov word [rax], cx
add rax, 2
sub rdx, 1
movzx ecx, word [r8]
test cx, cx
jne 0x14000f720
xor edx, edx
cmp word [0x14002b060], 0
mov word [rax], dx
je 0x14000f81d
mov edx, 8
mov rcx, r12
call fcn.14000eb70
mov rcx, rbx
mov rsi, qword [rsp + 0x80]
call fcn.14000fed0
xor r9d, r9d
mov edx, 0x40000000
mov rcx, rbx
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 rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14000fadd
mov r13, qword [sym.imp.KERNEL32.dll_WriteFile]
lea rdi, [0x140023040]
test rsi, rsi
je 0x14000f80f
nop dword [rax]
mov ebx, 0x8000
mov rcx, rdi
cmp rsi, rbx
cmovbe rbx, rsi
mov rdx, rbx
call fcn.14000eb70
mov r9, r12
mov r8d, ebx
mov rdx, rdi
mov dword [rsp + 0x80], 0
mov rcx, rbp
mov qword [rsp + 0x20], 0
call r13
test eax, eax
je 0x14000fb4d
sub rsi, rbx
jne 0x14000f7c8
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000f549
movzx ecx, word [0x14002b860]
lea rax, [0x14002b860]
lea rdx, [0x14002b060]
lea r8, [rax + 0x2000]
test cx, cx
jne 0x14000f849
jmp 0x14000f85c
cmp rax, r8
je 0x14000fb6b
add rax, 2
mov word [rdx], cx
add rdx, 2
movzx ecx, word [rax]
test cx, cx
jne 0x14000f840
xor eax, eax
mov word [rdx], ax
jmp 0x14000f754
lea rax, [0x14002b860]
jmp 0x14000f6e7
mov rbx, qword [0x140032088]
test rbx, rbx
je 0x14000f920
cmp qword [rbx + 0x73c8], 0
jne 0x14000f920
mov rsi, qword [rbx + 0x73d8]
mov rdi, qword [rbx + 0x73a8]
mov r13, qword [rbx + 0x73b0]
test rsi, rsi
je 0x14000f8da
mov rdx, qword [rsi]
mov rbp, qword [rsi + 0x6ac8]
mov r14, qword [rsi + 0x6ad0]
test rdx, rdx
je 0x14000fa93
test rbp, rbp
je 0x14000fb40
mov rcx, r14
call rbp
mov rdx, rsi
mov rcx, r14
call rbp
mov rdx, qword [rbx + 0x73f8]
pxor xmm0, xmm0
mov dword [rbx + 0x73f0], 0
movups xmmword [rbx + 0x73d8], xmm0
test rdx, rdx
je 0x14000fa88
test rdi, rdi
je 0x14000fac0
mov rcx, r13
call rdi
mov qword [rbx + 0x73f8], 0
mov rdx, rbx
mov rcx, r13
call rdi
mov rcx, qword [0x1400320b0]
lea rdi, [rsp + 0x88]
call sub.msvcrt.dll_free
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x14001e33a]
mov edx, pe_nt_image_headers64
mov rcx, r12
mov r9d, eax
call fcn.140001790
mov rdx, r12
lea rcx, str.NUITKA_ONEFILE_PARENT
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
xor eax, eax
mov ecx, 0xc
mov qword [rsp + 0x84], 0
mov qword [rsp + 0xe0], 0
rep stosq qword [rdi], rax
mov dword [rsp + 0x80], 0x68
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x40], r12
mov rdx, rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], 0
lea rcx, [0x14002b060]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000fb20
mov rcx, qword [rsp + 0x68]
mov rbx, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rbx
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x5c], 0
mov qword [0x14002b040], rcx
test rcx, rcx
je 0x14000fa47
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x14002b040]
lea rdx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x14000fa33
mov dword [rsp + 0x5c], 1
mov rcx, qword [0x14002b040]
call rbx
mov qword [0x14002b040], 0
call fcn.14000aef0
mov eax, dword [rsp + 0x5c]
movaps xmm6, xmmword [rsp + 0x100]
movaps xmm7, xmmword [rsp + 0x110]
add rsp, 0x128
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, 7
cpuid
shr ebx, 8
mov ecx, ebx
and ecx, 1
jmp 0x14000f4d7
test rdi, rdi
jne 0x14000f918
jmp 0x14000fac8
test rbp, rbp
jne 0x14000f8d2
mov rcx, rsi
call sub.msvcrt.dll_free
jmp 0x14000f8da
mov qword [0x140032088], 0
lea rcx, str.Error__couldnt_allocate_memory.
call fcn.14000aed0
mov rcx, rdx
call sub.msvcrt.dll_free
mov rcx, rbx
call sub.msvcrt.dll_free
jmp 0x14000f920
mov rcx, rbx
call fcn.14000ae30
mov ecx, 2
call qword [fcn.14001b870]
lea r8, [0x14002b860]
lea rdx, str.Error__failed_to_open__ls_for_writing._n
mov rcx, rax
call fcn.140001760
mov ecx, 2
call sub.msvcrt.dll_exit
lea rcx, str.Error__couldnt_find_attached_data_header.
call fcn.14000aed0
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.14000aed0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Error__couldnt_launch_child
mov edx, eax
call fcn.14000ae60
mov ecx, 2
call sub.msvcrt.dll_exit
nop
mov rcx, rdx
call sub.msvcrt.dll_free
jmp 0x14000fa9c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Error__couldnt_unpack_file_to_target_path.
mov edx, eax
call fcn.14000ae60
mov ecx, 2
call sub.msvcrt.dll_exit
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop