Function at 0x14000b6f0
Capabilities:
Accept command line arguments
Create process on windows
Extract resource via kernel32 functions
Get common file path
Write and execute a file
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [r11 - 0xcd8]
sub rsp, 0xdb0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xca0], rax
movzx ecx, word [str.TEMPonefile_PID_TIME]
lea r13, str.TEMPonefile_PID_TIME
xor r14d, r14d
mov qword [r11 + 8], r12
mov word [0x140042610], r14w
lea rdi, [0x140042610]
mov eax, r14d
mov r15d, 0x1000
mov esi, 0x80
cmp cx, 0x7b
jne 0x14000b76e
lea rax, [rbp + 0x4a0]
mov word [rbp + 0x4a0], r14w
jmp 0x14000bb4d
movzx ecx, word [r13]
cmp cx, 0x7d
jne 0x14000bb27
lea rdx, [0x1400296d8]
mov word [rax], r14w
lea rcx, [rbp + 0x4a0]
xor r12b, r12b
call fcn.140014290
test eax, eax
jne 0x14000b7af
mov rdx, rdi
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov r12b, 1
jmp 0x14000badf
lea rdx, [0x1400296e8]
lea rcx, [rbp + 0x4a0]
call fcn.140014290
test eax, eax
jne 0x14000b81e
mov rbx, r15
call fcn.14000ffe4
cmp word [rdi], 0
mov rcx, qword [rax]
mov rax, rdi
mov rdx, qword [rcx]
je 0x14000b7ed
nop dword [rax]
add rax, 2
dec rbx
cmp word [rax], 0
jne 0x14000b7e0
movzx ecx, word [rdx]
test cx, cx
je 0x14000b815
cmp rbx, 1
jb 0x14000c25f
add rdx, 2
mov word [rax], cx
add rax, 2
dec rbx
movzx ecx, word [rdx]
test cx, cx
jne 0x14000b7f5
mov word [rax], r14w
jmp 0x14000badf
lea rdx, str.PROGRAM_BASE
lea rcx, [rbp + 0x4a0]
call fcn.140014290
test eax, eax
jne 0x14000b8aa
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000b840
mov r8, r15
lea rdx, str.PROGRAM
sub r8, rax
mov rcx, rdi
call fcn.14000a730
test al, al
je 0x14000c245
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000b870
cmp rax, 4
jb 0x14000badf
lea rbx, [rdi + rax*2]
lea rcx, [rbx - 8]
lea rdx, str..exe
call fcn.140014290
test eax, eax
jne 0x14000badf
mov word [rbx - 8], r14w
jmp 0x14000badf
lea rdx, [0x140029748]
lea rcx, [rbp + 0x4a0]
call fcn.140014290
test eax, eax
jne 0x14000b98c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x1400296d4]
mov rdx, rsi
mov r9d, eax
lea rcx, [rbp + 0x20]
call fcn.140001060
cmp word [rdi], 0
lea r14, [rbp + 0x20]
mov rsi, r15
mov rbx, rdi
je 0x14000b8fe
add rbx, 2
dec rsi
cmp word [rbx], 0
jne 0x14000b8f1
movzx eax, byte [rbp + 0x20]
test al, al
je 0x14000bad7
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x50], al
lea rdx, [rsp + 0x50]
mov byte [rsp + 0x51], r12b
lea rcx, [rsp + 0x70]
call fcn.14000fd70
cmp rax, 1
jne 0x14000c265
cmp word [rbx], 0
mov rax, rsi
mov rcx, rbx
je 0x14000b95d
nop dword [rax]
nop dword [rax + rax]
add rcx, 2
dec rax
cmp word [rcx], 0
jne 0x14000b950
cmp rax, 1
jb 0x14000c265
movzx eax, word [rsp + 0x70]
inc r14
mov word [rcx], ax
add rbx, 2
xor eax, eax
dec rsi
mov word [rcx + 2], ax
movzx eax, byte [r14]
test al, al
jne 0x14000b910
jmp 0x14000bad7
lea rdx, [0x140029750]
lea rcx, [rbp + 0x4a0]
call fcn.140014290
test eax, eax
jne 0x14000b9aa
mov edx, 0x28
jmp 0x14000b9c6
lea rdx, str.CACHE_DIR
lea rcx, [rbp + 0x4a0]
call fcn.140014290
test eax, eax
jne 0x14000b9e1
mov edx, 0x1c
mov r8, r15
mov rcx, rdi
call fcn.14000a670
test al, al
je 0x14000c245
mov r12b, 1
jmp 0x14000badf
lea rdx, str.TIME
lea rcx, [rbp + 0x4a0]
call fcn.140014290
test eax, eax
jne 0x14000c245
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], r14
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov r9, qword [rsp + 0x60]
lea r8, str._lld
mov edx, 0x400
lea rcx, [rbp + 0xa0]
call fcn.140001060
cmp word [rdi], 0
lea r14, [rbp + 0xa0]
mov rsi, r15
mov rbx, rdi
je 0x14000ba4d
nop dword [rax]
add rbx, 2
dec rsi
cmp word [rbx], 0
jne 0x14000ba40
movzx eax, byte [rbp + 0xa0]
test al, al
je 0x14000bad7
nop dword [rax + rax]
mov r8d, 2
mov byte [rsp + 0x54], al
lea rdx, [rsp + 0x54]
mov byte [rsp + 0x55], r12b
lea rcx, [rsp + 0x58]
call fcn.14000fd70
cmp rax, 1
jne 0x14000c26b
cmp word [rbx], 0
mov rax, rsi
mov rcx, rbx
je 0x14000baad
nop dword [rax]
nop dword [rax + rax]
add rcx, 2
dec rax
cmp word [rcx], 0
jne 0x14000baa0
cmp rax, 1
jb 0x14000c26b
movzx eax, word [rsp + 0x58]
inc r14
mov word [rcx], ax
add rbx, 2
xor eax, eax
dec rsi
mov word [rcx + 2], ax
movzx eax, byte [r14]
test al, al
jne 0x14000ba60
xor r14d, r14d
mov esi, 0x80
cmp word [rdi], 0
je 0x14000bafd
nop word [rax + rax]
add rdi, 2
dec r15
cmp word [rdi], 0
jne 0x14000baf0
test r12b, r12b
je 0x14000bb22
cmp word [rdi - 2], 0x5c
jne 0x14000bb22
nop dword [rax]
sub rdi, 2
inc r15
mov word [rdi], r14w
cmp word [rdi - 2], 0x5c
je 0x14000bb10
mov rax, r14
jmp 0x14000bb4d
test rax, rax
je 0x14000bb35
mov word [rax], cx
add rax, 2
jmp 0x14000bb4d
cmp r15, 1
jb 0x14000c245
mov word [rdi], cx
add rdi, 2
dec r15
mov word [rdi], r14w
mov ecx, 2
add r13, rcx
movzx ecx, word [r13]
test cx, cx
jne 0x14000b754
mov edx, 1
mov word [rdi], r14w
lea rcx, [0x14000b6c0]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x14000c252
mov edx, 0x1b
xor ecx, ecx
mov r8d, 0xa
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rax
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rbx
xor ecx, ecx
mov qword [0x140048e18], rax
mov qword [0x140048e10], rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov eax, eax
mov qword [0x1400305f0], rax
mov rax, qword [0x140048e10]
movzx ecx, word [rax]
movzx edx, byte [rax + 2]
add rax, 3
mov word [rsp + 0x54], cx
mov qword [0x140048e10], rax
cmp cl, 0x4b
jne 0x14000c2aa
cmp byte [rsp + 0x55], 0x41
jne 0x14000c2aa
cmp dl, 0x59
jne 0x14000c2aa
mov ecx, 0x20000
mov qword [0x1400305f8], r14
call fcn.140013014
mov qword [0x140048e20], rax
test rax, rax
je 0x14000c278
movups xmm0, xmmword [0x14002a700]
mov ecx, 0x274b8
movaps xmmword [rbp - 0x80], xmm0
movsd xmm0, qword [0x14002a710]
movsd qword [rsp + 0x60], xmm0
call fcn.140013014
mov rbx, rax
test rax, rax
je 0x14000c271
movaps xmm0, xmmword [rbp - 0x80]
mov rcx, rax
movups xmmword [rax + 0x73a0], xmm0
movsd xmm0, qword [rsp + 0x60]
movsd qword [rax + 0x73b0], xmm0
call fcn.1400053b0
mov rax, qword [0x140048e10]
lea r12, [0x140044610]
mov qword [0x1400305f8], rax
lea r15, [0x140040610]
mov rax, qword [0x1400305f0]
mov qword [0x140030600], rax
mov qword [0x14002fde0], rbx
mov qword [0x140030608], r14
mov byte [0x14002fde8], 1
mov edx, 2
lea rcx, [rsp + 0x50]
lea r14, [0x14002fdf0]
mov rbx, r12
call fcn.14000ada0
movzx eax, word [rsp + 0x50]
mov word [0x140044610], ax
test ax, ax
je 0x14000bedb
nop word [rax + rax]
mov edx, 2
lea rcx, [rsp + 0x50]
lea rbx, [rbx + 2]
call fcn.14000ada0
movzx eax, word [rsp + 0x50]
mov word [rbx], ax
test ax, ax
jne 0x14000bcf0
cmp word [0x140044610], ax
je 0x14000bedb
xor ebx, ebx
mov edx, 0x1000
cmp word [0x140042610], bx
mov rcx, r15
mov word [0x140040610], bx
je 0x14000bd61
lea r8, [0x140042610]
sub r8, r15
cmp rdx, 1
jb 0x14000c28a
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], bx
jne 0x14000bd41
mov word [rcx], bx
mov rax, r15
cmp word [0x140040610], bx
mov ecx, 0x1000
je 0x14000bd96
nop word [rax + rax]
add rax, 2
dec rcx
cmp word [rax], bx
jne 0x14000bd80
cmp rcx, 1
jb 0x14000c28a
mov dword [rax], 0x5c
mov edx, 0x1000
cmp word [0x140040610], bx
mov rax, r15
je 0x14000bdbc
nop dword [rax]
add rax, 2
dec rdx
cmp word [rax], bx
jne 0x14000bdb0
mov r8, r12
sub r8, rax
cmp rdx, 1
jb 0x14000c28a
movzx ecx, word [r8 + rax]
dec rdx
mov word [rax], cx
add rax, 2
cmp word [r8 + rax], bx
jne 0x14000bdc2
cmp word [0x14002fdf0], bx
mov word [rax], bx
jne 0x14000be28
cmp word [0x140040610], bx
mov edx, 0x1000
mov rcx, r14
je 0x14000be25
mov r8, r15
sub r8, r14
cmp rdx, 1
jb 0x14000c28a
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], bx
jne 0x14000be05
mov word [rcx], bx
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.14000ada0
mov rcx, r15
call fcn.14000b470
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], ebx
mov edx, 0x40000000
mov r8d, 2
mov dword [rsp + 0x20], 2
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14000c284
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x14000becd
nop
mov ebx, 0x8000
lea rcx, [0x14004ae50]
cmp rdi, rbx
cmovbe ebx, edi
movsxd rsi, ebx
mov rdx, rsi
call fcn.14000ada0
xor eax, eax
lea r9, [rsp + 0x58]
mov r8d, ebx
mov dword [rsp + 0x58], eax
lea rdx, [0x14004ae50]
mov qword [rsp + 0x20], rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000c27e
sub rdi, rsi
jne 0x14000be80
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000bcb8
call fcn.140005540
mov rcx, qword [0x140048e20]
call fcn.140012fd4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, 0x80
lea r8, [0x1400296d4]
mov r9d, eax
lea rcx, [rbp + 0x20]
mov edx, esi
call fcn.140001060
movzx eax, byte [rbp + 0x20]
lea rdi, [rbp + 0x20]
xor r15d, r15d
lea rbx, [rbp + 0xa0]
mov word [rbp + 0xa0], r15w
test al, al
je 0x14000bfa5
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x54], al
lea rdx, [rsp + 0x54]
mov byte [rsp + 0x55], r15b
lea rcx, [rsp + 0x58]
call fcn.14000fd70
cmp rax, 1
jne 0x14000c29e
mov rax, rsi
mov rcx, rbx
cmp word [rbx], r15w
je 0x14000bf7d
nop dword [rax]
nop dword [rax + rax]
add rcx, 2
dec rax
cmp word [rcx], r15w
jne 0x14000bf70
cmp rax, 1
jb 0x14000c29e
movzx eax, word [rsp + 0x58]
inc rdi
mov word [rcx], ax
add rbx, 2
dec rsi
mov word [rcx + 2], r15w
movzx eax, byte [rdi]
test al, al
jne 0x14000bf30
lea rdx, [rbp + 0xa0]
lea rcx, str.NUITKA_ONEFILE_PARENT
call fcn.14000a500
call fcn.14000a600
mov rdx, rax
lea rcx, str.NUITKA_ONEFILE_BINARY
call fcn.14000a500
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
mov ecx, 0xfffffff6
mov dword [rbp - 0x14], pe_nt_image_headers64
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp + 0x10], rax
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xfffffff5
mov qword [rbp], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xfffffff4
mov qword [rbp + 8], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp + 0x10], rax
mov dword [rbp - 0x50], 0x68
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
lea rbx, [0x140046e10]
mov word [0x140030610], r15w
mov rdx, rbx
mov r8d, 0x1000
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000c2a4
cmp word [0x140030610], r15w
lea rsi, [0x140030610]
mov rcx, rsi
mov edx, 0x8000
je 0x14000c08d
add rcx, 2
dec rdx
cmp word [rcx], r15w
jne 0x14000c080
cmp word [0x140046e10], r15w
je 0x14000c0bf
sub rbx, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x14000c2a4
movzx eax, word [rbx + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [rbx + rcx], r15w
jne 0x14000c0a0
mov r11d, dword [rsp + 0x58]
mov r9d, 1
mov word [rcx], r15w
mov ebx, 0x20
cmp r11d, r9d
jle 0x14000c16b
lea r10, [rdi + 8]
cmp word [0x140030610], r15w
mov ecx, 0x8000
mov rax, rsi
je 0x14000c109
add rax, 2
dec rcx
cmp word [rax], r15w
jne 0x14000c0f2
cmp rcx, 1
jb 0x14000c2a4
mov dword [rax], ebx
mov ecx, 0x8000
cmp word [0x140030610], r15w
mov rax, rsi
mov r8, qword [r10]
je 0x14000c12d
add rax, 2
dec rcx
cmp word [rax], r15w
jne 0x14000c120
movzx edx, word [r8]
test dx, dx
je 0x14000c157
cmp rcx, 1
jb 0x14000c2a4
add r8, 2
mov word [rax], dx
add rax, 2
dec rcx
movzx edx, word [r8]
test dx, dx
jne 0x14000c136
inc r9d
mov word [rax], r15w
add r10, 8
cmp r9d, r11d
jl 0x14000c0e0
lea rax, [rbp - 0x70]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rbp - 0x50]
mov rdx, rsi
mov qword [rsp + 0x40], rax
mov rcx, r14
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000c290
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x70]
mov qword [0x14002fdd8], rcx
mov dword [rsp + 0x5c], r15d
test rcx, rcx
je 0x14000c209
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x14002fdd8]
lea rdx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x14000c1f5
mov dword [rsp + 0x5c], 1
mov rcx, qword [0x14002fdd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14002fdd8], r15
call fcn.14000b580
mov eax, dword [rsp + 0x5c]
mov r12, qword [rsp + 0xde0]
mov rcx, qword [rbp + 0xca0]
xor rcx, rsp
call fcn.14000c2c0
lea r11, [rsp + 0xdb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
lea rcx, str.TEMPonefile_PID_TIME
call fcn.14000ad70
int3
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.14000ac60
int3
call fcn.14000fa34
int3
call fcn.14000fa34
int3
call fcn.14000fa34
int3
mov qword [0x14002fde0], r14
call fcn.14000ad00
int3
call fcn.14000aca0
int3
call fcn.14000ad40
int3
call fcn.14000fa34
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
call fcn.14000ad20
int3
call fcn.14000fa34
int3
call fcn.14000fa34
int3
call fcn.14000ace0
int3