Function at 0x14001c280
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 [0x1402b3040]
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 0x14001c31e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0xa0]
inc rax
cmp rax, 2
jae 0x14001c69e
mov rax, r14
inc rax
cmp rax, 2
jb 0x14001c30f
mov qword [rsi + 0xa0], r14
call fcn.140118d60
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi + 0xa0]
inc r14
cmp r14, 2
jb 0x14001c7c4
lea rcx, [rsi + 0x10]
mov edx, 1
call fcn.1400377f0
test al, al
je 0x14001c7c4
mov rax, qword [rsi + 0xa0]
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsi + 0x80]
test rcx, rcx
je 0x14001c7c4
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 0x14001c670
movaps xmm6, xmmword [0x14026f080]
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.14001ca40
movsx rax, byte [rdi + 0x17]
test rax, rax
jns 0x14001c3cc
mov rax, qword [rdi + 8]
mov rdi, qword [rdi]
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rax
test rax, rax
js 0x14001c7cb
sete al
test rdi, rdi
setne cl
or cl, al
je 0x14001c7de
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.14016ed20
movsx rax, byte [rdi + 0x17]
test rax, rax
jns 0x14001c43e
mov rax, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x98], rax
test rax, rax
js 0x14001c7cb
sete al
test rdi, rdi
setne cl
or cl, al
je 0x14001c7de
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.14001c820
cmp byte [rsp + 0x87], 0
js 0x14001c7f9
mov edx, dword [rsi + 0xa0]
lea rdi, [rsp + 0x70]
mov rcx, rdi
call fcn.14011cd70
movsx rax, byte [rdi + 0x17]
test rax, rax
jns 0x14001c4c9
mov rax, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rax
test rax, rax
js 0x14001c7cb
sete al
test rdi, rdi
setne cl
or cl, al
je 0x14001c7de
lea rax, [0x14028bcbf]
lea rdx, [rsp + 0x40]
mov qword [rdx], rax
mov qword [rdx + 8], 7
lea rcx, [rsp + 0xa0]
lea r8, [rsp + 0x50]
call fcn.14001c820
cmp byte [rsp + 0x87], 0
js 0x14001c808
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.14001cd10
lea rdx, str.___thread
mov r8d, 0xa
mov rcx, rbx
call fcn.14016ee30
movsx r13, byte [rbx + 0x17]
test r13, r13
jns 0x14001c573
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 0x14001c71a
test r14, r14
jne 0x14001c6bf
test r13, r13
js 0x14001c7f1
cmp rax, r13
cmova r13, rax
movabs rcx, 0x7ffffffffffffffe
lea r12, [rcx + 1]
cmp rax, rcx
cmovb r12, r13
test r12, r12
js 0x14001c7f1
lea rcx, [r12 + r12]
call fcn.14018f5a8
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.1401cd6e0
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 0x14001c6fa
lea r8, [rsp + 0xf8]
mov edx, 0x20
mov rcx, rdi
call fcn.14001c900
cmp byte [rsp + 0x87], 0
jns 0x14001c660
mov rcx, qword [rsp + 0x70]
call fcn.14018f5a0
lea rcx, [rsp + 0xa0]
call fcn.14001bf80
mov bpl, 1
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.140191d70
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.140118d60
mov rcx, qword [rsi + 0xa0]
call fcn.14017d2c0
mov qword [rsi + 0xa0], 0
jmp 0x14001c2f7
mov rax, qword [rsi + 0x90]
cmp rax, r14
je 0x14001c6d6
add rax, 0xfffffffffffffffe
jne 0x14001c6c6
jmp 0x14001c75e
mov qword [rsi + 0x90], r14
mov rcx, r14
call fcn.14018f5a0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
xor eax, eax
jmp 0x14001c5ab
add rax, rcx
add rax, 0x40
cmp r14, rax
je 0x14001c70e
add r14, 0xfffffffffffffffe
jne 0x14001c701
jmp 0x14001c75e
mov qword [rsi + 0x90], rax
jmp 0x14001c64c
mov r12, qword [rsi + 0x90]
mov rbp, r12
sub rbp, r14
mov rax, rbp
sar rax, 1
cmp rax, r13
jb 0x14001c771
test r13, r13
je 0x14001c74c
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.1401cd6e0
mov r12, qword [rsi + 0x90]
add r14, r15
cmp r12, r14
je 0x14001c60f
add r12, 0xfffffffffffffffe
jne 0x14001c74f
lea rcx, [0x1402742d5]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.1401ceaf0
lea r13, [rbx + r13*2]
lea rax, [rbx + rbp]
mov qword [rsp + 0x38], rax
cmp r12, r14
je 0x14001c798
mov rcx, r14
mov rdx, rbx
mov r8, rbp
call fcn.1401cd6e0
mov r12, qword [rsi + 0x90]
sub r13, qword [rsp + 0x38]
cmp rbp, r15
je 0x14001c7b2
mov rcx, r12
mov rdx, qword [rsp + 0x38]
mov r8, r13
call fcn.1401cd6e0
add r12, r13
mov qword [rsi + 0x90], r12
mov r14, r12
jmp 0x14001c616
xor ebp, ebp
jmp 0x14001c670
lea rcx, [0x1402742d5]
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.1401ceaf0
lea rcx, [0x1402742d5]
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.1401ceaf0
mov rcx, rdi
call fcn.1401d55d0
mov rcx, qword [rsp + 0x70]
call fcn.14018f5a0
jmp 0x14001c4a2
mov rcx, qword [rsp + 0x70]
call fcn.14018f5a0
jmp 0x14001c524