Function at 0x14000c590
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rdi
push r15
lea rbp, [rsp - 0x628]
sub rsp, 0x728
mov rax, qword [0x140027008]
xor rax, rsp
mov qword [rbp + 0x610], rax
mov r15, r8
lea rdx, [rbp + 0x400]
mov r8d, 0x208
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rbp + 0x400]
lea rcx, [rbp - 0x20]
call qword [sym.imp.SHLWAPI.dll_PathCanonicalizeW]
lea rcx, [rbp - 0x20]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edx, 0xc9
mov rcx, rdi
call fcn.14000c3e0
mov rsi, rax
test rax, rax
jne 0x14000c61e
xor r9d, r9d
lea rdx, str.This_program_is_used_for_packaged_games_and_is_not_meant_to_be_run_directly.
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 0x2328
jmp 0x14000c8e1
mov qword [rsp + 0x758], rbx
mov qword [rsp + 0x768], r12
mov r12, 0xffffffffffffffff
mov rax, r12
mov qword [rsp + 0x720], r14
inc rax
cmp word [rsi + rax*2], 0
jne 0x14000c640
lea rdx, [rbp - 0x20]
mov rcx, r12
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x14000c651
add rax, 0x14
add rcx, rax
mov eax, 2
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.14000c928
mov r9, rsi
lea r8, [rbp - 0x20]
lea rdx, str._s_s
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
mov rdx, rbx
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.SHLWAPI.dll_PathCanonicalizeW]
mov rcx, rbx
call fcn.14000c930
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edx, 0xca
mov rcx, rdi
call fcn.14000c3e0
mov r14, rax
mov rcx, r12
nop dword [rax + rax]
inc rcx
cmp word [r15 + rcx*2], 0
jne 0x14000c6d0
mov rax, r12
nop
inc rax
cmp word [r14 + rax*2], 0
jne 0x14000c6e0
add rcx, rax
mov rax, r12
inc rax
cmp word [rsi + rax*2], 0
jne 0x14000c6f1
add rcx, rax
lea rdx, [rbp - 0x20]
mov rax, r12
nop word [rax + rax]
cmp word [rdx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x14000c710
lea rbx, [rax + 0x14]
mov eax, 2
add rbx, rcx
mul rbx
cmovo rax, r12
mov rcx, rax
call fcn.14000c928
mov qword [rsp + 0x30], r15
lea r9, [rbp - 0x20]
mov qword [rsp + 0x28], r14
lea r8, str.__s_s___s__s
mov rdx, rbx
mov qword [rsp + 0x20], rsi
mov rcx, rax
mov rdi, rax
call fcn.14000c530
mov rcx, r14
call fcn.14000c930
mov rcx, rsi
call fcn.14000c930
lea rdx, [rbp + 0x1f0]
lea rcx, [rbp - 0x20]
call fcn.14000c000
mov r14, qword [rsp + 0x720]
mov ebx, eax
test eax, eax
jne 0x14000c8bb
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
xor eax, eax
xor r9d, r9d
mov dword [rbp - 0x2c], eax
xor r8d, r8d
mov qword [rsp + 0x68], rax
mov rdx, rdi
lea rax, [rsp + 0x58]
xor ecx, ecx
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 1
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rbp - 0x7c], xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rsp + 0x58], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14000c875
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rcx, r12
inc rcx
cmp word [rdi + rcx*2], 0
jne 0x14000c810
add rcx, 0x32
mov eax, 2
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.14000c928
mov r9d, esi
lea rdx, str.Couldnt_start:_n_s_nCreateProcess___returned__x.
mov r8, rdi
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, rbx
call fcn.14000c930
mov rcx, rdi
mov ebx, 0x232d
call fcn.14000c930
mov eax, ebx
jmp 0x14000c8d1
mov rcx, qword [rsp + 0x58]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x232e
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x50]
test ebx, ebx
je 0x14000c8c7
mov rcx, rdi
call fcn.14000c930
mov eax, ebx
jmp 0x14000c8d1
mov rcx, rdi
call fcn.14000c930
xor eax, eax
mov rbx, qword [rsp + 0x758]
mov r12, qword [rsp + 0x768]
mov rcx, qword [rbp + 0x610]
xor rcx, rsp
call fcn.14000ca30
add rsp, 0x728
pop r15
pop rdi
pop rsi
pop rbp
ret