Function at 0x14000b0b0
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 rbp
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x140029008]
xor rax, rsp
mov qword [rbp + 0x90], rax
lea rdx, str._CACHE_DIR_orionterminal_VERSION_
lea rcx, [0x14002d540]
call fcn.14000a6d0
test al, al
je 0x14000b60e
mov edx, 1
mov qword [rsp + 0x1d8], rsi
lea rcx, [0x14000b050]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x14000b61b
mov edx, 0x1b
xor ecx, ecx
lea r8d, [rdx - 0x11]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [0x140031568], rax
movzx ecx, word [rax]
movzx edx, byte [rax + 2]
add rax, 3
mov word [rsp + 0x50], cx
mov qword [0x140031540], rax
cmp cl, 0x4b
jne 0x14000b608
cmp byte [rsp + 0x51], 0x41
jne 0x14000b608
cmp dl, 0x59
jne 0x14000b608
mov qword [rsp + 0x1a0], r15
mov ecx, 0x20000
xor r15d, r15d
mov qword [0x14002d528], r15
call fcn.140010178
mov qword [0x140031550], rax
test rax, rax
je 0x14000b628
movups xmm0, xmmword [0x1400257d8]
mov ecx, 0x274b8
mov qword [rsp + 0x1d0], rbx
movaps xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [0x1400257e8]
movsd qword [rsp + 0x60], xmm0
call fcn.140010178
mov rbx, rax
test rax, rax
je 0x14000b62e
movaps xmm0, xmmword [rsp + 0x70]
mov rcx, rax
movups xmmword [rax + 0x73a0], xmm0
mov qword [rsp + 0x1e0], rdi
movsd xmm0, qword [rsp + 0x60]
mov qword [rsp + 0x1b8], r12
mov qword [rsp + 0x1b0], r13
movsd qword [rax + 0x73b0], xmm0
mov qword [rsp + 0x1a8], r14
call fcn.140005260
mov qword [0x14002d520], rbx
lea r12, [0x14002ad10]
lea edi, [r15 + 0x5c]
lea r13, [0x14002cd10]
nop
mov edx, 2
lea rcx, [rsp + 0x50]
lea rbx, [0x140031580]
call fcn.14000ac00
movzx eax, word [rsp + 0x50]
mov word [0x140031580], ax
test ax, ax
je 0x14000b49d
nop dword [rax + rax]
mov edx, 2
lea rcx, [rsp + 0x50]
lea rbx, [rbx + 2]
call fcn.14000ac00
movzx eax, word [rsp + 0x50]
mov word [rbx], ax
test ax, ax
jne 0x14000b260
cmp word [0x140031580], r15w
je 0x14000b49d
cmp word [0x14002d540], r15w
mov edx, 0x1000
mov word [0x14002ad10], r15w
mov rcx, r12
je 0x14000b2d2
lea r8, [0x14002d540]
sub r8, r12
cmp rdx, 1
jb 0x14000b647
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], r15w
jne 0x14000b2b2
mov word [rcx], r15w
mov rax, r12
cmp word [0x14002ad10], r15w
mov ecx, 0x1000
je 0x14000b307
nop dword [rax + rax]
add rax, 2
dec rcx
cmp word [rax], r15w
jne 0x14000b2f0
cmp rcx, 1
jb 0x14000b647
mov dword [rax], 0x5c
mov edx, 0x1000
cmp word [0x14002ad10], r15w
mov rax, r12
je 0x14000b32d
nop
add rax, 2
dec rdx
cmp word [rax], r15w
jne 0x14000b320
lea r8, [0x140031580]
sub r8, rax
nop word [rax + rax]
cmp rdx, 1
jb 0x14000b647
movzx ecx, word [r8 + rax]
dec rdx
mov word [rax], cx
add rax, 2
cmp word [r8 + rax], r15w
jne 0x14000b340
cmp word [0x14002cd10], r15w
mov word [rax], r15w
jne 0x14000b3aa
cmp word [0x14002ad10], r15w
mov edx, 0x1000
mov rcx, r13
je 0x14000b3a6
mov r8, r12
sub r8, r13
cmp rdx, 1
jb 0x14000b647
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], r15w
jne 0x14000b386
mov word [rcx], r15w
mov edx, 8
lea rcx, [rsp + 0x70]
call fcn.14000ac00
mov rbx, qword [rsp + 0x70]
lea rcx, [rsp + 0x58]
mov edx, 4
call fcn.14000ac00
call fcn.14000a320
cmp dword [rsp + 0x58], eax
jne 0x14000b3e1
mov r14, 0xffffffffffffffff
jmp 0x14000b41d
mov rcx, r12
call fcn.14000aef0
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov edx, 0x40000000
mov rcx, r12
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14000b641
test rbx, rbx
je 0x14000b485
nop dword [rax]
nop word [rax + rax]
mov edi, 0x8000
lea rcx, [0x140031d80]
cmp rbx, rdi
cmovbe edi, ebx
movsxd rsi, edi
mov rdx, rsi
call fcn.14000ac00
cmp r14, 0xffffffffffffffff
je 0x14000b47d
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], r15d
mov r8d, edi
mov qword [rsp + 0x20], r15
lea rdx, [0x140031d80]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000b63b
sub rbx, rsi
jne 0x14000b430
lea edi, [rbx + 0x5c]
cmp r14, 0xffffffffffffffff
je 0x14000b230
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000b230
call fcn.1400053d0
mov rcx, qword [0x140031550]
call fcn.140010164
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x140025410]
mov edx, 0x80
mov r9d, eax
lea rcx, [rbp + 0x10]
call fcn.1400010c0
lea rdx, [rbp + 0x10]
lea rcx, str.NUITKA_ONEFILE_PARENT
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
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], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000b64d
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
mov qword [0x14002d518], rcx
mov dword [rsp + 0x54], r15d
test rcx, rcx
je 0x14000b5af
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x14002d518]
lea rdx, [rsp + 0x54]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [rsp + 0x54]
test eax, eax
mov eax, 1
cmove ecx, eax
mov dword [rsp + 0x54], ecx
mov rcx, qword [0x14002d518]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14002d518], r15
call fcn.14000b000
mov eax, dword [rsp + 0x54]
mov r14, qword [rsp + 0x1a8]
mov r13, qword [rsp + 0x1b0]
mov r12, qword [rsp + 0x1b8]
mov rdi, qword [rsp + 0x1e0]
mov rbx, qword [rsp + 0x1d0]
mov r15, qword [rsp + 0x1a0]
mov rsi, qword [rsp + 0x1d8]
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14000b670
add rsp, 0x1c0
pop rbp
ret
call fcn.14000ab50
int3
lea rcx, str._CACHE_DIR_orionterminal_VERSION_
call fcn.14000abd0
int3
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.14000aad0
int3
call fcn.14000ab70
int3
mov qword [0x14002d520], r15
call fcn.14000ab70
int3
call fcn.14000ab10
int3
call fcn.14000aba0
int3
call fcn.14000d8d0
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
call fcn.14000ab90
int3