Function at 0x14000ac50
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
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x14002c008]
xor rax, rsp
mov qword [rbp + 0x70], rax
call fcn.14000a4b0
test al, al
je 0x14000b47f
mov qword [rsp + 0x188], r14
lea rcx, [0x14000ac20]
mov qword [rsp + 0x180], r15
mov r15d, 1
mov edx, r15d
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
jne 0x14000acf7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x50]
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov r8d, eax
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], rcx
mov r9d, 0x400
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.14000fb4c
mov rcx, qword [rsp + 0x50]
call fcn.14000fb4c
mov eax, r15d
jmp 0x14000b454
mov r8d, 0x1000
mov qword [rsp + 0x1b8], rsi
lea rdx, [0x14003cdf0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000b479
xor r14d, r14d
lea rcx, [0x14003cdf0]
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov dword [rsp + 0x28], r14d
mov r8d, r15d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1400325b8], rax
cmp rax, 0xffffffffffffffff
jne 0x14000ada4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x30], r14
xor edx, edx
mov r8d, eax
mov dword [rsp + 0x28], r14d
lea rax, [rsp + 0x50]
mov ecx, 0x1300
mov r9d, 0x400
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
lea rcx, str.Error__failed_to_access_unpacked_executable.
call fcn.14000fb4c
mov rcx, qword [rsp + 0x50]
call fcn.14000fb4c
mov eax, r15d
jmp 0x14000b44c
mov r8d, 0x1000
lea rdx, [0x14003cdf0]
xor ecx, ecx
mov esi, r14d
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000b479
mov qword [rsp + 0x1b0], rbx
lea rcx, [0x14003cdf0]
xor r8d, r8d
mov qword [rsp + 0x1c0], rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov edi, eax
lea ecx, [rax + 1]
add rcx, rcx
call fcn.1400122fc
mov rbx, rax
test rax, rax
je 0x14000b485
mov r8d, edi
lea rcx, [0x14003cdf0]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x14000ae79
mov r9, rbx
mov qword [rsp + 0x20], 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x50]
xor edx, edx
call fcn.1400122dc
test eax, eax
jne 0x14000ae79
mov rcx, qword [rsp + 0x50]
call fcn.1400122fc
mov rdi, rax
test rax, rax
je 0x14000b48b
mov r8, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
mov r9, rbx
mov qword [rsp + 0x20], 0xffffffffffffffff
mov rdx, rax
call fcn.1400122dc
test eax, eax
je 0x14000b290
mov rcx, rdi
call fcn.140011e84
mov rcx, rbx
call fcn.140011e84
mov r9d, 2
lea edx, [r9 - 0xa]
mov rcx, qword [0x1400325b8]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov qword [rsp + 0x198], r12
mov qword [rsp + 0x190], r13
cmp eax, 0xffffffff
je 0x14000b4bb
mov rcx, qword [0x1400325b8]
mov r9d, r15d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, qword [0x1400325b8]
lea r9, [rsp + 0x50]
mov eax, eax
lea rdx, [rsp + 0x60]
mov r8d, 8
mov qword [0x1400345d8], rax
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000b4b5
cmp dword [rsp + 0x50], 8
jne 0x14000b4b5
mov rdx, qword [0x1400345d8]
xor r9d, r9d
sub rdx, qword [rsp + 0x60]
xor r8d, r8d
mov rcx, qword [0x1400325b8]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x14000b4bb
mov rcx, qword [0x1400325b8]
lea r9, [rsp + 0x50]
mov r8d, 3
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000b4af
cmp dword [rsp + 0x50], 3
jne 0x14000b4af
cmp byte [rsp + 0x58], 0x4b
jne 0x14000b4bb
cmp byte [rsp + 0x59], 0x41
jne 0x14000b4bb
cmp byte [rsp + 0x5a], 0x59
jne 0x14000b4bb
mov ecx, 0x20003
call fcn.1400122fc
mov qword [0x1400325a0], rax
test rax, rax
je 0x14000b4a9
mov ecx, 0x20000
call fcn.1400122fc
mov qword [0x1400345c0], rax
test rax, rax
je 0x14000b4a9
call fcn.1400052d0
mov qword [0x140032598], rax
test rax, rax
je 0x14000b4a9
mov byte [0x1400345e0], r15b
lea r12, [0x14002dd80]
mov esi, 0x5c
lea r13, [0x14002fd80]
lea r15, [0x14003c5f0]
mov edx, 2
lea rcx, [rsp + 0x50]
mov rbx, r15
lea rdi, [0x140031d80]
call fcn.14000a990
movzx eax, word [rsp + 0x50]
mov word [0x14003c5f0], ax
test ax, ax
je 0x14000b2f5
nop dword [rax]
mov edx, 2
lea rcx, [rsp + 0x50]
lea rbx, [rbx + 2]
call fcn.14000a990
movzx eax, word [rsp + 0x50]
mov word [rbx], ax
test ax, ax
jne 0x14000b020
cmp word [0x14003c5f0], r14w
je 0x14000b2f5
cmp word [0x1400325c0], r14w
mov edx, 0x1000
mov word [0x14002dd80], r14w
mov rcx, r12
je 0x14000b092
lea r8, [0x1400325c0]
sub r8, r12
cmp rdx, 1
jb 0x14000b49d
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], r14w
jne 0x14000b072
mov word [rcx], r14w
mov rax, r12
cmp word [0x14002dd80], r14w
mov ecx, 0x1000
je 0x14000b0c7
nop dword [rax + rax]
add rax, 2
dec rcx
cmp word [rax], r14w
jne 0x14000b0b0
cmp rcx, 1
jb 0x14000b49d
mov dword [rax], 0x5c
mov edx, 0x1000
cmp word [0x14002dd80], r14w
mov rax, r12
je 0x14000b0ed
nop
add rax, 2
dec rdx
cmp word [rax], r14w
jne 0x14000b0e0
mov r8, r15
sub r8, rax
cmp rdx, 1
jb 0x14000b49d
movzx ecx, word [r8 + rax]
dec rdx
mov word [rax], cx
add rax, 2
cmp word [r8 + rax], r14w
jne 0x14000b0f3
cmp word [0x140031d80], r14w
mov word [rax], r14w
jne 0x14000b164
cmp word [0x14002dd80], r14w
mov edx, 0x1000
mov rcx, rdi
je 0x14000b160
mov r8, r12
sub r8, rdi
nop dword [rax]
cmp rdx, 1
jb 0x14000b49d
movzx eax, word [rcx + r8]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [rcx + r8], r14w
jne 0x14000b140
mov word [rcx], r14w
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.14000a990
cmp word [0x14002dd80], r14w
mov edx, 0x1000
mov rdi, qword [rsp + 0x60]
mov rcx, r13
mov word [0x14002fd80], r14w
je 0x14000b1c0
mov r8, r12
sub r8, r13
nop dword [rax + rax]
cmp rdx, 1
jb 0x14000b49d
movzx eax, word [rcx + r8]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [rcx + r8], r14w
jne 0x14000b1a0
mov word [rcx], r14w
mov rbx, r13
movzx eax, word [0x14002fd80]
test ax, ax
je 0x14000b1f8
cmp ax, 0x5c
jne 0x14000b1eb
xor edx, edx
mov word [rbx], r14w
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov word [rbx], si
movzx eax, word [rbx + 2]
add rbx, 2
test ax, ax
jne 0x14000b1d3
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov edx, 0x40000000
mov rcx, r12
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x14000b497
test rdi, rdi
je 0x14000b282
mov ebx, 0x8000
lea rcx, [0x1400345f0]
cmp rdi, rbx
cmovbe ebx, edi
movsxd rsi, ebx
mov rdx, rsi
call fcn.14000a990
xor r9d, r9d
mov qword [rsp + 0x20], r14
mov r8d, ebx
lea rdx, [0x1400345f0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000b491
sub rdi, rsi
jne 0x14000b231
lea esi, [rdi + 0x5c]
test rdi, rdi
jne 0x14000b4af
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000afe8
mov rcx, rbx
call fcn.140011e84
xor r9d, r9d
mov dword [rsp + 0x20], r15d
lea r8, [rbp - 0x10]
mov rcx, rdi
lea rdx, str.dont_search_path
call qword [sym.imp.imagehlp.dll_MapAndLoad]
test eax, eax
je 0x14000b2da
mov rax, qword [rbp + 8]
test rax, rax
je 0x14000b2d0
cmp dword [rax + 0x84], 4
jbe 0x14000b2d0
mov esi, dword [rax + 0xa8]
lea rcx, [rbp - 0x10]
call qword [sym.imp.imagehlp.dll_UnMapAndLoad]
mov rcx, rdi
call fcn.140011e84
test esi, esi
je 0x14000ae81
lea edx, [rsi - 8]
xor r9d, r9d
jmp 0x14000ae8b
mov rcx, qword [0x1400325b8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.1400053e0
mov rcx, qword [0x1400325a0]
call fcn.140011e84
mov rcx, qword [0x1400345c0]
call fcn.140011e84
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x140028900]
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
xor r8d, r8d
mov rdx, rax
mov rcx, rdi
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000b4a3
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
mov qword [0x140032590], rcx
mov dword [rsp + 0x5c], r14d
test rcx, rcx
je 0x14000b423
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x140032590]
lea rdx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [rsp + 0x5c]
test eax, eax
mov eax, 1
cmove ecx, eax
mov dword [rsp + 0x5c], ecx
mov rcx, qword [0x140032590]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140032590], r14
call fcn.14000ab30
mov eax, dword [rsp + 0x5c]
mov r13, qword [rsp + 0x190]
mov r12, qword [rsp + 0x198]
mov rdi, qword [rsp + 0x1c0]
mov rbx, qword [rsp + 0x1b0]
mov rsi, qword [rsp + 0x1b8]
mov r14, qword [rsp + 0x188]
mov r15, qword [rsp + 0x180]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14000b4e0
add rsp, 0x1a0
pop rbp
ret
call fcn.14000f578
int3
call fcn.14000a960
int3
call fcn.14000a8f0
int3
call fcn.14000a8f0
int3
call fcn.14000a870
int3
call fcn.14000a930
int3
call fcn.14000f578
int3
call fcn.14000a910
int3
call fcn.14000a8f0
int3
call fcn.14000a8d0
int3
call fcn.14000a8d0
int3
call fcn.14000a8b0
int3