Function at 0x14000bfb0
Capabilities:
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 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 - 0xd08]
sub rsp, 0xde0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xcd0], rax
movzx eax, word [str.CACHE_DIRPRODUCTVERSION]
lea r13, str.CACHE_DIRPRODUCTVERSION
xor edi, edi
mov qword [r11 + 8], r12
mov word [0x140045610], di
lea r14, [0x140045610]
mov ecx, edi
mov r15d, 0x1000
mov ebx, 0x80
cmp ax, 0x7b
jne 0x14000c02a
lea rcx, [rbp + 0x4d0]
mov word [rbp + 0x4d0], di
jmp 0x14000c51f
movzx eax, word [r13]
cmp ax, 0x7d
jne 0x14000c4f8
mov word [rcx], di
lea rdx, [0x14002a6e8]
lea rcx, [rbp + 0x4d0]
xor r12b, r12b
call fcn.140014d08
test eax, eax
jne 0x14000c06a
mov rdx, r14
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov r12b, 1
jmp 0x14000c4ad
lea rdx, [0x14002a6f8]
lea rcx, [rbp + 0x4d0]
call fcn.140014d08
test eax, eax
jne 0x14000c09c
mov r8d, r15d
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000cc51
jmp 0x14000c4ad
lea rdx, str.PROGRAM_BASE
lea rcx, [rbp + 0x4d0]
call fcn.140014d08
test eax, eax
jne 0x14000c12a
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [r14 + rax*2], 0
jne 0x14000c0c0
mov r8, r15
lea rdx, str.PROGRAM
sub r8, rax
mov rcx, r14
call fcn.14000ab80
test al, al
je 0x14000cc51
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [r14 + rax*2], 0
jne 0x14000c0f0
cmp rax, 4
jb 0x14000c4ad
lea rbx, [r14 + rax*2]
lea rcx, [rbx - 8]
lea rdx, str..exe
call fcn.140014d08
test eax, eax
jne 0x14000c4a8
mov word [rbx - 8], di
jmp 0x14000c4a8
lea rdx, [0x14002a758]
lea rcx, [rbp + 0x4d0]
call fcn.140014d08
test eax, eax
jne 0x14000c20b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x14002a6e4]
mov rdx, rbx
mov r9d, eax
lea rcx, [rbp + 0x50]
call fcn.140001060
cmp word [r14], 0
lea rsi, [rbp + 0x50]
mov rdi, r15
mov rbx, r14
je 0x14000c17f
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000c172
movzx eax, byte [rbp + 0x50]
test al, al
je 0x14000c4a6
nop dword [rax + rax]
mov r8d, 2
mov byte [rsp + 0x50], al
lea rdx, [rsp + 0x50]
mov byte [rsp + 0x51], r12b
lea rcx, [rsp + 0x60]
call fcn.1400107e0
cmp rax, 1
jne 0x14000cc6b
cmp word [rbx], 0
mov rax, rdi
mov rcx, rbx
je 0x14000c1dd
nop dword [rax]
nop dword [rax + rax]
add rcx, 2
dec rax
cmp word [rcx], 0
jne 0x14000c1d0
cmp rax, 1
jb 0x14000cc6b
movzx eax, word [rsp + 0x60]
inc rsi
mov word [rcx], ax
add rbx, 2
xor eax, eax
dec rdi
mov word [rcx + 2], ax
movzx eax, byte [rsi]
test al, al
jne 0x14000c190
jmp 0x14000c4a6
lea rdx, [0x14002a760]
lea rcx, [rbp + 0x4d0]
call fcn.140014d08
test eax, eax
jne 0x14000c229
mov edx, 0x28
jmp 0x14000c245
lea rdx, str.CACHE_DIR
lea rcx, [rbp + 0x4d0]
call fcn.140014d08
test eax, eax
jne 0x14000c260
mov edx, 0x1c
mov r8, r15
mov rcx, r14
call fcn.14000aac0
test al, al
je 0x14000cc51
mov r12b, 1
jmp 0x14000c4ad
lea rdx, str.COMPANY
lea rcx, [rbp + 0x4d0]
call fcn.140014d08
test eax, eax
jne 0x14000c2c9
mov rdx, r15
mov rcx, r14
cmp word [r14], ax
je 0x14000c290
add rcx, 2
dec rdx
cmp word [rcx], 0
jne 0x14000c283
lea r8, str.Phylum__Inc.
sub r8, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x14000cc71
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], 0
jne 0x14000c2a0
mov word [rcx], di
jmp 0x14000c4ad
lea rdx, str.PRODUCT
lea rcx, [rbp + 0x4d0]
call fcn.140014d08
test eax, eax
jne 0x14000c339
mov rdx, r15
mov rcx, r14
cmp word [r14], ax
je 0x14000c2fd
nop dword [rax]
add rcx, 2
dec rdx
cmp word [rcx], 0
jne 0x14000c2f0
lea r8, str.phylum_ci
sub r8, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x14000cc71
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], 0
jne 0x14000c310
mov word [rcx], di
jmp 0x14000c4ad
lea rdx, str.VERSION
lea rcx, [rbp + 0x4d0]
call fcn.140014d08
test eax, eax
jne 0x14000c3a9
mov rdx, r15
mov rcx, r14
cmp word [r14], ax
je 0x14000c36d
nop dword [rax]
add rcx, 2
dec rdx
cmp word [rcx], 0
jne 0x14000c360
lea r8, str.0.50.0_121
sub r8, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x14000cc71
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], 0
jne 0x14000c380
mov word [rcx], di
jmp 0x14000c4ad
lea rdx, str.TIME
lea rcx, [rbp + 0x4d0]
call fcn.140014d08
test eax, eax
jne 0x14000cc51
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x70], rdi
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov r9, qword [rsp + 0x70]
lea r8, str._lld
mov edx, 0x400
lea rcx, [rbp + 0xd0]
call fcn.140001060
cmp word [r14], 0
lea rsi, [rbp + 0xd0]
mov rdi, r15
mov rbx, r14
je 0x14000c41d
nop word [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000c410
movzx eax, byte [rbp + 0xd0]
test al, al
je 0x14000c4a6
nop dword [rax + rax]
mov r8d, 2
mov byte [rsp + 0x54], al
lea rdx, [rsp + 0x54]
mov byte [rsp + 0x55], r12b
lea rcx, [rsp + 0x58]
call fcn.1400107e0
cmp rax, 1
jne 0x14000cc77
cmp word [rbx], 0
mov rax, rdi
mov rcx, rbx
je 0x14000c47d
nop dword [rax]
nop dword [rax + rax]
add rcx, 2
dec rax
cmp word [rcx], 0
jne 0x14000c470
cmp rax, 1
jb 0x14000cc77
movzx eax, word [rsp + 0x58]
inc rsi
mov word [rcx], ax
add rbx, 2
xor eax, eax
dec rdi
mov word [rcx + 2], ax
movzx eax, byte [rsi]
test al, al
jne 0x14000c430
xor edi, edi
mov ebx, 0x80
cmp word [r14], 0
je 0x14000c4ce
nop dword [rax]
nop dword [rax + rax]
add r14, 2
dec r15
cmp word [r14], 0
jne 0x14000c4c0
test r12b, r12b
je 0x14000c4f3
cmp word [r14 - 2], 0x5c
jne 0x14000c4f3
nop dword [rax + rax]
sub r14, 2
inc r15
mov word [r14], di
cmp word [r14 - 2], 0x5c
je 0x14000c4e0
mov rcx, rdi
jmp 0x14000c51f
test rcx, rcx
je 0x14000c506
mov word [rcx], ax
add rcx, 2
jmp 0x14000c51f
cmp r15, 1
jb 0x14000cc51
mov word [r14], ax
add r14, 2
dec r15
mov word [r14], di
mov eax, 2
add r13, rax
movzx eax, word [r13]
test ax, ax
jne 0x14000c011
mov edx, 1
mov word [r14], di
lea rcx, [0x14000bc20]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x14000cc5e
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 [0x14004be28], rax
mov qword [0x140033608], rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov eax, eax
mov qword [0x140032de8], rax
mov rax, qword [0x140033608]
movzx ecx, word [rax]
movzx edx, byte [rax + 2]
add rax, 3
mov word [rsp + 0x54], cx
mov qword [0x140033608], rax
cmp cl, 0x4b
jne 0x14000cc4b
cmp byte [rsp + 0x55], 0x41
jne 0x14000cc4b
cmp dl, 0x59
jne 0x14000cc4b
mov ecx, 0x20000
mov qword [0x1400335f0], rdi
call fcn.140013a54
mov qword [0x14004be10], rax
test rax, rax
je 0x14000cc84
movups xmm0, xmmword [0x14002d7a0]
mov ecx, 0x274b8
movaps xmmword [rbp - 0x50], xmm0
movsd xmm0, qword [0x14002d7b0]
movsd qword [rsp + 0x70], xmm0
call fcn.140013a54
mov rbx, rax
test rax, rax
je 0x14000cc7d
movaps xmm0, xmmword [rbp - 0x50]
mov rcx, rax
movups xmmword [rax + 0x73a0], xmm0
movsd xmm0, qword [rsp + 0x70]
movsd qword [rax + 0x73b0], xmm0
call fcn.140005380
mov rax, qword [0x140033608]
lea r13, [0x140047610]
mov qword [0x1400335f0], rax
lea r15, [0x140043610]
mov rax, qword [0x140032de8]
mov r12d, 0x80
mov qword [0x1400335f8], rax
mov qword [0x140032de0], rbx
mov qword [0x140033600], rdi
nop dword [rax]
mov edx, 2
lea rcx, [rsp + 0x50]
lea rsi, [0x140032df0]
mov rbx, r13
call fcn.14000b2e0
movzx eax, word [rsp + 0x50]
mov word [0x140047610], ax
test ax, ax
je 0x14000ca1b
nop
mov edx, 2
lea rcx, [rsp + 0x50]
lea rbx, [rbx + 2]
call fcn.14000b2e0
movzx eax, word [rsp + 0x50]
mov word [rbx], ax
test ax, ax
jne 0x14000c6c0
cmp word [0x140047610], ax
je 0x14000ca1b
xor ebx, ebx
mov edx, 0x1000
cmp word [0x140045610], bx
mov rcx, r15
mov word [0x140043610], bx
je 0x14000c731
lea r8, [0x140045610]
sub r8, r15
cmp rdx, 1
jb 0x14000cc96
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], bx
jne 0x14000c711
mov word [rcx], bx
mov rax, r15
cmp word [0x140043610], bx
mov ecx, 0x1000
je 0x14000c766
nop word [rax + rax]
add rax, 2
dec rcx
cmp word [rax], bx
jne 0x14000c750
cmp rcx, 1
jb 0x14000cc96
mov dword [rax], 0x5c
mov edx, 0x1000
cmp word [0x140043610], bx
mov rax, r15
je 0x14000c78c
nop dword [rax]
add rax, 2
dec rdx
cmp word [rax], bx
jne 0x14000c780
mov r8, r13
sub r8, rax
cmp rdx, 1
jb 0x14000cc96
movzx ecx, word [r8 + rax]
dec rdx
mov word [rax], cx
add rax, 2
cmp word [r8 + rax], bx
jne 0x14000c792
cmp word [0x140032df0], bx
mov word [rax], bx
jne 0x14000c7f8
cmp word [0x140043610], bx
mov edx, 0x1000
mov rcx, rsi
je 0x14000c7f5
mov r8, r15
sub r8, rsi
cmp rdx, 1
jb 0x14000cc96
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], bx
jne 0x14000c7d5
mov word [rcx], bx
mov edx, 8
lea rcx, [rsp + 0x70]
call fcn.14000b2e0
mov edx, 4
lea rcx, [rsp + 0x58]
call fcn.14000b2e0
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], r12d
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 0x14000c85d
mov bl, 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rsi, qword [rbp - 0x58]
mov r14, qword [rbp - 0x70]
jmp 0x14000c90d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x14000c890
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 0x14000c90d
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 0x14000c8d2
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 0x14000c90d
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 0x14000c90d
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 0x14000c917
xor edi, edi
mov ebx, edi
jmp 0x14000c94c
mov r8d, dword [rbp - 0x60]
mov rdx, r14
call fcn.14000a4a0
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 + 0x58], ebx
jne 0x14000c95b
mov rsi, 0xffffffffffffffff
jmp 0x14000c998
mov rcx, r15
call fcn.14000bac0
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 0x14000cc90
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x14000ca03
nop dword [rax]
nop word [rax + rax]
mov edi, 0x8000
lea rcx, [0x14004de40]
cmp rbx, rdi
cmovbe edi, ebx
movsxd r14, edi
mov rdx, r14
call fcn.14000b2e0
cmp rsi, 0xffffffffffffffff
je 0x14000c9fe
xor eax, eax
lea r9, [rsp + 0x60]
mov r8d, edi
mov dword [rsp + 0x60], eax
lea rdx, [0x14004de40]
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000cc8a
sub rbx, r14
jne 0x14000c9b0
cmp rsi, 0xffffffffffffffff
je 0x14000c690
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000c690
call fcn.140005510
mov rcx, qword [0x14004be10]
call fcn.140013a14
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x14002a6e4]
mov rdx, r12
mov r9d, eax
lea rcx, [rbp + 0x50]
call fcn.140001060
movzx eax, byte [rbp + 0x50]
lea rdi, [rbp + 0x50]
xor r15d, r15d
lea rbx, [rbp + 0xd0]
mov word [rbp + 0xd0], r15w
test al, al
je 0x14000cae5
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x54], al
lea rdx, [rsp + 0x54]
mov byte [rsp + 0x55], r15b
lea rcx, [rsp + 0x58]
call fcn.1400107e0
cmp rax, 1
jne 0x14000ccaa
mov rax, r12
mov rcx, rbx
cmp word [rbx], r15w
je 0x14000cabd
nop dword [rax]
nop dword [rax + rax]
add rcx, 2
dec rax
cmp word [rcx], r15w
jne 0x14000cab0
cmp rax, 1
jb 0x14000ccaa
movzx eax, word [rsp + 0x58]
inc rdi
mov word [rcx], ax
add rbx, 2
dec r12
mov word [rcx + 2], r15w
movzx eax, byte [rdi]
test al, al
jne 0x14000ca70
lea rdx, [rbp + 0xd0]
lea rcx, str.NUITKA_ONEFILE_PARENT
call fcn.14000a950
call fcn.14000aa50
mov rdx, rax
lea rcx, str.NUITKA_ONEFILE_BINARY
call fcn.14000a950
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x10], xmm0
mov ecx, 0xfffffff6
mov dword [rbp + 0x1c], pe_nt_image_headers64
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp + 0x40], rax
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xfffffff5
mov qword [rbp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xfffffff4
mov qword [rbp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp + 0x40], rax
mov dword [rbp - 0x20], 0x68
call fcn.14000bc80
mov rdx, rax
mov r14d, 1
lea rax, [rbp - 0x40]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rbp - 0x20]
mov rcx, rsi
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000cc9c
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x40]
mov qword [0x140032dd8], rcx
mov dword [rsp + 0x5c], r15d
test rcx, rcx
je 0x14000cc0f
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x140032dd8]
lea rdx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x14000cbfb
mov dword [rsp + 0x5c], r14d
mov rcx, qword [0x140032dd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140032dd8], r15
call fcn.14000bbd0
mov eax, dword [rsp + 0x5c]
mov r12, qword [rsp + 0xe10]
mov rcx, qword [rbp + 0xcd0]
xor rcx, rsp
call fcn.14000ccc0
lea r11, [rsp + 0xde0]
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.14000b220
int3
lea rcx, str.CACHE_DIRPRODUCTVERSION
call fcn.14000b2b0
int3
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.14000b1a0
int3
call fcn.1400104a4
int3
call fcn.1400104a4
int3
call fcn.1400104a4
int3
mov qword [0x140032de0], rdi
call fcn.14000b240
int3
call fcn.14000b1e0
int3
call fcn.14000b280
int3
call fcn.1400104a4
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
call fcn.14000b260
int3
call fcn.1400104a4
int3