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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0xcd0]
sub rsp, 0xdd0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xcc0], rax
call fcn.1400106ec
call fcn.1400106f4
xor edi, edi
mov qword [rsp + 0xe00], r12
mov word [0x140032610], di
lea r13, str.C:Program_FilesPRODUCText64
mov eax, edi
lea rsi, [0x140032610]
mov r15d, 0x1000
mov ecx, 0x43
mov r14d, 0x80
nop
cmp cx, 0x7b
jne 0x14000bd49
lea rax, [rbp + 0x4c0]
mov word [rbp + 0x4c0], di
jmp 0x14000c22b
movzx ecx, word [r13]
cmp cx, 0x7d
jne 0x14000c206
lea rdx, [0x1400296b8]
mov word [rax], di
lea rcx, [rbp + 0x4c0]
xor r12b, r12b
call fcn.1400148ac
test eax, eax
jne 0x14000bd89
mov rdx, rsi
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov r12b, 1
jmp 0x14000c1cb
lea rdx, [0x1400296c8]
lea rcx, [rbp + 0x4c0]
call fcn.1400148ac
test eax, eax
jne 0x14000bdbb
mov r8d, r15d
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000c915
jmp 0x14000c1cb
lea rdx, str.PROGRAM_BASE
lea rcx, [rbp + 0x4c0]
call fcn.1400148ac
test eax, eax
jne 0x14000be49
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x14000bde0
mov r8, r15
lea rdx, str.PROGRAM
sub r8, rax
mov rcx, rsi
call fcn.14000abd0
test al, al
je 0x14000c915
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rsi + rax*2], 0
jne 0x14000be10
cmp rax, 4
jb 0x14000c1cb
lea rbx, [rsi + rax*2]
lea rcx, [rbx - 8]
lea rdx, str..exe
call fcn.1400148ac
test eax, eax
jne 0x14000c1cb
mov word [rbx - 8], di
jmp 0x14000c1cb
lea rdx, [0x140029728]
lea rcx, [rbp + 0x4c0]
call fcn.1400148ac
test eax, eax
jne 0x14000bf28
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x1400296b4]
mov rdx, r14
mov r9d, eax
lea rcx, [rbp + 0x40]
call fcn.140001060
cmp word [rsi], 0
lea r14, [rbp + 0x40]
mov rdi, r15
mov rbx, rsi
je 0x14000be9d
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000be90
movzx edx, byte [rbp + 0x40]
test dl, dl
je 0x14000c1c3
nop dword [rax]
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x14000becd
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x14000bec0
cmp rcx, 1
jb 0x14000c92f
mov byte [rsp + 0x50], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x51], r12b
nop word [rax + rax]
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x14000bef0
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x50]
call fcn.140010480
movzx edx, byte [r14 + 1]
inc r14
add rbx, 2
dec rdi
test dl, dl
jne 0x14000beb0
jmp 0x14000c1c3
lea rdx, [0x140029730]
lea rcx, [rbp + 0x4c0]
call fcn.1400148ac
test eax, eax
jne 0x14000bf46
mov edx, 0x28
jmp 0x14000bf62
lea rdx, str.CACHE_DIR
lea rcx, [rbp + 0x4c0]
call fcn.1400148ac
test eax, eax
jne 0x14000bf7d
mov edx, 0x1c
mov r8, r15
mov rcx, rsi
call fcn.14000ab10
test al, al
je 0x14000c915
mov r12b, 1
jmp 0x14000c1cb
lea rdx, str.COMPANY
lea rcx, [rbp + 0x4c0]
call fcn.1400148ac
test eax, eax
jne 0x14000bfe9
mov rdx, r15
mov rcx, rsi
cmp word [rsi], ax
je 0x14000bfad
nop
add rcx, 2
dec rdx
cmp word [rcx], 0
jne 0x14000bfa0
lea r8, str.AimRise
sub r8, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x14000c935
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], 0
jne 0x14000bfc0
mov word [rcx], di
jmp 0x14000c1cb
lea rdx, str.PRODUCT
lea rcx, [rbp + 0x4c0]
call fcn.1400148ac
test eax, eax
jne 0x14000c059
mov rdx, r15
mov rcx, rsi
cmp word [rsi], ax
je 0x14000c01d
nop dword [rax + rax]
add rcx, 2
dec rdx
cmp word [rcx], 0
jne 0x14000c010
lea r8, str.AimRise
sub r8, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x14000c935
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], 0
jne 0x14000c030
mov word [rcx], di
jmp 0x14000c1cb
lea rdx, str.VERSION
lea rcx, [rbp + 0x4c0]
call fcn.1400148ac
test eax, eax
jne 0x14000c0c9
mov rdx, r15
mov rcx, rsi
cmp word [rsi], ax
je 0x14000c08d
nop dword [rax + rax]
add rcx, 2
dec rdx
cmp word [rcx], 0
jne 0x14000c080
lea r8, str.1.00
sub r8, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x14000c935
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], 0
jne 0x14000c0a0
mov word [rcx], di
jmp 0x14000c1cb
lea rdx, str.TIME
lea rcx, [rbp + 0x4c0]
call fcn.1400148ac
test eax, eax
jne 0x14000c915
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 + 0xc0]
call fcn.140001060
cmp word [rsi], 0
lea r14, [rbp + 0xc0]
mov rdi, r15
mov rbx, rsi
je 0x14000c13d
nop dword [rax]
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000c130
movzx edx, byte [rbp + 0xc0]
test dl, dl
je 0x14000c1c3
nop dword [rax + rax]
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x14000c16d
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x14000c160
cmp rcx, 1
jb 0x14000c93b
mov byte [rsp + 0x54], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x55], r12b
nop word [rax + rax]
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x14000c190
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x54]
call fcn.140010480
movzx edx, byte [r14 + 1]
inc r14
add rbx, 2
dec rdi
test dl, dl
jne 0x14000c150
mov r14d, 0x80
xor edi, edi
cmp word [rsi], 0
je 0x14000c1de
add rsi, 2
dec r15
cmp word [rsi], 0
jne 0x14000c1d1
test r12b, r12b
je 0x14000c201
cmp word [rsi - 2], 0x5c
jne 0x14000c201
nop word [rax + rax]
sub rsi, 2
inc r15
mov word [rsi], di
cmp word [rsi - 2], 0x5c
je 0x14000c1f0
mov rax, rdi
jmp 0x14000c22b
test rax, rax
je 0x14000c214
mov word [rax], cx
add rax, 2
jmp 0x14000c22b
cmp r15, 1
jb 0x14000c915
mov word [rsi], cx
add rsi, 2
dec r15
mov word [rsi], di
movzx ecx, word [r13 + 2]
add r13, 2
test cx, cx
jne 0x14000bd30
mov edx, 1
mov word [rsi], di
lea rcx, [0x14000bc60]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x14000c922
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 [0x140042e40], rax
mov qword [0x140032608], rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov eax, eax
mov qword [0x140031de8], rax
mov rax, qword [0x140032608]
movzx ecx, word [rax]
movzx edx, byte [rax + 2]
add rax, 3
mov word [rsp + 0x54], cx
mov qword [0x140032608], rax
cmp cl, 0x4b
jne 0x14000c90f
cmp byte [rsp + 0x55], 0x41
jne 0x14000c90f
cmp dl, 0x59
jne 0x14000c90f
mov ecx, 0x20000
mov qword [0x1400325f0], rdi
call fcn.140013724
mov qword [0x140038e20], rax
test rax, rax
je 0x14000c948
movups xmm0, xmmword [0x14002c740]
mov ecx, 0x274b8
movaps xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [0x14002c750]
movsd qword [rsp + 0x60], xmm0
call fcn.140013724
mov rbx, rax
test rax, rax
je 0x14000c941
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 [0x140032608]
lea r12, [0x140034610]
mov qword [0x1400325f0], rax
lea r15, [0x140040e40]
mov rax, qword [0x140031de8]
lea r13, [0x140031df0]
mov qword [0x1400325f8], rax
mov qword [0x140031de0], rbx
mov qword [0x140032600], rdi
mov edx, 2
lea rcx, [rsp + 0x50]
mov rbx, r12
call fcn.14000b340
movzx eax, word [rsp + 0x50]
mov word [0x140034610], ax
test ax, ax
je 0x14000c721
nop word [rax + rax]
mov edx, 2
lea rcx, [rsp + 0x50]
lea rbx, [rbx + 2]
call fcn.14000b340
movzx eax, word [rsp + 0x50]
mov word [rbx], ax
test ax, ax
jne 0x14000c3c0
cmp word [0x140034610], ax
je 0x14000c721
xor ebx, ebx
mov edx, 0x1000
cmp word [0x140032610], bx
mov rcx, r15
mov word [0x140040e40], bx
je 0x14000c431
lea r8, [0x140032610]
sub r8, r15
cmp rdx, 1
jb 0x14000c95a
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], bx
jne 0x14000c411
mov word [rcx], bx
mov rax, r15
cmp word [0x140040e40], bx
mov ecx, 0x1000
je 0x14000c466
nop word [rax + rax]
add rax, 2
dec rcx
cmp word [rax], bx
jne 0x14000c450
cmp rcx, 1
jb 0x14000c95a
mov dword [rax], 0x5c
mov edx, 0x1000
cmp word [0x140040e40], bx
mov rax, r15
je 0x14000c48c
nop dword [rax]
add rax, 2
dec rdx
cmp word [rax], bx
jne 0x14000c480
mov r8, r12
sub r8, rax
cmp rdx, 1
jb 0x14000c95a
movzx ecx, word [r8 + rax]
dec rdx
mov word [rax], cx
add rax, 2
cmp word [r8 + rax], bx
jne 0x14000c492
cmp word [0x140031df0], bx
mov word [rax], bx
jne 0x14000c4f8
cmp word [0x140040e40], bx
mov edx, 0x1000
mov rcx, r13
je 0x14000c4f5
mov r8, r15
sub r8, r13
cmp rdx, 1
jb 0x14000c95a
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], bx
jne 0x14000c4d5
mov word [rcx], bx
mov edx, 8
lea rcx, [rsp + 0x70]
call fcn.14000b340
mov edx, 4
lea rcx, [rsp + 0x54]
call fcn.14000b340
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], r14d
mov edx, 0x80000000
mov r8d, 7
mov dword [rsp + 0x20], 3
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000c55d
mov bl, 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rsi, qword [rbp - 0x58]
mov r14, qword [rbp - 0x70]
jmp 0x14000c60d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x14000c590
mov qword [rbp - 0x60], 0xffffffffffffffff
mov bl, 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rbp - 0x58]
mov r14, qword [rbp - 0x70]
jmp 0x14000c60d
mov eax, eax
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor edx, edx
mov r8d, 2
mov qword [rbp - 0x60], rax
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rsi, rax
test rax, rax
jne 0x14000c5d2
mov bl, 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rbp - 0x70]
jmp 0x14000c60d
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov edx, 4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
test rax, rax
jne 0x14000c60d
mov bl, 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x14000c617
xor edi, edi
mov ebx, edi
jmp 0x14000c64c
mov r8d, dword [rbp - 0x60]
mov rdx, r14
call fcn.14000a500
mov ebx, eax
test eax, eax
mov eax, 1
mov rcx, r14
cmove ebx, eax
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
cmp dword [rsp + 0x54], ebx
jne 0x14000c65b
mov rsi, 0xffffffffffffffff
jmp 0x14000c698
mov rcx, r15
call fcn.14000bb00
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], edi
mov edx, 0x40000000
mov r8d, 2
mov dword [rsp + 0x20], 2
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000c954
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x14000c703
nop dword [rax]
nop word [rax + rax]
mov edi, 0x8000
lea rcx, [0x140038e40]
cmp rbx, rdi
cmovbe edi, ebx
movsxd r14, edi
mov rdx, r14
call fcn.14000b340
cmp rsi, 0xffffffffffffffff
je 0x14000c6fe
xor eax, eax
lea r9, [rsp + 0x60]
mov r8d, edi
mov dword [rsp + 0x60], eax
lea rdx, [0x140038e40]
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000c94e
sub rbx, r14
jne 0x14000c6b0
mov r14d, 0x80
cmp rsi, 0xffffffffffffffff
je 0x14000c393
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000c393
call fcn.140005540
mov rcx, qword [0x140038e20]
call fcn.1400136e4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x1400296b4]
mov rdx, r14
mov r9d, eax
lea rcx, [rbp + 0x40]
call fcn.140001060
movzx edx, byte [rbp + 0x40]
lea rdi, [rbp + 0x40]
xor esi, esi
lea rbx, [rbp + 0xc0]
mov word [rbp + 0xc0], si
test dl, dl
je 0x14000c7e1
nop word [rax + rax]
mov rcx, r14
mov rax, rbx
cmp word [rbx], si
je 0x14000c78c
nop dword [rax + rax]
add rax, 2
dec rcx
cmp word [rax], si
jne 0x14000c780
cmp rcx, 1
jb 0x14000c96e
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 0x14000c7b0
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x54]
call fcn.140010480
movzx edx, byte [rdi + 1]
inc rdi
add rbx, 2
dec r14
test dl, dl
jne 0x14000c770
lea rdx, [rbp + 0xc0]
lea rcx, str.NUITKA_ONEFILE_PARENT
call fcn.14000a9b0
call fcn.14000aaa0
mov rdx, rax
lea rcx, str.NUITKA_ONEFILE_BINARY
call fcn.14000a9b0
xorps xmm0, xmm0
mov dword [rbp - 0x30], 0x68
xor eax, eax
movups xmmword [rbp - 0x2c], xmm0
mov dword [rbp + 0x34], eax
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rbp + 4], xmm0
movups xmmword [rbp + 0x14], xmm0
movups xmmword [rbp + 0x24], xmm0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, r13
lea rax, [rbp - 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x30]
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 0x14000c960
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x50]
mov qword [0x140031dd8], rcx
mov dword [rsp + 0x58], esi
test rcx, rcx
je 0x14000c8d3
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x140031dd8]
lea rdx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x14000c8bf
mov eax, 1
mov dword [rsp + 0x58], eax
mov rcx, qword [0x140031dd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140031dd8], rsi
call fcn.14000bc10
mov eax, dword [rsp + 0x58]
mov r12, qword [rsp + 0xe00]
mov rcx, qword [rbp + 0xcc0]
xor rcx, rsp
call fcn.14000c990
lea r11, [rsp + 0xdd0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
call fcn.14000b280
int3
lea rcx, str.C:Program_FilesPRODUCText64
call fcn.14000b310
int3
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.14000b200
int3
call fcn.140010144
int3
call fcn.140010144
int3
call fcn.140010144
int3
mov qword [0x140031de0], rdi
call fcn.14000b2a0
int3
call fcn.14000b240
int3
call fcn.14000b2e0
int3
call fcn.140010144
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
call fcn.14000b2c0
int3
call fcn.140010144
int3