Function at 0x140013a40
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:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x118
movaps xmmword [rsp + 0x100], xmm6
mov rax, qword [0x140037008]
xor rax, rsp
mov qword [rsp + 0xf8], rax
call fcn.140016f0c
call fcn.140016f14
lea rbp, [0x14003bad0]
lea rdx, str._TEMP_onefile__PID___TIME_
mov r8d, 0x1000
mov rcx, rbp
call fcn.140013190
test al, al
je 0x1400140ad
lea rcx, [0x1400138d0]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x1400140ec
mov edx, 0x1b
mov r8d, 0xa
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [0x1400482e8], rax
movzx ebx, byte [rax]
movzx edx, byte [rax + 1]
movzx ecx, byte [rax + 2]
add rax, 3
mov qword [0x1400482f0], rax
cmp bl, 0x4b
jne 0x1400140e3
cmp dl, 0x41
jne 0x1400140e3
cmp cl, 0x59
jne 0x1400140e3
mov qword [0x1400482f8], 0
mov ecx, 0x20000
call fcn.14001c010
mov qword [0x140048310], rax
test rax, rax
je 0x1400140f5
mov ecx, 0x274b8
call fcn.14001c010
test rax, rax
je 0x1400140fe
mov rbx, rax
mov qword [rax + 0x73c8], 0
mov qword [rax + 0x72d8], 0
mov qword [rax + 0x7420], 0
mov qword [rax + 0x7440], 0
mov dword [rax + 0x7448], 0
mov dword [rax + 0x7454], 0
mov qword [rax + 0x274b0], 0
xorps xmm0, xmm0
movups xmmword [rax + 0x73d8], xmm0
movups xmmword [rax + 0x73ec], xmm0
movups xmmword [rax + 0x73f8], xmm0
movups xmmword [rax + 0x73a0], xmm0
mov qword [rax + 0x73b0], 0
xor esi, esi
xor eax, eax
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
test eax, eax
jle 0x140013bf0
cmp eax, 7
jb 0x140013bf0
xor ecx, ecx
mov eax, 7
xchg rbx, rsi
cpuid
xchg rbx, rsi
shr esi, 8
and esi, 1
mov dword [rbx + 0x73d0], esi
mov qword [rbx + 0x7410], 0x8000001
mov dword [rbx + 0x7458], 0
mov qword [rbx + 0x7388], 0
mov dword [rbx + 0x7390], 1
mov qword [0x140048328], rbx
mov byte [0x14003e2d0], 1
lea r13, [0x140048330]
lea r15, [rsp + 0x70]
lea r12, [0x14003e2e0]
lea rsi, [0x1400402e0]
jmp 0x140013c59
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, r13
mov edx, 2
mov rcx, r15
call fcn.1400142c0
movzx eax, word [rsp + 0x70]
mov word [rdi], ax
add rdi, 2
test ax, ax
jne 0x140013c5c
movzx eax, word [0x140048330]
test ax, ax
je 0x140013f20
mov word [0x14003e2e0], 0
movzx edx, word [0x14003bad0]
mov rcx, r12
test dx, dx
je 0x140013d20
xor ecx, ecx
nop word cs:[rax + rax]
cmp rcx, 0x2000
je 0x140014092
mov word [rcx + r12], dx
movzx edx, word [rcx + rbp + 2]
test dx, dx
je 0x140013d05
mov word [rcx + r12 + 2], dx
movzx edx, word [rcx + rbp + 4]
test dx, dx
je 0x140013d0e
mov word [rcx + r12 + 4], dx
movzx edx, word [rcx + rbp + 6]
test dx, dx
je 0x140013d17
mov word [rcx + r12 + 6], dx
movzx edx, word [rcx + rbp + 8]
add rcx, 8
test dx, dx
jne 0x140013cb0
add rcx, r12
jmp 0x140013d20
add rcx, r12
add rcx, 2
jmp 0x140013d20
add rcx, r12
add rcx, 4
jmp 0x140013d20
add rcx, r12
add rcx, 6
nop
mov word [rcx], 0
cmp word [0x14003e2e0], 0
mov rcx, r12
je 0x140013d57
mov rdx, 0xfffffffffffff000
mov rcx, r12
nop dword [rax]
inc rdx
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140013d40
test rdx, rdx
je 0x140014092
mov dword [rcx], 0x5c
cmp word [0x14003e2e0], 0
je 0x140013d90
mov ecx, 0x1000
mov rdx, r12
nop
lea rdi, [rdx + 2]
dec rcx
cmp word [rdx + 2], 0
mov rdx, rdi
jne 0x140013d70
jmp 0x140013d98
mov ecx, 0x1000
mov rdi, r12
xor ebx, ebx
nop word [rax + rax]
cmp rcx, rbx
je 0x140014092
mov word [rdi + rbx*2], ax
movzx eax, word [r13 + rbx*2 + 2]
inc rbx
test ax, ax
jne 0x140013da0
mov word [rdi + rbx*2], 0
cmp word [0x14003dad0], 0
jne 0x140013e65
movzx ecx, word [0x14003e2e0]
lea rdx, [0x14003dad0]
mov rax, rdx
test cx, cx
je 0x140013e60
xor eax, eax
nop word [rax + rax]
cmp rax, 0x2000
je 0x140014092
mov word [rax + rdx], cx
movzx ecx, word [rax + r12 + 2]
test cx, cx
je 0x140013e44
mov word [rax + rdx + 2], cx
movzx ecx, word [rax + r12 + 4]
test cx, cx
je 0x140013e4d
mov word [rax + rdx + 4], cx
movzx ecx, word [rax + r12 + 6]
test cx, cx
je 0x140013e56
mov word [rax + rdx + 6], cx
movzx ecx, word [rax + r12 + 8]
add rax, 8
test cx, cx
jne 0x140013df0
add rax, rdx
jmp 0x140013e60
add rax, rdx
add rax, 2
jmp 0x140013e60
add rax, rdx
add rax, 4
jmp 0x140013e60
add rax, rdx
add rax, 6
nop dword [rax]
mov word [rax], 0
mov edx, 8
mov rcx, r15
call fcn.1400142c0
mov r14, qword [rsp + 0x70]
mov rcx, r12
call fcn.140014170
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
mov rcx, r12
mov edx, 0x40000000
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x1400140b9
mov rdi, rax
test r14, r14
je 0x140013c50
nop word cs:[rax + rax]
cmp r14, 0x8000
mov ebx, 0x8000
cmovb rbx, r14
mov rcx, rsi
mov rdx, rbx
call fcn.1400142c0
mov dword [rsp + 0x70], 0
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, rsi
mov r8d, ebx
mov r9, r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140014097
sub r14, rbx
jne 0x140013ed0
jmp 0x140013c50
mov rcx, qword [0x140048328]
call fcn.14000aea0
mov rcx, qword [0x140048310]
call fcn.14001bffc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x140031a0e]
lea rsi, [rsp + 0x70]
mov edx, 0x80
mov rcx, rsi
mov r9d, eax
call fcn.140013740
lea rcx, str.NUITKA_ONEFILE_PARENT
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
mov qword [rsp + 0xd0], 0
mov dword [rsp + 0x70], 0x68
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rsi
movups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 0
lea rcx, [0x14003dad0]
mov rdx, rax
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140014112
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
mov qword [0x14003bab8], rcx
mov dword [rsp + 0x54], 0
test rcx, rcx
je 0x14001405b
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x14003bab8]
lea rdx, [rsp + 0x54]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x140014043
mov dword [rsp + 0x54], 1
mov rcx, qword [0x14003bab8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14003bab8], 0
call fcn.1400138f0
mov esi, dword [rsp + 0x54]
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1400151a0
mov eax, esi
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14001bf9c
lea rcx, str.Error__couldnt_runtime_expand_target_path.
call fcn.14001c2b0
mov ecx, 2
call fcn.14001ab80
lea rcx, str._TEMP_onefile__PID___TIME_
call fcn.140014140
mov ecx, 2
call fcn.140016d64
lea rdx, str.Error__failed_to_open__ls_for_writing._n
lea r8, [0x14003e2e0]
mov rcx, rax
call fcn.140013860
mov ecx, 2
call fcn.14001ab80
lea rcx, str.Error__could_find_attached_data_header.
jmp 0x14001409e
lea rcx, str.Error__failed_to_register_signal_handler.
jmp 0x14001409e
lea rcx, str.Error__couldnt_allocate_memory.
jmp 0x14001409e
mov qword [0x140048328], 0
lea rcx, str.Error__couldnt_allocate_memory.
jmp 0x14001409e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Error__couldnt_launch_child
mov edx, eax
call fcn.1400137d0
mov ecx, 2
call fcn.14001ab80
int3