Function at 0x1401b1fd0
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov byte [rax + 0x18], r8b
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe8
mov qword [rbp - 0x11], 0xfffffffffffffffe
movaps xmmword [rax - 0x58], xmm6
xor r14d, r14d
mov dword [rbp + 0x6f], r14d
mov rax, qword [rdx]
sub rax, qword [rdx + 8]
neg rax
sbb r13d, r13d
and r13d, 0xd
mov qword [rsp + 0x48], r14
mov qword [rbp - 0x79], r14
mov rax, qword [rdx]
mov rdi, qword [rdx + 8]
or r12d, 0xffffffff
mov qword [rbp - 0x59], rax
cmp rax, rdi
je 0x1401b1f62
mov rcx, qword [rax]
mov qword [rbp - 0x71], rcx
mov rcx, qword [rax + 8]
mov qword [rbp - 0x69], rcx
test rcx, rcx
je 0x1401b1a03
lock inc dword [rcx + 8]
mov rcx, qword [rbp - 0x69]
mov rax, qword [rbp - 0x71]
mov qword [rsp + 0x48], rax
mov rbx, qword [rbp - 0x79]
mov qword [rbp - 0x79], rcx
test rbx, rbx
je 0x1401b1a45
mov eax, r12d
lock xadd dword [rbx + 8], eax
add eax, r12d
jne 0x1401b1a45
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
add eax, r12d
jne 0x1401b1a45
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov r15, qword [rbp - 0x71]
mov rdx, qword [r15 + 0x40]
lea rcx, [rsp + 0x40]
call fcn.14000cb18
nop
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1401b1f3a
mov ecx, 0x60
call fcn.1400be454
mov qword [rbp - 0x29], rax
test rax, rax
je 0x1401b1a90
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1401b0ec0
mov rsi, rax
jmp 0x1401b1a93
mov rsi, r14
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], r14
mov rdx, rsi
lea rcx, [rbp - 0x21]
call fcn.1400919b8
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rax]
mov qword [rsp + 0x38], rcx
mov qword [rax], rdx
mov rbx, qword [rbp - 0x21]
test rbx, rbx
je 0x1401b1aee
mov eax, r12d
lock xadd dword [rbx + 8], eax
add eax, r12d
jne 0x1401b1aee
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
add eax, r12d
jne 0x1401b1aee
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov r8, rsi
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.1400020a0
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1401b1eb0
mov rax, qword [rcx + 0x30]
mov qword [rcx + 0x58], rax
mov qword [rbp - 0x39], r14
mov qword [rbp - 0x31], r14
mov qword [rbp - 0x41], r14
mov rcx, qword [rsp + 0x30]
movsd xmm6, qword [rcx + 0x28]
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x28], r14
lea r8, [rbp - 0x41]
lea rdx, [rbp - 9]
call fcn.1401b0ac0
nop
or dword [rbp + 0x6f], 1
mov rsi, qword [rax]
mov qword [rbp - 0x51], rsi
mov r12, qword [rax + 8]
mov qword [rax + 8], r14
mov qword [rax], r14
mov qword [rbp - 0x39], rsi
mov rbx, qword [rbp - 0x31]
mov qword [rbp - 0x31], r12
test rbx, rbx
je 0x1401b1b99
or esi, 0xffffffff
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x1401b1b95
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x1401b1b95
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov rsi, qword [rbp - 0x51]
test rsi, rsi
setne r14b
test byte [rbp + 0x6f], 1
je 0x1401b1be2
and dword [rbp + 0x6f], 0xfffffffe
mov rbx, qword [rbp - 1]
test rbx, rbx
je 0x1401b1be2
or esi, 0xffffffff
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x1401b1bde
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x1401b1bde
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov rsi, qword [rbp - 0x51]
test r14b, r14b
je 0x1401b1e17
mov rbx, qword [rbp - 0x71]
mov rdx, qword [rbx + 0x10]
xor eax, eax
test rdx, rdx
setne al
test eax, eax
je 0x1401b1f2f
mov rcx, qword [rsi + 0x10]
call fcn.1400bedf4
test eax, eax
jne 0x1401b1c4e
mov rdx, qword [rbx + 0x38]
test rdx, rdx
setne al
test eax, eax
je 0x1401b1f24
mov rcx, qword [rsi + 0x38]
call fcn.1400bedf4
test eax, eax
jne 0x1401b1c4e
mov rdx, qword [rbx + 0x20]
test rdx, rdx
setne al
test eax, eax
je 0x1401b1f19
mov rcx, qword [rsi + 0x20]
call fcn.1400bedf4
test eax, eax
je 0x1401b1c70
mov r14, qword [rbp + 0x67]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x10]
test al, al
jne 0x1401b1e1b
mov rcx, qword [rsp + 0x30]
xor r14d, r14d
jmp 0x1401b1b35
movsd xmm0, qword [0x140336e18]
comisd xmm0, xmm6
jbe 0x1401b1cb0
mov r8b, byte [rbp + 0x77]
mov rdx, qword [rbp - 0x41]
mov rcx, qword [rsp + 0x30]
call fcn.1401b0760
test al, al
je 0x1401b1cab
mov rcx, qword [rsp + 0x30]
call fcn.1401b1720
mov r13d, eax
mov rbx, qword [rsp + 0x20]
jmp 0x1401b1e22
xor r13d, r13d
jmp 0x1401b1ca1
mov rdx, qword [r15 + 0x40]
lea rcx, [rbp + 0x7f]
call fcn.14000cb18
nop
lea rcx, [rbp + 0x7f]
call fcn.140050bb8
lea rdx, [0x140367840]
lea rcx, [rbp + 0x7f]
call fcn.14000f884
mov rbx, qword [rbp - 0x71]
lea rdx, [rbp + 0x7f]
lea rcx, [rbx + 0x98]
call fcn.14000c244
mov ecx, 0x30
call fcn.1400be454
mov qword [rbp - 0x29], rax
test rax, rax
je 0x1401b1d0e
lea rdx, [rbx + 0x98]
mov rcx, rax
call fcn.14022d1b4
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400918c8
nop
mov rdx, qword [rbp + 0x7f]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1401b1d3b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x20]
test rbx, rbx
je 0x1401b1e22
mov rdx, qword [rbp - 0x51]
lea r8, [rdx + 0x78]
add rdx, 0x38
lea rcx, [rbp - 0x19]
call fcn.1401b06c0
nop
mov rsi, qword [rbp - 0x71]
mov rdx, rax
lea rcx, [rsi + 0xa0]
call fcn.14000c244
nop
mov rdx, qword [rbp - 0x19]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1401b1d92
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsi + 0xa0]
cmp dword [rax - 0x10], 0
je 0x1401b1e17
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x61], rax
lea rax, [0x140357eac]
lea r8, [0x14034e610]
cmp byte [rbp + 0x77], 0
cmovne r8, rax
lea rdx, [0x140350d0c]
lea rcx, [rbp - 0x61]
call fcn.14000d9c8
mov rbx, qword [rbp - 0x61]
mov r8, rbx
mov rdx, qword [rsi + 0xa0]
mov rcx, qword [rsp + 0x20]
call fcn.14022c9d4
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1401b1e17
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1401b1ca1
mov r14, qword [rbp + 0x67]
mov rbx, qword [rsp + 0x20]
jmp 0x1401b1e26
mov r14, qword [rbp + 0x67]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x10]
xor r14d, r14d
test al, al
jne 0x1401b1e53
test rbx, rbx
je 0x1401b1e53
mov r13d, r14d
cmp byte [rbx + 0x28], r14b
je 0x1401b1e53
lea rdx, [rbx + 8]
mov rcx, rbx
call fcn.140223528
mov r13d, eax
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1401b1e83
lock dec dword [rcx + 8]
jne 0x1401b1e83
mov rbx, qword [rsp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lock dec dword [rbx + 0xc]
jne 0x1401b1e83
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
test r12, r12
je 0x1401b1eac
lock dec dword [r12 + 8]
jne 0x1401b1eac
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lock dec dword [r12 + 0xc]
jne 0x1401b1eac
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x10]
or r12d, 0xffffffff
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x1401b1ee6
mov eax, r12d
lock xadd dword [rbx + 8], eax
add eax, r12d
jne 0x1401b1ee6
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
add eax, r12d
jne 0x1401b1ee6
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
test r13d, r13d
jne 0x1401b1f40
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x1401b1f0c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbp - 0x59]
add rax, 0x10
jmp 0x1401b19da
mov ecx, 0x80004005
call fcn.14000cbb8
int3
mov ecx, 0x80004005
call fcn.14000cbb8
int3
mov ecx, 0x80004005
call fcn.14000cbb8
nop
mov r13d, 2
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x1401b1f62
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x1401b1f9c
mov eax, r12d
lock xadd dword [rcx + 8], eax
add eax, r12d
jne 0x1401b1f9c
mov rbx, qword [rbp - 0x79]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
add eax, r12d
jne 0x1401b1f9c
mov rcx, qword [rbp - 0x79]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, r13d
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
add rcx, 0xffffffffffffffe8
jmp 0x1401b1980