Function at 0x14000aee0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x14001e818]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rax, qword [rdx]
lea r8, [rsp + 0x30]
mov rdi, rdx
mov rsi, rcx
lea rdx, [0x14001af48]
mov rcx, rdi
mov rax, qword [rax + 0x88]
call qword [0x140010b20]
xor r15d, r15d
mov r14d, 0x104
mov ebx, eax
test eax, eax
js 0x14000b035
mov rax, qword [rdi]
lea r8, [rsp + 0x38]
lea rdx, [0x14001af60]
mov rcx, rdi
mov rax, qword [rax + 0x88]
call qword [0x140010b20]
mov ebx, eax
test eax, eax
js 0x14000b024
mov r8, qword [rsp + 0x30]
lea rax, [rsp + 0x50]
sub r8, rax
lea rcx, [rsp + 0x50]
mov edx, r14d
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x14000afa5
movzx eax, word [r8 + rcx]
test ax, ax
je 0x14000afa5
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14000af82
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
mov rax, rdx
neg rax
sbb ebx, ebx
not ebx
and ebx, 0x8007007a
test rdx, rdx
je 0x14000b013
lea r8, str..FileTypeVerifier
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.14000d3bc
mov ebx, eax
test eax, eax
js 0x14000b013
mov r8, qword [rsp + 0x38]
lea rcx, [rsp + 0x50]
mov rdx, r14
call fcn.14000d3bc
mov ebx, eax
test eax, eax
js 0x14000b013
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_SHStrDupW]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test ebx, ebx
js 0x14000b194
lea rdx, [rsp + 0x50]
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
nop dword [rax + rax]
mov ebx, r15d
mov ecx, 0x80004005
test eax, eax
cmove ebx, ecx
je 0x14000b183
lea r9, [rsp + 0x38]
xor edx, edx
lea r8, [0x14001ae28]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_SHCreateItemFromParsingName]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x14000b183
mov r9, qword [rsp + 0x40]
mov rdx, rdi
mov r8, qword [rsp + 0x38]
mov rcx, rsi
call fcn.14000ad00
mov ebx, eax
test eax, eax
js 0x14000b171
mov rdx, qword [rsp + 0x40]
lea r14, [rsi + 8]
mov rcx, qword [rsp + 0x38]
lea r9, [0x14001ae38]
xor r8d, r8d
mov qword [rsp + 0x20], r14
call qword [sym.imp.SHELL32.dll_SHCreateItemFromRelativeName]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x14000b171
mov rcx, qword [r14]
lea r8, [rsi + 0x28]
mov edx, 0x80058000
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [0x140010b20]
mov ebx, eax
test eax, eax
js 0x14000b171
mov rax, qword [rdi]
lea rdx, [rsp + 0x30]
mov rcx, rdi
mov rax, qword [rax + 0x20]
call qword [0x140010b20]
mov ebx, eax
test eax, eax
js 0x14000b171
mov r9, qword [rsp + 0x40]
mov rdx, rdi
mov r8, qword [rsp + 0x30]
mov rcx, rsi
call fcn.14000ad00
mov ebx, eax
test eax, eax
js 0x14000b15f
mov rdx, qword [rsp + 0x40]
lea rax, [rsi + 0x10]
mov rcx, qword [rsp + 0x30]
lea r9, [0x14001ae38]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHCreateItemFromRelativeName]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140010b20]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140010b20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14000ea30
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x270
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret