Function at 0x140067c80
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 rbx, r8
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x1401b3028]
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 0x140067d1a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0xa0]
inc rax
cmp rax, 2
jae 0x140067f9b
mov rax, rdi
inc rax
cmp rax, 2
jb 0x140067d0b
mov qword [rsi + 0xa0], rdi
call fcn.1400b4240
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsi + 0xa0]
inc rdi
cmp rdi, 2
jb 0x140067fdc
lea rdi, [rsi + 0x10]
mov rcx, rdi
mov edx, 1
call fcn.14007d860
test al, al
je 0x140067fdc
mov rax, qword [rsi + 0xa0]
lea r8, [rsp + 0xf0]
mov qword [r8], rax
mov edx, 0x20002
mov r9d, 8
mov rcx, rdi
call fcn.14007d930
mov edi, eax
test al, al
je 0x140067f71
movaps xmm6, xmmword [0x14017f9f0]
lea r15, [rsp + 0xa0]
movaps xmmword [r15 + 0x40], xmm6
movaps xmmword [r15 + 0x30], xmm6
movaps xmmword [r15 + 0x20], xmm6
movaps xmmword [r15 + 0x10], xmm6
movaps xmmword [r15], xmm6
mov rcx, r15
mov rdx, r14
call fcn.14004b640
lea rax, str.database
lea rdx, [rsp + 0x90]
mov qword [rdx], rax
mov qword [rdx + 8], 8
mov rcx, r15
mov r8, rbx
call fcn.14004c8c0
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov rdx, rsi
call fcn.1400afab0
movzx eax, byte [rbx + 0x17]
test al, al
jns 0x140067de8
mov rax, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rax
test rax, rax
js 0x140067fe0
je 0x140067e0c
test rbx, rbx
je 0x140068002
lea rax, str.exception_pointers
lea rdx, [rsp + 0x50]
mov qword [rdx], rax
mov qword [rdx + 8], 0x12
lea rcx, [rsp + 0xa0]
lea r8, [rsp + 0x80]
call fcn.14004cd50
cmp byte [rsp + 0x77], 0
js 0x140067ff3
mov edx, dword [rsi + 0xa0]
lea rbx, [rsp + 0x60]
mov rcx, rbx
call fcn.1400af880
movzx eax, byte [rbx + 0x17]
test al, al
jns 0x140067e68
mov rax, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rax
test rax, rax
js 0x140067fe0
je 0x140067e86
test rbx, rbx
je 0x140068002
lea rax, [0x14018466d]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 7
lea rcx, [rsp + 0xa0]
lea r8, [rsp + 0x40]
call fcn.14004cd50
cmp byte [rsp + 0x77], 0
js 0x140068015
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x60]
mov qword [r14 + 0x10], rax
movaps xmmword [r14], xmm6
lea rcx, [rsp + 0xa0]
mov rdx, r14
call fcn.14004d5d0
lea rdx, str.___thread
mov r8d, 0xa
mov rcx, r14
call fcn.1400a73e0
lea rbx, [rsi + 0x88]
movzx r9d, byte [r14 + 0x17]
test r9b, r9b
jns 0x140067f11
mov r14, qword [rsp + 0x60]
mov r9, qword [rsp + 0x68]
lea r8, [r14 + r9*2]
mov rcx, rbx
mov rdx, r14
call fcn.140068040
mov word [rsp + 0x2e], 0
mov rcx, qword [rsi + 0x88]
mov rax, qword [rsi + 0x90]
mov rdx, rax
sub rdx, rcx
cmp rdx, 0xffffffffffffffbf
ja 0x140067fbc
lea r8, [rsp + 0x2e]
mov edx, 0x20
mov rcx, rbx
call fcn.14003c750
cmp byte [rsp + 0x77], 0
jns 0x140067f64
mov rcx, qword [rsp + 0x60]
call fcn.1400dae18
lea rcx, [rsp + 0xa0]
call fcn.14004b7d0
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1400dc300
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.1400b4240
mov rcx, qword [rsi + 0xa0]
call fcn.1400a7ba0
mov qword [rsi + 0xa0], 0
jmp 0x140067cf3
add rcx, rdx
add rcx, 0x40
cmp rax, rcx
je 0x140067fd0
add rax, 0xfffffffffffffffe
jne 0x140067fc3
jmp 0x140068024
mov qword [rsi + 0x90], rcx
jmp 0x140067f53
xor edi, edi
jmp 0x140067f71
lea rcx, [0x14018467d]
lea rdx, str....._third_partylibc_srcinclude_string_view:311:_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.140114030
mov rcx, qword [rsp + 0x60]
call fcn.1400dae18
jmp 0x140067e43
lea rcx, [0x14018467d]
lea rdx, str....._third_partylibc_srcinclude_string_view:313:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.140114030
mov rcx, qword [rsp + 0x60]
call fcn.1400dae18
jmp 0x140067eba
lea rcx, [0x14018467d]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.140114030
int3