Function at 0x1400c5a80
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x320], rbx
mov rax, qword [0x1402a98a8]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rbx, rdx
mov rdi, rcx
xor r14b, r14b
xor r12d, r12d
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r12w
lea r13, [0x1401e5cd0]
test rdx, rdx
jne 0x1400c5ccd
mov rax, qword [rcx]
mov rdx, qword [rax + 0x18]
lea rcx, [rsp + 0x40]
call fcn.14002d200
nop
call fcn.14000c990
lea rbx, [rax + 0x378]
cmp qword [rbx + 0x18], 8
jb 0x1400c5b1b
mov rbx, qword [rbx]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1401e5030]
movdqu xmmword [rsp + 0x60], xmm1
mov word [rsp + 0x50], r12w
xor r8d, r8d
lea rdx, [0x1401e6278]
lea rcx, [rsp + 0x50]
call fcn.140006d70
nop
movzx eax, word [rbx]
test ax, ax
je 0x1400c5bbc
cmp ax, 0x2e
je 0x1400c5b6e
mov r8d, 1
mov rdx, r13
lea rcx, [rsp + 0x50]
call fcn.140006aa0
mov r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x1400c5b75
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140006aa0
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
lea rdx, str.Session_file
lea rcx, [rsp + 0x40]
call fcn.140030020
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14002ffb0
lea r8, [0x1401e52d4]
lea rdx, str.All_types
lea rcx, [rsp + 0x40]
call fcn.140030020
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.14002e240
mov rbx, rax
lea rax, [rsp + 0x70]
cmp rax, rbx
je 0x1400c5c19
lea rcx, [rsp + 0x70]
call fcn.1400068d0
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x1400c5c59
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c5c54
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c603a
call fcn.1401812c4
movdqa xmm0, xmmword [0x1401e5030]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], r12w
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400c5cad
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c5ca8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c6040
call fcn.1401812c4
movdqa xmm0, xmmword [0x1401e5030]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r12w
lea rcx, [rsp + 0x40]
call fcn.14002d530
jmp 0x1400c5cf9
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400c5cf9
mov r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x1400c5ce1
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140006d70
call fcn.14000c990
mov r15, rax
cmp qword [rbp - 0x80], 0
je 0x1400c5fb7
cmp qword [rdi + 0x4b0], 1
jne 0x1400c5d6e
cmp qword [rdi + 0x588], 1
jne 0x1400c5d6e
lea rcx, [rdi + 0x490]
xor edx, edx
call fcn.14004a2c0
mov rsi, rax
call fcn.14004a380
lea rcx, [rdi + 0x568]
xor edx, edx
call fcn.14004a2c0
mov rbx, rax
call fcn.14004a380
cmp byte [rsi + 0x48], 0
jne 0x1400c5d6e
cmp dword [rsi + 0xa0], 2
jne 0x1400c5d6e
cmp byte [rbx + 0x48], 0
jne 0x1400c5d6e
cmp dword [rbx + 0xa0], 2
je 0x1400c5ea7
mov eax, dword [r15 + 0x830]
dec eax
cmp eax, 1
ja 0x1400c5ea7
mov r8d, 0x104
lea rdx, [rbp - 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1401e5030]
movdqu xmmword [rsp + 0x60], xmm1
mov word [rsp + 0x50], r12w
mov r8d, 0x23
lea rdx, str._multiInst__nosession__openSession
lea rcx, [rsp + 0x50]
call fcn.140006d70
nop
mov r8d, 1
lea rdx, [0x1401f4c4c]
lea rcx, [rsp + 0x50]
call fcn.140006aa0
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
lea rcx, [rsp + 0x50]
call fcn.140006aa0
mov r8d, 1
lea rdx, [0x1401f4c4c]
lea rcx, [rsp + 0x50]
call fcn.140006aa0
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r9, qword [rsp + 0x50]
mov rax, qword [rdi]
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], r13
lea r8, [rbp - 0x50]
lea rdx, str.open
mov rcx, qword [rax + 0x18]
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov r14b, 1
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400c5e8e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c5e89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c6046
call fcn.1401812c4
movdqa xmm0, xmmword [0x1401e5030]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r12w
jmp 0x1400c5fb7
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r12
mov byte [rbp - 0x38], 0
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1401e5030]
movdqa xmmword [rbp - 0x20], xmm1
mov word [rbp - 0x30], r12w
movdqa xmmword [rbp - 0x10], xmm0
mov qword [rbp], r12
mov qword [rbp + 8], r12
movdqa xmmword [rbp + 0x10], xmm0
movdqa xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r12
lea rbx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rbx, qword [rsp + 0x70]
call fcn.14000c990
mov rcx, rax
mov r8, rbx
lea rdx, [rbp - 0x50]
call fcn.1400e9ef0
test al, al
je 0x1400c5f52
mov r9b, 1
xor r8d, r8d
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.1400c85b0
mov r14b, 1
test al, al
jne 0x1400c5f52
lea rbx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rbx, qword [rsp + 0x70]
call fcn.14000c990
mov rcx, rax
mov r8, rbx
lea rdx, [rbp - 0x50]
call fcn.1400ed340
nop
lea rcx, [rbp + 0x20]
call fcn.14000b990
nop
lea rcx, [rbp + 8]
call fcn.1400c1b10
nop
lea rcx, [rbp - 0x10]
call fcn.1400c1b10
nop
lea rcx, [rbp - 0x30]
call fcn.1400068d0
test r14b, r14b
jne 0x1400c5fb7
lea rcx, [rdi + 0x478]
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r12d
lea rax, str.Could_not_Load_Session
mov qword [rsp + 0x20], rax
lea r9, str.Session_file_is_either_corrupted_or_not_valid.
xor r8d, r8d
lea rdx, str.SessionFileInvalidError
call fcn.14007c160
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1400c5ff4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c5fef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c6034
call fcn.1401812c4
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r12w
movzx eax, r14b
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1401813e0
mov rbx, qword [rsp + 0x320]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1401a2d8c
nop
call fcn.1401a2d8c
nop
call fcn.1401a2d8c
nop
call fcn.1401a2d8c
int3