Function at 0x14000ba60
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 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 ecx, word [str.CACHE_DIRSideJITServer]
lea r13, str.CACHE_DIRSideJITServer
xor esi, esi
mov qword [r11 + 8], r12
mov word [0x140035610], si
lea rbx, [0x140035610]
mov eax, esi
mov r15d, 0x1000
mov r14d, 0x80
cmp cx, 0x7b
jne 0x14000badb
lea rax, [rbp + 0x4d0]
mov word [rbp + 0x4d0], si
jmp 0x14000be7b
movzx ecx, word [r13]
cmp cx, 0x7d
jne 0x14000be56
lea rdx, [0x14002a6e8]
mov word [rax], si
lea rcx, [rbp + 0x4d0]
xor r12b, r12b
call fcn.140014608
test eax, eax
jne 0x14000bb1b
mov rdx, rbx
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov r12b, 1
jmp 0x14000be0f
lea rdx, [0x14002a6f8]
lea rcx, [rbp + 0x4d0]
call fcn.140014608
test eax, eax
jne 0x14000bb4d
mov r8d, r15d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000c5bf
jmp 0x14000be0f
lea rdx, str.PROGRAM_BASE
lea rcx, [rbp + 0x4d0]
call fcn.140014608
test eax, eax
jne 0x14000bbd9
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x14000bb70
mov r8, r15
lea rdx, str.PROGRAM
sub r8, rax
mov rcx, rbx
call fcn.14000abe0
test al, al
je 0x14000c5bf
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rbx + rax*2], 0
jne 0x14000bba0
cmp rax, 4
jb 0x14000be0f
lea rdi, [rbx + rax*2]
lea rcx, [rdi - 8]
lea rdx, str..exe
call fcn.140014608
test eax, eax
jne 0x14000be0f
mov word [rdi - 8], si
jmp 0x14000be0f
lea rdx, [0x14002a758]
lea rcx, [rbp + 0x4d0]
call fcn.140014608
test eax, eax
jne 0x14000bcbc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x14002a6e4]
mov rdx, r14
mov r9d, eax
lea rcx, [rbp + 0x50]
call fcn.140001060
cmp word [rbx], 0
lea r14, [rbp + 0x50]
mov rsi, r15
mov rdi, rbx
je 0x14000bc2d
add rdi, 2
dec rsi
cmp word [rdi], 0
jne 0x14000bc20
movzx eax, byte [rbp + 0x50]
test al, al
je 0x14000be07
nop dword [rax]
mov r8d, 2
mov byte [rsp + 0x50], al
lea rdx, [rsp + 0x50]
mov byte [rsp + 0x51], r12b
lea rcx, [rsp + 0x60]
call fcn.1400100e0
cmp rax, 1
jne 0x14000c5d9
cmp word [rdi], 0
mov rax, rsi
mov rcx, rdi
je 0x14000bc8d
nop dword [rax]
nop dword [rax + rax]
add rcx, 2
dec rax
cmp word [rcx], 0
jne 0x14000bc80
cmp rax, 1
jb 0x14000c5d9
movzx eax, word [rsp + 0x60]
inc r14
mov word [rcx], ax
add rdi, 2
xor eax, eax
dec rsi
mov word [rcx + 2], ax
movzx eax, byte [r14]
test al, al
jne 0x14000bc40
jmp 0x14000be07
lea rdx, [0x14002a760]
lea rcx, [rbp + 0x4d0]
call fcn.140014608
test eax, eax
jne 0x14000bcda
mov edx, 0x28
jmp 0x14000bcf6
lea rdx, str.CACHE_DIR
lea rcx, [rbp + 0x4d0]
call fcn.140014608
test eax, eax
jne 0x14000bd11
mov edx, 0x1c
mov r8, r15
mov rcx, rbx
call fcn.14000ab20
test al, al
je 0x14000c5bf
mov r12b, 1
jmp 0x14000be0f
lea rdx, str.TIME
lea rcx, [rbp + 0x4d0]
call fcn.140014608
test eax, eax
jne 0x14000c5bf
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x70], rsi
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 [rbx], 0
lea r14, [rbp + 0xd0]
mov rsi, r15
mov rdi, rbx
je 0x14000bd7d
nop dword [rax]
add rdi, 2
dec rsi
cmp word [rdi], 0
jne 0x14000bd70
movzx eax, byte [rbp + 0xd0]
test al, al
je 0x14000be07
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.1400100e0
cmp rax, 1
jne 0x14000c5df
cmp word [rdi], 0
mov rax, rsi
mov rcx, rdi
je 0x14000bddd
nop dword [rax]
nop dword [rax + rax]
add rcx, 2
dec rax
cmp word [rcx], 0
jne 0x14000bdd0
cmp rax, 1
jb 0x14000c5df
movzx eax, word [rsp + 0x58]
inc r14
mov word [rcx], ax
add rdi, 2
xor eax, eax
dec rsi
mov word [rcx + 2], ax
movzx eax, byte [r14]
test al, al
jne 0x14000bd90
mov r14d, 0x80
xor esi, esi
cmp word [rbx], 0
je 0x14000be2d
nop word [rax + rax]
add rbx, 2
dec r15
cmp word [rbx], 0
jne 0x14000be20
test r12b, r12b
je 0x14000be51
cmp word [rbx - 2], 0x5c
jne 0x14000be51
nop dword [rax]
sub rbx, 2
inc r15
mov word [rbx], si
cmp word [rbx - 2], 0x5c
je 0x14000be40
mov rax, rsi
jmp 0x14000be7b
test rax, rax
je 0x14000be64
mov word [rax], cx
add rax, 2
jmp 0x14000be7b
cmp r15, 1
jb 0x14000c5bf
mov word [rbx], cx
add rbx, 2
dec r15
mov word [rbx], si
mov ecx, 2
add r13, rcx
movzx ecx, word [r13]
test cx, cx
jne 0x14000bac2
mov edx, 1
mov word [rbx], si
lea rcx, [0x14000ba00]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x14000c5cc
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 [0x140043e40], 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 0x14000c5b9
cmp byte [rsp + 0x55], 0x41
jne 0x14000c5b9
cmp dl, 0x59
jne 0x14000c5b9
xor esi, esi
mov ecx, 0x20000
mov qword [0x1400335f0], rsi
call fcn.140013354
mov qword [0x14003be20], rax
test rax, rax
je 0x14000c5ec
movups xmm0, xmmword [0x14002d710]
mov ecx, 0x274b8
movaps xmmword [rbp - 0x50], xmm0
movsd xmm0, qword [0x14002d720]
movsd qword [rsp + 0x70], xmm0
call fcn.140013354
mov rbx, rax
test rax, rax
je 0x14000c5e5
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.1400053b0
mov rax, qword [0x140033608]
lea r12, [0x140037610]
mov qword [0x1400335f0], rax
lea r15, [0x140033610]
mov rax, qword [0x140032de8]
lea r13, [0x140032df0]
mov qword [0x1400335f8], rax
mov qword [0x140032de0], rbx
mov qword [0x140033600], rsi
jmp 0x14000bff2
xor esi, esi
mov edx, 2
lea rcx, [rsp + 0x50]
mov rbx, r12
call fcn.14000b210
movzx eax, word [rsp + 0x50]
mov word [0x140037610], ax
test ax, ax
je 0x14000c391
nop dword [rax]
mov edx, 2
lea rcx, [rsp + 0x50]
lea rbx, [rbx + 2]
call fcn.14000b210
movzx eax, word [rsp + 0x50]
mov word [rbx], ax
test ax, ax
jne 0x14000c020
cmp word [0x140037610], ax
je 0x14000c391
cmp word [0x140035610], ax
mov edx, 0x1000
mov word [0x140033610], si
mov rcx, r15
je 0x14000c091
lea r8, [0x140035610]
sub r8, r15
nop
cmp rdx, 1
jb 0x14000c5fe
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], 0
jne 0x14000c070
mov word [rcx], si
mov rax, r15
cmp word [0x140033610], 0
mov ecx, 0x1000
je 0x14000c0c7
nop word [rax + rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x14000c0b0
cmp rcx, 1
jb 0x14000c5fe
mov dword [rax], 0x5c
mov edx, 0x1000
cmp word [0x140033610], 0
mov rcx, r15
je 0x14000c0ed
nop
add rcx, 2
dec rdx
cmp word [rcx], 0
jne 0x14000c0e0
mov r8, r12
sub r8, rcx
cmp rdx, 1
jb 0x14000c5fe
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], 0
jne 0x14000c0f3
cmp word [0x140032df0], 0
mov word [rcx], si
jne 0x14000c164
cmp word [0x140033610], 0
mov edx, 0x1000
mov rcx, r13
je 0x14000c161
mov r8, r15
sub r8, r13
nop dword [rax]
cmp rdx, 1
jb 0x14000c5fe
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], 0
jne 0x14000c140
mov word [rcx], si
mov edx, 8
lea rcx, [rsp + 0x70]
call fcn.14000b210
mov edx, 4
lea rcx, [rsp + 0x58]
call fcn.14000b210
mov qword [rsp + 0x30], rsi
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 0x14000c1c9
mov bl, 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rsi, qword [rbp - 0x58]
mov r14, qword [rbp - 0x70]
jmp 0x14000c282
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x14000c1ff
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 0x14000c282
mov eax, eax
xor r9d, r9d
mov qword [rsp + 0x28], rsi
xor edx, edx
mov r8d, 2
mov qword [rbp - 0x60], rax
mov rcx, rdi
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rsi, rax
test rax, rax
jne 0x14000c241
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 0x14000c282
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
test rax, rax
jne 0x14000c280
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]
jmp 0x14000c282
xor bl, bl
test bl, bl
je 0x14000c28c
xor edi, edi
mov ebx, edi
jmp 0x14000c2c1
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 + 0x58], ebx
jne 0x14000c2d0
mov rsi, 0xffffffffffffffff
jmp 0x14000c30d
mov rcx, r15
call fcn.14000b8a0
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 0x14000c5f8
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x14000c373
nop word [rax + rax]
mov edi, 0x8000
lea rcx, [0x14003be40]
cmp rbx, rdi
cmovbe edi, ebx
movsxd r14, edi
mov rdx, r14
call fcn.14000b210
cmp rsi, 0xffffffffffffffff
je 0x14000c36e
xor eax, eax
lea r9, [rsp + 0x60]
mov r8d, edi
mov dword [rsp + 0x60], eax
lea rdx, [0x14003be40]
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000c5f2
sub rbx, r14
jne 0x14000c320
mov r14d, 0x80
cmp rsi, 0xffffffffffffffff
je 0x14000bff0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000bff0
call fcn.140005540
mov rcx, qword [0x14003be20]
call fcn.140013314
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x14002a6e4]
mov rdx, r14
mov r9d, eax
lea rcx, [rbp + 0x50]
call fcn.140001060
movzx eax, byte [rbp + 0x50]
lea rdi, [rbp + 0x50]
mov word [rbp + 0xd0], si
lea rbx, [rbp + 0xd0]
test al, al
je 0x14000c454
nop dword [rax + rax]
mov r8d, 2
mov byte [rsp + 0x54], al
lea rdx, [rsp + 0x54]
mov byte [rsp + 0x55], 0
lea rcx, [rsp + 0x58]
call fcn.1400100e0
cmp rax, 1
jne 0x14000c612
cmp word [rbx], 0
mov rax, r14
mov rcx, rbx
je 0x14000c42d
nop dword [rax]
nop dword [rax + rax]
add rcx, 2
dec rax
cmp word [rcx], 0
jne 0x14000c420
cmp rax, 1
jb 0x14000c612
movzx eax, word [rsp + 0x58]
inc rdi
mov word [rcx], ax
add rbx, 2
dec r14
mov word [rcx + 2], si
movzx eax, byte [rdi]
test al, al
jne 0x14000c3e0
lea rdx, [rbp + 0xd0]
lea rcx, str.NUITKA_ONEFILE_PARENT
call fcn.14000a9b0
call fcn.14000aab0
mov rdx, rax
lea rcx, str.NUITKA_ONEFILE_BINARY
call fcn.14000a9b0
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 qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, r13
lea rax, [rbp - 0x40]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov esi, 1
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000c604
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x40]
xor ebx, ebx
mov qword [0x140032dd8], rcx
mov dword [rsp + 0x5c], ebx
test rcx, rcx
je 0x14000c57d
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 0x14000c569
mov dword [rsp + 0x5c], esi
mov rcx, qword [0x140032dd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140032dd8], rbx
call fcn.14000b9b0
mov eax, dword [rsp + 0x5c]
mov r12, qword [rsp + 0xe10]
mov rcx, qword [rbp + 0xcd0]
xor rcx, rsp
call fcn.14000c630
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.14000b150
int3
lea rcx, str.CACHE_DIRSideJITServer
call fcn.14000b1e0
int3
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.14000b0d0
int3
call fcn.14000fda4
int3
call fcn.14000fda4
int3
mov qword [0x140032de0], rsi
call fcn.14000b170
int3
call fcn.14000b110
int3
call fcn.14000b1b0
int3
call fcn.14000fda4
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
call fcn.14000b190
int3
call fcn.14000fda4
int3