Function at 0x14000c920
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 [0x140231028]
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 0x14000c9be
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0xa0]
inc rax
cmp rax, 2
jae 0x14000cd3e
mov rax, r14
inc rax
cmp rax, 2
jb 0x14000c9af
mov qword [rsi + 0xa0], r14
call fcn.1400b34e0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi + 0xa0]
inc r14
cmp r14, 2
jb 0x14000ce64
lea rcx, [rsi + 0x10]
mov edx, 1
call fcn.14003b3d0
test al, al
je 0x14000ce64
mov rax, qword [rsi + 0xa0]
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsi + 0x80]
test rcx, rcx
je 0x14000ce64
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 0x14000cd10
movaps xmm6, xmmword [0x1401fd0c0]
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.14000d0e0
movsx rax, byte [rdi + 0x17]
test rax, rax
jns 0x14000ca6c
mov rax, qword [rdi + 8]
mov rdi, qword [rdi]
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rax
test rax, rax
js 0x14000ce6b
sete al
test rdi, rdi
setne cl
or cl, al
je 0x14000ce7e
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.14000a5e0
mov rcx, rdi
mov rdx, rsi
call fcn.1400ba3a0
movsx rax, byte [rdi + 0x17]
test rax, rax
jns 0x14000cade
mov rax, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x98], rax
test rax, rax
js 0x14000ce6b
sete al
test rdi, rdi
setne cl
or cl, al
je 0x14000ce7e
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.14000cec0
cmp byte [rsp + 0x87], 0
js 0x14000ce99
mov edx, dword [rsi + 0xa0]
lea rdi, [rsp + 0x70]
mov rcx, rdi
call fcn.1400b6450
movsx rax, byte [rdi + 0x17]
test rax, rax
jns 0x14000cb69
mov rax, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rax
test rax, rax
js 0x14000ce6b
sete al
test rdi, rdi
setne cl
or cl, al
je 0x14000ce7e
lea rax, [0x1402186ef]
lea rdx, [rsp + 0x40]
mov qword [rdx], rax
mov qword [rdx + 8], 7
lea rcx, [rsp + 0xa0]
lea r8, [rsp + 0x50]
call fcn.14000cec0
cmp byte [rsp + 0x87], 0
js 0x14000cea8
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.14000d3b0
lea rdx, str.___thread
mov r8d, 0xa
mov rcx, rbx
call fcn.1400ba4b0
movsx r13, byte [rbx + 0x17]
test r13, r13
jns 0x14000cc13
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 0x14000cdba
test r14, r14
jne 0x14000cd5f
test r13, r13
js 0x14000ce91
cmp rax, r13
cmova r13, rax
movabs rcx, 0x7ffffffffffffffe
lea r12, [rcx + 1]
cmp rax, rcx
cmovb r12, r13
test r12, r12
js 0x14000ce91
lea rcx, [r12 + r12]
call fcn.1401298a8
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.14012dd60
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 0x14000cd9a
lea r8, [rsp + 0xf8]
mov edx, 0x20
mov rcx, rdi
call fcn.14000cfa0
cmp byte [rsp + 0x87], 0
jns 0x14000cd00
mov rcx, qword [rsp + 0x70]
call fcn.1401298a0
lea rcx, [rsp + 0xa0]
call fcn.14000b970
mov bpl, 1
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.14012c2d0
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.1400b34e0
mov rcx, qword [rsi + 0xa0]
call fcn.140117b90
mov qword [rsi + 0xa0], 0
jmp 0x14000c997
mov rax, qword [rsi + 0x90]
cmp rax, r14
je 0x14000cd76
add rax, 0xfffffffffffffffe
jne 0x14000cd66
jmp 0x14000cdfe
mov qword [rsi + 0x90], r14
mov rcx, r14
call fcn.1401298a0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
xor eax, eax
jmp 0x14000cc4b
add rax, rcx
add rax, 0x40
cmp r14, rax
je 0x14000cdae
add r14, 0xfffffffffffffffe
jne 0x14000cda1
jmp 0x14000cdfe
mov qword [rsi + 0x90], rax
jmp 0x14000ccec
mov r12, qword [rsi + 0x90]
mov rbp, r12
sub rbp, r14
mov rax, rbp
sar rax, 1
cmp rax, r13
jb 0x14000ce11
test r13, r13
je 0x14000cdec
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.14012dd60
mov r12, qword [rsi + 0x90]
add r14, r15
cmp r12, r14
je 0x14000ccaf
add r12, 0xfffffffffffffffe
jne 0x14000cdef
lea rcx, [0x14020233c]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.140163630
lea r13, [rbx + r13*2]
lea rax, [rbx + rbp]
mov qword [rsp + 0x38], rax
cmp r12, r14
je 0x14000ce38
mov rcx, r14
mov rdx, rbx
mov r8, rbp
call fcn.14012dd60
mov r12, qword [rsi + 0x90]
sub r13, qword [rsp + 0x38]
cmp rbp, r15
je 0x14000ce52
mov rcx, r12
mov rdx, qword [rsp + 0x38]
mov r8, r13
call fcn.14012dd60
add r12, r13
mov qword [rsi + 0x90], r12
mov r14, r12
jmp 0x14000ccb6
xor ebp, ebp
jmp 0x14000cd10
lea rcx, [0x14020233c]
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.140163630
lea rcx, [0x14020233c]
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.140163630
mov rcx, rdi
call fcn.140168fb0
mov rcx, qword [rsp + 0x70]
call fcn.1401298a0
jmp 0x14000cb42
mov rcx, qword [rsp + 0x70]
call fcn.1401298a0
jmp 0x14000cbc4