Function at 0x140114e72
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 r14, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14028f028]
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 0x140114f0c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0xa0]
inc rax
cmp rax, 2
jae 0x140115148
mov rax, rdi
inc rax
cmp rax, 2
jb 0x140114efd
mov qword [rsi + 0xa0], rdi
call fcn.140071760
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsi + 0xa0]
inc rdi
cmp rdi, 2
jb 0x140115186
lea rdi, [rsi + 0x10]
mov rcx, rdi
mov edx, 1
call fcn.140115960
test al, al
je 0x140115186
mov rax, qword [rsi + 0xa0]
lea r8, [rsp + 0xf0]
mov qword [r8], rax
mov edx, 0x20002
mov r9d, 8
mov rcx, rdi
call fcn.140115250
mov edi, eax
test al, al
je 0x14011511e
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbp, [rsp + 0xa0]
mov qword [rbp + 0x40], r15
movaps xmm6, xmmword [0x140257270]
movaps xmmword [rbp + 0x30], xmm6
movaps xmmword [rbp + 0x20], xmm6
movaps xmmword [rbp + 0x10], xmm6
movaps xmmword [rbp], xmm6
mov rcx, rbp
mov rdx, rbx
call fcn.140115290
lea rax, str.database
lea rdx, [rsp + 0x90]
mov qword [rdx], rax
mov qword [rdx + 8], 8
mov rcx, rbp
mov r8, r14
call fcn.140115900
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov rdx, rsi
call fcn.1400995b0
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, rbp
call fcn.1401151c0
cmp byte [rbx + 0x17], 0
js 0x14011518a
mov edx, dword [rsi + 0xa0]
mov rcx, rbx
call fcn.1400994c0
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, [0x14026977e]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 7
lea rcx, [rsp + 0xa0]
call fcn.1401151c0
cmp byte [rsp + 0x77], 0
js 0x140115199
mov qword [rsp + 0x70], r15
movaps xmmword [rsp + 0x60], xmm6
lea rcx, [rsp + 0xa0]
mov rdx, rbx
call fcn.140115cb0
lea rdx, str.___thread
mov rcx, rbx
call fcn.140099f6e
lea rbp, [rsi + 0x88]
movzx eax, byte [rsp + 0x77]
test al, al
jns 0x1401150ba
mov rbx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x68]
lea r8, [rbx + rax*2]
mov rcx, rbp
mov rdx, rbx
call fcn.140115b64
mov word [rsp + 0x2e], 0
mov rax, qword [rsi + 0x88]
mov rcx, qword [rsi + 0x90]
sub rcx, rax
sar rcx, 1
cmp rcx, 0xffffffffffffffdf
ja 0x1401151a8
lea r8, [rsp + 0x2e]
mov edx, 0x20
mov rcx, rbp
call fcn.140115a30
cmp byte [rsp + 0x77], 0
jns 0x140115111
mov rcx, qword [rsp + 0x60]
call fcn.1400c9cac
lea rcx, [rsp + 0xa0]
call fcn.140114c30
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1400ccfe0
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.140071760
mov r15, qword [rsi + 0xa0]
mov rcx, qword [0x1402980e0]
test rcx, rcx
je 0x140115178
mov rax, qword [rcx]
mov rdx, r15
call qword [rax]
mov qword [rsi + 0xa0], 0
jmp 0x140114ee5
call fcn.140122340
mov rcx, qword [0x1402980e0]
jmp 0x140115160
xor edi, edi
jmp 0x14011511e
mov rcx, qword [rsp + 0x60]
call fcn.1400c9cac
jmp 0x140115018
mov rcx, qword [rsp + 0x60]
call fcn.1400c9cac
jmp 0x140115077
lea rax, [rax + rcx*2]
add rax, 0x40
mov qword [rsi + 0x90], rax
jmp 0x140115100