Function at 0x140010730
Capabilities:
Accept command line arguments
Set environment variable
Write and execute a file
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x138
movaps xmmword [rsp + 0x120], xmm6
movdqa xmm6, xmmword [0x140020280]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x58], rax
mov rsi, qword [0x1400300e0]
lea r12, [0x14002f8c0]
nop
mov rbx, qword [0x1400300d8]
mov r14, qword [rsp + 0x58]
xor ebp, ebp
mov r13d, 2
nop dword [rax]
mov r8, rbx
sub r8, rsi
jne 0x1400107f8
mov rcx, qword [0x140030100]
mov rdx, qword [0x1400300f8]
cmp rcx, rdx
setb al
or bpl, al
je 0x140010850
mov rcx, qword [0x1400300c8]
movups xmmword [0x1400300d8], xmm6
call fcn.14000f4b0
mov rbx, qword [0x1400300e0]
cmp qword [0x1400300d8], rbx
sete bpl
cmp rax, 0xffffffffffffff88
ja 0x140010d3e
xor esi, esi
mov r8, rbx
mov qword [0x1400300d8], rbx
mov qword [0x1400300e0], 0
sub r8, rsi
je 0x140010790
cmp r8, r13
mov r15, r8
mov rdx, qword [0x1400300d0]
mov rcx, r14
cmova r15, r13
lea rdi, [0x1400300d0]
add rdx, rsi
mov r8, r15
add rsi, r15
add r14, r15
call sub.msvcrt.dll_memcpy
mov qword [0x1400300e0], rsi
sub r13, r15
jne 0x140010788
movzx eax, word [rsp + 0x80]
mov word [r12], ax
test ax, ax
je 0x1400108af
add r12, 2
jmp 0x140010770
cmp rcx, rdx
jne 0x140010d3e
mov rdx, qword [0x140030110]
mov rax, rdx
sub rax, qword [0x1400300c0]
neg rax
je 0x140010788
mov ecx, 0x20003
mov qword [0x1400300f0], rdx
mov qword [0x140030100], 0
cmp rax, rcx
cmova rax, rcx
add qword [0x1400270a0], rax
lea rcx, [rdx + rax]
mov qword [0x1400300f8], rax
mov qword [0x140030110], rcx
jmp 0x140010788
lea rax, [0x14002f8c0]
movzx ecx, word [rax]
test cx, cx
je 0x140010d6f
movzx edx, word [0x140030120]
lea r13, [0x1400250a0]
xor r9d, r9d
lea r8, [0x140030120]
mov word [0x1400250a0], r9w
mov rax, r13
lea r9, [r13 + 0x2000]
test dx, dx
jne 0x140010901
jmp 0x140010915
cmp rax, r9
je 0x14001d188
add r8, 2
mov word [rax], dx
add rax, 2
movzx edx, word [r8]
test dx, dx
jne 0x1400108f8
xor r8d, r8d
mov word [rax], r8w
cmp word [0x1400250a0], 0
je 0x140010d43
mov edx, 0x1000
lea rax, [0x1400250a0]
nop word cs:[rax + rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x140010940
test rdx, rdx
je 0x140011062
mov dword [rax], 0x5c
cmp word [0x1400250a0], 0
je 0x140010d5e
mov edx, 0x1000
lea rax, [0x1400250a0]
nop word [rax + rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x140010980
test rdx, rdx
je 0x14001105d
lea r8, [0x14002f8c0]
jmp 0x1400109a9
test rdx, rdx
je 0x140011058
add r8, 2
mov word [rax], cx
add rax, 2
sub rdx, 1
movzx ecx, word [r8]
test cx, cx
jne 0x1400109a0
xor edx, edx
cmp word [0x14002f0c0], 0
mov word [rax], dx
je 0x140010cef
lea rax, [rsp + 0xa0]
mov rbx, qword [0x1400300d8]
xor r15d, r15d
mov ebp, 8
mov qword [rsp + 0x68], rax
mov rsi, qword [0x1400300e0]
mov r12, rax
nop word [rax + rax]
mov rax, rbx
sub rax, rsi
jne 0x140010a70
mov rcx, qword [0x140030100]
mov rdx, qword [0x1400300f8]
cmp rcx, rdx
setb al
or r15b, al
je 0x140010c90
mov rcx, qword [0x1400300c8]
movups xmmword [0x1400300d8], xmm6
call fcn.14000f4b0
mov rbx, qword [0x1400300e0]
cmp qword [0x1400300d8], rbx
sete r15b
cmp rax, 0xffffffffffffff88
ja 0x140010d3e
xor esi, esi
mov rax, rbx
mov qword [0x1400300d8], rbx
mov qword [0x1400300e0], 0
sub rax, rsi
je 0x140010a08
cmp rax, rbp
mov rdx, qword [rdi]
mov rcx, r12
cmova rax, rbp
add rdx, rsi
mov r14, rax
mov r8, rax
call sub.msvcrt.dll_memcpy
add rsi, r14
add r12, r14
mov qword [0x1400300e0], rsi
sub rbp, r14
jne 0x140010a00
mov r12, qword [rsp + 0xa0]
call fcn.140011de0
xor r9d, r9d
mov edx, 0x40000000
mov rcx, r13
mov qword [rsp + 0x30], 0
mov r8d, 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x60], rax
cmp rax, 0xffffffffffffffff
je 0x140011016
test r12, r12
je 0x140010c12
nop word cs:[rax + rax]
mov r13d, 0x8000
mov rbx, qword [0x1400300d8]
mov r15, qword [0x1400300e0]
lea rbp, [0x1400270c0]
cmp r12, r13
cmovbe r13, r12
xor r14d, r14d
mov qword [rsp + 0x50], r13
mov rsi, r13
nop dword [rax]
mov r8, rbx
sub r8, r15
jne 0x140010ba1
mov rcx, qword [0x140030100]
mov rdx, qword [0x1400300f8]
cmp rcx, rdx
setb al
or r14b, al
je 0x140010c28
mov rcx, qword [0x1400300c8]
movups xmmword [0x1400300d8], xmm6
call fcn.14000f4b0
mov rbx, qword [0x1400300e0]
cmp qword [0x1400300d8], rbx
sete r14b
cmp rax, 0xffffffffffffff88
ja 0x140010d3e
xor r15d, r15d
mov r8, rbx
mov qword [0x1400300d8], rbx
mov qword [0x1400300e0], 0
sub r8, r15
je 0x140010b38
cmp r8, rsi
mov rdx, qword [rdi]
mov rcx, rbp
cmova r8, rsi
add rdx, r15
mov r13, r8
call sub.msvcrt.dll_memcpy
add r15, r13
add rbp, r13
mov qword [0x1400300e0], r15
sub rsi, r13
jne 0x140010b30
mov dword [rsp + 0xa0], 0
mov r9, qword [rsp + 0x68]
lea rdx, [0x1400270c0]
mov qword [rsp + 0x20], 0
mov r8d, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140010f65
sub r12, qword [rsp + 0x50]
jne 0x140010b00
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140010760
cmp rcx, rdx
jne 0x140010d3e
mov rdx, qword [0x140030110]
mov rax, rdx
sub rax, qword [0x1400300c0]
neg rax
je 0x140010b30
mov ecx, 0x20003
mov qword [0x1400300f0], rdx
mov qword [0x140030100], 0
cmp rax, rcx
cmova rax, rcx
add qword [0x1400270a0], rax
lea rcx, [rdx + rax]
mov qword [0x1400300f8], rax
mov qword [0x140030110], rcx
jmp 0x140010b30
cmp rcx, rdx
jne 0x140010d3e
mov rdx, qword [0x140030110]
mov rax, rdx
sub rax, qword [0x1400300c0]
neg rax
je 0x140010a00
mov ecx, 0x20003
mov qword [0x1400300f0], rdx
mov qword [0x140030100], 0
cmp rax, rcx
cmova rax, rcx
add qword [0x1400270a0], rax
lea rcx, [rdx + rax]
mov qword [0x1400300f8], rax
mov qword [0x140030110], rcx
jmp 0x140010a00
movzx ecx, word [0x1400250a0]
lea rax, [0x1400250a0]
lea rdx, [0x14002f0c0]
lea r8, [rax + 0x2000]
test cx, cx
jne 0x140010d21
jmp 0x140010d34
cmp rax, r8
je 0x14001d188
add rax, 2
mov word [rdx], cx
add rdx, 2
movzx ecx, word [rax]
test cx, cx
jne 0x140010d18
xor eax, eax
mov word [rdx], ax
jmp 0x1400109d4
call fcn.140009560
lea rax, [0x1400250a0]
mov dword [rax], 0x5c
cmp word [0x1400250a0], 0
jne 0x14001096b
lea rax, [0x1400250a0]
mov edx, 0x1000
jmp 0x140010997
mov r12, qword [0x1400300c8]
test r12, r12
je 0x140010e28
cmp qword [r12 + 0x73c8], 0
jne 0x140010e28
mov r13, qword [r12 + 0x73d8]
mov rbx, qword [r12 + 0x73a8]
mov r14, qword [r12 + 0x73b0]
test r13, r13
je 0x140010ddc
mov rdx, qword [r13]
mov rsi, qword [r13 + 0x6ac8]
mov r15, qword [r13 + 0x6ad0]
test rdx, rdx
je 0x140011000
test rsi, rsi
je 0x14001104e
mov rcx, r15
call rsi
mov rdx, r13
mov rcx, r15
call rsi
mov rdx, qword [r12 + 0x73f8]
pxor xmm0, xmm0
mov dword [r12 + 0x73f0], 0
movups xmmword [r12 + 0x73d8], xmm0
test rdx, rdx
je 0x140010f71
test rbx, rbx
je 0x140011041
mov rcx, r14
call rbx
mov qword [r12 + 0x73f8], 0
mov rdx, r12
mov rcx, r14
call rbx
mov rcx, qword [0x1400300d0]
lea rbp, [rsp + 0xa0]
mov rdi, rbp
call sub.msvcrt.dll_free
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x14001f31a]
mov edx, pe_nt_image_headers64
mov rcx, rbp
mov r9d, eax
call fcn.140001a50
mov rdx, rbp
lea rcx, str.NUITKA_ONEFILE_PARENT
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
xor eax, eax
mov ecx, 0xd
rep stosq qword [rdi], rax
mov dword [rsp + 0xa0], 0x68
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x40], rbp
mov rdx, rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], 0
lea rcx, [0x14002f0c0]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140010f87
mov rcx, qword [rsp + 0x88]
mov rbx, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rbx
mov rcx, qword [rsp + 0x80]
mov dword [rsp + 0x78], 0
mov qword [0x1400270a8], rcx
test rcx, rcx
je 0x140010f40
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x1400270a8]
lea rdx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x140010f2c
mov dword [rsp + 0x78], 1
mov rcx, qword [0x1400270a8]
call rbx
mov qword [0x1400270a8], 0
call fcn.1400095b0
mov eax, dword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x120]
add rsp, 0x138
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.Error__couldnt_runtime_expand_target_path.
call fcn.140009540
test rbx, rbx
jne 0x140010e20
mov rcx, r12
call sub.msvcrt.dll_free
jmp 0x140010e28
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 0x409
xor edx, edx
mov ecx, 0x1300
mov ebx, eax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], 0
mov r8d, ebx
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov rsi, qword [rsp + 0x78]
mov ecx, 2
call qword [fcn.14001c7e0]
mov r9d, ebx
lea r8, str.Error__couldnt_launch_child
lea rdx, str._s___Error__d___s__n
mov qword [rsp + 0x20], rsi
mov rcx, rax
call fcn.140001a20
mov ecx, 2
call sub.msvcrt.dll_exit
nop dword [rax + rax]
test rsi, rsi
jne 0x140010dd4
mov rcx, r13
call sub.msvcrt.dll_free
jmp 0x140010ddc
mov ecx, 2
call qword [fcn.14001c7e0]
lea r8, [0x1400250a0]
lea rdx, str.Error__failed_to_open__ls_for_writing._n
mov rcx, rax
call fcn.140001a20
mov ecx, 2
call sub.msvcrt.dll_exit
mov rcx, rdx
call sub.msvcrt.dll_free
jmp 0x140010f7a
mov rcx, rdx
call sub.msvcrt.dll_free
jmp 0x140011009
jmp 0x14001d188
jmp 0x14001d188
jmp 0x14001d188
push r12
push rbx
sub rsp, 0x28
lea r12, str._TEMP_onefile__PID___TIME_
mov r8d, 0x1000
lea rcx, [0x140030120]
mov rdx, r12
call fcn.140008ed0
test al, al
je 0x1400113c0
mov edx, 1
lea rcx, [0x140009710]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x1400113d4
mov r8d, 0xa
xor ecx, ecx
mov edx, 0x1b
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]
lea rcx, [rax + 3]
cmp byte [rax + 1], 0x41
mov qword [0x1400300c0], rax
movzx edx, byte [rax]
movzx r8d, byte [rax + 2]
mov qword [0x140030110], rcx
jne 0x1400113c8
cmp dl, 0x4b
jne 0x1400113c8
cmp r8b, 0x59
jne 0x1400113c8
mov qword [0x1400300f0], 0
mov ecx, 0x20000
call sub.msvcrt.dll_malloc
mov qword [0x1400300d0], rax
test rax, rax
je 0x1400113ab
mov ecx, 0x274b8
call sub.msvcrt.dll_malloc
mov r8, rax
test rax, rax
je 0x1400113a0
mov qword [rax + 0x73b0], 0
pxor xmm0, xmm0
mov qword [rax + 0x73c8], 0
mov qword [rax + 0x72d8], 0
mov qword [rax + 0x73ec], 0
mov qword [rax + 0x73f8], 0
mov qword [rax + 0x7400], 0
mov qword [rax + 0x7420], 0
mov dword [rax + 0x73f4], 0
mov qword [rax + 0x7440], 0
mov dword [rax + 0x7448], 0
mov dword [rax + 0x7454], 0
mov qword [rax + 0x274b0], 0
movups xmmword [rax + 0x73a0], xmm0
movups xmmword [rax + 0x73d8], xmm0
xor eax, eax
cpuid
xor ecx, ecx
cmp eax, 6
jbe 0x14001134b
mov eax, 7
cpuid
shr ebx, 8
mov ecx, ebx
and ecx, 1
mov dword [r8 + 0x73d0], ecx
mov qword [r8 + 0x7410], 0x8000001
mov dword [r8 + 0x7458], 0
mov qword [r8 + 0x7388], 0
mov dword [r8 + 0x7390], 1
mov qword [0x1400300c8], r8
mov byte [0x140030108], 1
add rsp, 0x28
pop rbx
pop r12
jmp 0x140010730
mov qword [0x1400300c8], 0
lea rcx, str.Error__couldnt_allocate_memory.
call fcn.140009540
nop word [rax + rax]
mov rcx, r12
call fcn.140009580
lea rcx, str.Error__could_find_attached_data_header.
call fcn.140009540
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.140009540
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call sub.msvcrt.dll_abort
nop
nop
nop