Function at 0x14001c770
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x128
movaps xmmword [rsp + 0x110], xmm6
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1402b4040]
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 0x14001c80e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0xa0]
inc rax
cmp rax, 2
jae 0x14001cb8e
mov rax, r14
inc rax
cmp rax, 2
jb 0x14001c7ff
mov qword [rsi + 0xa0], r14
call fcn.140119350
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi + 0xa0]
inc r14
cmp r14, 2
jb 0x14001ccb4
lea rcx, [rsi + 0x10]
mov edx, 1
call fcn.140037ce0
test al, al
je 0x14001ccb4
mov rax, qword [rsi + 0xa0]
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsi + 0x80]
test rcx, rcx
je 0x14001ccb4
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 0x14001cb60
movaps xmm6, xmmword [0x140270080]
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.14001cf30
movsx rax, byte [rdi + 0x17]
test rax, rax
jns 0x14001c8bc
mov rax, qword [rdi + 8]
mov rdi, qword [rdi]
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rax
test rax, rax
js 0x14001ccbb
sete al
test rdi, rdi
setne cl
or cl, al
je 0x14001ccce
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.140004c90
mov rcx, rdi
mov rdx, rsi
call fcn.14016f310
movsx rax, byte [rdi + 0x17]
test rax, rax
jns 0x14001c92e
mov rax, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x98], rax
test rax, rax
js 0x14001ccbb
sete al
test rdi, rdi
setne cl
or cl, al
je 0x14001ccce
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.14001cd10
cmp byte [rsp + 0x87], 0
js 0x14001cce9
mov edx, dword [rsi + 0xa0]
lea rdi, [rsp + 0x70]
mov rcx, rdi
call fcn.14011d360
movsx rax, byte [rdi + 0x17]
test rax, rax
jns 0x14001c9b9
mov rax, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rax
test rax, rax
js 0x14001ccbb
sete al
test rdi, rdi
setne cl
or cl, al
je 0x14001ccce
lea rax, [0x14028cd0f]
lea rdx, [rsp + 0x40]
mov qword [rdx], rax
mov qword [rdx + 8], 7
lea rcx, [rsp + 0xa0]
lea r8, [rsp + 0x50]
call fcn.14001cd10
cmp byte [rsp + 0x87], 0
js 0x14001ccf8
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x70]
mov qword [rbx + 0x10], rax
movaps xmmword [rbx], xmm6
lea rcx, [rsp + 0xa0]
mov rdx, rbx
call fcn.14001d200
lea rdx, str.___thread
mov r8d, 0xa
mov rcx, rbx
call fcn.14016f420
movsx r13, byte [rbx + 0x17]
test r13, r13
jns 0x14001ca63
mov rbx, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
lea rdi, [rsi + 0x88]
lea r15, [r13*2]
mov r14, qword [rsi + 0x88]
mov rax, qword [rsi + 0x98]
mov rcx, rax
sub rcx, r14
sar rcx, 1
cmp rcx, r13
jae 0x14001cc0a
test r14, r14
jne 0x14001cbaf
test r13, r13
js 0x14001cce1
cmp rax, r13
cmova r13, rax
movabs rcx, 0x7ffffffffffffffe
lea r12, [rcx + 1]
cmp rax, rcx
cmovb r12, r13
test r12, r12
js 0x14001cce1
lea rcx, [r12 + r12]
call fcn.14018fb98
mov r14, rax
mov qword [rsi + 0x88], rax
mov qword [rsi + 0x90], rax
lea rax, [rax + r12*2]
mov qword [rsi + 0x98], rax
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.1401cdcb0
add r14, r15
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 0x14001cbea
lea r8, [rsp + 0xf8]
mov edx, 0x20
mov rcx, rdi
call fcn.14001cdf0
cmp byte [rsp + 0x87], 0
jns 0x14001cb50
mov rcx, qword [rsp + 0x70]
call fcn.14018fb90
lea rcx, [rsp + 0xa0]
call fcn.14001c470
mov bpl, 1
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.140192360
mov eax, ebp
movaps xmm6, xmmword [rsp + 0x110]
add rsp, 0x128
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140119350
mov rcx, qword [rsi + 0xa0]
call fcn.14017d8b0
mov qword [rsi + 0xa0], 0
jmp 0x14001c7e7
mov rax, qword [rsi + 0x90]
cmp rax, r14
je 0x14001cbc6
add rax, 0xfffffffffffffffe
jne 0x14001cbb6
jmp 0x14001cc4e
mov qword [rsi + 0x90], r14
mov rcx, r14
call fcn.14018fb90
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
xor eax, eax
jmp 0x14001ca9b
add rax, rcx
add rax, 0x40
cmp r14, rax
je 0x14001cbfe
add r14, 0xfffffffffffffffe
jne 0x14001cbf1
jmp 0x14001cc4e
mov qword [rsi + 0x90], rax
jmp 0x14001cb3c
mov r12, qword [rsi + 0x90]
mov rbp, r12
sub rbp, r14
mov rax, rbp
sar rax, 1
cmp rax, r13
jb 0x14001cc61
test r13, r13
je 0x14001cc3c
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.1401cdcb0
mov r12, qword [rsi + 0x90]
add r14, r15
cmp r12, r14
je 0x14001caff
add r12, 0xfffffffffffffffe
jne 0x14001cc3f
lea rcx, [0x140275393]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.1401cf0c0
lea r13, [rbx + r13*2]
lea rax, [rbx + rbp]
mov qword [rsp + 0x38], rax
cmp r12, r14
je 0x14001cc88
mov rcx, r14
mov rdx, rbx
mov r8, rbp
call fcn.1401cdcb0
mov r12, qword [rsi + 0x90]
sub r13, qword [rsp + 0x38]
cmp rbp, r15
je 0x14001cca2
mov rcx, r12
mov rdx, qword [rsp + 0x38]
mov r8, r13
call fcn.1401cdcb0
add r12, r13
mov qword [rsi + 0x90], r12
mov r14, r12
jmp 0x14001cb06
xor ebp, ebp
jmp 0x14001cb60
lea rcx, [0x140275393]
lea rdx, str....._third_partylibc_srcinclude_string_view:318:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.1401cf0c0
lea rcx, [0x140275393]
lea rdx, str....._third_partylibc_srcinclude_string_view:320:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.1401cf0c0
mov rcx, rdi
call fcn.1401d5a20
mov rcx, qword [rsp + 0x70]
call fcn.14018fb90
jmp 0x14001c992
mov rcx, qword [rsp + 0x70]
call fcn.14018fb90
jmp 0x14001ca14