Function at 0x14000be30
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 [0x140030008]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r8d, 0x1000
lea rdx, str.TEMPonefile_PID_TIME
lea rcx, [0x140030b20]
call fcn.140008850
test al, al
je 0x14000c40e
mov edx, 1
lea rcx, [0x140008d40]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x14000c41b
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 [0x140030ad0], rax
mov qword [0x140030ad8], rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, qword [0x140030ad8]
mov eax, eax
mov qword [0x140030ae0], rax
movzx eax, word [rcx]
mov word [rsp + 0x50], ax
movzx eax, byte [rcx + 2]
add rcx, 3
cmp byte [rsp + 0x50], 0x4b
mov qword [0x140030ad8], rcx
jne 0x14000c408
cmp byte [rsp + 0x51], 0x41
jne 0x14000c408
cmp al, 0x59
jne 0x14000c408
mov qword [rsp + 0x280], r15
mov ecx, 0x20000
xor r15d, r15d
mov qword [0x140030af0], r15
call fcn.140010290
mov qword [0x140030b08], rax
test rax, rax
je 0x14000c458
call fcn.140009ef0
mov qword [0x140030ae8], rax
test rax, rax
je 0x14000c458
mov rax, qword [0x140030ad8]
mov qword [rsp + 0x2b8], rsi
mov qword [rsp + 0x2c0], rdi
mov qword [rsp + 0x298], r12
lea r12, [0x14003fb40]
mov qword [rsp + 0x290], r13
lea r13, [0x140036b40]
mov qword [0x140030af0], rax
mov rax, qword [0x140030ae0]
mov qword [0x140030af8], rax
mov qword [rsp + 0x288], r14
mov qword [0x140030b00], r15
mov byte [0x140030acc], 1
mov edx, 2
lea rcx, [rsp + 0x50]
lea r14, [0x14003f340]
mov rbx, r13
call fcn.140008de0
movzx eax, word [rsp + 0x50]
mov word [0x140036b40], ax
test ax, ax
je 0x14000c1ea
nop word [rax + rax]
mov edx, 2
lea rcx, [rsp + 0x50]
lea rbx, [rbx + 2]
call fcn.140008de0
movzx eax, word [rsp + 0x50]
mov word [rbx], ax
test ax, ax
jne 0x14000bff0
cmp word [0x140036b40], r15w
je 0x14000c1ea
cmp word [0x140030b20], r15w
mov edx, 0x1000
mov word [0x14003fb40], r15w
mov rcx, r12
je 0x14000c062
lea r8, [0x140030b20]
sub r8, r12
cmp rdx, 1
jb 0x14000c437
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], r15w
jne 0x14000c042
mov word [rcx], r15w
mov rax, r12
cmp word [0x14003fb40], r15w
mov ecx, 0x1000
je 0x14000c097
nop dword [rax + rax]
add rax, 2
dec rcx
cmp word [rax], r15w
jne 0x14000c080
cmp rcx, 1
jb 0x14000c437
mov dword [rax], 0x5c
mov edx, 0x1000
cmp word [0x14003fb40], r15w
mov rax, r12
je 0x14000c0bd
nop
add rax, 2
dec rdx
cmp word [rax], r15w
jne 0x14000c0b0
mov r8, r13
sub r8, rax
cmp rdx, 1
jb 0x14000c437
movzx ecx, word [r8 + rax]
dec rdx
mov word [rax], cx
add rax, 2
cmp word [r8 + rax], r15w
jne 0x14000c0c3
cmp word [0x14003f340], r15w
mov word [rax], r15w
jne 0x14000c134
cmp word [0x14003fb40], r15w
mov edx, 0x1000
mov rcx, r14
je 0x14000c130
mov r8, r12
sub r8, r14
nop dword [rax]
cmp rdx, 1
jb 0x14000c437
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], r15w
jne 0x14000c110
mov word [rcx], r15w
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.140008de0
mov rcx, r12
call fcn.1400085d0
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 0x14000c42e
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x14000c1dc
nop dword [rax]
mov ebx, 0x8000
lea rcx, [0x140037340]
cmp rdi, rbx
cmovbe ebx, edi
movsxd rsi, ebx
mov rdx, rsi
call fcn.140008de0
lea r9, [rsp + 0x58]
mov dword [rsp + 0x58], r15d
mov r8d, ebx
mov qword [rsp + 0x20], r15
lea rdx, [0x140037340]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000c428
sub rdi, rsi
jne 0x14000c190
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000bfbc
mov rcx, qword [0x140030ae8]
call fcn.14000bab0
mov rcx, qword [0x140030b08]
call fcn.14001027c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, 0x80
lea r8, [0x1400247e8]
mov r9d, eax
lea rcx, [rbp - 0x10]
mov edx, edi
call fcn.14000bdd0
movzx edx, byte [rbp - 0x10]
lea rsi, [rbp - 0x10]
mov word [rbp + 0x70], r15w
lea rbx, [rbp + 0x70]
test dl, dl
je 0x14000c2b2
nop word [rax + rax]
mov rcx, rdi
mov rax, rbx
cmp word [rbx], r15w
je 0x14000c25d
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], r15w
jne 0x14000c250
cmp rcx, 1
jb 0x14000c452
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 0x14000c280
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x50]
call fcn.1400108ec
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x14000c240
lea rdx, [rbp + 0x70]
lea rcx, str.NUITKA_ONEFILE_PARENT
call fcn.1400090c0
xor ecx, ecx
call fcn.140008cc0
mov rdx, rax
lea rcx, str.NUITKA_ONEFILE_BINARY
call fcn.1400090c0
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
xor r8d, r8d
mov rdx, rax
mov rcx, r14
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 0x14000c43d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
mov qword [0x140030ac0], rcx
mov dword [rsp + 0x54], r15d
test rcx, rcx
je 0x14000c3ad
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x140030ac0]
lea rdx, [rsp + 0x54]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [rsp + 0x54]
test eax, eax
mov eax, 1
cmove ecx, eax
mov dword [rsp + 0x54], ecx
mov rcx, qword [0x140030ac0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140030ac0], r15
xor ecx, ecx
call fcn.140008420
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.14000c550
add rsp, 0x2a0
pop rbp
ret
call fcn.140008be0
int3
lea rcx, str.TEMPonefile_PID_TIME
call fcn.140008c20
int3
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.140008b90
int3
call fcn.140008c80
int3
mov rcx, r12
call fcn.140008c50
int3
call fcn.1400105b8
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error__couldnt_launch_child
call fcn.140008bd0
int3
call fcn.1400105b8
int3
call fcn.140008c00
int3