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

Disassembly:
push rbp
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r8d, 0x1000
lea rdx, str.TEMPonefile_PID_TIME
lea rcx, [0x14003f380]
call fcn.14000b6e0
test al, al
je 0x14000c80c
mov edx, 1
lea rcx, [0x14000bd70]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x14000c819
mov edx, 0x1b
mov qword [rsp + 0x2b0], rbx
xor ecx, ecx
lea r8d, [rdx - 0x11]
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 [0x140036b28], rax
mov qword [0x140036b30], rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov eax, eax
mov qword [0x140036b38], rax
mov rax, qword [0x140036b30]
movzx ecx, word [rax]
movzx edx, byte [rax + 2]
add rax, 3
mov word [rsp + 0x50], cx
mov qword [0x140036b30], rax
cmp cl, 0x4b
jne 0x14000c806
cmp byte [rsp + 0x51], 0x41
jne 0x14000c806
cmp dl, 0x59
jne 0x14000c806
mov qword [rsp + 0x280], r15
mov ecx, 0x20000
xor r15d, r15d
mov qword [0x140036b48], r15
call fcn.140010e30
mov qword [0x140036b60], rax
test rax, rax
je 0x14000c856
call fcn.140005ac0
mov qword [0x140036b40], rax
test rax, rax
je 0x14000c856
mov rax, qword [0x140036b30]
mov qword [rsp + 0x2b8], rsi
mov qword [rsp + 0x2c0], rdi
mov qword [rsp + 0x298], r12
lea r12, [0x140043b80]
mov qword [rsp + 0x290], r13
lea r13, [0x140036b80]
mov qword [0x140036b48], rax
mov rax, qword [0x140036b38]
mov qword [0x140036b50], rax
mov qword [rsp + 0x288], r14
mov qword [0x140036b58], r15
mov byte [0x140032b0d], 1
nop dword [rax + rax]
mov edx, 2
lea rcx, [rsp + 0x50]
mov rbx, r13
call fcn.14000be10
movzx eax, word [rsp + 0x50]
mov word [0x140036b80], ax
test ax, ax
je 0x14000c5ea
nop word [rax + rax]
mov edx, 2
lea rcx, [rsp + 0x50]
lea rbx, [rbx + 2]
call fcn.14000be10
movzx eax, word [rsp + 0x50]
mov word [rbx], ax
test ax, ax
jne 0x14000c3f0
cmp word [0x140036b80], r15w
je 0x14000c5ea
cmp word [0x14003f380], r15w
mov edx, 0x1000
mov word [0x140043b80], r15w
mov rcx, r12
je 0x14000c462
lea r8, [0x14003f380]
sub r8, r12
cmp rdx, 1
jb 0x14000c835
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], r15w
jne 0x14000c442
mov word [rcx], r15w
mov rax, r12
cmp word [0x140043b80], r15w
mov ecx, 0x1000
je 0x14000c497
nop dword [rax + rax]
add rax, 2
dec rcx
cmp word [rax], r15w
jne 0x14000c480
cmp rcx, 1
jb 0x14000c835
mov dword [rax], 0x5c
mov edx, 0x1000
cmp word [0x140043b80], r15w
mov rax, r12
je 0x14000c4bd
nop
add rax, 2
dec rdx
cmp word [rax], r15w
jne 0x14000c4b0
mov r8, r13
sub r8, rax
cmp rdx, 1
jb 0x14000c835
movzx ecx, word [r8 + rax]
dec rdx
mov word [rax], cx
add rax, 2
cmp word [r8 + rax], r15w
jne 0x14000c4c3
cmp word [0x140043380], r15w
mov word [rax], r15w
jne 0x14000c535
cmp word [0x140043b80], r15w
lea rdx, [0x140043380]
mov r8d, 0x1000
mov rcx, r12
je 0x14000c531
nop dword [rax + rax]
cmp r8, 1
jb 0x14000c835
movzx eax, word [rcx]
dec r8
add rcx, 2
mov word [rdx], ax
add rdx, 2
cmp word [rcx], r15w
jne 0x14000c510
mov word [rdx], r15w
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.14000be10
mov rcx, r12
call fcn.14000b460
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov edx, 0x40000000
mov rcx, r12
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14000c82c
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x14000c5dc
nop word [rax + rax]
mov ebx, 0x8000
lea rcx, [0x140037380]
cmp rdi, rbx
cmovbe ebx, edi
movsxd rsi, ebx
mov rdx, rsi
call fcn.14000be10
lea r9, [rsp + 0x58]
mov dword [rsp + 0x58], r15d
mov r8d, ebx
mov qword [rsp + 0x20], r15
lea rdx, [0x140037380]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000c826
sub rdi, rsi
jne 0x14000c590
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000c3c0
mov rcx, qword [0x140036b40]
call fcn.14000a180
mov rcx, qword [0x140036b60]
call fcn.140010e1c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, 0x80
lea r8, [0x140026968]
mov r9d, eax
lea rcx, [rbp - 0x10]
mov edx, edi
call fcn.14000c1d0
movzx edx, byte [rbp - 0x10]
lea rsi, [rbp - 0x10]
mov word [rbp + 0x70], r15w
lea rbx, [rbp + 0x70]
test dl, dl
je 0x14000c6b2
nop word [rax + rax]
mov rcx, rdi
mov rax, rbx
cmp word [rbx], r15w
je 0x14000c65d
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], r15w
jne 0x14000c650
cmp rcx, 1
jb 0x14000c850
mov byte [rsp + 0x50], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x51], r15b
nop word [rax + rax]
cmp word [rax + rcx*2 + 2], r15w
lea rcx, [rcx + 1]
jne 0x14000c680
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x50]
call fcn.140011480
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x14000c640
lea rdx, [rbp + 0x70]
lea rcx, str.NUITKA_ONEFILE_PARENT
call fcn.14000c0f0
xor ecx, ecx
call fcn.14000bcf0
mov rdx, rax
lea rcx, str.NUITKA_ONEFILE_BINARY
call fcn.14000c0f0
xorps xmm0, xmm0
mov dword [rbp - 0x80], 0x68
xor eax, eax
movups xmmword [rbp - 0x7c], xmm0
mov dword [rbp - 0x1c], eax
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
lea rcx, [0x140043380]
mov rdx, rax
xor r8d, r8d
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000c83b
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
mov qword [0x140032b00], rcx
mov dword [rsp + 0x54], r15d
test rcx, rcx
je 0x14000c7ab
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x140032b00]
lea rdx, [rsp + 0x54]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x14000c797
mov dword [rsp + 0x54], 1
mov rcx, qword [0x140032b00]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140032b00], r15
xor ecx, ecx
call fcn.14000b2b0
mov eax, dword [rsp + 0x54]
mov r14, qword [rsp + 0x288]
mov r13, qword [rsp + 0x290]
mov r12, qword [rsp + 0x298]
mov rdi, qword [rsp + 0x2c0]
mov rsi, qword [rsp + 0x2b8]
mov r15, qword [rsp + 0x280]
mov rbx, qword [rsp + 0x2b0]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14000c950
add rsp, 0x2a0
pop rbp
ret
call fcn.14000bbc0
int3
lea rcx, str.TEMPonefile_PID_TIME
call fcn.14000bc00
int3
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.14000bb70
int3
call fcn.14000bc60
int3
mov rcx, r12
call fcn.14000bc30
int3
call fcn.14001114c
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error__couldnt_launch_child
call fcn.14000bbb0
int3
call fcn.14001114c
int3
call fcn.14000bbe0
int3