Function at 0x140013d70
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x120
movaps xmmword [rsp + 0x110], xmm6
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x108], 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 r14, rax
cmp qword [rsi + 0xa0], rax
je 0x140013e0c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0xa0]
inc rax
cmp rax, 2
jae 0x14001418e
mov rax, r14
inc rax
cmp rax, 2
jb 0x140013dfd
mov qword [rsi + 0xa0], r14
call fcn.1400b90a0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi + 0xa0]
inc r14
cmp r14, 2
jb 0x1400141af
lea rcx, [rsi + 0x10]
mov edx, 1
call fcn.1400337d0
test al, al
je 0x1400141af
mov rax, qword [rsi + 0xa0]
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsi + 0x80]
test rcx, rcx
je 0x1400141af
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], 8
xor ebp, ebp
lea r9, [rsp + 0xf0]
mov r8d, 0x20002
xor edx, edx
call qword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
test eax, eax
je 0x140014162
movaps xmm6, xmmword [0x1401ee3a0]
lea rcx, [rsp + 0xa0]
movaps xmmword [rcx + 0x40], xmm6
movaps xmmword [rcx + 0x30], xmm6
movaps xmmword [rcx + 0x20], xmm6
movaps xmmword [rcx + 0x10], xmm6
movaps xmmword [rcx], xmm6
mov rdx, rbx
call fcn.1400efcf0
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x140013eba
mov rax, qword [rdi + 8]
mov rdi, qword [rdi]
jmp 0x140013ebd
and eax, 0x7f
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rax
test rax, rax
js 0x1400142de
test rdi, rdi
jne 0x140013ede
test rax, rax
jne 0x14001430a
lea rax, str.database
lea rdx, [rsp + 0xf8]
mov qword [rdx], rax
mov qword [rdx + 8], 8
lea rcx, [rsp + 0xa0]
lea rdi, [rsp + 0x70]
mov r8, rdi
call fcn.14001a590
mov rcx, rdi
mov rdx, rsi
call fcn.1400efbd0
movzx eax, byte [rdi + 0x17]
test al, al
js 0x140013f25
and eax, 0x7f
jmp 0x140013f2f
mov rax, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x98], rax
test rax, rax
js 0x1400142de
test rdi, rdi
jne 0x140013f56
test rax, rax
jne 0x14001430a
lea rax, str.exception_pointers
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], 0x12
lea rcx, [rsp + 0xa0]
lea r8, [rsp + 0x90]
call fcn.140014340
cmp byte [rsp + 0x87], 0
js 0x1400141b3
mov edx, dword [rsi + 0xa0]
lea rdi, [rsp + 0x70]
mov rcx, rdi
call fcn.1400b0970
movzx eax, byte [rdi + 0x17]
test al, al
js 0x140013fb0
and eax, 0x7f
jmp 0x140013fba
mov rax, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rax
test rax, rax
js 0x1400142de
test rdi, rdi
jne 0x140013fdb
test rax, rax
jne 0x14001430a
lea rax, [0x1402020c3]
lea rdx, [rsp + 0x40]
mov qword [rdx], rax
mov qword [rdx + 8], 7
lea rcx, [rsp + 0xa0]
lea r8, [rsp + 0x50]
call fcn.140014340
cmp byte [rsp + 0x87], 0
js 0x1400141c2
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x70]
mov qword [r14 + 0x10], rax
movaps xmmword [r14], xmm6
lea rcx, [rsp + 0xa0]
mov rdx, r14
call fcn.1400145a0
lea rdx, str.___thread
mov r8d, 0xa
mov rcx, r14
call fcn.140014ba0
lea rdi, [rsi + 0x88]
movzx eax, byte [r14 + 0x17]
mov r15d, eax
and r15d, 0x7f
test al, al
mov rbx, qword [r14]
cmovs r15, qword [r14 + 8]
cmovns rbx, r14
mov r14, qword [rsi + 0x88]
mov rax, qword [rsi + 0x98]
mov rcx, rax
sub rcx, r14
sar rcx, 1
cmp rcx, r15
jae 0x140014253
test r14, r14
jne 0x14001421b
test r15, r15
js 0x1400142d6
cmp rax, r15
mov rcx, r15
cmova rcx, rax
movabs rdx, 0x7ffffffffffffffe
lea r12, [rdx + 1]
cmp rax, rdx
cmovb r12, rcx
test r12, r12
js 0x1400142d6
lea rcx, [r12 + r12]
call fcn.14012c264
mov r14, rax
mov qword [rsi + 0x88], rax
mov qword [rsi + 0x90], rax
lea rax, [rax + r12*2]
mov qword [rsi + 0x98], rax
lea r8, [r15 + r15]
mov rcx, r14
mov rdx, rbx
call fcn.140130690
lea r15, [r14 + r15*2]
mov qword [rsi + 0x90], r15
mov word [rsp + 0xf8], 0
mov rax, qword [rsi + 0x88]
mov rcx, r15
sub rcx, rax
cmp rcx, 0xffffffffffffffbf
ja 0x1400141dd
lea r8, [rsp + 0xf8]
mov edx, 0x20
mov rcx, rdi
call fcn.1400143f0
cmp byte [rsp + 0x87], 0
jns 0x140014152
mov rcx, qword [rsp + 0x70]
call fcn.14012c25c
lea rcx, [rsp + 0xa0]
call fcn.1400137f0
mov bpl, 1
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.14012ec00
mov eax, ebp
movaps xmm6, xmmword [rsp + 0x110]
add rsp, 0x120
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400b90a0
mov rcx, qword [rsi + 0xa0]
call fcn.14011a250
mov qword [rsi + 0xa0], 0
jmp 0x140013de5
xor ebp, ebp
jmp 0x140014162
mov rcx, qword [rsp + 0x70]
call fcn.14012c25c
jmp 0x140013f90
mov rcx, qword [rsp + 0x70]
call fcn.14012c25c
jmp 0x140014012
mov qword [rsi + 0x90], rax
jmp 0x14001413e
add rax, rcx
add rax, 0x40
cmp r15, rax
je 0x1400141d1
add r15, 0xfffffffffffffffe
jne 0x1400141e4
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x44
call fcn.140167880
mov rax, qword [rsi + 0x90]
cmp rax, r14
je 0x14001422f
add rax, 0xfffffffffffffffe
jne 0x140014222
jmp 0x1400141ef
mov qword [rsi + 0x90], r14
mov rcx, r14
call fcn.14012c25c
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
xor eax, eax
jmp 0x140014098
mov rax, qword [rsi + 0x90]
mov r8, rax
sub r8, r14
mov rcx, r8
sar rcx, 1
cmp rcx, r15
jb 0x14001429e
test r15, r15
je 0x140014286
lea r8, [r15 + r15]
mov rcx, r14
mov rdx, rbx
call fcn.140130690
mov rax, qword [rsi + 0x90]
lea r15, [r14 + r15*2]
cmp rax, r15
je 0x140014101
add rax, 0xfffffffffffffffe
jne 0x14001428a
jmp 0x1400141ef
lea r15, [rbx + r15*2]
lea r12, [rbx + rcx*2]
cmp rax, r14
je 0x1400142bd
mov rcx, r14
mov rdx, rbx
call fcn.140130690
mov r14, qword [rsi + 0x90]
sub r15, r12
mov rcx, r14
mov rdx, r12
mov r8, r15
call fcn.140130690
add r15, r14
jmp 0x140014101
mov rcx, rdi
call fcn.140167880
lea rax, str.string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len___static_cast_size_type__numeric_limits_difference_type_::max___
mov r8d, 0x13a
call fcn.140167880
lea rax, str.string_view::string_view__CharT___size_t_:_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len__0____s___nullptr
mov r8d, 0x13c
call fcn.140167880
int3