Function at 0x14000ac20
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 r12
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x14002e008]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r8d, 0x1000
lea rdx, [0x140034600]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x14000acae
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor r15d, r15d
xor edx, edx
mov r8d, eax
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], r15d
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.14000fcd4
mov rcx, qword [rsp + 0x50]
call fcn.14000fcd4
lea eax, [r15 + 1]
jmp 0x14000b4c3
call fcn.14000a520
test al, al
je 0x14000b4e2
mov r12d, 1
lea rcx, [0x14000abf0]
mov edx, r12d
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
jne 0x14000ad26
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor r15d, r15d
xor edx, edx
mov r8d, eax
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], r15d
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.14000fcd4
mov rcx, qword [rsp + 0x50]
call fcn.14000fcd4
mov eax, r12d
jmp 0x14000b4c3
mov qword [rsp + 0x180], r14
xor edx, edx
lea r14, [0x1400325d0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor r15d, r15d
mov byte [0x1400345f0], r12b
mov qword [rsp + 0x30], r15
lea rcx, [0x140034600]
mov dword [rsp + 0x28], r15d
xor r9d, r9d
mov r8d, r12d
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1400325c8], rax
cmp rax, 0xffffffffffffffff
jne 0x14000ad95
lea rcx, str.Error__failed_to_access_unpacked_executable.
call fcn.14000a870
mov eax, r12d
jmp 0x14000b4bb
mov qword [rsp + 0x1b0], rbx
lea rcx, [0x140034600]
mov qword [rsp + 0x1b8], rsi
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x1c0], rdi
mov esi, r15d
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ebx, eax
lea ecx, [rax + 1]
add rcx, rcx
call fcn.1400132d0
mov rdi, rax
test rax, rax
je 0x14000b500
mov r8d, ebx
lea rcx, [0x140034600]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x14000ae55
mov r9, rdi
mov qword [rsp + 0x20], 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x50]
xor edx, edx
call fcn.140013228
test eax, eax
jne 0x14000ae55
mov rcx, qword [rsp + 0x50]
call fcn.1400132d0
mov rbx, rax
test rax, rax
je 0x14000b506
mov r8, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
mov r9, rdi
mov qword [rsp + 0x20], 0xffffffffffffffff
mov rdx, rax
call fcn.140013228
mov rcx, rbx
test eax, eax
je 0x14000b30a
call fcn.140012bd4
mov rcx, rdi
call fcn.140012bd4
mov r9d, 2
lea edx, [r9 - 0xa]
mov rcx, qword [0x1400325c8]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov qword [rsp + 0x188], r13
cmp eax, 0xffffffff
je 0x14000b4dc
mov rcx, qword [0x1400325c8]
mov r9d, r12d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, qword [0x1400325c8]
lea r9, [rsp + 0x50]
mov eax, eax
lea rdx, [rsp + 0x60]
mov r8d, 8
mov qword [0x1400345e8], rax
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000b551
cmp dword [rsp + 0x50], 8
jne 0x14000b551
mov rdx, qword [0x1400345e8]
xor r9d, r9d
sub rdx, qword [rsp + 0x60]
xor r8d, r8d
mov rcx, qword [0x1400325c8]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x14000b4dc
mov rcx, qword [0x1400325c8]
lea r9, [rsp + 0x50]
mov r8d, 3
mov qword [rsp + 0x20], r15
lea rdx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000b54b
cmp dword [rsp + 0x50], 3
jne 0x14000b54b
cmp byte [rsp + 0x58], 0x4b
jne 0x14000b4dc
cmp byte [rsp + 0x59], 0x41
jne 0x14000b4dc
cmp byte [rsp + 0x5a], 0x59
jne 0x14000b4dc
mov ecx, 0x20003
call fcn.1400132d0
mov qword [0x1400325b0], rax
test rax, rax
je 0x14000b545
mov ecx, 0x20000
call fcn.1400132d0
mov qword [0x1400345d0], rax
test rax, rax
je 0x14000b545
call fcn.140005320
mov qword [0x1400325a8], rax
test rax, rax
je 0x14000b545
lea rsi, [0x140036600]
lea r13, [0x14002fd90]
mov edi, 0x5c
lea rcx, [rsp + 0x50]
mov rbx, rsi
lea edx, [rdi - 0x5a]
call fcn.14000a960
movzx eax, word [rsp + 0x50]
mov word [0x140036600], ax
test ax, ax
je 0x14000b364
nop word [rax + rax]
mov edx, 2
lea rcx, [rsp + 0x50]
lea rbx, [rbx + 2]
call fcn.14000a960
movzx eax, word [rsp + 0x50]
mov word [rbx], ax
test ax, ax
jne 0x14000afe0
movzx r9d, word [0x140036600]
test r9w, r9w
je 0x14000b364
mov rbx, rsi
movzx eax, r9w
nop dword [rax]
cmp ax, 0x5c
jne 0x14000b119
cmp word [0x1400325d0], r15w
mov edx, 0x1000
mov word [rbx], r15w
mov rcx, r13
mov word [0x14002fd90], r15w
je 0x14000b06f
mov r8, r14
sub r8, r13
nop
cmp rdx, r12
jb 0x14000b50c
movzx eax, word [rcx + r8]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [rcx + r8], r15w
jne 0x14000b050
mov word [rcx], r15w
mov rax, r13
cmp word [0x14002fd90], r15w
mov ecx, 0x1000
je 0x14000b0a6
nop word [rax + rax]
add rax, 2
dec rcx
cmp word [rax], r15w
jne 0x14000b090
cmp rcx, r12
jb 0x14000b50c
mov dword [rax], 0x5c
mov edx, 0x1000
cmp word [0x14002fd90], r15w
mov rax, r13
je 0x14000b0cd
nop
add rax, 2
dec rdx
cmp word [rax], r15w
jne 0x14000b0c0
cmp word [0x140036600], r15w
je 0x14000b0ff
mov r8, rsi
sub r8, rax
nop dword [rax]
cmp rdx, r12
jb 0x14000b50c
movzx ecx, word [rax + r8]
dec rdx
mov word [rax], cx
add rax, 2
cmp word [rax + r8], r15w
jne 0x14000b0e0
xor edx, edx
mov word [rax], r15w
mov rcx, r13
mov word [rbx], di
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx r9d, word [0x140036600]
movzx eax, word [rbx + 2]
add rbx, 2
test ax, ax
jne 0x14000b020
cmp word [0x1400325d0], r15w
mov edx, 0x1000
mov word [0x14002fd90], r15w
mov rcx, r13
je 0x14000b16f
mov r8, r14
sub r8, r13
nop word [rax + rax]
cmp rdx, r12
jb 0x14000b50c
movzx eax, word [rcx + r8]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [rcx + r8], r15w
jne 0x14000b150
mov word [rcx], r15w
mov rax, r13
cmp word [0x14002fd90], r15w
mov ecx, 0x1000
je 0x14000b1a6
nop word [rax + rax]
add rax, 2
dec rcx
cmp word [rax], r15w
jne 0x14000b190
cmp rcx, r12
jb 0x14000b50c
mov dword [rax], 0x5c
mov edx, 0x1000
cmp word [0x14002fd90], r15w
mov rcx, r13
je 0x14000b1cd
nop
add rcx, 2
dec rdx
cmp word [rcx], r15w
jne 0x14000b1c0
test r9w, r9w
je 0x14000b1ff
mov r8, rsi
sub r8, rcx
nop dword [rax]
cmp rdx, r12
jb 0x14000b50c
movzx eax, word [rcx + r8]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [rcx + r8], r15w
jne 0x14000b1e0
cmp word [0x140031d90], r15w
mov word [rcx], r15w
jne 0x14000b253
cmp word [0x14002fd90], r15w
lea rax, [0x140031d90]
mov rcx, rax
mov edx, 0x1000
je 0x14000b24f
mov r8, r13
sub r8, rax
nop dword [rax]
cmp rdx, r12
jb 0x14000b50c
movzx eax, word [rcx + r8]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [rcx + r8], r15w
jne 0x14000b230
mov word [rcx], r15w
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov edx, 0x40000000
mov rcx, r13
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14000b518
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.14000a960
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x14000b2f5
mov ebx, 0x8000
lea rcx, [0x140036e10]
cmp rdi, rbx
cmovbe ebx, edi
movsxd rsi, ebx
mov rdx, rsi
call fcn.14000a960
xor r9d, r9d
mov qword [rsp + 0x20], r15
mov r8d, ebx
lea rdx, [0x140036e10]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000b512
sub rdi, rsi
jne 0x14000b2a0
lea rsi, [0x140036600]
test rdi, rdi
jne 0x14000b4dc
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r14, [0x1400325d0]
jmp 0x14000afb0
xor r9d, r9d
mov dword [rsp + 0x20], r12d
lea r8, [rbp - 0x10]
lea rdx, str.dont_search_path
call qword [sym.imp.imagehlp.dll_MapAndLoad]
test eax, eax
je 0x14000b349
mov rax, qword [rbp + 8]
test rax, rax
je 0x14000b33f
cmp dword [rax + 0x84], 4
jbe 0x14000b33f
mov esi, dword [rax + 0xa8]
lea rcx, [rbp - 0x10]
call qword [sym.imp.imagehlp.dll_UnMapAndLoad]
mov rcx, rbx
call fcn.140012bd4
test esi, esi
je 0x14000ae5d
lea edx, [rsi - 8]
xor r9d, r9d
jmp 0x14000ae67
mov rcx, qword [0x1400325c8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.140005430
mov rcx, qword [0x1400325b0]
call fcn.140012bd4
mov rcx, qword [0x1400345d0]
call fcn.140012bd4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x140029710]
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 - 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
lea rcx, [0x140031d90]
mov rdx, rax
xor r8d, r8d
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 0x14000b53f
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
mov qword [0x1400325a0], rcx
mov dword [rsp + 0x5c], r15d
test rcx, rcx
je 0x14000b492
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x1400325a0]
lea rdx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [rsp + 0x5c]
test eax, eax
cmove ecx, r12d
mov dword [rsp + 0x5c], ecx
mov rcx, qword [0x1400325a0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1400325a0], r15
call fcn.14000ab00
mov eax, dword [rsp + 0x5c]
mov r13, qword [rsp + 0x188]
mov rdi, qword [rsp + 0x1c0]
mov rsi, qword [rsp + 0x1b8]
mov rbx, qword [rsp + 0x1b0]
mov r14, qword [rsp + 0x180]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14000b570
add rsp, 0x190
pop r15
pop r12
pop rbp
ret
call fcn.14000a900
int3
lea rcx, str.Error__couldnt_runtime_expand_temporary_directory_pattern:
call fcn.14000fcd4
lea rcx, str._TEMP_onefile__PID___TIME_
call fcn.140012cd0
call fcn.14000f634
int3
call fcn.14000a920
int3
call fcn.14000a920
int3
call fcn.14000f634
int3
call fcn.14000a8e0
int3
mov ecx, 2
call fcn.14000fb2c
mov rcx, rax
lea rdx, str.Error__failed_to_open__ls_for_writing.
mov r8, r13
call fcn.140001010
mov ecx, 2
call fcn.14000f628
int3
call fcn.14000a940
int3
call fcn.14000a920
int3
call fcn.14000a900
int3
call fcn.14000a900
int3