Function at 0x14010f4b0
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rsi, r8
mov rbx, rdx
mov r14, rcx
mov rdi, 0xffffffffffffffff
test r8, r8
je 0x14010f705
mov rax, rdi
inc rax
cmp word [r8 + rax*2], 0
jne 0x14010f4f2
test rax, rax
je 0x14010f705
mov r8d, 2
lea rdx, [0x1403fe454]
mov rcx, rsi
call fcn.1402e4d88
test eax, eax
je 0x14010f705
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14010f705
mov r8, rsi
lea rdx, [rbp - 0x30]
lea rcx, [r14 - 0x8e0]
call fcn.14010d200
nop
cmp qword [rbp - 0x30], 0
jne 0x14010f6cd
mov r8, rbx
lea rdx, [rbp - 0x40]
lea rcx, [r14 - 0x8e0]
call fcn.14010d200
nop
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x14010f689
mov edx, dword [rax + 0x68]
mov r8, qword [r14 + 0x598]
mov rcx, r8
mov rax, qword [r8 + 8]
cmp byte [rax + 0x19], 0
jne 0x14010f5b1
nop dword [rax + rax]
cmp dword [rax + 0x20], edx
jae 0x14010f59b
mov rax, qword [rax + 0x10]
jmp 0x14010f5a1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14010f590
cmp rcx, r8
je 0x14010f5b1
cmp edx, dword [rcx + 0x20]
jae 0x14010f5b4
mov rcx, r8
cmp rcx, r8
je 0x14010f5d8
mov rbx, qword [rcx + 0x30]
test rbx, rbx
je 0x14010f5ca
lock inc dword [rbx + 8]
mov rbx, qword [rcx + 0x30]
mov rax, qword [rcx + 0x28]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rbx
jmp 0x14010f5e4
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
mov rbx, qword [rbp - 0x48]
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14010f5fd
lock inc dword [rcx + 8]
mov rbx, qword [rbp - 0x48]
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x10], xmm0
test rbx, rbx
je 0x14010f61b
lock inc dword [rbx + 8]
mov rbx, qword [rbp - 0x48]
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x10], xmm0
mov r9, rsi
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x10]
lea rcx, [r14 - 0x8e0]
call fcn.1401159b0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xbed
lea rcx, [r14 - 0x8e0]
call fcn.14012b100
nop
test rbx, rbx
je 0x14010f687
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14010f687
mov rbx, qword [rbp - 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14010f687
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14010f695
mov rax, qword [r14]
mov rdx, rsi
mov rcx, r14
call qword [rax]
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14010f6cd
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14010f6cd
mov rbx, qword [rbp - 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14010f6cd
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14010f703
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14010f703
mov rbx, qword [rbp - 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14010f703
mov rcx, qword [rbp - 0x28]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14010f751
test rbx, rbx
je 0x14010f745
nop word [rax + rax]
inc rdi
cmp word [rbx + rdi*2], 0
jne 0x14010f710
test rdi, rdi
je 0x14010f745
mov r8d, 2
lea rdx, [0x1403fe454]
mov rcx, rbx
call fcn.1402e4d88
test eax, eax
je 0x14010f745
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14010f751
mov rax, qword [r14]
mov rdx, rbx
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret