Function at 0x14001c130
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, 0x138
movaps xmmword [rsp + 0x110], xmm6
movaps xmmword [rsp + 0x120], xmm7
lea rbx, str._TEMP_onefile__PID___TIME_
mov r8d, 0x1000
lea rcx, [0x14003f0a0]
mov rdx, rbx
call fcn.14001b320
test al, al
je 0x14001c834
lea rcx, [0x140003460]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x14001c866
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 [0x1400410e8], rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov rax, qword [0x1400410e8]
mov qword [0x1400410e0], rsi
cmp byte [rax + 1], 0x41
lea rdi, [rax + 3]
movzx ecx, byte [rax + 2]
mov qword [0x1400410e8], rdi
setne dl
cmp byte [rax], 0x4b
setne al
or dl, al
jne 0x14001c85a
cmp cl, 0x59
jne 0x14001c85a
mov qword [0x1400410c0], 0
mov ecx, 0x20000
call sub.msvcrt.dll_malloc
test rax, rax
mov qword [0x1400410a0], rax
je 0x14001c828
mov ecx, 0x274b8
call sub.msvcrt.dll_malloc
test rax, rax
mov r8, rax
je 0x14001c81d
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 0x14001c6b2
lea rax, [rsp + 0x90]
movdqa xmm6, xmmword [0x140029190]
mov dword [r8 + 0x73d0], ecx
movd xmm7, dword [0x1400291a0]
mov qword [rsp + 0x58], rax
mov r13, rax
mov qword [r8 + 0x7410], 0x8000001
mov dword [r8 + 0x7458], 0
mov qword [r8 + 0x7388], 0
mov dword [r8 + 0x7390], 1
mov qword [0x1400410d8], r8
mov qword [0x1400410c0], rdi
mov qword [0x1400410d0], 0
mov qword [0x1400410c8], rsi
mov byte [0x14003f080], 1
mov rsi, qword [0x1400410a8]
lea r15, [0x140036060]
mov r14, r13
mov rdi, qword [0x1400410b0]
lea rbp, [0x1400410a0]
xor r13d, r13d
mov r12, r14
mov ebx, 2
nop dword [rax + rax]
mov r8, rsi
sub r8, rdi
jne 0x14001c406
mov rcx, qword [0x1400410d0]
mov rdx, qword [0x1400410c8]
cmp rcx, rdx
setb al
or r13b, al
je 0x14001c460
mov rcx, qword [0x1400410d8]
lea r8, [0x1400410c0]
mov rdx, rbp
movups xmmword [0x1400410a8], xmm6
call fcn.140018650
mov rsi, qword [0x1400410b0]
cmp qword [0x1400410a8], rsi
sete r13b
cmp rax, 0xffffffffffffff88
ja 0x14001c469
xor edi, edi
mov r8, rsi
mov qword [0x1400410a8], rsi
mov qword [0x1400410b0], 0
sub r8, rdi
je 0x14001c398
mov rdx, qword [rbp]
cmp rbx, r8
mov rcx, r12
cmovbe r8, rbx
mov qword [rsp + 0x50], r8
add rdx, rdi
call sub.msvcrt.dll_memcpy
mov r8, qword [rsp + 0x50]
add rdi, r8
add r12, r8
sub rbx, r8
mov qword [0x1400410b0], rdi
jne 0x14001c390
movzx eax, word [rsp + 0x90]
test ax, ax
mov word [r15], ax
je 0x14001c475
add r15, 2
jmp 0x14001c380
cmp rcx, rdx
je 0x14001c390
lea rcx, str.Error__couldnt_decode_attached_data.
call fcn.1400018b0
lea rax, [0x140036060]
mov r13, r14
movzx ecx, word [rax]
test cx, cx
je 0x14001c6c6
lea rax, [0x14003f0a0]
xor r9d, r9d
movzx edx, word [rax]
lea rbx, [0x140037060]
mov word [0x140037060], r9w
lea r8, [0x14003f0a0]
mov rax, rbx
lea r9, [rbx + 0x2000]
test dx, dx
jne 0x14001c4c9
jmp 0x14001c4dd
cmp rax, r9
je 0x1400231bd
add r8, 2
mov word [rax], dx
add rax, 2
movzx edx, word [r8]
test dx, dx
jne 0x14001c4c0
xor r8d, r8d
mov word [rax], r8w
cmp word [0x140037060], 0
je 0x14001c6a6
lea rax, [0x140037060]
mov edx, 0x1000
nop
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14001c500
test rdx, rdx
je 0x14001c8cc
movd dword [rax], xmm7
lea rax, [0x140037060]
mov edx, 0x1000
cmp word [0x140037060], 0
je 0x14001c54f
nop dword [rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14001c538
test rdx, rdx
je 0x14001c8c7
lea r8, [0x140036060]
jmp 0x14001c569
test rdx, rdx
je 0x14001c8c2
add r8, 2
mov word [rax], cx
add rax, 2
sub rdx, 1
movzx ecx, word [r8]
test cx, cx
jne 0x14001c560
xor edx, edx
cmp word [0x140036860], 0
mov word [rax], dx
je 0x14001c655
mov edx, 8
mov rcx, r13
call fcn.140019200
mov rsi, qword [rsp + 0x90]
call fcn.14001bcf0
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 0x14001c896
test rsi, rsi
mov r12, qword [sym.imp.KERNEL32.dll_WriteFile]
lea rdi, [0x14002e060]
je 0x14001c647
nop
mov ebx, 0x8000
mov rcx, rdi
cmp rsi, rbx
cmovbe rbx, rsi
mov rdx, rbx
call fcn.140019200
mov r9, r13
mov r8d, ebx
mov rdx, rdi
mov dword [rsp + 0x90], 0
mov rcx, rbp
mov qword [rsp + 0x20], 0
call r12
test eax, eax
je 0x14001c878
sub rsi, rbx
jne 0x14001c600
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14001c361
movzx ecx, word [0x140037060]
lea rax, [0x140037060]
lea rdx, [0x140036860]
lea r8, [rax + 0x2000]
test cx, cx
jne 0x14001c689
jmp 0x14001c69c
cmp rax, r8
je 0x1400231bd
add rax, 2
mov word [rdx], cx
add rdx, 2
movzx ecx, word [rax]
test cx, cx
jne 0x14001c680
xor eax, eax
mov word [rdx], ax
jmp 0x14001c594
lea rax, [0x140037060]
jmp 0x14001c517
mov eax, 7
cpuid
shr ebx, 8
and ebx, 1
mov ecx, ebx
jmp 0x14001c2e7
mov rcx, qword [0x1400410d8]
call fcn.140012e00
mov rcx, qword [0x1400410a0]
call sub.msvcrt.dll_free
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rsi, qword [rsp + 0x58]
mov edx, pe_nt_image_headers64
lea r8, [0x140025ea8]
mov r9d, eax
mov rcx, rsi
call fcn.140001830
lea rcx, str.NUITKA_ONEFILE_PARENT
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rdx, [rsp + 0x94]
mov rax, rbx
mov ecx, 0xc
mov rdi, rdx
rep stosq qword [rdi], rax
mov dword [rdi], 0
mov dword [rsp + 0x90], 0x68
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x40], rsi
mov rdx, rax
mov dword [rsp + 0x28], 0x20
lea rax, [rsp + 0x70]
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x48], rax
lea rcx, [0x140036860]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14001c83c
mov rcx, qword [rsp + 0x78]
mov rbx, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rbx
mov rcx, qword [rsp + 0x70]
mov dword [rsp + 0x6c], 0
test rcx, rcx
mov qword [0x14002e048], rcx
je 0x14001c7f0
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x14002e048]
lea rdx, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x14001c7dc
mov dword [rsp + 0x6c], 1
mov rcx, qword [0x14002e048]
call rbx
mov qword [0x14002e048], 0
call fcn.140003300
mov eax, dword [rsp + 0x6c]
movaps xmm6, xmmword [rsp + 0x110]
movaps xmm7, xmmword [rsp + 0x120]
add rsp, 0x138
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov qword [0x1400410d8], 0
lea rcx, str.Error__couldnt_allocate_memory.
call fcn.1400018b0
mov rcx, rbx
call fcn.140001880
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Error__couldnt_launch_child
mov edx, eax
call fcn.14001c0c0
mov ecx, 2
call fcn.14001d540
lea rcx, str.Error__couldnt_find_attached_data_header.
call fcn.1400018b0
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.1400018b0
nop word [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Error__couldnt_unpack_file_to_target_path.
mov edx, eax
call fcn.14001c0c0
mov ecx, 2
call fcn.14001d540
mov ecx, 2
call qword [fcn.140022980]
lea r8, [0x140037060]
lea rdx, str.Error__failed_to_open__ls_for_writing._n
mov rcx, rax
call fcn.140001850
mov ecx, 2
call fcn.14001d540
nop
jmp 0x1400231bd
jmp 0x1400231bd
jmp 0x1400231bd