Function at 0x14001df70
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 [0x14029b028]
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 0x14001e00c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0xa0]
inc rax
cmp rax, 2
jae 0x14001e38e
mov rax, r14
inc rax
cmp rax, 2
jb 0x14001dffd
mov qword [rsi + 0xa0], r14
call fcn.1400ea220
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi + 0xa0]
inc r14
cmp r14, 2
jb 0x14001e3af
lea rcx, [rsi + 0x10]
mov edx, 1
call fcn.140041960
test al, al
je 0x14001e3af
mov rax, qword [rsi + 0xa0]
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsi + 0x80]
test rcx, rcx
je 0x14001e3af
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 0x14001e362
movaps xmm6, xmmword [0x14026cc70]
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.14001e790
movzx eax, byte [rdi + 0x17]
test al, al
js 0x14001e0b6
and eax, 0x7f
jmp 0x14001e0bd
mov rax, qword [rdi + 8]
mov rdi, qword [rdi]
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rax
test rax, rax
js 0x14001e4d1
test rdi, rdi
jne 0x14001e0de
test rax, rax
jne 0x14001e4fd
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.140026c30
mov rcx, rdi
mov rdx, rsi
call fcn.1401503f0
movzx eax, byte [rdi + 0x17]
test al, al
js 0x14001e125
and eax, 0x7f
jmp 0x14001e12f
mov rax, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x98], rax
test rax, rax
js 0x14001e4d1
test rdi, rdi
jne 0x14001e156
test rax, rax
jne 0x14001e4fd
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.14001e530
cmp byte [rsp + 0x87], 0
js 0x14001e3c2
mov edx, dword [rsi + 0xa0]
lea rdi, [rsp + 0x70]
mov rcx, rdi
call fcn.1400de7d0
movzx eax, byte [rdi + 0x17]
test al, al
js 0x14001e1b0
and eax, 0x7f
jmp 0x14001e1ba
mov rax, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rax
test rax, rax
js 0x14001e4d1
test rdi, rdi
jne 0x14001e1db
test rax, rax
jne 0x14001e4fd
lea rax, [0x1402840a3]
lea rdx, [rsp + 0x40]
mov qword [rdx], rax
mov qword [rdx + 8], 7
lea rcx, [rsp + 0xa0]
lea r8, [rsp + 0x50]
call fcn.14001e530
cmp byte [rsp + 0x87], 0
js 0x14001e3b3
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.14001ea80
lea rdx, str.___thread
mov r8d, 0xa
mov rcx, r14
call fcn.14001f060
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 0x14001e453
test r15, r15
jne 0x14001e41b
test r12, r12
js 0x14001e4c9
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 0x14001e4c9
lea rcx, [r15 + r15]
call fcn.1401833f4
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.140187ab0
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 0x14001e3dd
lea r8, [rsp + 0xf8]
mov edx, 0x20
mov rcx, rdi
call fcn.14001e5e0
cmp byte [rsp + 0x87], 0
jns 0x14001e352
mov rcx, qword [rsp + 0x70]
call fcn.1401833ec
lea rcx, [rsp + 0xa0]
call fcn.14001d9f0
mov bpl, 1
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.140186020
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.1400ea220
mov rcx, qword [rsi + 0xa0]
call fcn.140134ed0
mov qword [rsi + 0xa0], 0
jmp 0x14001dfe5
xor ebp, ebp
jmp 0x14001e362
mov rcx, qword [rsp + 0x70]
call fcn.1401833ec
jmp 0x14001e212
mov rcx, qword [rsp + 0x70]
call fcn.1401833ec
jmp 0x14001e190
mov qword [rsi + 0x90], rax
jmp 0x14001e33e
add rax, rcx
add rax, 0x40
cmp r14, rax
je 0x14001e3d1
add r14, 0xfffffffffffffffe
jne 0x14001e3e4
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.1401c1450
mov rax, qword [rsi + 0x90]
cmp rax, r15
je 0x14001e42f
add rax, 0xfffffffffffffffe
jne 0x14001e422
jmp 0x14001e3ef
mov qword [rsi + 0x90], r15
mov rcx, r15
call fcn.1401833ec
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
xor eax, eax
jmp 0x14001e298
mov r8, qword [rsi + 0x90]
sub r8, r15
mov rax, r8
sar rax, 1
cmp rax, r12
jb 0x14001e496
lea r8, [r12 + r12]
mov rcx, r15
mov rdx, rbx
call fcn.140187ab0
lea r14, [r15 + r12*2]
mov rax, qword [rsi + 0x90]
cmp rax, r14
je 0x14001e301
add rax, 0xfffffffffffffffe
jne 0x14001e482
jmp 0x14001e3ef
lea r14, [rbx + r12*2]
lea r12, [rbx + rax*2]
mov rcx, r15
mov rdx, rbx
call fcn.140187ab0
mov rbx, qword [rsi + 0x90]
sub r14, r12
mov rcx, rbx
mov rdx, r12
mov r8, r14
call fcn.140187ab0
add r14, rbx
jmp 0x14001e301
mov rcx, rdi
call fcn.1401c1450
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.1401c1450
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.1401c1450
int3