Function at 0x14000efb0
Capabilities:
Accept command line arguments
Extract resource via kernel32 functions
Set environment variable
Write and execute a file
Write file on windows

Disassembly:
lea rcx, [0x140001440]
jmp fcn.140001410
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, [0x14002b080]
mov rdx, rbx
call fcn.140007690
test al, al
je 0x14000f719
lea rcx, [0x140007f30]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x14000f7b9
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 [0x14002b070], rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov rax, qword [0x14002b070]
mov qword [0x14002b068], rsi
cmp byte [rax], 0x4b
lea rdi, [rax + 3]
movzx ecx, byte [rax + 2]
mov qword [0x14002b070], rdi
setne dl
cmp byte [rax + 1], 0x41
setne al
or dl, al
jne 0x14000f7ad
cmp cl, 0x59
jne 0x14000f7ad
mov qword [0x14002f090], 0
mov ecx, 0x20000
call sub.msvcrt.dll_malloc
test rax, rax
mov qword [0x14002f0b0], rax
je 0x14000f72c
mov ecx, 0x274b8
call sub.msvcrt.dll_malloc
test rax, rax
mov r8, rax
je 0x14000f721
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 0x14000f512
movdqa xmm6, xmmword [0x14001d200]
mov dword [r8 + 0x73d0], ecx
lea r12, [rsp + 0x80]
movd xmm7, dword [0x14001d210]
mov qword [r8 + 0x7410], 0x8000001
mov dword [r8 + 0x7458], 0
mov qword [r8 + 0x7388], 0
mov dword [r8 + 0x7390], 1
mov qword [0x14002f088], r8
mov qword [0x14002f090], rdi
mov qword [0x14002f0a0], 0
mov qword [0x14002f098], rsi
mov byte [0x14002b060], 1
mov rbx, qword [0x14002f0b8]
lea r13, [0x14002a860]
mov rsi, qword [0x14002f0c0]
nop
xor r14d, r14d
mov rbp, r12
mov edi, 2
nop dword [rax + rax]
mov r8, rbx
sub r8, rsi
jne 0x14000f26c
mov rcx, qword [0x14002f0a0]
mov rdx, qword [0x14002f098]
cmp rcx, rdx
setb al
or r14b, al
je 0x14000f2c0
mov rcx, qword [0x14002f088]
movups xmmword [0x14002f0b8], xmm6
call fcn.14000d9f0
mov rbx, qword [0x14002f0c0]
cmp qword [0x14002f0b8], rbx
sete r14b
cmp rax, 0xffffffffffffff88
ja 0x14000f2c9
xor esi, esi
mov r8, rbx
mov qword [0x14002f0b8], rbx
mov qword [0x14002f0c0], 0
sub r8, rsi
je 0x14000f208
mov rdx, qword [0x14002f0b0]
cmp rdi, r8
mov r15, r8
mov rcx, rbp
cmovbe r15, rdi
mov r8, r15
add rbp, r15
add rdx, rsi
add rsi, r15
call sub.msvcrt.dll_memcpy
sub rdi, r15
mov qword [0x14002f0c0], rsi
jne 0x14000f200
movzx eax, word [rsp + 0x80]
test ax, ax
mov word [r13], ax
je 0x14000f2d5
add r13, 2
jmp 0x14000f1f0
cmp rcx, rdx
je 0x14000f200
lea rcx, str.Error__couldnt_decode_attached_data.
call fcn.140007db0
lea rax, [0x14002a860]
movzx ecx, word [rax]
test cx, cx
je 0x14000f526
lea rax, [0x14002b080]
xor r9d, r9d
movzx edx, word [rax]
lea rbx, [0x140020040]
mov word [0x140020040], r9w
lea r8, [0x14002b080]
mov rax, rbx
lea r9, [rbx + 0x2000]
test dx, dx
jne 0x14000f329
jmp 0x14000f33d
cmp rax, r9
je 0x14001a61f
add r8, 2
mov word [rax], dx
add rax, 2
movzx edx, word [r8]
test dx, dx
jne 0x14000f320
xor r8d, r8d
mov word [rax], r8w
cmp word [0x140020040], 0
je 0x14000f506
lea rax, [0x140020040]
mov edx, 0x1000
nop
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000f360
test rdx, rdx
je 0x14000f80c
movd dword [rax], xmm7
lea rax, [0x140020040]
mov edx, 0x1000
cmp word [0x140020040], 0
je 0x14000f3af
nop dword [rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000f398
test rdx, rdx
je 0x14000f807
lea r8, [0x14002a860]
jmp 0x14000f3c9
test rdx, rdx
je 0x14000f802
add r8, 2
mov word [rax], cx
add rax, 2
sub rdx, 1
movzx ecx, word [r8]
test cx, cx
jne 0x14000f3c0
xor edx, edx
cmp word [0x14002a060], 0
mov word [rax], dx
je 0x14000f4b5
mov edx, 8
mov rcx, r12
call fcn.14000ed60
mov rsi, qword [rsp + 0x80]
call fcn.14000ff90
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]
cmp rax, 0xffffffffffffffff
mov rbp, rax
je 0x14000f782
test rsi, rsi
mov r13, qword [sym.imp.KERNEL32.dll_WriteFile]
lea rdi, [0x140022040]
je 0x14000f4a7
nop
mov ebx, 0x8000
mov rcx, rdi
cmp rsi, rbx
cmovbe rbx, rsi
mov rdx, rbx
call fcn.14000ed60
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 0x14000f764
sub rsi, rbx
jne 0x14000f460
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000f1d9
movzx ecx, word [0x140020040]
lea rax, [0x140020040]
lea rdx, [0x14002a060]
lea r8, [rax + 0x2000]
test cx, cx
jne 0x14000f4e9
jmp 0x14000f4fc
cmp rax, r8
je 0x14001a61f
add rax, 2
mov word [rdx], cx
add rdx, 2
movzx ecx, word [rax]
test cx, cx
jne 0x14000f4e0
xor eax, eax
mov word [rdx], ax
jmp 0x14000f3f4
lea rax, [0x140020040]
jmp 0x14000f377
mov eax, 7
cpuid
shr ebx, 8
mov ecx, ebx
and ecx, 1
jmp 0x14000f167
mov rbx, qword [0x14002f088]
test rbx, rbx
je 0x14000f5d4
cmp qword [rbx + 0x73c8], 0
jne 0x14000f5d4
mov rsi, qword [rbx + 0x73d8]
mov rdi, qword [rbx + 0x73a8]
mov r13, qword [rbx + 0x73b0]
test rsi, rsi
je 0x14000f58e
mov rdx, qword [rsi]
mov rbp, qword [rsi + 0x6ac8]
mov r14, qword [rsi + 0x6ad0]
test rdx, rdx
je 0x14000f74e
test rbp, rbp
je 0x14000f7f5
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 0x14000f738
test rdi, rdi
je 0x14000f7e8
mov rcx, r13
call rdi
mov qword [rbx + 0x73f8], 0
mov rdx, rbx
mov rcx, r13
call rdi
mov rcx, qword [0x14002f0b0]
call sub.msvcrt.dll_free
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x14001c57c]
mov edx, pe_nt_image_headers64
mov rcx, r12
mov r9d, eax
call fcn.140001690
lea rcx, str.NUITKA_ONEFILE_PARENT
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rdx, [rsp + 0x84]
xor eax, eax
mov ecx, 0xc
mov rdi, rdx
rep stosq qword [rdi], rax
mov dword [rdi], 0
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
mov dword [rsp + 0x28], 0x20
lea rax, [rsp + 0x60]
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x48], rax
lea rcx, [0x14002a060]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000f7c5
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
test rcx, rcx
mov qword [0x14002a040], rcx
je 0x14000f6ec
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x14002a040]
lea rdx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x14000f6d8
mov dword [rsp + 0x5c], 1
mov rcx, qword [0x14002a040]
call rbx
mov qword [0x14002a040], 0
call fcn.140007dd0
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 rcx, rbx
call fcn.140007d10
mov qword [0x14002f088], 0
lea rcx, str.Error__couldnt_allocate_memory.
call fcn.140007db0
test rdi, rdi
jne 0x14000f5cc
mov rcx, rbx
call sub.msvcrt.dll_free
jmp 0x14000f5d4
test rbp, rbp
jne 0x14000f586
mov rcx, rsi
call sub.msvcrt.dll_free
jmp 0x14000f58e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Error__couldnt_unpack_file_to_target_path.
mov edx, eax
call fcn.140007d40
mov ecx, 2
call fcn.1400149e0
mov ecx, 2
call qword [fcn.140019e30]
lea r8, [0x140020040]
lea rdx, str.Error__failed_to_open__ls_for_writing._n
mov rcx, rax
call fcn.140001660
mov ecx, 2
call fcn.1400149e0
lea rcx, str.Error__couldnt_find_attached_data_header.
call fcn.140007db0
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.140007db0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Error__couldnt_launch_child
mov edx, eax
call fcn.140007d40
mov ecx, 2
call fcn.1400149e0
nop dword [rax + rax]
mov rcx, rdx
call sub.msvcrt.dll_free
jmp 0x14000f741
mov rcx, rdx
call sub.msvcrt.dll_free
jmp 0x14000f757
jmp 0x14001a61f
jmp 0x14001a61f
jmp 0x14001a61f
push rdi
push rbx
sub rsp, 0x98
call fcn.140019d10
xor edx, edx
mov rbx, qword [rax]
test rbx, rbx
jne 0x140013dc3
jmp 0x140013e40
test ax, ax
je 0x140013de8
and edx, 1
je 0x140013de8
mov edx, 1
add rbx, 2
movzx eax, word [rbx]
cmp ax, 0x20
jbe 0x140013db0
mov ecx, edx
xor ecx, 1
cmp ax, 0x22
cmove edx, ecx
jmp 0x140013dbf
movzx eax, word [rbx + 2]
add rbx, 2
sub eax, 1
cmp ax, 0x1f
jbe 0x140013de0
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 0x140013e1f
movzx r9d, word [rsp + 0x60]
mov rcx, qword [0x14001d9d0]
mov r8, rbx
xor edx, edx
add rsp, 0x98
pop rbx
pop rdi
jmp 0x14000efb0
lea rbx, [0x14001d280]
jmp 0x140013df1
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
jmp 0x140001430