Function at 0x10006f938
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
xor r14d, r14d
mov rdi, r9
mov rsi, r8
lea rax, [rsp + 0x30]
mov r12, rdx
lea r9, [0x100006660]
lea r8d, [r14 + 0x17]
lea rcx, [0x1000021e8]
xor edx, edx
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, r14d
mov rcx, qword [rsp + 0x30]
mov ebx, eax
jge 0x10006f9ae
cmp rcx, r14
je 0x10006f9a7
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov eax, ebx
jmp 0x10006ff67
cmp rcx, r14
jne 0x10006f9bd
mov eax, 0x80004003
jmp 0x10006ff67
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x48]
cmp eax, r14d
mov ebx, eax
jge 0x10006f9d3
mov rcx, qword [rsp + 0x30]
jmp 0x10006f99c
mov rdx, qword [rdi]
cmp dword [rdx - 8], r14d
je 0x10006f9f1
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, r14d
mov ebx, eax
jl 0x10006f9cc
mov rdx, qword [rsi]
cmp dword [rdx - 8], r14d
je 0x10006fa0f
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0xb0]
cmp eax, r14d
mov ebx, eax
jl 0x10006f9cc
mov rcx, qword [r12]
or edi, 0xffffffff
lea r13, [0x1000a1170]
cmp dword [rcx - 8], r14d
je 0x10006fb4f
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov rcx, qword [r12]
cmp eax, r14d
je 0x10006facf
lea r9, [rsp + 0x58]
lea r8, [0x100006640]
xor edx, edx
mov qword [rsp + 0x58], r14
call qword [sym.imp.SHELL32.dll_SHCreateItemFromParsingName]
cmp eax, r14d
mov ebx, eax
jge 0x10006fa83
mov rcx, qword [rsp + 0x58]
cmp rcx, r14
je 0x10006fa6a
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rsp + 0x30]
cmp rcx, r14
je 0x10006f9a7
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x10006f9a7
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
cmp rdx, r14
jne 0x10006faa6
cmp rcx, r14
je 0x10006f9b3
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x10006f9b3
mov rax, qword [rcx]
call qword [rax + 0xd8]
mov rcx, qword [rsp + 0x58]
cmp eax, r14d
mov ebx, eax
jl 0x10006fa5f
cmp rcx, r14
je 0x10006fb4f
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x10006fb4f
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea rcx, [rsp + 0x78]
mov rdx, rax
call fcn.100017e84
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x78]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x78]
lea rcx, [rbx - 0xc]
cmp eax, r14d
mov esi, eax
jge 0x10006fb38
lea r13, [0x1000a1170]
cmp rcx, r13
je 0x10006fb21
or edi, 0xffffffff
mov edx, edi
lock xadd dword [rcx], edx
add edx, edi
cmp edx, r14d
jg 0x10006fb21
call fcn.10007a490
mov rcx, qword [rsp + 0x30]
cmp rcx, r14
je 0x10006fb31
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, esi
jmp 0x10006ff67
cmp rcx, r13
je 0x10006fb4f
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
cmp eax, r14d
jg 0x10006fb4f
call fcn.10007a490
mov rax, qword [rsp + 0xf8]
mov rdx, qword [rax]
cmp dword [rdx - 8], r14d
je 0x10006fb79
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + SysAllocStringByteLen]
cmp eax, r14d
mov ebx, eax
jl 0x10006f9cc
mov rsi, qword [rsp + 0xe0]
mov rax, qword [rsi]
cmp dword [rax - 8], r14d
je 0x10006fc5c
mov edx, 0x7f02
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov rcx, qword [rsi]
mov rbx, rax
call qword [sym.imp.SHELL32.dll_ILCreateFromPathW]
mov rbp, rax
cmp rax, r14
jne 0x10006fbcb
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetCursor]
mov rcx, qword [rsp + 0x30]
jmp 0x10006fa92
lea r9, [rsp + 0x38]
mov r8, rax
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x38], r14
call qword [sym.imp.SHELL32.dll_SHCreateShellItem]
mov rcx, rbp
mov esi, eax
call qword [sym.imp.SHELL32.dll_ILFree]
cmp esi, r14d
jge 0x10006fc10
mov rcx, qword [rsp + 0x38]
cmp rcx, r14
je 0x10006fc02
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetCursor]
jmp 0x10006fb21
mov rdx, qword [rsp + 0x38]
cmp rdx, r14
je 0x10006fbb8
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x58]
cmp eax, r14d
mov esi, eax
jl 0x10006fbf2
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov rcx, qword [rsp + 0x38]
cmp eax, r14d
mov esi, eax
jl 0x10006fbf7
cmp rcx, r14
je 0x10006fc53
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetCursor]
mov rax, qword [rsp + 0xf0]
mov rbx, qword [rax]
cmp dword [rbx - 8], r14d
je 0x10006fe8b
cmp dword [rbx - 0xc], r14d
mov rsi, r14
mov r12d, r14d
jl 0x10006fc89
mov qword [rsp + 0x40], rbx
lock add dword [rbx - 0xc], 1
jmp 0x10006fcb7
mov rax, qword [0x1000a1180]
mov qword [rsp + 0x40], rax
cmp rbx, r14
jne 0x10006fc9f
mov eax, r14d
jmp 0x10006fca8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x40]
mov r8, rbx
mov edx, eax
call fcn.100016504
mov rax, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
xor edx, edx
movsxd rbp, dword [rax - 8]
call fcn.100016600
cmp ebp, r14d
mov r15, rax
mov edx, r14d
mov eax, r14d
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x48], edx
mov rbx, r14
jle 0x10006fe55
mov r14, rbp
mov edi, eax
mov r13d, eax
xor r8d, r8d
cmp rbx, r14
jge 0x10006fddf
cmp word [r15 + rbx*2], 0x7c
je 0x10006fd15
inc edx
inc rbx
cmp rbx, r14
mov dword [rsp + 0x48], edx
jl 0x10006fcfd
jmp 0x10006fd30
movsxd rax, r13d
mov word [r15 + rbx*2], r8w
lea rcx, [r15 + rax*2]
lea eax, [rdx + 1]
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x80], rcx
cmp rbx, r14
jge 0x10006fddf
cmp word [r15 + rbx*2], 0x7c
je 0x10006fd51
inc edx
inc rbx
cmp rbx, r14
mov dword [rsp + 0x48], edx
jl 0x10006fd39
jmp 0x10006fd68
cdqe
mov word [r15 + rbx*2], r8w
lea r13d, [rdx + 1]
lea rcx, [r15 + rax*2]
mov qword [rsp + 0x88], rcx
cmp rbx, r14
jge 0x10006fddf
cmp r12d, edi
jne 0x10006fdae
cmp edi, r8d
jne 0x10006fd7e
mov ebp, 1
jmp 0x10006fd8f
lea ebp, [r12 + r12]
cmp ebp, r8d
jl 0x10006fdca
cmp ebp, 0x7ffffff
ja 0x10006fdca
movsxd rdx, ebp
mov r8d, 0x10
mov rcx, rsi
call qword [0x1000a1100]
xor r8d, r8d
cmp rax, r8
je 0x10006fdca
mov edi, ebp
mov rsi, rax
movsxd rax, r12d
shl rax, 4
add rax, rsi
je 0x10006fdc7
movdqu xmm0, xmmword [rsp + 0x80]
movdqu xmmword [rax], xmm0
inc r12d
cmp word [r15 + rbx*2 + 2], 0x7c
mov edx, dword [rsp + 0x48]
mov eax, dword [rsp + 0x60]
jne 0x10006fcf4
xor r14d, r14d
lea r13, [0x1000a1170]
lea edi, [r14 - 1]
cmp r12d, r14d
je 0x10006fe55
mov rcx, qword [rsp + 0x30]
mov r8, rsi
mov edx, r12d
mov rax, qword [rcx]
call qword [rax + 0x20]
cmp eax, r14d
mov ebx, eax
jge 0x10006fe41
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff4
cmp rcx, r13
je 0x10006fe2a
mov edx, edi
lock xadd dword [rcx], edx
add edx, edi
cmp edx, r14d
jg 0x10006fe2a
call fcn.10007a490
cmp rsi, r14
je 0x10006fa6a
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_free]
jmp 0x10006fa6a
mov rcx, qword [rsp + 0x30]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x28]
cmp eax, r14d
mov ebx, eax
jl 0x10006fe0a
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff4
cmp rcx, r13
je 0x10006fe75
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
cmp eax, r14d
jg 0x10006fe75
call fcn.10007a490
cmp rsi, r14
je 0x10006fe83
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_free]
mov r12, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x100]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov edi, eax
cmp eax, r14d
jne 0x10006ff55
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x50], r14
mov r8, qword [rcx]
lea rdx, [rsp + 0x50]
call qword [r8 + RegisterTypeLib]
mov rcx, qword [rsp + 0x50]
cmp eax, r14d
mov ebx, eax
jl 0x10006fa5f
cmp rcx, r14
je 0x10006fbc1
mov rax, qword [rcx]
lea r8, [rsp + 0x68]
mov edx, 0x80028000
call qword [rax + 0x28]
cmp eax, r14d
mov ebx, eax
jge 0x10006ff01
mov rcx, qword [rsp + 0x50]
jmp 0x10006fa5f
mov rbx, qword [rsp + 0x68]
cmp rbx, r14
jne 0x10006ff24
mov rcx, qword [rsp + 0x50]
cmp rcx, r14
je 0x10006fbc1
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x10006fbc1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov rcx, r12
mov edx, eax
call fcn.100016504
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x50]
cmp rcx, r14
je 0x10006ff55
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x30]
cmp rcx, r14
je 0x10006ff65
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, edi
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret