Function at 0x14001d9d0
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 [0x14029c028]
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 0x14001da6c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0xa0]
inc rax
cmp rax, 2
jae 0x14001ddee
mov rax, r14
inc rax
cmp rax, 2
jb 0x14001da5d
mov qword [rsi + 0xa0], r14
call fcn.1400eba00
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi + 0xa0]
inc r14
cmp r14, 2
jb 0x14001de0f
lea rcx, [rsi + 0x10]
mov edx, 1
call fcn.140042f50
test al, al
je 0x14001de0f
mov rax, qword [rsi + 0xa0]
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsi + 0x80]
test rcx, rcx
je 0x14001de0f
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 0x14001ddc2
movaps xmm6, xmmword [0x14026dc70]
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.14001e1f0
movzx eax, byte [rdi + 0x17]
test al, al
js 0x14001db16
and eax, 0x7f
jmp 0x14001db1d
mov rax, qword [rdi + 8]
mov rdi, qword [rdi]
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rax
test rax, rax
js 0x14001df31
test rdi, rdi
jne 0x14001db3e
test rax, rax
jne 0x14001df5d
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.140027ca0
mov rcx, rdi
mov rdx, rsi
call fcn.14014f280
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x14001db8c
mov rax, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
jmp 0x14001db8f
and eax, 0x7f
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x98], rax
test rax, rax
js 0x14001df31
test rdi, rdi
jne 0x14001dbb6
test rax, rax
jne 0x14001df5d
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.14001df90
cmp byte [rsp + 0x87], 0
js 0x14001de13
mov edx, dword [rsi + 0xa0]
lea rdi, [rsp + 0x70]
mov rcx, rdi
call fcn.1400dfff0
movzx eax, byte [rdi + 0x17]
test al, al
js 0x14001dc10
and eax, 0x7f
jmp 0x14001dc1a
mov rax, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rax
test rax, rax
js 0x14001df31
test rdi, rdi
jne 0x14001dc3b
test rax, rax
jne 0x14001df5d
lea rax, [0x1402850a3]
lea rdx, [rsp + 0x40]
mov qword [rdx], rax
mov qword [rdx + 8], 7
lea rcx, [rsp + 0xa0]
lea r8, [rsp + 0x50]
call fcn.14001df90
cmp byte [rsp + 0x87], 0
js 0x14001de22
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.14001e4e0
lea rdx, str.___thread
mov r8d, 0xa
mov rcx, r14
call fcn.14001eac0
lea rdi, [rsi + 0x88]
movzx eax, byte [r14 + 0x17]
mov r12d, eax
and r12d, 0x7f
test al, al
mov rbx, qword [r14]
cmovs r12, qword [r14 + 8]
cmovns rbx, r14
mov r15, qword [rsi + 0x88]
mov rax, qword [rsi + 0x98]
mov rcx, rax
sub rcx, r15
sar rcx, 1
cmp rcx, r12
jae 0x14001deb3
test r15, r15
jne 0x14001de7b
test r12, r12
js 0x14001df29
cmp rax, r12
mov rcx, r12
cmova rcx, rax
movabs rdx, 0x7ffffffffffffffe
lea r15, [rdx + 1]
cmp rax, rdx
cmovb r15, rcx
test r15, r15
js 0x14001df29
lea rcx, [r15 + r15]
call fcn.140184dc4
mov r14, rax
mov qword [rsi + 0x88], rax
mov qword [rsi + 0x90], rax
lea rax, [rax + r15*2]
mov qword [rsi + 0x98], rax
lea r8, [r12 + r12]
mov rcx, r14
mov rdx, rbx
call fcn.140189480
lea r14, [r14 + r12*2]
mov qword [rsi + 0x90], r14
mov word [rsp + 0xf8], 0
mov rax, qword [rsi + 0x88]
mov rcx, r14
sub rcx, rax
cmp rcx, 0xffffffffffffffbf
ja 0x14001de3d
lea r8, [rsp + 0xf8]
mov edx, 0x20
mov rcx, rdi
call fcn.14001e040
cmp byte [rsp + 0x87], 0
jns 0x14001ddb2
mov rcx, qword [rsp + 0x70]
call fcn.140184dbc
lea rcx, [rsp + 0xa0]
call fcn.14001d450
mov bpl, 1
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.1401879f0
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.1400eba00
mov rcx, qword [rsi + 0xa0]
call fcn.1401692a0
mov qword [rsi + 0xa0], 0
jmp 0x14001da45
xor ebp, ebp
jmp 0x14001ddc2
mov rcx, qword [rsp + 0x70]
call fcn.140184dbc
jmp 0x14001dbf0
mov rcx, qword [rsp + 0x70]
call fcn.140184dbc
jmp 0x14001dc72
mov qword [rsi + 0x90], rax
jmp 0x14001dd9e
add rax, rcx
add rax, 0x40
cmp r14, rax
je 0x14001de31
add r14, 0xfffffffffffffffe
jne 0x14001de44
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, 0x41
call fcn.1401c2f20
mov rax, qword [rsi + 0x90]
cmp rax, r15
je 0x14001de8f
add rax, 0xfffffffffffffffe
jne 0x14001de82
jmp 0x14001de4f
mov qword [rsi + 0x90], r15
mov rcx, r15
call fcn.140184dbc
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
xor eax, eax
jmp 0x14001dcf8
mov r8, qword [rsi + 0x90]
sub r8, r15
mov rax, r8
sar rax, 1
cmp rax, r12
jb 0x14001def6
lea r8, [r12 + r12]
mov rcx, r15
mov rdx, rbx
call fcn.140189480
lea r14, [r15 + r12*2]
mov rax, qword [rsi + 0x90]
cmp rax, r14
je 0x14001dd61
add rax, 0xfffffffffffffffe
jne 0x14001dee2
jmp 0x14001de4f
lea r14, [rbx + r12*2]
lea r12, [rbx + rax*2]
mov rcx, r15
mov rdx, rbx
call fcn.140189480
mov rbx, qword [rsi + 0x90]
sub r14, r12
mov rcx, rbx
mov rdx, r12
mov r8, r14
call fcn.140189480
add r14, rbx
jmp 0x14001dd61
mov rcx, rdi
call fcn.1401c2f20
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.1401c2f20
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.1401c2f20
int3