Function at 0x140205224
Capabilities:
Check if file exists

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov rdi, rcx
xor r14d, r14d
mov byte [rcx + 0xdc], r14b
mov rax, qword [rcx + 0x30]
test rax, rax
je 0x140205291
cmp qword [rax + 0x80], r14
je 0x140205291
mov rsi, qword [rax + 0x80]
lea rbx, [rcx + 0x78]
cmp rbx, rsi
je 0x140205291
mov r8, qword [rbx + 8]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp + 0x58]
mov rcx, rbx
call fcn.140004130
mov rdx, rsi
mov rcx, rbx
call fcn.14000beec
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r14
lea rcx, [rdi + 0x10]
call fcn.1402c3aa0
mov r8d, eax
lea rdx, [rbp - 0x48]
lea rcx, [rdi + 0x20]
call fcn.1402c4190
mov rbx, r14
mov rax, qword [rbp - 0x40]
sub rax, qword [rbp - 0x48]
sar rax, 3
test rax, rax
je 0x1402053c3
mov rax, qword [rdi + 8]
lea rcx, [rdi + 8]
call qword [rax + 0x30]
test al, al
je 0x1402053c3
mov rax, qword [rbp - 0x48]
mov r9, qword [rdi]
lea r8, [0x140355c28]
mov rdx, qword [rax + rbx*8]
mov rcx, rdi
call qword [r9 + 0x48]
mov r11, qword [rbp - 0x48]
mov rax, qword [rdi]
lea r8, [0x140367928]
mov rdx, qword [r11 + rbx*8]
mov rcx, rdi
call qword [rax + 0x48]
mov r11, qword [rbp - 0x48]
mov rax, qword [rdi]
lea r8, [0x140367948]
mov rdx, qword [r11 + rbx*8]
mov rcx, rdi
call qword [rax + 0x48]
mov r11, qword [rdi + 8]
lea rcx, [rdi + 8]
call qword [r11 + 0x30]
test al, al
je 0x140205392
mov rax, qword [rbp - 0x48]
lea rdx, [rax + rbx*8]
lea r8, str.indexedDB
lea rcx, [rbp + 0x50]
call fcn.14001c3e0
nop
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], r14b
mov r9b, 1
lea r8, str..sqlite
mov rdx, qword [rax]
mov rcx, rdi
call fcn.14020f850
nop
mov rdx, qword [rbp + 0x50]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140205392
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbp - 0x48]
mov r9, qword [rdi]
lea r8, [0x1403679a0]
mov rdx, qword [rax + rbx*8]
mov rcx, rdi
call qword [r9 + 0x48]
inc rbx
mov rax, qword [rbp - 0x40]
sub rax, qword [rbp - 0x48]
sar rax, 3
cmp rbx, rax
jb 0x1402052ce
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], r14
lea rcx, [rdi + 0x10]
call fcn.1402c3aa0
mov r8d, eax
lea rdx, [rbp - 0x28]
lea rcx, [rdi + 0x20]
call fcn.1402c4520
mov rbx, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
cmp rbx, rsi
je 0x140205526
mov r12, r14
mov rax, rsi
sub rax, rbx
sar rax, 3
test rax, rax
je 0x140205526
mov rax, qword [rdi + 8]
lea rcx, [rdi + 8]
call qword [rax + 0x30]
test al, al
je 0x14020551e
mov rdx, qword [rbp - 0x28]
mov rdx, qword [rdx + r12*8]
lea rcx, [rbp + 0x40]
call fcn.14000cb18
nop
lea rdx, str.OfflineCache
lea rcx, [rbp + 0x40]
call fcn.14000f884
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x1402054df
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x48]
call fcn.14000c4d8
nop
lea rdx, [0x1403679e8]
lea rcx, [rbp + 0x48]
call fcn.14000f884
mov rbx, qword [rbp + 0x48]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov rdx, qword [rbp + 0x40]
mov rcx, rdi
test eax, eax
jne 0x1402054b5
mov byte [rdi + 0xdc], 1
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
mov r9b, 1
lea r8, [0x14034fa44]
call fcn.14020f850
mov byte [rdi + 0xdc], r14b
jmp 0x1402054c3
mov rax, qword [rdi]
lea r8, [0x1403679e8]
call qword [rax + 0x48]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1402054df
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1402054fe
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc r12
mov rsi, qword [rbp - 0x20]
mov rax, rsi
mov rbx, qword [rbp - 0x28]
sub rax, rbx
sar rax, 3
cmp r12, rax
jb 0x14020540f
jmp 0x140205526
mov rsi, qword [rbp - 0x20]
mov rbx, qword [rbp - 0x28]
test rbx, rbx
je 0x14020554d
cmp rbx, rsi
je 0x140205545
mov rcx, rbx
call fcn.140082b80
add rbx, 8
cmp rbx, rsi
jne 0x140205530
mov rbx, qword [rbp - 0x28]
mov rcx, rbx
call fcn.1400be0f4
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], r14
mov rbx, qword [rbp - 0x48]
test rbx, rbx
je 0x140205588
mov rdi, qword [rbp - 0x40]
cmp rbx, rdi
je 0x140205580
mov rcx, rbx
call fcn.140082b80
add rbx, 8
cmp rbx, rdi
jne 0x14020556b
mov rbx, qword [rbp - 0x48]
mov rcx, rbx
call fcn.1400be0f4
add rsp, 0x80
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret