Function at 0x1400075b0
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x680
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x1400781a0]
xor rax, rsp
mov qword [rsp + 0x670], rax
xor esi, esi
mov rbx, qword [0x1400803d0]
test rbx, rbx
jne 0x1400076a4
mov ecx, 0x310
call fcn.14001f560
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000769a
call fcn.14002b6f8
mov rdx, rax
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x14000762a
mov ecx, 0x80004005
call fcn.140002210
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
mov word [rbx + 0x64], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x1400660dc]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x1400660dc]
mov rcx, rbx
call fcn.140005c50
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x26c]
mov word [rcx], 0
lea r8, [0x1400660e0]
mov edx, 0x50
call fcn.140036860
nop
jmp 0x14000769d
mov rbx, rsi
mov qword [0x1400803d0], rbx
lea rdx, str.Entering_CHpePrintApp::ePrintSplash
mov rcx, rbx
call fcn.14000f840
mov word [rsp + 0x40], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x42]
call fcn.140038800
mov word [rsp + 0x460], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x462]
call fcn.140038800
mov word [rsp + 0x250], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x252]
call fcn.140038800
call fcn.14002b244
mov rcx, qword [rax + 8]
mov r8d, 0x104
lea rdx, [rsp + 0x250]
mov rcx, qword [rcx + 0x88]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x460]
mov edx, 0x104
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov rdx, qword [rsp + 0x30]
mov word [rdx], 0
mov word [rsp + 0x40], 0
lea r8, [rsp + 0x460]
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.140036860
lea rdx, str.HPSplash
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, str.HPePrint.exe
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [rsp + 0x40]
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rbx, qword [0x1400803d0]
test rbx, rbx
jne 0x14000787e
mov ecx, 0x310
call fcn.14001f560
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140007874
call fcn.14002b6f8
mov rcx, rax
test rax, rax
setne sil
test esi, esi
jne 0x140007807
mov ecx, 0x80004005
call fcn.140002210
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
mov word [rbx + 0x64], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x1400660dc]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x1400660dc]
mov rcx, rbx
call fcn.140005c50
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x26c]
mov word [rcx], 0
lea r8, [0x1400660e0]
mov edx, 0x50
call fcn.140036860
nop
jmp 0x140007877
mov rbx, rsi
mov qword [0x1400803d0], rbx
lea rdx, str.Exiting_CHpePrintApp::ePrintSplash
mov rcx, rbx
call fcn.14000f840
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.140034e40
lea r11, [rsp + 0x680]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret