Function at 0x14000af60
Capabilities:
Accept command line arguments
Check if file exists
Create process on windows
Extract resource via kernel32 functions
Set environment variable
Write and execute a file
Write file on windows

Disassembly:
push rbp
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x14002d008]
xor rax, rsp
mov qword [rbp + 0x90], rax
call fcn.140010144
call fcn.14001014c
mov r8d, 0x1000
lea rdx, str._TEMP_onefile__PID___TIME_
lea rcx, [0x1400375d0]
call fcn.14000a3a0
test al, al
je 0x14000b507
mov edx, 1
lea rcx, [0x14000af30]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x14000b514
mov edx, 0x1b
xor ecx, ecx
lea r8d, [rdx - 0x11]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [0x14003de00], rax
movzx ecx, word [rax]
movzx edx, byte [rax + 2]
add rax, 3
mov word [rsp + 0x50], cx
mov qword [0x14003bdd0], rax
cmp cl, 0x4b
jne 0x14000b501
cmp byte [rsp + 0x51], 0x41
jne 0x14000b501
cmp dl, 0x59
jne 0x14000b501
mov qword [rsp + 0x1a0], r15
mov ecx, 0x20000
xor r15d, r15d
mov qword [rsp + 0x1d0], rbx
mov qword [0x14002f5b0], r15
call fcn.140013184
mov qword [0x14003bde0], rax
test rax, rax
je 0x14000b528
movups xmm0, xmmword [0x140028fb0]
mov ecx, 0x274b8
movaps xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [0x140028fc0]
movsd qword [rsp + 0x60], xmm0
call fcn.140013184
mov rbx, rax
test rax, rax
je 0x14000b521
movaps xmm0, xmmword [rsp + 0x70]
mov rcx, rax
mov qword [rsp + 0x1d8], rsi
movups xmmword [rax + 0x73a0], xmm0
mov qword [rsp + 0x1e0], rdi
movsd xmm0, qword [rsp + 0x60]
mov qword [rsp + 0x1b8], r12
mov qword [rsp + 0x1b0], r13
movsd qword [rax + 0x73b0], xmm0
mov qword [rsp + 0x1a8], r14
call fcn.140005240
mov qword [0x14002eda8], rbx
call fcn.14000b550
mov byte [0x14002f5c8], 1
lea r12, [0x14003be00]
lea esi, [r15 + 0x5c]
lea r13, [0x14002edb0]
lea rdi, [0x1400395d0]
mov edx, 2
lea rcx, [rsp + 0x50]
mov rbx, rdi
call fcn.14000a9f0
movzx eax, word [rsp + 0x50]
mov word [0x1400395d0], ax
test ax, ax
je 0x14000b32d
nop dword [rax + rax]
mov edx, 2
lea rcx, [rsp + 0x50]
lea rbx, [rbx + 2]
call fcn.14000a9f0
movzx eax, word [rsp + 0x50]
mov word [rbx], ax
test ax, ax
jne 0x14000b130
cmp word [0x1400395d0], r15w
je 0x14000b32d
cmp word [0x1400375d0], r15w
mov edx, 0x1000
mov word [0x14003be00], r15w
mov rcx, r12
je 0x14000b1a2
lea r8, [0x1400375d0]
sub r8, r12
cmp rdx, 1
jb 0x14000b53a
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], r15w
jne 0x14000b182
mov word [rcx], r15w
mov rax, r12
cmp word [0x14003be00], r15w
mov ecx, 0x1000
je 0x14000b1d7
nop dword [rax + rax]
add rax, 2
dec rcx
cmp word [rax], r15w
jne 0x14000b1c0
cmp rcx, 1
jb 0x14000b53a
mov dword [rax], 0x5c
mov edx, 0x1000
cmp word [0x14003be00], r15w
mov rax, r12
je 0x14000b1fd
nop
add rax, 2
dec rdx
cmp word [rax], r15w
jne 0x14000b1f0
mov r8, rdi
sub r8, rax
cmp rdx, 1
jb 0x14000b53a
movzx ecx, word [r8 + rax]
dec rdx
mov word [rax], cx
add rax, 2
cmp word [r8 + rax], r15w
jne 0x14000b203
cmp word [0x14002edb0], r15w
mov word [rax], r15w
jne 0x14000b274
cmp word [0x14003be00], r15w
mov edx, 0x1000
mov rcx, r13
je 0x14000b270
mov r8, r12
sub r8, r13
nop dword [rax]
cmp rdx, 1
jb 0x14000b53a
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], r15w
jne 0x14000b250
mov word [rcx], r15w
mov edx, 8
lea rcx, [rsp + 0x70]
call fcn.14000a9f0
mov rdi, qword [rsp + 0x70]
mov rcx, r12
call fcn.14000ace0
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 0x14000b534
test rdi, rdi
je 0x14000b31f
nop dword [rax]
mov ebx, 0x8000
lea rcx, [0x14002f5d0]
cmp rdi, rbx
cmovbe ebx, edi
movsxd rsi, ebx
mov rdx, rsi
call fcn.14000a9f0
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], r15d
mov r8d, ebx
mov qword [rsp + 0x20], r15
lea rdx, [0x14002f5d0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000b52e
sub rdi, rsi
jne 0x14000b2d0
lea esi, [rdi + 0x5c]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000b0fa
call fcn.1400053c0
mov rcx, qword [0x14003bde0]
call fcn.140013144
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x140028820]
mov edx, 0x80
mov r9d, eax
lea rcx, [rbp + 0x10]
call fcn.140001060
lea rdx, [rbp + 0x10]
lea rcx, str.NUITKA_ONEFILE_PARENT
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
xorps xmm0, xmm0
mov dword [rbp - 0x60], 0x68
xor eax, eax
movups xmmword [rbp - 0x5c], xmm0
mov dword [rbp + 4], eax
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, r13
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
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 0x14000b540
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp - 0x80]
mov ebx, 0x32
mov qword [0x14002ed98], rax
mov dword [rsp + 0x54], r15d
test rax, rax
je 0x14000b4a8
mov edx, ebx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x14002ed98]
lea rdx, [rsp + 0x54]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x14000b48c
cmp dword [rsp + 0x54], 0x103
jne 0x14000b494
cmp byte [0x14002ed94], r15b
je 0x14000b475
lea rcx, [0x14003de10]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14000b46c
mov rcx, qword [0x14002eda0]
test rcx, rcx
je 0x14000b463
call qword [sym.imp.USER32.dll_DestroyWindow]
mov qword [0x14002eda0], r15
mov byte [0x14002ed94], r15b
jmp 0x14000b475
cmp byte [0x14002ed94], r15b
jne 0x14000b47a
mov ebx, 0xffffffff
mov rax, qword [0x14002ed98]
test rax, rax
jne 0x14000b405
jmp 0x14000b4a8
mov dword [rsp + 0x54], 1
mov rcx, qword [0x14002ed98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14002ed98], r15
call fcn.14000adf0
mov eax, dword [rsp + 0x54]
mov r14, qword [rsp + 0x1a8]
mov r13, qword [rsp + 0x1b0]
mov r12, qword [rsp + 0x1b8]
mov rdi, qword [rsp + 0x1e0]
mov rsi, qword [rsp + 0x1d8]
mov rbx, qword [rsp + 0x1d0]
mov r15, qword [rsp + 0x1a0]
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14000baa0
add rsp, 0x1c0
pop rbp
ret
call fcn.14000a940
int3
lea rcx, str._TEMP_onefile__PID___TIME_
call fcn.14000a9c0
int3
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.14000a8c0
int3
mov qword [0x14002eda8], r15
call fcn.14000a960
int3
call fcn.14000a900
int3
call fcn.14000a990
int3
call fcn.14000fb9c
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
call fcn.14000a980
int3