Function at 0x1400105f0
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:
lea rcx, [0x14000141c]
jmp fcn.1400013fb
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x118
movaps xmmword [rsp + 0x100], xmm6
lea r12, str._TEMP_onefile__PID___TIME_
mov r8d, 0x1000
lea rcx, [0x14002b080]
mov rdx, r12
call fcn.140008ad0
test al, al
je 0x140010d52
mov edx, 1
lea rcx, [0x140009370]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x140010df2
mov r8d, 0xa
xor ecx, ecx
mov edx, 0x1b
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
mov r12, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
mov rdx, r12
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 + 1], 0x41
lea rdi, [rax + 3]
movzx ecx, byte [rax + 2]
setne dl
cmp byte [rax], 0x4b
mov qword [0x14002b070], rdi
setne al
or dl, al
jne 0x140010de6
cmp cl, 0x59
jne 0x140010de6
mov qword [0x14002f090], 0
mov ecx, 0x20000
call sub.msvcrt.dll_malloc
mov qword [0x14002f0b0], rax
test rax, rax
je 0x140010d65
mov ecx, 0x274b8
call sub.msvcrt.dll_malloc
mov r8, rax
test rax, rax
je 0x140010d5a
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 0x140010b56
mov dword [r8 + 0x73d0], ecx
movdqa xmm6, xmmword [0x14001c220]
lea rbp, [rsp + 0x80]
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 r14, qword [0x14002f0c0]
lea r12, [0x14002a860]
nop word [rax + rax]
mov rbx, qword [0x14002f0b8]
xor r15d, r15d
mov rdi, rbp
mov esi, 2
nop word [rax + rax]
mov r8, rbx
sub r8, r14
jne 0x1400108a5
mov rcx, qword [0x14002f0a0]
mov rdx, qword [0x14002f098]
cmp rcx, rdx
setb al
or r15b, al
je 0x1400108f8
mov rcx, qword [0x14002f088]
movups xmmword [0x14002f0b8], xmm6
call fcn.14000f110
mov rbx, qword [0x14002f0c0]
cmp qword [0x14002f0b8], rbx
sete r15b
cmp rax, 0xffffffffffffff88
ja 0x140010901
xor r14d, r14d
mov r8, rbx
mov qword [0x14002f0b8], rbx
mov qword [0x14002f0c0], 0
sub r8, r14
je 0x140010840
cmp r8, rsi
mov rdx, qword [0x14002f0b0]
mov rcx, rdi
cmova r8, rsi
add rdx, r14
mov r13, r8
call sub.msvcrt.dll_memcpy
add r14, r13
add rdi, r13
mov qword [0x14002f0c0], r14
sub rsi, r13
jne 0x140010838
movzx eax, word [rsp + 0x80]
mov word [r12], ax
test ax, ax
je 0x14001090d
add r12, 2
jmp 0x140010820
cmp rcx, rdx
je 0x140010838
lea rcx, str.Error__couldnt_decode_attached_data.
call fcn.1400091f0
lea rax, [0x14002a860]
movzx ecx, word [rax]
test cx, cx
je 0x140010b6a
lea rax, [0x14002b080]
xor r9d, r9d
lea r8, [0x14002b080]
movzx edx, word [rax]
lea rax, [0x140020040]
mov word [0x140020040], r9w
lea r9, [rax + 0x2000]
test dx, dx
jne 0x140010961
jmp 0x140010975
cmp rax, r9
je 0x1400198c8
add r8, 2
mov word [rax], dx
add rax, 2
movzx edx, word [r8]
test dx, dx
jne 0x140010958
xor r8d, r8d
mov word [rax], r8w
lea rax, [0x140020040]
cmp word [rax], 0
je 0x140010b4a
mov edx, 0x1000
nop word [rax + rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x140010998
test rdx, rdx
je 0x140010e44
mov dword [rax], 0x5c
lea rax, [0x140020040]
mov edx, 0x1000
cmp word [rax], 0
je 0x140010b3e
nop dword [rax + rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x1400109d0
test rdx, rdx
je 0x140010e3f
lea r8, [0x14002a860]
jmp 0x1400109f9
test rdx, rdx
je 0x140010e3a
add r8, 2
mov word [rax], cx
add rax, 2
sub rdx, 1
movzx ecx, word [r8]
test cx, cx
jne 0x1400109f0
xor ecx, ecx
cmp word [0x14002a060], 0
mov word [rax], cx
je 0x140010aec
mov edx, 8
mov rcx, rbp
call fcn.140010390
mov r15, qword [rsp + 0x80]
call fcn.140011840
mov dword [rsp + 0x28], 0
xor r9d, r9d
mov r8d, 2
mov qword [rsp + 0x30], 0
mov edx, 0x40000000
lea rcx, [0x140020040]
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x140010dbb
mov rdi, qword [sym.imp.KERNEL32.dll_WriteFile]
lea rsi, [0x140022040]
test r15, r15
je 0x140010ade
nop word [rax + rax]
mov ebx, 0x8000
mov rcx, rsi
cmp r15, rbx
cmovbe rbx, r15
mov rdx, rbx
call fcn.140010390
mov r9, rbp
mov r8d, ebx
mov rdx, rsi
mov dword [rsp + 0x80], 0
mov rcx, r12
mov qword [rsp + 0x20], 0
call rdi
test eax, eax
je 0x140010d9d
sub r15, rbx
jne 0x140010a98
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140010809
lea rax, [0x140020040]
lea rcx, [0x140020040]
movzx edx, word [rax]
lea rax, [0x14002a060]
lea r8, [rax + 0x2000]
test dx, dx
jne 0x140010b21
jmp 0x140010b34
cmp rax, r8
je 0x1400198c8
add rcx, 2
mov word [rax], dx
add rax, 2
movzx edx, word [rcx]
test dx, dx
jne 0x140010b18
xor edx, edx
mov word [rax], dx
jmp 0x140010a24
lea rax, [0x140020040]
jmp 0x1400109e7
lea rax, [0x140020040]
jmp 0x1400109af
mov eax, 7
cpuid
shr ebx, 8
mov ecx, ebx
and ecx, 1
jmp 0x14001079f
mov r12, qword [0x14002f088]
test r12, r12
je 0x140010c23
cmp qword [r12 + 0x73c8], 0
jne 0x140010c23
mov r13, qword [r12 + 0x73d8]
mov rbx, qword [r12 + 0x73a8]
mov r14, qword [r12 + 0x73b0]
test r13, r13
je 0x140010bd7
mov rdx, qword [r13]
mov rsi, qword [r13 + 0x6ac8]
mov r15, qword [r13 + 0x6ad0]
test rdx, rdx
je 0x140010d87
test rsi, rsi
je 0x140010e2d
mov rcx, r15
call rsi
mov rdx, r13
mov rcx, r15
call rsi
mov rdx, qword [r12 + 0x73f8]
pxor xmm0, xmm0
mov dword [r12 + 0x73f0], 0
movups xmmword [r12 + 0x73d8], xmm0
test rdx, rdx
je 0x140010d71
test rbx, rbx
je 0x140010e20
mov rcx, r14
call rbx
mov qword [r12 + 0x73f8], 0
mov rdx, r12
mov rcx, r14
call rbx
mov rcx, qword [0x14002f0b0]
mov rdi, rbp
call sub.msvcrt.dll_free
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x14001b2ba]
mov edx, pe_nt_image_headers64
mov rcx, rbp
mov r9d, eax
call fcn.140001650
mov rdx, rbp
lea rcx, str.NUITKA_ONEFILE_PARENT
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
xor eax, eax
mov ecx, 0xd
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], rbp
mov rdx, rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], 0
lea rcx, [0x14002a060]
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 0x140010dfe
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 [0x14002a040], rcx
test rcx, rcx
je 0x140010d2d
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 0x140010d19
mov dword [rsp + 0x5c], 1
mov rcx, qword [0x14002a040]
call rbx
mov qword [0x14002a040], 0
call fcn.140009210
mov eax, dword [rsp + 0x5c]
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x118
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r12
call fcn.140009150
mov qword [0x14002f088], 0
lea rcx, str.Error__couldnt_allocate_memory.
call fcn.1400091f0
test rbx, rbx
jne 0x140010c1b
mov rcx, r12
call sub.msvcrt.dll_free
jmp 0x140010c23
test rsi, rsi
jne 0x140010bcf
mov rcx, r13
call sub.msvcrt.dll_free
jmp 0x140010bd7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Error__couldnt_unpack_file_to_target_path.
mov edx, eax
call fcn.140009180
mov ecx, 2
call sub.msvcrt.dll_exit
mov ecx, 2
call qword [fcn.1400195b0]
lea r8, [0x140020040]
lea rdx, str.Error__failed_to_open__ls_for_writing._n
mov rcx, rax
call fcn.140001620
mov ecx, 2
call sub.msvcrt.dll_exit
lea rcx, str.Error__couldnt_find_attached_data_header.
call fcn.1400091f0
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.1400091f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Error__couldnt_launch_child
mov edx, eax
call fcn.140009180
mov ecx, 2
call sub.msvcrt.dll_exit
nop dword [rax]
mov rcx, rdx
call sub.msvcrt.dll_free
jmp 0x140010d7a
mov rcx, rdx
call sub.msvcrt.dll_free
jmp 0x140010d90
jmp 0x1400198c8
jmp 0x1400198c8
jmp 0x1400198c8
call sub.msvcrt.dll_abort
nop
nop
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
jmp 0x140001410