Function at 0x140168f40
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x14039e2e8]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 0
call qword [sym.imp.mfc140u.dll_Ordinal_296]
mov dword [rsp + 0x30], 1
call fcn.14016b0a0
test al, al
je 0x140169049
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x140168fea
lea r8, [rsp + 0x28]
mov edx, 0x1c
xor ecx, ecx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x28]
call qword [rax + 0x28]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::HitTest]
test al, al
jne 0x14016903d
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
lea edx, [rax - 1]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCBaseAccessibleObject::XAccessible::get_accChild]
cmp ax, 0x5c
je 0x14016903d
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
lea edx, [rax - 1]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCBaseAccessibleObject::XAccessible::get_accChild]
cmp ax, 0x2f
je 0x14016903d
lea rdx, [0x1402d9ce4]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_COleCurrency::operator]
lea rdx, str.Ditto_WindowsApp_
jmp 0x1401691bc
call fcn.14016b080
lea rcx, [rsp + 0x20]
test al, al
je 0x14016910e
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x1401690af
lea r8, [rsp + 0x28]
mov edx, 0x1c
xor ecx, ecx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x28]
call qword [rax + 0x28]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::HitTest]
test al, al
jne 0x140169102
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
lea edx, [rax - 1]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCBaseAccessibleObject::XAccessible::get_accChild]
cmp ax, 0x5c
je 0x140169102
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
lea edx, [rax - 1]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCBaseAccessibleObject::XAccessible::get_accChild]
cmp ax, 0x2f
je 0x140169102
lea rdx, [0x1402d9ce4]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_COleCurrency::operator]
lea rdx, str.Ditto_ChocolateyApp_
jmp 0x1401691bc
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x140169162
lea r8, [rsp + 0x28]
mov edx, reloc.OLEAUT32.dll_SafeArrayCopy
xor ecx, ecx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x28]
call qword [rax + 0x28]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::HitTest]
test al, al
jne 0x1401691b5
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
lea edx, [rax - 1]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCBaseAccessibleObject::XAccessible::get_accChild]
cmp ax, 0x5c
je 0x1401691b5
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
lea edx, [rax - 1]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCBaseAccessibleObject::XAccessible::get_accChild]
cmp ax, 0x2f
je 0x1401691b5
lea rdx, [0x1402d9ce4]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_COleCurrency::operator]
lea rdx, [0x1402dbd58]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_COleCurrency::operator]
mov rax, rbx
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1402654f0
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rbp
ret