Function at 0x140012f90
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 rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
movaps xmmword [rsp + 0xe0], xmm6
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xd8], rax
lea rbp, [0x14003eb10]
lea rdx, str.TEMPonefile_PID_TIME
mov r8d, 0x1000
mov rcx, rbp
call fcn.140012740
test al, al
je 0x140013763
lea rcx, [0x140012e20]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x1400137a2
mov edx, 0x1b
mov r8d, 0xa
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [0x140043358], rax
mov qword [0x140040b10], rax
xor ecx, ecx
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov eax, eax
mov qword [0x140040b30], rax
mov rdx, qword [0x140040b10]
movzx r8d, byte [rdx]
movzx ecx, byte [rdx + 1]
movzx eax, byte [rdx + 2]
add rdx, 3
mov qword [0x140040b10], rdx
cmp r8b, 0x4b
jne 0x140013799
cmp cl, 0x41
jne 0x140013799
cmp al, 0x59
jne 0x140013799
mov qword [0x140040b18], 0
mov ecx, 0x20000
call fcn.14001a924
mov qword [0x140043360], rax
test rax, rax
je 0x1400137b6
mov ecx, 0x274b8
call fcn.14001a924
test rax, rax
je 0x1400137ab
mov r8, rax
mov qword [rax + 0x73c8], 0
mov qword [rax + 0x72d8], 0
mov qword [rax + 0x7420], 0
mov qword [rax + 0x7440], 0
mov dword [rax + 0x7448], 0
mov dword [rax + 0x7454], 0
mov qword [rax + 0x274b0], 0
xorps xmm0, xmm0
movups xmmword [rax + 0x73d8], xmm0
movups xmmword [rax + 0x73ec], xmm0
movups xmmword [rax + 0x73f8], xmm0
movups xmmword [rax + 0x73a0], xmm0
mov qword [rax + 0x73b0], 0
xor r9d, r9d
xor eax, eax
xor ecx, ecx
xchg rbx, r10
cpuid
xchg rbx, r10
test eax, eax
jle 0x14001315f
cmp eax, 7
jb 0x14001315f
xor ecx, ecx
mov eax, 7
xchg rbx, r9
cpuid
xchg rbx, r9
shr r9d, 8
and r9d, 1
mov dword [r8 + 0x73d0], r9d
mov dword [r8 + 0x7388], 0
mov qword [r8 + 0x7410], 0x8000001
mov dword [r8 + 0x7458], 0
movabs rax, 0x100000000
mov qword [r8 + 0x738c], rax
mov qword [0x140043378], r8
mov rax, qword [0x140040b10]
mov qword [0x140040b18], rax
mov qword [0x140040b28], 0
mov rax, qword [0x140040b30]
mov qword [0x140040b20], rax
mov byte [0x140041340], 1
lea r13, [0x140043380]
lea rsi, [rsp + 0x70]
lea rbx, [0x140041350]
lea r14, [0x140045b80]
jmp 0x1400131f9
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, r13
mov edx, 2
mov rcx, rsi
call fcn.140014160
movzx eax, word [rsp + 0x70]
mov word [rdi], ax
add rdi, 2
test ax, ax
jne 0x1400131fc
movzx eax, word [0x140043380]
test ax, ax
je 0x1400134c1
mov word [0x140041350], 0
movzx edx, word [0x14003eb10]
mov rcx, rbx
test dx, dx
je 0x1400132c0
xor ecx, ecx
nop word cs:[rax + rax]
cmp rcx, 0x2000
je 0x140013740
mov word [rcx + rbx], dx
movzx edx, word [rcx + rbp + 2]
test dx, dx
je 0x1400132a1
mov word [rcx + rbx + 2], dx
movzx edx, word [rcx + rbp + 4]
test dx, dx
je 0x1400132aa
mov word [rcx + rbx + 4], dx
movzx edx, word [rcx + rbp + 6]
test dx, dx
je 0x1400132b3
mov word [rcx + rbx + 6], dx
movzx edx, word [rcx + rbp + 8]
add rcx, 8
test dx, dx
jne 0x140013250
add rcx, rbx
jmp 0x1400132c0
add rcx, rbx
add rcx, 2
jmp 0x1400132c0
add rcx, rbx
add rcx, 4
jmp 0x1400132c0
add rcx, rbx
add rcx, 6
nop word [rax + rax]
mov word [rcx], 0
cmp word [0x140041350], 0
mov rcx, rbx
je 0x1400132f7
mov rdx, 0xfffffffffffff000
mov rcx, rbx
nop dword [rax]
inc rdx
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1400132e0
test rdx, rdx
je 0x140013740
mov dword [rcx], 0x5c
cmp word [0x140041350], 0
je 0x140013330
mov ecx, 0x1000
mov r8, rbx
nop
lea rdx, [r8 + 2]
dec rcx
cmp word [r8 + 2], 0
mov r8, rdx
jne 0x140013310
jmp 0x140013338
mov ecx, 0x1000
mov rdx, rbx
xor r8d, r8d
nop dword [rax + rax]
cmp rcx, r8
je 0x140013740
mov word [rdx + r8*2], ax
movzx eax, word [r13 + r8*2 + 2]
inc r8
test ax, ax
jne 0x140013340
mov word [rdx + r8*2], 0
cmp word [0x140040b40], 0
jne 0x140013405
movzx ecx, word [0x140041350]
lea rdx, [0x140040b40]
mov rax, rdx
test cx, cx
je 0x140013400
xor eax, eax
nop dword [rax]
cmp rax, 0x2000
je 0x140013740
mov word [rax + rdx], cx
movzx ecx, word [rax + rbx + 2]
test cx, cx
je 0x1400133e0
mov word [rax + rdx + 2], cx
movzx ecx, word [rax + rbx + 4]
test cx, cx
je 0x1400133e9
mov word [rax + rdx + 4], cx
movzx ecx, word [rax + rbx + 6]
test cx, cx
je 0x1400133f2
mov word [rax + rdx + 6], cx
movzx ecx, word [rax + rbx + 8]
add rax, 8
test cx, cx
jne 0x140013390
add rax, rdx
jmp 0x140013400
add rax, rdx
add rax, 2
jmp 0x140013400
add rax, rdx
add rax, 4
jmp 0x140013400
add rax, rdx
add rax, 6
nop dword [rax]
mov word [rax], 0
mov edx, 8
mov rcx, rsi
call fcn.140014160
mov rdi, qword [rsp + 0x70]
mov rcx, rbx
call fcn.140013810
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
mov rcx, rbx
mov edx, 0x40000000
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x14001376f
mov r15, rax
test rdi, rdi
je 0x1400131f0
nop word cs:[rax + rax]
cmp rdi, 0x8000
mov r12d, 0x8000
cmovb r12, rdi
mov rcx, r14
mov rdx, r12
call fcn.140014160
mov dword [rsp + 0x70], 0
mov qword [rsp + 0x20], 0
mov rcx, r15
mov rdx, r14
mov r8d, r12d
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140013745
sub rdi, r12
jne 0x140013470
jmp 0x1400131f0
mov rcx, qword [0x140043378]
call fcn.14000a7f0
mov rcx, qword [0x140043360]
call fcn.14001a910
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, str.NUITKA_ONEFILE_PARENT
mov edx, eax
call fcn.1400124d0
lea rdi, [0x14003caf0]
xor ecx, ecx
mov rdx, rdi
mov r8d, 0x1001
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movzx ecx, word [0x14003caf0]
test cx, cx
je 0x140013560
lea rdi, [0x14003caf4]
mov rax, 0xfffffffffffff001
nop
mov word [rdi - 4], cx
movzx ecx, word [rdi - 2]
test cx, cx
je 0x14001355c
mov word [rdi - 2], cx
movzx ecx, word [rdi]
test cx, cx
je 0x140013560
test rax, rax
je 0x140013740
mov word [rdi], cx
movzx ecx, word [rdi + 2]
add rdi, 6
add rax, 3
test cx, cx
jne 0x140013520
add rdi, 0xfffffffffffffffc
jmp 0x140013560
add rdi, 0xfffffffffffffffe
mov word [rdi], 0
mov word [rsp + 0x70], 0
mov r14d, 0x28
lea r15, str.NUITKA_ONEFILE_BINARY
mov bpl, 0x4e
xor eax, eax
lea rdi, [rsp + 0x58]
lea r12, [0x140034fc6]
nop word [rax + rax]
mov rbx, rsi
mov rcx, r14
test ax, ax
je 0x1400135c1
mov rcx, r14
mov rax, rsi
nop word cs:[rax + rax]
lea rbx, [rax + 2]
dec rcx
cmp word [rax + 2], 0
mov rax, rbx
jne 0x1400135b0
test rcx, rcx
je 0x140013740
mov rcx, rbx
call fcn.14001b268
lea rcx, [rbx + rax*2]
mov byte [rsp + 0x58], bpl
mov byte [rsp + 0x59], 0
mov r8d, 2
mov rdx, rdi
call fcn.14001a92c
cmp r15, r12
je 0x140013608
movzx ebp, byte [r15 + 1]
inc r15
dec r14
movzx eax, word [rsi + 2]
add rsi, 2
jmp 0x140013590
lea rdx, [0x14003caf0]
lea rsi, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
mov qword [rsp + 0xd0], 0
mov dword [rsp + 0x70], 0x68
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rsi
movups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 0
lea rcx, [0x140040b40]
mov rdx, rax
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400137cc
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
mov qword [0x14003eaf8], rcx
mov dword [rsp + 0x54], 0
test rcx, rcx
je 0x140013709
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x14003eaf8]
lea rdx, [rsp + 0x54]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x1400136f1
mov dword [rsp + 0x54], 1
mov rcx, qword [0x14003eaf8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14003eaf8], 0
call fcn.140012e40
mov esi, dword [rsp + 0x54]
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.140014450
mov eax, esi
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14001a8b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Error__couldnt_unpack_file_to_target_path.
mov edx, eax
call fcn.140012d20
mov ecx, 2
call fcn.1400193a0
lea rcx, str.TEMPonefile_PID_TIME
call fcn.1400137e0
mov ecx, 2
call fcn.14001557c
lea rdx, str.Error__failed_to_open__ls_for_writing._n
lea r8, [0x140041350]
mov rcx, rax
call fcn.140012db0
mov ecx, 2
call fcn.1400193a0
lea rcx, str.Error__couldnt_find_attached_data_header.
jmp 0x1400137bd
lea rcx, str.Error__failed_to_register_signal_handler.
jmp 0x1400137bd
mov qword [0x140043378], 0
lea rcx, str.Error__couldnt_allocate_memory.
call fcn.14001abc4
mov ecx, 2
call fcn.1400193a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Error__couldnt_launch_child
jmp 0x140013752