Function at 0x140092610
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x118
movaps xmmword [rsp + 0x100], xmm6
mov rbx, r8
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x140216028]
xor rax, rsp
mov qword [rsp + 0xf8], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, 0x451
mov edx, 1
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
cmp qword [rsi + 0xa0], rax
je 0x1400926aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0xa0]
inc rax
cmp rax, 2
jae 0x1400928ed
mov rax, rdi
inc rax
cmp rax, 2
jb 0x14009269b
mov qword [rsi + 0xa0], rdi
call fcn.1400ec7c0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsi + 0xa0]
inc rdi
cmp rdi, 2
jb 0x14009290e
lea rdi, [rsi + 0x10]
mov rcx, rdi
mov edx, 1
call fcn.1400a8950
test al, al
je 0x14009290e
mov rax, qword [rsi + 0xa0]
lea r8, [rsp + 0xf0]
mov qword [r8], rax
mov edx, 0x20002
mov r9d, 8
mov rcx, rdi
call fcn.1400a8a20
mov edi, eax
test al, al
je 0x1400928c3
movaps xmm6, xmmword [0x1401ec750]
lea r15, [rsp + 0xa0]
movaps xmmword [r15 + 0x40], xmm6
movaps xmmword [r15 + 0x30], xmm6
movaps xmmword [r15 + 0x20], xmm6
movaps xmmword [r15 + 0x10], xmm6
movaps xmmword [r15], xmm6
mov rcx, r15
mov rdx, r14
call fcn.140074dc0
lea rax, str.database
lea rdx, [rsp + 0x90]
mov qword [rdx], rax
mov qword [rdx + 8], 8
mov rcx, r15
mov r8, rbx
call fcn.140075eb0
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov rdx, rsi
call fcn.1400e67b0
movzx eax, byte [rbx + 0x17]
test al, al
mov rcx, qword [rbx]
cmovns rcx, rbx
lea r8, [rsp + 0x80]
mov qword [r8], rcx
cmovs rax, qword [rbx + 8]
mov qword [r8 + 8], rax
lea rax, str.exception_pointers
lea rdx, [rsp + 0x50]
mov qword [rdx], rax
mov qword [rdx + 8], 0x12
mov rcx, r15
call fcn.140076430
cmp byte [rbx + 0x17], 0
js 0x140092912
mov edx, dword [rsi + 0xa0]
mov rcx, rbx
call fcn.1400e66b0
movzx eax, byte [rsp + 0x77]
test al, al
mov rcx, qword [rsp + 0x60]
cmovns rcx, rbx
lea r8, [rsp + 0x40]
mov qword [r8], rcx
cmovs rax, qword [rsp + 0x68]
mov qword [r8 + 8], rax
lea rax, [0x1401ec765]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 7
lea rcx, [rsp + 0xa0]
call fcn.140076430
cmp byte [rsp + 0x77], 0
js 0x140092921
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], rax
movaps xmmword [rsp + 0x60], xmm6
lea rcx, [rsp + 0xa0]
mov rdx, rbx
call fcn.140076c20
lea rdx, str.___thread
mov r8d, 0xa
mov rcx, rbx
call fcn.140061f10
lea r14, [rsi + 0x88]
movzx eax, byte [rsp + 0x77]
test al, al
jns 0x140092862
mov rbx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x68]
lea r8, [rbx + rax*2]
mov rcx, r14
mov rdx, rbx
call fcn.140092950
mov word [rsp + 0x2e], 0
mov rax, qword [rsi + 0x88]
mov rcx, qword [rsi + 0x90]
sub rcx, rax
cmp rcx, 0xffffffffffffffbf
ja 0x140092930
lea r8, [rsp + 0x2e]
mov edx, 0x20
mov rcx, r14
call fcn.140065f80
cmp byte [rsp + 0x77], 0
jns 0x1400928b6
mov rcx, qword [rsp + 0x60]
call fcn.14010f324
lea rcx, [rsp + 0xa0]
call fcn.140074ec0
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.140110830
mov eax, edi
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400ec7c0
mov rcx, qword [rsi + 0xa0]
call fcn.1400df420
mov qword [rsi + 0xa0], 0
jmp 0x140092683
xor edi, edi
jmp 0x1400928c3
mov rcx, qword [rsp + 0x60]
call fcn.14010f324
jmp 0x1400927b0
mov rcx, qword [rsp + 0x60]
call fcn.14010f324
jmp 0x14009280f
add rax, rcx
add rax, 0x40
mov qword [rsi + 0x90], rax
jmp 0x1400928a5