Function at 0x1401f3c14
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov r13, rdx
mov rsi, rcx
test dword [rdx + 0x18], 0x100000
jne 0x1401f3dd4
test dword [rdx + 0x18], 0x200000
jne 0x1401f3dd4
test byte [rdx + 0x18], 1
je 0x1401f3dd4
mov rax, qword [rcx - 0x70]
mov rdx, qword [rdx + 0x10]
add rcx, 0xffffffffffffff90
call qword [rax + 0x50]
xor ebx, ebx
test al, al
je 0x1401f3e38
mov ecx, 0x88
call fcn.1400be454
mov qword [rbp + 0x38], rax
test rax, rax
je 0x1401f3c9a
mov rdx, qword [rsi - 0x60]
mov rcx, rax
call fcn.14006de38
jmp 0x1401f3c9d
mov rax, rbx
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.1400186f8
nop
mov rdx, qword [r13 + 0x10]
mov r9, qword [rbp - 0x18]
test rdx, rdx
jne 0x1401f3cbb
mov ecx, ebx
jmp 0x1401f3ccd
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
lea rcx, [r9 + 0x20]
call fcn.14000c9f8
mov edx, dword [r13 + 0x28]
shl rdx, 0x20
mov eax, dword [r13 + 0x24]
or rdx, rax
mov rax, qword [rbp - 0x18]
mov qword [rax + 0x28], rdx
mov rax, qword [rbp - 0x18]
mov dword [rax + 0x30], 1
mov r15b, 1
mov rax, qword [rsi - 0x50]
cmp byte [rax + 1], bl
jne 0x1401f3d57
mov rcx, qword [r13 + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
movzx r15d, r15b
cmp eax, 0xffffffff
cmove r15d, ebx
lea rcx, [rsi - 0x68]
mov rax, qword [rcx]
lea rdx, [rbp - 0x18]
call qword [rax + 0x68]
mov rdi, qword [rbp - 0x18]
mov rcx, qword [r13 + 8]
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
test eax, eax
setne al
mov byte [rdi + 0x70], al
mov rax, qword [rbp - 0x18]
cmp byte [rax + 0x70], bl
jne 0x1401f3d57
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rbp - 0x18]
mov byte [rdx + 0x70], 1
mov rax, qword [rsi - 0x40]
test rax, rax
je 0x1401f3d98
cmp qword [rax + 0x80], rbx
je 0x1401f3d98
mov rax, qword [rax + 0x80]
cmp byte [rax + 0x20], bl
je 0x1401f3d98
test r15b, r15b
je 0x1401f3da7
mov rax, qword [rsi - 0x50]
lea rcx, [rsi - 0x68]
lea rdx, [rbp - 0x18]
cmp byte [rax + 1], bl
mov rax, qword [rcx]
je 0x1401f3d93
call qword [rax + 0x60]
jmp 0x1401f3da7
call qword [rax + reloc.OLEAUT32.dll_VarBstrFromCy]
jmp 0x1401f3da7
mov rax, qword [rbp - 0x18]
mov rcx, qword [rax + 0x28]
add qword [rsi + 0x10], rcx
inc dword [rsi + 0x18]
mov rdi, qword [rbp - 0x10]
test rdi, rdi
je 0x1401f3e38
lock dec dword [rdi + 8]
jne 0x1401f3e38
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lock dec dword [rdi + 0xc]
jne 0x1401f3e38
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
jmp 0x1401f3e38
lea rdx, str.feedplat:
mov rcx, qword [r13 + 8]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
xor ebx, ebx
test eax, eax
je 0x1401f3e38
mov rax, qword [rsi - 0x50]
cmp byte [rax + 1], bl
jne 0x1401f3e38
mov rcx, qword [r13 + 8]
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
test eax, eax
jne 0x1401f3e38
mov rdx, qword [r13 + 8]
lea rcx, [rbp + 0x38]
call fcn.140020b2c
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntryA]
mov rdx, qword [rbp + 0x38]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1401f3e38
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret