Function at 0x1402c52b8
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rax - 0x68]
sub rsp, 0x140
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
xor r13d, r13d
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
lea r9, [rsp + 0x38]
lea rdx, [rcx + 0x60]
lea ecx, [r13 + 1]
call fcn.1401caea4
lea r9, [rsp + 0x38]
mov r8, rdi
lea rdx, [rbx + 0x60]
lea ecx, [r13 + 2]
call fcn.1401caea4
mov r11, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
or r14d, 0xffffffff
mov qword [rsp + 0x30], r11
cmp r11, rax
je 0x1402c5414
mov r8, rdi
mov rdx, r11
lea rcx, [rbp - 0x70]
call fcn.14023c450
nop
mov rdx, qword [rax]
lea rcx, [rbp + 0x70]
call fcn.14000cb18
nop
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x1402c537e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbp + 0x70]
cmp dword [rax - 0x10], r13d
je 0x1402c53e1
lea rdx, str.index.dat
lea rcx, [rbp + 0x70]
call fcn.14000f884
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1402c53e1
lea rcx, [rbp - 0x30]
call fcn.1401c9a14
nop
lea r9, [0x140330de8]
xor r8d, r8d
mov rdx, qword [rbp + 0x70]
lea rcx, [rbp - 0x30]
call fcn.1401c9f34
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.1401ca8e4
nop
lea rcx, [rbp - 0x30]
call fcn.1401c99b4
nop
mov rdx, qword [rbp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x1402c5401
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r11, qword [rsp + 0x30]
add r11, 8
mov rax, qword [rsp + 0x60]
jmp 0x1402c5333
call fcn.14023dfbc
test al, al
je 0x1402c55a5
call fcn.1400046d0
mov r8, qword [rax]
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov rcx, rax
call qword [r8 + 0x50]
test al, al
jne 0x1402c5454
call fcn.1400046d0
mov r8, qword [rax]
mov edx, 0xd
mov rcx, rax
call qword [r8 + 0x50]
test al, al
mov al, r13b
je 0x1402c5456
mov al, 1
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], 1
mov r9, rdi
lea r8, [rbx + 0x60]
mov edx, 1
lea rcx, [rsp + 0x58]
call fcn.1401caa04
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14023c450
nop
mov rdx, qword [rax]
lea rcx, [rbp + 0x88]
call fcn.14000cb18
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x1402c54b9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x1402c54da
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbp + 0x88]
cmp dword [rax - 0x10], r13d
je 0x1402c5581
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], r13
lea rdx, [rbp + 0x88]
lea rcx, [rsp + 0x70]
call fcn.140038190
lea r11, vtable.Piriform::CIEDOMStoreCookieFiles.0
mov qword [rbp - 0x68], r11
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], r13
test rbx, rbx
lea r8, [rbx + 8]
jne 0x1402c5535
mov r8, r13
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x68]
call fcn.1401c9724
nop
lea rcx, [rbp - 0x68]
call fcn.1401c9874
nop
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x1402c5581
mov rdi, qword [rsp + 0x78]
cmp rbx, rdi
je 0x1402c5578
mov rcx, rbx
call fcn.140082b80
add rbx, 8
cmp rbx, rdi
jne 0x1402c5562
mov rbx, qword [rsp + 0x70]
mov rcx, rbx
call fcn.1400be0f4
nop
mov rdx, qword [rbp + 0x88]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x1402c55a5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x1402c55d7
mov rdi, qword [rsp + 0x40]
cmp rbx, rdi
je 0x1402c55cf
mov rcx, rbx
call fcn.140082b80
add rbx, 8
cmp rbx, rdi
jne 0x1402c55b9
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.1400be0f4
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret