Function at 0x10006ff90
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
xor r13d, r13d
mov rdi, r9
mov r12, r8
lea rax, [rsp + 0x30]
lea r9, [0x100006650]
lea rcx, [0x1000021d8]
lea r8d, [r13 + 0x17]
xor edx, edx
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rcx, qword [rsp + 0x30]
cmp eax, r13d
mov ebx, eax
jge 0x100070003
cmp rcx, r13
je 0x10006fffc
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov eax, ebx
jmp 0x1000705d9
cmp rcx, r13
jne 0x100070012
mov eax, 0x80004003
jmp 0x1000705d9
mov rax, qword [rcx]
mov edx, dword [rsp + 0x100]
call qword [rax + 0x48]
cmp eax, r13d
mov ebx, eax
jge 0x10007002d
mov rcx, qword [rsp + 0x30]
jmp 0x10006fff1
mov rax, qword [rsp + 0xf0]
mov rdx, qword [rax]
cmp dword [rdx - 8], r13d
je 0x100070053
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, r13d
mov ebx, eax
jl 0x100070026
mov rdx, qword [rdi]
cmp dword [rdx - 8], r13d
je 0x100070071
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0xb0]
cmp eax, r13d
mov ebx, eax
jl 0x100070026
mov rax, qword [rsp + 0x118]
mov rdx, qword [rax]
cmp dword [rdx - 8], r13d
je 0x100070097
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + SysAllocStringByteLen]
cmp eax, r13d
mov ebx, eax
jl 0x100070026
mov rdi, qword [rsp + 0xf8]
mov rax, qword [rdi]
cmp dword [rax - 8], r13d
je 0x10007019f
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 [rdi]
mov rbx, rax
call qword [sym.imp.SHELL32.dll_ILCreateFromPathW]
mov rsi, rax
cmp rax, r13
jne 0x1000700f8
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetCursor]
mov rcx, qword [rsp + 0x30]
cmp rcx, r13
je 0x100070008
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x100070008
lea r9, [rsp + 0x40]
mov r8, rax
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x40], r13
call qword [sym.imp.SHELL32.dll_SHCreateShellItem]
mov rcx, rsi
mov edi, eax
call qword [sym.imp.SHELL32.dll_ILFree]
cmp edi, r13d
jge 0x10007014f
mov rcx, qword [rsp + 0x40]
cmp rcx, r13
je 0x10007012f
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetCursor]
mov rcx, qword [rsp + 0x30]
cmp rcx, r13
je 0x100070148
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, edi
jmp 0x1000705d9
mov rdx, qword [rsp + 0x40]
cmp rdx, r13
je 0x1000700d6
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x58]
cmp eax, r13d
mov edi, eax
jl 0x10007011f
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov rcx, qword [rsp + 0x40]
cmp eax, r13d
mov edi, eax
jl 0x100070124
cmp rcx, r13
je 0x100070196
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetCursor]
mov rax, qword [rsp + 0x108]
or esi, 0xffffffff
lea r15, [0x1000a1170]
mov rbx, qword [rax]
cmp dword [rbx - 8], r13d
je 0x1000703f1
cmp dword [rbx - 0xc], r13d
mov rdi, r13
mov r12d, r13d
jl 0x1000701d6
mov qword [rsp + 0x48], rbx
lock add dword [rbx - 0xc], 1
jmp 0x100070204
mov rax, qword [0x1000a1180]
mov qword [rsp + 0x48], rax
cmp rbx, r13
jne 0x1000701ec
mov eax, r13d
jmp 0x1000701f5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x48]
mov r8, rbx
mov edx, eax
call fcn.100016504
mov rax, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
xor edx, edx
movsxd rbp, dword [rax - 8]
call fcn.100016600
cmp ebp, r13d
mov r14, rax
mov edx, r13d
mov eax, r13d
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x50], edx
mov rbx, r13
jle 0x1000703bb
mov r13, rbp
mov r15d, eax
mov esi, eax
xor r8d, r8d
cmp rbx, r13
jge 0x10007032c
cmp word [r14 + rbx*2], 0x7c
je 0x100070262
inc edx
inc rbx
cmp rbx, r13
mov dword [rsp + 0x50], edx
jl 0x10007024a
jmp 0x10007027d
movsxd rax, esi
mov word [r14 + rbx*2], r8w
lea rcx, [r14 + rax*2]
lea eax, [rdx + 1]
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x90], rcx
cmp rbx, r13
jge 0x10007032c
cmp word [r14 + rbx*2], 0x7c
je 0x10007029e
inc edx
inc rbx
cmp rbx, r13
mov dword [rsp + 0x50], edx
jl 0x100070286
jmp 0x1000702b4
cdqe
mov word [r14 + rbx*2], r8w
lea esi, [rdx + 1]
lea rcx, [r14 + rax*2]
mov qword [rsp + 0x98], rcx
cmp rbx, r13
jge 0x10007032c
cmp r12d, r15d
jne 0x1000702fb
cmp r15d, r8d
jne 0x1000702ca
mov ebp, 1
jmp 0x1000702db
lea ebp, [r12 + r12]
cmp ebp, r8d
jl 0x100070317
cmp ebp, 0x7ffffff
ja 0x100070317
movsxd rdx, ebp
mov r8d, 0x10
mov rcx, rdi
call qword [0x1000a1100]
xor r8d, r8d
cmp rax, r8
je 0x100070317
mov r15d, ebp
mov rdi, rax
movsxd rax, r12d
shl rax, 4
add rax, rdi
je 0x100070314
movdqu xmm0, xmmword [rsp + 0x90]
movdqu xmmword [rax], xmm0
inc r12d
cmp word [r14 + rbx*2 + 2], 0x7c
mov edx, dword [rsp + 0x50]
mov eax, dword [rsp + 0x60]
jne 0x100070241
xor r13d, r13d
lea r15, [0x1000a1170]
lea esi, [r13 - 1]
cmp r12d, r13d
je 0x1000703bb
mov rcx, qword [rsp + 0x30]
mov r8, rdi
mov edx, r12d
mov rax, qword [rcx]
call qword [rax + 0x20]
cmp eax, r13d
mov ebx, eax
jge 0x1000703a7
mov rcx, qword [rsp + 0x48]
lea r15, [0x1000a1170]
add rcx, 0xfffffffffffffff4
cmp rcx, r15
je 0x100070380
or esi, esi
mov edx, esi
lock xadd dword [rcx], edx
add edx, esi
cmp edx, r13d
jg 0x100070380
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
cmp rdi, r13
je 0x10007038e
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
mov rcx, qword [rsp + 0x30]
cmp rcx, r13
je 0x10006fffc
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x10006fffc
mov rcx, qword [rsp + 0x30]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x28]
cmp eax, r13d
mov ebx, eax
jl 0x100070357
mov rcx, qword [rsp + 0x48]
add rcx, 0xfffffffffffffff4
cmp rcx, r15
je 0x1000703db
mov eax, esi
lock xadd dword [rcx], eax
add eax, esi
cmp eax, r13d
jg 0x1000703db
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
cmp rdi, r13
je 0x1000703e9
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
mov r12, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x120]
lea r8, [rsp + 0x68]
mov edx, 0xe
mov qword [rsp + 0x68], r13
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, r13d
jne 0x10007046a
mov r8, qword [rsp + 0x68]
lea r9, [rsp + 0x70]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x70], r13
call qword [sym.imp.SHELL32.dll_SHCreateShellItem]
cmp eax, r13d
jne 0x10007044f
mov rdx, qword [rsp + 0x70]
cmp rdx, r13
je 0x10007044f
mov rcx, qword [rsp + 0x30]
mov r8d, 1
mov rax, qword [rcx]
call qword [rax + 0xa8]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.SHELL32.dll_ILFree]
mov rcx, qword [rsp + 0x70]
cmp rcx, r13
je 0x10007046a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x120]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov ebp, eax
cmp eax, r13d
jne 0x1000705c7
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x38], r13
lea rdx, [rsp + 0x38]
mov r8, qword [rcx]
call qword [r8 + 0xd8]
mov rcx, qword [rsp + 0x38]
cmp eax, r13d
mov ebx, eax
jge 0x1000704c1
cmp rcx, r13
je 0x10007038e
mov rdx, qword [rcx]
call qword [rdx + 0x10]
jmp 0x10007038e
cmp rcx, r13
je 0x1000700df
mov dword [rsp + 0x54], r13d
mov rax, qword [rcx]
lea rdx, [rsp + 0x54]
call qword [rax + 0x38]
cmp eax, r13d
mov ebx, eax
jge 0x1000704e8
mov rcx, qword [rsp + 0x38]
jmp 0x1000704ad
mov ebx, r13d
cmp dword [rsp + 0x54], r13d
jbe 0x1000705b7
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x58], r13
lea r8, [rsp + 0x58]
mov rax, qword [rcx]
mov edx, ebx
call qword [rax + 0x40]
mov rcx, qword [rsp + 0x58]
cmp eax, r13d
mov edi, eax
jl 0x1000705ff
cmp rcx, r13
je 0x100070623
mov qword [rsp + 0x78], r13
mov rax, qword [rcx]
lea r8, [rsp + 0x78]
mov edx, 0x80028000
call qword [rax + 0x28]
cmp eax, r13d
mov edi, eax
jl 0x1000705fa
mov rdx, qword [rsp + 0x78]
cmp rdx, r13
je 0x10007059b
lea rcx, [rsp + 0x88]
call fcn.100017e84
lea rdx, [rsp + 0x88]
mov rcx, r12
call fcn.10001dd08
mov rcx, qword [rsp + 0x88]
add rcx, 0xfffffffffffffff4
cmp rcx, r15
je 0x100070590
mov eax, esi
lock xadd dword [rcx], eax
add eax, esi
cmp eax, r13d
jg 0x100070590
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x58]
cmp rcx, r13
je 0x1000705ab
mov rax, qword [rcx]
call qword [rax + 0x10]
inc ebx
cmp ebx, dword [rsp + 0x54]
jb 0x1000704f6
mov rcx, qword [rsp + 0x38]
cmp rcx, r13
je 0x1000705c7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x30]
cmp rcx, r13
je 0x1000705d7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, ebp
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rcx, qword [rsp + 0x58]
cmp rcx, r13
je 0x10007060a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
cmp rcx, r13
je 0x100070138
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x100070138
mov rcx, qword [rsp + 0x38]
cmp rcx, r13
je 0x1000700df
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1000700df