Function at 0x14000b950
Capabilities:
Accept command line arguments
Create process on windows
Extract resource via kernel32 functions
Get common file path
Write and execute a file
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [r11 - 0xcc8]
sub rsp, 0xda0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xc90], rax
movzx ecx, word [str.TEMPonefile_PID_TIME]
lea r13, str.TEMPonefile_PID_TIME
xor edi, edi
mov qword [r11 + 8], r12
mov word [0x140032610], di
lea rsi, [0x140032610]
mov eax, edi
mov r15d, 0x1000
mov r14d, 0x80
cmp cx, 0x7b
jne 0x14000b9cb
lea rax, [rbp + 0x490]
mov word [rbp + 0x490], di
jmp 0x14000beeb
movzx ecx, word [r13]
cmp cx, 0x7d
jne 0x14000bec6
lea rdx, [0x1400296c8]
mov word [rax], di
lea rcx, [rbp + 0x490]
xor r12b, r12b
call fcn.1400144c0
test eax, eax
jne 0x14000ba0b
mov rdx, rsi
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov r12b, 1
jmp 0x14000be84
lea rdx, [0x1400296d8]
lea rcx, [rbp + 0x490]
call fcn.1400144c0
test eax, eax
jne 0x14000ba7d
mov rbx, r15
call fcn.140010214
cmp word [rsi], 0
mov rcx, qword [rax]
mov rax, rsi
mov rdx, qword [rcx]
je 0x14000ba4d
nop dword [rax]
add rax, 2
dec rbx
cmp word [rax], 0
jne 0x14000ba40
movzx ecx, word [rdx]
test cx, cx
je 0x14000ba75
cmp rbx, 1
jb 0x14000c48e
add rdx, 2
mov word [rax], cx
add rax, 2
dec rbx
movzx ecx, word [rdx]
test cx, cx
jne 0x14000ba55
mov word [rax], di
jmp 0x14000be84
lea rdx, str.PROGRAM_BASE
lea rcx, [rbp + 0x490]
call fcn.1400144c0
test eax, eax
jne 0x14000bb09
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x14000baa0
mov r8, r15
lea rdx, str.PROGRAM
sub r8, rax
mov rcx, rsi
call fcn.14000a720
test al, al
je 0x14000c46e
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rsi + rax*2], 0
jne 0x14000bad0
cmp rax, 4
jb 0x14000be84
lea rbx, [rsi + rax*2]
lea rcx, [rbx - 8]
lea rdx, str..exe
call fcn.1400144c0
test eax, eax
jne 0x14000be84
mov word [rbx - 8], di
jmp 0x14000be84
lea rdx, [0x140029738]
lea rcx, [rbp + 0x490]
call fcn.1400144c0
test eax, eax
jne 0x14000bbe1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x1400296c4]
mov rdx, r14
mov r9d, eax
lea rcx, [rbp + 0x10]
call fcn.140001060
cmp word [rsi], 0
lea r14, [rbp + 0x10]
mov rdi, r15
mov rbx, rsi
je 0x14000bb5d
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000bb50
movzx edx, byte [rbp + 0x10]
test dl, dl
je 0x14000be7c
nop dword [rax]
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x14000bb8d
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x14000bb80
cmp rcx, 1
jb 0x14000c488
mov rcx, 0xffffffffffffffff
nop
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x14000bba0
mov byte [rsp + 0x50], dl
lea rcx, [rax + rcx*2]
lea rdx, [rsp + 0x50]
mov byte [rsp + 0x51], r12b
mov r8d, 2
call fcn.14000ffa0
movzx edx, byte [r14 + 1]
inc r14
add rbx, 2
dec rdi
test dl, dl
jne 0x14000bb70
jmp 0x14000be7c
lea rdx, [0x140029740]
lea rcx, [rbp + 0x490]
call fcn.1400144c0
test eax, eax
jne 0x14000bbff
mov edx, 0x28
jmp 0x14000bc1b
lea rdx, str.CACHE_DIR
lea rcx, [rbp + 0x490]
call fcn.1400144c0
test eax, eax
jne 0x14000bc36
mov edx, 0x1c
mov r8, r15
mov rcx, rsi
call fcn.14000a660
test al, al
je 0x14000c46e
mov r12b, 1
jmp 0x14000be84
lea rdx, str.COMPANY
lea rcx, [rbp + 0x490]
call fcn.1400144c0
test eax, eax
jne 0x14000bca9
mov rdx, r15
mov rcx, rsi
cmp word [rsi], ax
je 0x14000bc6d
nop dword [rax + rax]
add rcx, 2
dec rdx
cmp word [rcx], 0
jne 0x14000bc60
lea r8, [0x140029778]
sub r8, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x14000c48e
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], 0
jne 0x14000bc80
mov word [rcx], di
jmp 0x14000be84
lea rdx, str.PRODUCT
lea rcx, [rbp + 0x490]
call fcn.1400144c0
test eax, eax
jne 0x14000bd19
mov rdx, r15
mov rcx, rsi
cmp word [rsi], ax
je 0x14000bcdd
nop dword [rax + rax]
add rcx, 2
dec rdx
cmp word [rcx], 0
jne 0x14000bcd0
lea r8, [0x140029778]
sub r8, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x14000c48e
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], 0
jne 0x14000bcf0
mov word [rcx], di
jmp 0x14000be84
lea rdx, str.VERSION
lea rcx, [rbp + 0x490]
call fcn.1400144c0
test eax, eax
jne 0x14000bd89
mov rdx, r15
mov rcx, rsi
cmp word [rsi], ax
je 0x14000bd4d
nop dword [rax + rax]
add rcx, 2
dec rdx
cmp word [rcx], 0
jne 0x14000bd40
lea r8, str.3.9.4
sub r8, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x14000c48e
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], 0
jne 0x14000bd60
mov word [rcx], di
jmp 0x14000be84
lea rdx, str.TIME
lea rcx, [rbp + 0x490]
call fcn.1400144c0
test eax, eax
jne 0x14000c46e
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], rdi
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov r9, qword [rsp + 0x60]
lea r8, str._lld
mov edx, 0x400
lea rcx, [rbp + 0x90]
call fcn.140001060
cmp word [rsi], 0
lea r14, [rbp + 0x90]
mov rdi, r15
mov rbx, rsi
je 0x14000bdfd
nop dword [rax]
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000bdf0
movzx edx, byte [rbp + 0x90]
test dl, dl
je 0x14000be7c
nop dword [rax + rax]
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x14000be2d
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x14000be20
cmp rcx, 1
jb 0x14000c494
mov rcx, 0xffffffffffffffff
nop
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x14000be40
mov byte [rsp + 0x54], dl
lea rcx, [rax + rcx*2]
lea rdx, [rsp + 0x54]
mov byte [rsp + 0x55], r12b
mov r8d, 2
call fcn.14000ffa0
movzx edx, byte [r14 + 1]
inc r14
add rbx, 2
dec rdi
test dl, dl
jne 0x14000be10
mov r14d, 0x80
xor edi, edi
cmp word [rsi], 0
je 0x14000be9d
nop word [rax + rax]
add rsi, 2
dec r15
cmp word [rsi], 0
jne 0x14000be90
test r12b, r12b
je 0x14000bec1
cmp word [rsi - 2], 0x5c
jne 0x14000bec1
nop dword [rax]
sub rsi, 2
inc r15
mov word [rsi], di
cmp word [rsi - 2], 0x5c
je 0x14000beb0
mov rax, rdi
jmp 0x14000beeb
test rax, rax
je 0x14000bed4
mov word [rax], cx
add rax, 2
jmp 0x14000beeb
cmp r15, 1
jb 0x14000c46e
mov word [rsi], cx
add rsi, 2
dec r15
mov word [rsi], di
mov ecx, 2
add r13, rcx
movzx ecx, word [r13]
test cx, cx
jne 0x14000b9b2
mov edx, 1
mov word [rsi], di
lea rcx, [0x14000b920]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x14000c47b
mov edx, 0x1b
xor ecx, ecx
mov r8d, 0xa
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rax
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rbx
xor ecx, ecx
mov qword [0x140038e38], rax
mov qword [0x140038e18], rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov eax, eax
mov qword [0x1400305f0], rax
mov rax, qword [0x140038e18]
movzx ecx, word [rax]
movzx edx, byte [rax + 2]
add rax, 3
mov word [rsp + 0x54], cx
mov qword [0x140038e18], rax
cmp cl, 0x4b
jne 0x14000c4cd
cmp byte [rsp + 0x55], 0x41
jne 0x14000c4cd
cmp dl, 0x59
jne 0x14000c4cd
mov ecx, 0x20000
mov qword [0x1400305f8], rdi
call fcn.140013244
mov qword [0x140038e20], rax
test rax, rax
je 0x14000c4a1
movups xmm0, xmmword [0x14002a750]
mov ecx, 0x274b8
movaps xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [0x14002a760]
movsd qword [rsp + 0x60], xmm0
call fcn.140013244
mov rbx, rax
test rax, rax
je 0x14000c49a
movaps xmm0, xmmword [rsp + 0x70]
mov rcx, rax
movups xmmword [rax + 0x73a0], xmm0
movsd xmm0, qword [rsp + 0x60]
movsd qword [rax + 0x73b0], xmm0
call fcn.1400053b0
mov rax, qword [0x140038e18]
lea r12, [0x140034610]
mov qword [0x1400305f8], rax
lea r15, [0x140030610]
mov rax, qword [0x1400305f0]
lea r13, [0x14002fdf0]
mov qword [0x140030600], rax
mov qword [0x14002fde0], rbx
mov qword [0x140030608], rdi
mov byte [0x14002fde8], 1
nop
mov edx, 2
lea rcx, [rsp + 0x50]
mov rbx, r12
call fcn.14000aed0
movzx eax, word [rsp + 0x50]
mov word [0x140034610], ax
test ax, ax
je 0x14000c27b
nop word [rax + rax]
mov edx, 2
lea rcx, [rsp + 0x50]
lea rbx, [rbx + 2]
call fcn.14000aed0
movzx eax, word [rsp + 0x50]
mov word [rbx], ax
test ax, ax
jne 0x14000c090
cmp word [0x140034610], ax
je 0x14000c27b
xor ebx, ebx
mov edx, 0x1000
cmp word [0x140032610], bx
mov rcx, r15
mov word [0x140030610], bx
je 0x14000c101
lea r8, [0x140032610]
sub r8, r15
cmp rdx, 1
jb 0x14000c4b3
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], bx
jne 0x14000c0e1
mov word [rcx], bx
mov rax, r15
cmp word [0x140030610], bx
mov ecx, 0x1000
je 0x14000c136
nop word [rax + rax]
add rax, 2
dec rcx
cmp word [rax], bx
jne 0x14000c120
cmp rcx, 1
jb 0x14000c4b3
mov dword [rax], 0x5c
mov edx, 0x1000
cmp word [0x140030610], bx
mov rax, r15
je 0x14000c15c
nop dword [rax]
add rax, 2
dec rdx
cmp word [rax], bx
jne 0x14000c150
mov r8, r12
sub r8, rax
cmp rdx, 1
jb 0x14000c4b3
movzx ecx, word [r8 + rax]
dec rdx
mov word [rax], cx
add rax, 2
cmp word [r8 + rax], bx
jne 0x14000c162
cmp word [0x14002fdf0], bx
mov word [rax], bx
jne 0x14000c1c8
cmp word [0x140030610], bx
mov edx, 0x1000
mov rcx, r13
je 0x14000c1c5
mov r8, r15
sub r8, r13
cmp rdx, 1
jb 0x14000c4b3
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], bx
jne 0x14000c1a5
mov word [rcx], bx
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.14000aed0
mov rcx, r15
call fcn.14000b6d0
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], ebx
mov edx, 0x40000000
mov r8d, 2
mov dword [rsp + 0x20], 2
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14000c4ad
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x14000c26d
nop
mov ebx, 0x8000
lea rcx, [0x140038e40]
cmp rdi, rbx
cmovbe ebx, edi
movsxd rsi, ebx
mov rdx, rsi
call fcn.14000aed0
xor eax, eax
lea r9, [rsp + 0x54]
mov r8d, ebx
mov dword [rsp + 0x54], eax
lea rdx, [0x140038e40]
mov qword [rsp + 0x20], rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000c4a7
sub rdi, rsi
jne 0x14000c220
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000c060
call fcn.140005540
mov rcx, qword [0x140038e20]
call fcn.140013204
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r14d, 0x80
lea r8, [0x1400296c4]
mov r9d, eax
lea rcx, [rbp + 0x10]
mov edx, r14d
call fcn.140001060
movzx edx, byte [rbp + 0x10]
lea rdi, [rbp + 0x10]
xor esi, esi
lea rbx, [rbp + 0x90]
mov word [rbp + 0x90], si
test dl, dl
je 0x14000c341
nop word [rax + rax]
mov rcx, r14
mov rax, rbx
cmp word [rbx], si
je 0x14000c2ec
nop dword [rax + rax]
add rax, 2
dec rcx
cmp word [rax], si
jne 0x14000c2e0
cmp rcx, 1
jb 0x14000c4c7
mov byte [rsp + 0x54], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x55], sil
nop word [rax + rax]
cmp word [rax + rcx*2 + 2], si
lea rcx, [rcx + 1]
jne 0x14000c310
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x54]
call fcn.14000ffa0
movzx edx, byte [rdi + 1]
inc rdi
add rbx, 2
dec r14
test dl, dl
jne 0x14000c2d0
lea rdx, [rbp + 0x90]
lea rcx, str.NUITKA_ONEFILE_PARENT
call fcn.14000a500
call fcn.14000a5f0
mov rdx, rax
lea rcx, str.NUITKA_ONEFILE_BINARY
call fcn.14000a500
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
xor r8d, r8d
mov rdx, rax
mov rcx, r13
lea rax, [rbp - 0x80]
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], 0x20
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000c4b9
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
mov qword [0x14002fdd8], rcx
mov dword [rsp + 0x58], esi
test rcx, rcx
je 0x14000c432
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x14002fdd8]
lea rdx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x14000c41e
mov dword [rsp + 0x58], 1
mov rcx, qword [0x14002fdd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14002fdd8], rsi
call fcn.14000b7e0
mov eax, dword [rsp + 0x58]
mov r12, qword [rsp + 0xdd0]
mov rcx, qword [rbp + 0xc90]
xor rcx, rsp
call fcn.14000c4f0
lea r11, [rsp + 0xda0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
lea rcx, str.TEMPonefile_PID_TIME
call fcn.14000aea0
int3
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.14000ad90
int3
call fcn.14000fc64
int3
call fcn.14000fc64
int3
call fcn.14000fc64
int3
mov qword [0x14002fde0], rdi
call fcn.14000ae30
int3
call fcn.14000add0
int3
call fcn.14000ae70
int3
call fcn.14000fc64
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
call fcn.14000ae50
int3
call fcn.14000fc64
int3
call fcn.14000ae10
int3