Function at 0x14000be80
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:
sub rsp, 0x1c8
mov rax, qword [0x14002a008]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov r8d, 0x1000
lea rdx, str._TEMP_onefile__PID___TIME_
lea rcx, [0x14002e570]
call fcn.14000b3d0
test al, al
je 0x14000c4a2
mov edx, 1
lea rcx, [0x14000be50]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x14000c4af
mov edx, 0x1b
mov qword [rsp + 0x1d0], 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 [0x140032590], rax
mov qword [0x14002e568], rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, qword [0x14002e568]
mov eax, eax
mov qword [0x14002e548], 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 [0x14002e568], rcx
jne 0x14000c49c
cmp byte [rsp + 0x51], 0x41
jne 0x14000c49c
cmp al, 0x59
jne 0x14000c49c
mov qword [rsp + 0x1a0], r15
mov ecx, 0x20000
xor r15d, r15d
mov qword [0x14002e550], r15
call fcn.140010bd4
mov qword [0x140032570], rax
test rax, rax
je 0x14000c4c3
movups xmm0, xmmword [0x140026418]
mov ecx, 0x274b8
movaps xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [0x140026428]
movsd qword [rsp + 0x60], xmm0
call fcn.140010bd4
mov rbx, rax
test rax, rax
je 0x14000c4bc
movaps xmm0, xmmword [rsp + 0x70]
mov rcx, rax
mov qword [rsp + 0x1d8], rbp
mov qword [rsp + 0x1e0], rsi
mov qword [rsp + 0x1c0], rdi
movups xmmword [rax + 0x73a0], xmm0
mov qword [rsp + 0x1b8], r12
movsd xmm0, qword [rsp + 0x60]
mov qword [rsp + 0x1b0], r13
mov qword [rsp + 0x1a8], r14
movsd qword [rax + 0x73b0], xmm0
call fcn.140005b80
mov rax, qword [0x14002e568]
lea r12, [0x14002bd30]
mov qword [0x14002e550], rax
lea r13, [0x14002dd30]
mov rax, qword [0x14002e548]
mov qword [0x14002e558], rax
mov qword [0x14002e540], rbx
mov qword [0x14002e560], r15
mov byte [0x140032588], 1
nop
mov rcx, qword [0x140032580]
lea r14, [0x1400325a0]
nop
mov edi, 2
lea rbp, [rsp + 0x50]
xor sil, sil
nop dword [rax]
mov rax, qword [0x140032578]
sub rax, rcx
je 0x14000c0ad
mov rdx, qword [0x140032570]
cmp rdi, rax
mov rbx, rdi
cmovae rbx, rax
add rdx, rcx
mov r8, rbx
mov rcx, rbp
call fcn.14000daf0
mov rcx, qword [0x140032580]
add rbp, rbx
sub rdi, rbx
add rcx, rbx
jmp 0x14000c11b
mov rax, qword [0x14002e560]
mov rdx, qword [0x14002e558]
cmp rax, rdx
jb 0x14000c0d0
test sil, sil
jne 0x14000c0d0
cmp rdx, rax
jne 0x14000c4c9
jmp 0x14000c122
lea r8, [0x14002e550]
mov qword [0x140032580], r15
lea rdx, [0x140032570]
mov qword [0x140032578], 0x20000
call fcn.140007960
mov rcx, qword [0x140032580]
cmp rcx, qword [0x140032578]
sete sil
cmp rax, 0xffffffffffffff88
ja 0x14000c4c9
mov qword [0x140032578], rcx
mov rcx, r15
mov qword [0x140032580], rcx
test rdi, rdi
jne 0x14000c070
movzx eax, word [rsp + 0x50]
mov word [r14], ax
test ax, ax
je 0x14000c142
add r14, 2
jmp 0x14000c060
cmp word [0x1400325a0], r15w
je 0x14000c31a
cmp word [0x14002e570], r15w
mov edx, 0x1000
mov word [0x14002bd30], r15w
mov rcx, r12
je 0x14000c194
lea r8, [0x14002e570]
sub r8, r12
cmp rdx, 1
jb 0x14000c4db
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], r15w
jne 0x14000c174
mov word [rcx], r15w
mov rax, r12
cmp word [0x14002bd30], r15w
mov ecx, 0x1000
je 0x14000c1c7
nop word [rax + rax]
add rax, 2
dec rcx
cmp word [rax], r15w
jne 0x14000c1b0
cmp rcx, 1
jb 0x14000c4db
mov dword [rax], 0x5c
mov edx, 0x1000
cmp word [0x14002bd30], r15w
mov rcx, r12
je 0x14000c1ed
nop
add rcx, 2
dec rdx
cmp word [rcx], r15w
jne 0x14000c1e0
lea r8, [0x1400325a0]
sub r8, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x14000c4db
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], r15w
jne 0x14000c200
cmp word [0x14002dd30], r15w
mov word [rcx], r15w
jne 0x14000c26a
cmp word [0x14002bd30], r15w
mov edx, 0x1000
mov rcx, r13
je 0x14000c266
mov r8, r12
sub r8, r13
cmp rdx, 1
jb 0x14000c4db
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], r15w
jne 0x14000c246
mov word [rcx], r15w
mov edx, 8
lea rcx, [rsp + 0x70]
call fcn.14000b970
mov rcx, r12
call fcn.14000bc00
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 rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14000c4d5
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x14000c30c
nop
mov ebx, 0x8000
lea rcx, [0x140032da0]
cmp rdi, rbx
cmovbe ebx, edi
movsxd rsi, ebx
mov rdx, rsi
call fcn.14000b970
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], r15d
mov r8d, ebx
mov qword [rsp + 0x20], r15
lea rdx, [0x140032da0]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000c4cf
sub rdi, rsi
jne 0x14000c2c0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000c050
call fcn.140005c50
mov rcx, qword [0x140032570]
call fcn.140010b94
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x140026080]
mov edx, 0x80
mov r9d, eax
lea rcx, [rsp + 0x110]
call fcn.140001060
lea rdx, [rsp + 0x110]
lea rcx, str.NUITKA_ONEFILE_PARENT
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
xor edx, edx
lea rcx, [rsp + 0xa4]
lea r8d, [rdx + 0x64]
call fcn.14000d380
mov dword [rsp + 0xa0], 0x68
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, r13
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xa0]
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 0x14000c4e1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x80]
mov qword [0x14002e538], rcx
mov dword [rsp + 0x54], r15d
test rcx, rcx
je 0x14000c43b
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x14002e538]
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 [0x14002e538]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14002e538], r15
call fcn.14000bd10
mov eax, dword [rsp + 0x54]
mov r14, qword [rsp + 0x1a8]
mov r13, qword [rsp + 0x1b0]
mov r12, qword [rsp + 0x1b8]
mov rdi, qword [rsp + 0x1c0]
mov rsi, qword [rsp + 0x1e0]
mov rbp, qword [rsp + 0x1d8]
mov r15, qword [rsp + 0x1a0]
mov rbx, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14000c500
add rsp, 0x1c8
ret
call fcn.14000b8b0
int3
lea rcx, str._TEMP_onefile__PID___TIME_
call fcn.14000b940
int3
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.14000b830
int3
mov qword [0x14002e540], r15
call fcn.14000b8d0
int3
call fcn.14000b890
int3
call fcn.14000b870
int3
call fcn.14000b910
int3
call fcn.14000e2b0
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
call fcn.14000b8f0
int3