Function at 0x14000a9b0
Capabilities:
Accept command line arguments
Create directory
Create process on windows
Read file on windows
Set environment variable
Write and execute a file
Write file on windows

Disassembly:
push rbp
push rsi
push r12
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x90], rax
call fcn.14001272c
call fcn.140012734
mov r8d, 0x1000
lea rdx, [0x1400314e0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x14000aa47
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
xor edx, edx
mov r8d, eax
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], esi
mov ecx, 0x1300
mov qword [rsp + 0x20], rax
mov r9d, 0x400
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
lea rcx, str.Error__failed_to_locate_onefile_filename.
call fcn.14000f8b8
mov rcx, qword [rsp + 0x60]
call fcn.14000f8b8
lea eax, [rsi + 1]
jmp 0x14000b1bf
call fcn.14000a3c0
test al, al
je 0x14000b1da
mov r12d, 1
lea rcx, [0x14000a980]
mov edx, r12d
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
jne 0x14000aabd
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
xor edx, edx
mov r8d, eax
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], esi
mov ecx, 0x1300
mov qword [rsp + 0x20], rax
mov r9d, 0x400
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.14000f8b8
mov rcx, qword [rsp + 0x60]
call fcn.14000f8b8
mov eax, r12d
jmp 0x14000b1bf
mov qword [rsp + 0x1a0], r15
xor edx, edx
lea r15, [0x14002f4a0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor esi, esi
mov byte [0x1400314d0], r12b
mov qword [rsp + 0x30], rsi
lea rcx, [0x1400314e0]
mov dword [rsp + 0x28], esi
xor r9d, r9d
mov r8d, r12d
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1400314b8], rax
cmp rax, 0xffffffffffffffff
jne 0x14000ab2a
lea rcx, str.Error__failed_to_access_unpacked_executable.
call fcn.14000a830
mov eax, r12d
jmp 0x14000b1b7
mov qword [rsp + 0x1d0], rbx
lea rcx, [0x1400314e0]
mov qword [rsp + 0x1d8], rdi
xor r8d, r8d
mov qword [rsp + 0x1e0], r13
xor edx, edx
mov qword [rsp + 0x1a8], r14
mov r14d, esi
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ebx, eax
lea ecx, [rax + 1]
add rcx, rcx
call fcn.140012e44
mov r8d, ebx
lea rcx, [0x1400314e0]
mov rdx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x14000abe0
mov r9, rdi
mov qword [rsp + 0x20], 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.140012d9c
test eax, eax
jne 0x14000abe0
mov rcx, qword [rsp + 0x60]
call fcn.140012e44
mov r8, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
mov r9, rdi
mov qword [rsp + 0x20], 0xffffffffffffffff
mov rdx, rax
mov rbx, rax
call fcn.140012d9c
test eax, eax
je 0x14000acd0
mov rcx, rbx
call fcn.14001273c
mov rcx, rdi
call fcn.14001273c
mov r9d, 2
lea edx, [r9 - 0xa]
mov rcx, qword [0x1400314b8]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, qword [0x1400314b8]
mov r9d, r12d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, qword [0x1400314b8]
lea r9, [rsp + 0x60]
mov eax, eax
lea rdx, [rsp + 0x70]
mov r8d, 8
mov qword [0x1400314c0], rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [rsp + 0x70]
xor r9d, r9d
mov rcx, qword [0x1400314b8]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, qword [0x1400314b8]
lea r9, [rsp + 0x60]
mov r8d, 3
mov qword [rsp + 0x20], rsi
lea rdx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, 0x20003
call fcn.140012e44
mov ecx, 0x20000
mov qword [0x14002f488], rax
call fcn.140012e44
movups xmm0, xmmword [0x1400299c8]
mov ecx, 0x274b8
mov qword [0x1400314a0], rax
movaps xmmword [rsp + 0x60], xmm0
movsd xmm0, qword [0x1400299d8]
movsd qword [rsp + 0x70], xmm0
call fcn.140012e44
mov rbx, rax
test rax, rax
jne 0x14000ad39
mov rbx, rsi
jmp 0x14000ad5b
test rbx, rbx
je 0x14000abe8
xor r9d, r9d
mov dword [rsp + 0x20], r12d
lea r8, [rbp + 0x10]
mov rcx, rbx
lea rdx, str.dont_search_path
call qword [sym.imp.imagehlp.dll_MapAndLoad]
test eax, eax
je 0x14000ad1c
mov rax, qword [rbp + 0x28]
test rax, rax
je 0x14000ad12
cmp dword [rax + 0x84], 4
jbe 0x14000ad12
mov r14d, dword [rax + 0xa8]
lea rcx, [rbp + 0x10]
call qword [sym.imp.imagehlp.dll_UnMapAndLoad]
mov rcx, rbx
call fcn.14001273c
test r14d, r14d
je 0x14000abe8
lea edx, [r14 - 8]
xor r9d, r9d
jmp 0x14000abf2
movaps xmm0, xmmword [rsp + 0x60]
mov rcx, rax
movups xmmword [rax + 0x73a0], xmm0
movsd xmm0, qword [rsp + 0x70]
movsd qword [rax + 0x73b0], xmm0
call fcn.1400052a0
mov qword [0x1400314c8], rbx
lea r13, [0x1400334e0]
mov edi, 0x5c
lea r14, [0x1400354e0]
mov edx, 2
lea rcx, [rsp + 0x60]
mov rbx, r14
call fcn.14000a6d0
movzx eax, word [rsp + 0x60]
mov word [0x1400354e0], ax
test ax, ax
je 0x14000b097
nop dword [rax]
mov edx, 2
lea rcx, [rsp + 0x60]
lea rbx, [rbx + 2]
call fcn.14000a6d0
movzx eax, word [rsp + 0x60]
mov word [rbx], ax
test ax, ax
jne 0x14000ada0
movzx r9d, word [0x1400354e0]
test r9w, r9w
je 0x14000b097
mov rbx, r14
movzx eax, r9w
nop dword [rax]
cmp ax, 0x5c
jne 0x14000aec8
cmp word [0x14002f4a0], si
mov edx, 0x1000
mov word [rbx], si
mov rcx, r13
mov word [0x1400334e0], si
je 0x14000ae2f
mov r8, r15
sub r8, r13
nop dword [rax + rax]
cmp rdx, r12
jb 0x14000b1f8
movzx eax, word [rcx + r8]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [rcx + r8], si
jne 0x14000ae10
mov word [rcx], si
mov rax, r13
cmp word [0x1400334e0], si
mov ecx, 0x1000
je 0x14000ae58
add rax, 2
dec rcx
cmp word [rax], si
jne 0x14000ae43
cmp rcx, r12
jb 0x14000b1f8
mov dword [rax], 0x5c
mov edx, 0x1000
cmp word [0x1400334e0], si
mov rax, r13
je 0x14000ae7c
nop
add rax, 2
dec rdx
cmp word [rax], si
jne 0x14000ae70
cmp word [0x1400354e0], si
je 0x14000aeaf
mov r8, r14
sub r8, rax
nop dword [rax + rax]
cmp rdx, r12
jb 0x14000b1f8
movzx ecx, word [rax + r8]
dec rdx
mov word [rax], cx
add rax, 2
cmp word [rax + r8], si
jne 0x14000ae90
xor edx, edx
mov word [rax], si
mov rcx, r13
mov word [rbx], di
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx r9d, word [0x1400354e0]
movzx eax, word [rbx + 2]
add rbx, 2
test ax, ax
jne 0x14000ade0
cmp word [0x14002f4a0], si
mov edx, 0x1000
mov word [0x1400334e0], si
mov rcx, r13
je 0x14000af16
mov r8, r15
sub r8, r13
cmp rdx, r12
jb 0x14000b1f8
movzx eax, word [rcx + r8]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [rcx + r8], si
jne 0x14000aef7
mov word [rcx], si
mov rax, r13
cmp word [0x1400334e0], si
mov ecx, 0x1000
je 0x14000af45
nop word [rax + rax]
add rax, 2
dec rcx
cmp word [rax], si
jne 0x14000af30
cmp rcx, r12
jb 0x14000b1f8
mov dword [rax], 0x5c
mov edx, 0x1000
cmp word [0x1400334e0], si
mov rcx, r13
je 0x14000af6c
nop dword [rax]
add rcx, 2
dec rdx
cmp word [rcx], si
jne 0x14000af60
test r9w, r9w
je 0x14000af9f
mov r8, r14
sub r8, rcx
nop dword [rax + rax]
cmp rdx, r12
jb 0x14000b1f8
movzx eax, word [rcx + r8]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [rcx + r8], si
jne 0x14000af80
cmp word [0x14002ec70], si
mov word [rcx], si
jne 0x14000aff2
cmp word [0x1400334e0], si
lea rax, [0x14002ec70]
mov rcx, rax
mov edx, 0x1000
je 0x14000afef
mov r8, r13
sub r8, rax
nop dword [rax]
cmp rdx, r12
jb 0x14000b1f8
movzx eax, word [rcx + r8]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [rcx + r8], si
jne 0x14000afd0
mov word [rcx], si
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov edx, 0x40000000
mov rcx, r13
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x14000b1fe
mov edx, 8
lea rcx, [rsp + 0x70]
call fcn.14000a6d0
mov r14, qword [rsp + 0x70]
test r14, r14
je 0x14000b082
nop
mov edi, 0x8000
lea rcx, [0x140035cf0]
cmp r14, rdi
cmovbe edi, r14d
movsxd rbx, edi
mov rdx, rbx
call fcn.14000a6d0
xor r9d, r9d
mov qword [rsp + 0x20], rsi
mov r8d, edi
lea rdx, [0x140035cf0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
sub r14, rbx
jne 0x14000b040
lea edi, [r14 + 0x5c]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r15, [0x14002f4a0]
jmp 0x14000ad6e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x1400296a0]
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
lea rcx, [0x14002ec70]
mov rdx, rax
xor r8d, r8d
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x200
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
mov qword [0x14002f480], rcx
mov dword [rsp + 0x50], esi
test rcx, rcx
je 0x14000b18e
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x14002f480]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [rsp + 0x50]
test eax, eax
cmove ecx, r12d
mov dword [rsp + 0x50], ecx
mov rcx, qword [0x14002f480]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14002f480], rsi
call fcn.14000a890
mov eax, dword [rsp + 0x50]
mov r14, qword [rsp + 0x1a8]
mov r13, qword [rsp + 0x1e0]
mov rdi, qword [rsp + 0x1d8]
mov rbx, qword [rsp + 0x1d0]
mov r15, qword [rsp + 0x1a0]
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14000b240
add rsp, 0x1b0
pop r12
pop rsi
pop rbp
ret
lea rcx, str.Error__couldnt_runtime_expand_temporary_directory_pattern:
call fcn.14000f8b8
lea rcx, str._TEMP_onefile__PID___TIME_
call fcn.140012838
call fcn.14000f250
int3
call fcn.14000f250
int3
mov ecx, 2
call fcn.14000f748
mov rcx, rax
lea rdx, str.Error__failed_to_open__ls_for_writing.
mov r8, r13
call fcn.140001010
mov ecx, 2
call fcn.14000f244
int3