Function at 0x140014ce0
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
lea r14, [0x14002f0c0]
lea rdx, str._TEMP_onefile__PID___TIME_
mov r8d, 0x1000
mov rcx, r14
call fcn.140014170
test al, al
je 0x140015781
lea rcx, [0x140014b90]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x1400157ce
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 [0x14003b8d0], rax
mov bl, byte [rax]
mov dl, byte [rax + 1]
mov cl, byte [rax + 2]
add rax, 3
mov qword [0x14003b8d8], rax
cmp bl, 0x4b
jne 0x1400157b8
cmp dl, 0x41
jne 0x1400157b8
cmp cl, 0x59
jne 0x1400157b8
mov qword [0x14003b8e0], 0
mov ecx, 0x20000
call sub.msvcrt.dll_malloc
mov qword [0x14003b8f8], rax
test rax, rax
je 0x1400157e4
mov ecx, 0x274b8
call sub.msvcrt.dll_malloc
test rax, rax
je 0x1400157fa
mov rbp, 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
xor edi, edi
xor eax, eax
cpuid
xorps xmm0, xmm0
movups xmmword [rbp + 0x73d8], xmm0
movups xmmword [rbp + 0x73ec], xmm0
movups xmmword [rbp + 0x73f8], xmm0
movups xmmword [rbp + 0x73a0], xmm0
mov qword [rbp + 0x73b0], 0
test eax, eax
je 0x140014e65
cmp eax, 7
jb 0x140014e65
mov eax, 7
xor ecx, ecx
cpuid
mov edi, ebx
shr edi, 8
and edi, 1
mov dword [rbp + 0x73d0], edi
mov dword [rbp + 0x7388], 0
mov qword [rbp + 0x7410], 0x8000001
mov dword [rbp + 0x7458], 0
movabs rax, 0x100000000
mov qword [rbp + 0x738c], rax
mov qword [0x14003b910], rbp
mov byte [0x1400318c0], 1
lea r13, [0x14003b920]
movaps xmm6, xmmword [0x140025160]
jmp 0x140014ed9
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r14, [0x14002f0c0]
lea r13, [0x14003b920]
mov r9, qword [0x14003b900]
mov rdx, qword [0x14003b908]
mov r15, r13
jmp 0x140014f09
movzx eax, word [rsp + 0x80]
mov word [r15], ax
add r15, 2
test ax, ax
je 0x140015040
mov esi, 2
xor r12d, r12d
mov rax, rdx
lea rdi, [rsp + 0x80]
jmp 0x140014f62
cmp rsi, rbp
cmovb rbp, rsi
add rax, qword [0x14003b8f8]
mov rcx, rdi
mov rdx, rax
mov r8, rbp
call sub.msvcrt.dll_memcpy
add rdi, rbp
sub rsi, rbp
add rbp, qword [0x14003b908]
mov qword [0x14003b908], rbp
mov r9, qword [0x14003b900]
mov rdx, rbp
mov rax, rbp
test rsi, rsi
je 0x140014ef0
mov rbp, r9
sub rbp, rax
jne 0x140014f20
mov rbp, qword [0x14003b8f0]
mov rbx, qword [0x14003b8e8]
cmp rbp, rbx
jb 0x140014fe4
mov ecx, r12d
and cl, 1
jne 0x140014fe4
cmp rbx, rbp
jne 0x140015750
mov rbx, qword [0x14003b8d8]
mov rbp, rbx
sub rbp, qword [0x14003b8d0]
je 0x140014f5d
neg rbp
cmp rbp, 0x20003
mov ecx, 0x20003
cmovae rbp, rcx
lea rcx, [rbx + rbp]
mov qword [0x14003b8d8], rcx
mov qword [0x14003b8e0], rbx
mov qword [0x14003b8f0], 0
mov qword [0x14003b8e8], rbp
add qword [0x14003e120], rbp
jmp 0x140014f5d
movups xmmword [0x14003b900], xmm6
mov rcx, qword [0x14003b910]
lea rdx, [0x14003b8f8]
lea r8, [0x14003b8e0]
call fcn.1400110a0
cmp rax, 0xffffffffffffff89
jae 0x140015750
mov r9, qword [0x14003b908]
cmp r9, qword [0x14003b900]
sete r12b
mov qword [0x14003b900], r9
mov qword [0x14003b908], 0
xor edx, edx
xor eax, eax
jmp 0x140014f5d
cmp word [0x14003b920], 0
je 0x1400155e7
mov word [0x1400318d0], 0
movzx ebp, word [0x14002f0c0]
lea r15, [0x1400318d0]
mov rax, r15
test bp, bp
je 0x140015110
xor eax, eax
nop word cs:[rax + rax]
nop dword [rax]
cmp rax, 0x2000
je 0x140015766
mov word [rax + r15], bp
movzx ebp, word [rax + r14 + 2]
test bp, bp
je 0x1400150ee
mov word [rax + r15 + 2], bp
movzx ebp, word [rax + r14 + 4]
test bp, bp
je 0x140015109
mov word [rax + r15 + 4], bp
movzx ebp, word [rax + r14 + 6]
test bp, bp
je 0x140015274
mov word [rax + r15 + 6], bp
movzx ebp, word [rax + r14 + 8]
add rax, 8
test bp, bp
jne 0x140015080
add rax, r15
mov word [rax], 0
cmp word [0x1400318d0], 0
mov rax, r15
jne 0x140015122
jmp 0x140015148
add rax, r15
add rax, 2
mov word [rax], 0
cmp word [0x1400318d0], 0
mov rax, r15
jne 0x140015122
jmp 0x140015148
add rax, r15
add rax, 4
mov word [rax], 0
cmp word [0x1400318d0], 0
mov rax, r15
je 0x140015148
mov rbp, 0xfffffffffffff000
mov rax, r15
nop dword [rax]
add rbp, 1
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x140015130
test rbp, rbp
je 0x140015766
mov dword [rax], 0x5c
cmp word [0x1400318d0], 0
je 0x1400151a0
mov ebp, 0x1000
mov rax, r15
lea r8, [rax + 2]
add rbp, 0xffffffffffffffff
cmp word [rax + 2], 0
mov rax, r8
jne 0x140015160
movzx ebx, word [0x14003b920]
test bx, bx
jne 0x1400151b4
mov word [r8], 0
cmp word [0x1400310c0], 0
lea rcx, [0x1400310c0]
jne 0x1400152b5
jmp 0x1400151ff
mov ebp, 0x1000
mov r8, r15
movzx ebx, word [0x14003b920]
test bx, bx
je 0x14001517e
xor edi, edi
xor esi, esi
nop dword [rax + rax]
cmp rbp, rsi
je 0x140015766
mov word [r8 + rsi*2], bx
movzx ebx, word [r13 + rsi*2 + 2]
add rsi, 1
add rdi, 0xfffffffffffffffe
test bx, bx
jne 0x1400151c0
sub r8, rdi
mov word [r8], 0
cmp word [0x1400310c0], 0
lea rcx, [0x1400310c0]
jne 0x1400152b5
movzx ebp, word [0x1400318d0]
mov rax, rcx
test bp, bp
je 0x1400152b0
xor eax, eax
nop word cs:[rax + rax]
nop
cmp rax, 0x2000
je 0x140015766
mov word [rax + rcx], bp
movzx ebp, word [rax + r15 + 2]
test bp, bp
je 0x140015296
mov word [rax + rcx + 2], bp
movzx ebp, word [rax + r15 + 4]
test bp, bp
je 0x14001529f
mov word [rax + rcx + 4], bp
movzx ebp, word [rax + r15 + 6]
test bp, bp
je 0x1400152a8
mov word [rax + rcx + 6], bp
movzx ebp, word [rax + r15 + 8]
add rax, 8
test bp, bp
jne 0x140015220
add rax, rcx
jmp 0x1400152b0
add rax, r15
add rax, 6
mov word [rax], 0
cmp word [0x1400318d0], 0
mov rax, r15
jne 0x140015122
jmp 0x140015148
add rax, rcx
add rax, 2
jmp 0x1400152b0
add rax, rcx
add rax, 4
jmp 0x1400152b0
add rax, rcx
add rax, 6
nop
mov word [rax], 0
mov esi, 8
xor ebx, ebx
lea rdi, [rsp + 0x80]
jmp 0x140015310
cmp rsi, rbp
cmovb rbp, rsi
add rdx, qword [0x14003b8f8]
mov rcx, rdi
mov r8, rbp
call sub.msvcrt.dll_memcpy
add rdi, rbp
sub rsi, rbp
add rbp, qword [0x14003b908]
mov qword [0x14003b908], rbp
mov r9, qword [0x14003b900]
mov rdx, rbp
test rsi, rsi
je 0x1400153f0
mov rbp, r9
sub rbp, rdx
jne 0x1400152d0
mov rax, qword [0x14003b8f0]
mov rbp, qword [0x14003b8e8]
cmp rax, rbp
jb 0x140015391
mov ecx, ebx
and cl, 1
jne 0x140015391
cmp rbp, rax
jne 0x140015750
mov rbp, qword [0x14003b8d8]
mov rax, rbp
sub rax, qword [0x14003b8d0]
je 0x140015307
neg rax
cmp rax, 0x20003
mov ecx, 0x20003
cmovae rax, rcx
lea rcx, [rbp + rax]
mov qword [0x14003b8d8], rcx
mov qword [0x14003b8e0], rbp
mov qword [0x14003b8f0], 0
mov qword [0x14003b8e8], rax
add qword [0x14003e120], rax
jmp 0x140015307
movups xmmword [0x14003b900], xmm6
mov rcx, qword [0x14003b910]
lea rdx, [0x14003b8f8]
lea r8, [0x14003b8e0]
call fcn.1400110a0
cmp rax, 0xffffffffffffff89
jae 0x140015750
mov r9, qword [0x14003b908]
cmp r9, qword [0x14003b900]
sete bl
mov qword [0x14003b900], r9
mov qword [0x14003b908], 0
xor edx, edx
jmp 0x140015307
mov r13, qword [rsp + 0x80]
mov rcx, r15
call fcn.140015870
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
mov rcx, r15
mov edx, 0x40000000
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x60], rax
cmp rax, 0xffffffffffffffff
je 0x14001578d
test r13, r13
je 0x140014ec0
nop dword [rax + rax]
cmp r13, 0x8000
mov ebp, 0x8000
cmovb rbp, r13
mov rax, qword [0x14003b900]
mov rdx, qword [0x14003b908]
xor r14d, r14d
lea r12, [0x1400338d0]
mov rsi, rbp
jmp 0x1400154c0
cmp rsi, r15
cmovb r15, rsi
add rdx, qword [0x14003b8f8]
mov rcx, r12
mov r8, r15
call sub.msvcrt.dll_memcpy
add r12, r15
sub rsi, r15
add r15, qword [0x14003b908]
mov qword [0x14003b908], r15
mov rax, qword [0x14003b900]
mov rdx, r15
test rsi, rsi
je 0x1400155a0
mov r15, rax
sub r15, rdx
jne 0x140015480
mov rcx, qword [0x14003b8f0]
mov rdi, qword [0x14003b8e8]
cmp rcx, rdi
jb 0x140015542
mov ebx, r14d
and bl, 1
jne 0x140015542
cmp rdi, rcx
jne 0x140015750
mov rdi, qword [0x14003b8d8]
mov rcx, rdi
sub rcx, qword [0x14003b8d0]
je 0x1400154b7
neg rcx
cmp rcx, 0x20003
mov ebx, 0x20003
cmovae rcx, rbx
lea rbx, [rdi + rcx]
mov qword [0x14003b8d8], rbx
mov qword [0x14003b8e0], rdi
mov qword [0x14003b8f0], 0
mov qword [0x14003b8e8], rcx
add qword [0x14003e120], rcx
jmp 0x1400154b7
movups xmmword [0x14003b900], xmm6
mov rcx, qword [0x14003b910]
lea rdx, [0x14003b8f8]
lea r8, [0x14003b8e0]
call fcn.1400110a0
cmp rax, 0xffffffffffffff89
jae 0x140015750
mov rax, qword [0x14003b908]
cmp rax, qword [0x14003b900]
sete r14b
mov qword [0x14003b900], rax
mov qword [0x14003b908], 0
xor edx, edx
jmp 0x1400154b7
mov dword [rsp + 0x80], 0
mov qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x60]
lea rdx, [0x1400338d0]
mov r8d, ebp
lea r9, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14001576b
sub r13, rbp
jne 0x140015450
jmp 0x140014ec0
mov rcx, qword [0x14003b910]
call fcn.14000bed0
mov rcx, qword [0x14003b8f8]
call sub.msvcrt.dll_free
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x140025fe2]
lea rsi, [rsp + 0x80]
mov edx, pe_nt_image_headers64
mov rcx, rsi
mov r9d, eax
call fcn.140014820
lea rcx, str.NUITKA_ONEFILE_PARENT
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
mov qword [rsp + 0xe0], 0
mov dword [rsp + 0x80], 0x68
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rcx, [rsp + 0x68]
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, [0x1400310c0]
mov rdx, rax
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14001581b
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
mov qword [0x14002f0a8], rcx
mov dword [rsp + 0x5c], 0
test rcx, rcx
je 0x14001572b
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x14002f0a8]
lea rdx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x140015713
mov dword [rsp + 0x5c], 1
mov rcx, qword [0x14002f0a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14002f0a8], 0
call fcn.140014bb0
mov eax, dword [rsp + 0x5c]
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
lea rcx, str.Error__couldnt_decode_attached_data.
call sub.msvcrt.dll_puts
mov ecx, 2
call sub.msvcrt.dll_exit
call sub.msvcrt.dll_abort
lea rcx, str.Error__couldnt_runtime_expand_target_path.
call sub.msvcrt.dll_puts
mov ecx, 2
call sub.msvcrt.dll_exit
lea rcx, str._TEMP_onefile__PID___TIME_
call fcn.140015840
mov ecx, 2
call qword [fcn.140022f30]
lea rdx, str.Error__failed_to_open__ls_for_writing._n
lea r8, [0x1400318d0]
mov rcx, rax
call fcn.140014b60
mov ecx, 2
call sub.msvcrt.dll_exit
lea rcx, str.Error__could_find_attached_data_header.
call sub.msvcrt.dll_puts
mov ecx, 2
call sub.msvcrt.dll_exit
lea rcx, str.Error__failed_to_register_signal_handler.
call sub.msvcrt.dll_puts
mov ecx, 2
call sub.msvcrt.dll_exit
lea rcx, str.Error__couldnt_allocate_memory.
call sub.msvcrt.dll_puts
mov ecx, 2
call sub.msvcrt.dll_exit
mov qword [0x14003b910], 0
lea rcx, str.Error__couldnt_allocate_memory.
call sub.msvcrt.dll_puts
mov ecx, 2
call sub.msvcrt.dll_exit
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Error__couldnt_launch_child
mov edx, eax
call fcn.140014af0
mov ecx, 2
call sub.msvcrt.dll_exit
int3