Function at 0x14010eb80
Capabilities:
Check if file exists

Disassembly:
test rdx, rdx
je 0x14010f2b7
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov qword [rbp], 0xfffffffffffffffe
mov qword [rsp + 0x1a0], rbx
mov rax, qword [0x14047b0a0]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x78], rcx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
mov rsi, 0xffffffffffffffff
mov rax, rsi
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], r13w
jne 0x14010ebe0
test rax, rax
je 0x14010f291
mov r8d, 2
lea rdx, [0x1403fe454]
mov rcx, rbx
call fcn.1402e4d88
test eax, eax
je 0x14010f291
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14010f291
lea r15, [rdi - 0x8e0]
mov qword [rsp + 0x40], r15
mov r8, rbx
lea rdx, [rbp + 8]
mov rcx, r15
call fcn.14010d200
mov r14, qword [rax]
mov rdi, qword [rbp + 0x10]
test rdi, rdi
je 0x14010ec72
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14010ec72
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14010ec72
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
test r14, r14
jne 0x14010f291
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140081920
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14010f25f
lea rdx, [rbp + 0x28]
call fcn.140082170
nop
cmp qword [rax + 0x18], 8
jb 0x14010ecab
mov rax, qword [rax]
mov r8, rax
lea rdx, [rsp + 0x68]
mov rcx, r15
call fcn.14010e370
nop
lea rcx, [rbp + 0x28]
call fcn.14007ec70
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14010f224
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r13
lea rdx, [rbp - 0x50]
call fcn.1400d67e0
mov r15, r13
mov qword [rsp + 0x38], r13
mov r14, r13
mov qword [rsp + 0x60], r13
mov r12, qword [rbp - 0x50]
cmp r12, qword [rbp - 0x48]
je 0x14010eeeb
mov rbx, qword [r12 + 8]
test rbx, rbx
je 0x14010ed19
lock inc dword [rbx + 8]
mov rbx, qword [r12 + 8]
mov r15, qword [r12]
test r15, r15
jne 0x14010ed56
test rbx, rbx
je 0x14010ed51
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14010ed51
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14010ed51
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14010eece
mov rdi, qword [r15 + 0xa30]
test rdi, rdi
je 0x14010ed6d
lock inc dword [rdi + 8]
mov rdi, qword [r15 + 0xa30]
mov rcx, qword [r15 + 0xa28]
add rcx, 0x88
cmp qword [rcx + 0x18], 8
jb 0x14010ed85
mov rcx, qword [rcx]
lea rdx, str.__catg_leader_
call fcn.1402e4f5c
test eax, eax
sete r14b
test rdi, rdi
je 0x14010edc6
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14010edc6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14010edc6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
test r14b, r14b
je 0x14010ee17
test rbx, rbx
je 0x14010edd4
lock inc dword [rbx + 8]
mov qword [rsp + 0x38], r15
mov rdi, qword [rsp + 0x60]
mov r14, rbx
mov qword [rsp + 0x60], rbx
test rdi, rdi
je 0x14010ee15
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14010ee15
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14010ee15
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14010ee1c
mov r14, qword [rsp + 0x60]
mov r8, qword [r15 + 0xa58]
mov rax, r8
mov rdx, qword [r8 + 8]
mov rcx, rdx
movzx r9d, byte [rdx + 0x19]
test r9b, r9b
jne 0x14010ee5a
cmp dword [rcx + 0x1c], 1
jge 0x14010ee43
mov rcx, qword [rcx + 0x10]
jmp 0x14010ee49
mov rax, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x14010ee37
cmp rax, r8
je 0x14010ee5a
cmp dword [rax + 0x1c], 1
jle 0x14010ee5d
mov rax, r8
cmp rax, r8
jne 0x14010f039
mov rax, r8
test r9b, r9b
jne 0x14010ee93
nop
cmp dword [rdx + 0x1c], 2
jge 0x14010ee7c
mov rdx, qword [rdx + 0x10]
jmp 0x14010ee82
mov rax, rdx
mov rdx, qword [rdx]
cmp byte [rdx + 0x19], 0
je 0x14010ee70
cmp rax, r8
je 0x14010ee93
cmp dword [rax + 0x1c], 2
jle 0x14010ee96
mov rax, r8
cmp rax, r8
jne 0x14010f039
test rbx, rbx
je 0x14010eece
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14010eece
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14010eece
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
add r12, 0x10
cmp r12, qword [rbp - 0x48]
jne 0x14010ed06
mov r15, qword [rsp + 0x38]
test r14, r14
je 0x14010eeeb
lock inc dword [r14 + 8]
mov rbx, r14
test rbx, rbx
je 0x14010eef7
lock inc dword [rbx + 8]
mov qword [rsp + 0x68], r15
mov rdi, qword [rsp + 0x70]
mov qword [rsp + 0x70], rbx
test rdi, rdi
je 0x14010ef35
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14010ef35
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14010ef35
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
test r14, r14
je 0x14010ef66
mov eax, esi
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x14010ef66
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
mov eax, esi
lock xadd dword [r14 + 0xc], eax
cmp eax, 1
jne 0x14010ef66
mov rax, qword [r14]
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
test rbx, rbx
je 0x14010ef95
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14010ef95
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14010ef95
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp - 0x50]
call fcn.1400dc9b0
test r15, r15
je 0x14010f224
call fcn.1400a3380
mov rcx, qword [rax]
call fcn.1400af2e0
test al, al
je 0x14010f076
call fcn.1400a3380
mov rcx, qword [rax]
call fcn.1400af380
test al, al
je 0x14010f076
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14010efe7
lock inc dword [rax + 8]
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp - 0x30], xmm0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
test rbx, rbx
je 0x14010f002
lock inc dword [rbx + 8]
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], rbx
mov byte [rsp + 0x20], 1
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x18]
mov r12, qword [rsp + 0x40]
mov rcx, r12
call fcn.1401100f0
mov ecx, 1
cmp qword [rax], 0
je 0x14010f07f
movzx r14d, cl
jmp 0x14010f082
test rbx, rbx
je 0x14010f042
lock inc dword [rbx + 8]
test rbx, rbx
je 0x14010f071
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14010f071
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14010f071
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14010eeee
mov r12, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
xor r14b, r14b
test cl, 1
je 0x14010f0ba
mov rdi, qword [rbp + 0x20]
test rdi, rdi
je 0x14010f0ba
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14010f0ba
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14010f0ba
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
test r14b, r14b
jne 0x14010f108
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14010f0d5
lock inc dword [rax + 8]
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp - 0x20], xmm0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
test rbx, rbx
je 0x14010f0f0
lock inc dword [rbx + 8]
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], rbx
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x70]
mov rcx, r12
call fcn.140115620
mov rcx, qword [rsp + 0x50]
add rcx, 8
cmp qword [rcx + 0x18], 8
jb 0x14010f11b
mov rcx, qword [rcx]
call fcn.140081a00
mov rcx, qword [rsp + 0x78]
cmp rax, qword [rcx + 0x5d0]
jne 0x14010f210
mov qword [rcx + 0x5d0], r13
mov rax, qword [rsp + 0x50]
mov edx, dword [rax + 0x68]
mov r8, qword [rcx + 0x598]
mov rcx, r8
mov rax, qword [r8 + 8]
cmp byte [rax + 0x19], 0
jne 0x14010f176
cmp dword [rax + 0x20], edx
jae 0x14010f160
mov rax, qword [rax + 0x10]
jmp 0x14010f166
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14010f155
cmp rcx, r8
je 0x14010f176
cmp edx, dword [rcx + 0x20]
jae 0x14010f179
mov rcx, r8
cmp rcx, r8
je 0x14010f19e
mov r13, qword [rcx + 0x30]
test r13, r13
je 0x14010f190
lock inc dword [r13 + 8]
mov r13, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x28]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], r13
jmp 0x14010f1aa
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x14010f1dd
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x10], xmm0
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14010f1c9
lock inc dword [rax + 8]
mov rcx, qword [rbp - 0x60]
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp - 0x10], xmm0
lea rdx, [rbp - 0x10]
call fcn.1400d69e0
nop
test r13, r13
je 0x14010f210
mov eax, esi
lock xadd dword [r13 + 8], eax
cmp eax, 1
jne 0x14010f210
mov rax, qword [r13]
mov rcx, r13
call qword [rax]
mov eax, esi
lock xadd dword [r13 + 0xc], eax
cmp eax, 1
jne 0x14010f210
mov rax, qword [r13]
mov rcx, r13
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
xor r9d, r9d
xor r8d, r8d
mov edx, 0xbed
mov rcx, r12
call fcn.14012b100
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14010f25f
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14010f25f
mov rbx, qword [rsp + 0x70]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14010f25f
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x14010f291
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14010f291
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x14010f291
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.1401aed20
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret