Function at 0x101994a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101cb06b
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1023c014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
test esi, esi
je 0x101994e6
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x101994e6
mov eax, dword [ecx]
call dword [eax + 0x44]
mov eax, dword [edi + 0x63c]
mov eax, dword [eax + 4]
test eax, eax
je 0x101994f7
movzx eax, word [eax + 0x24]
mov ebx, dword [ebp + 8]
cmp ebx, eax
jne 0x10199525
mov eax, dword [edi + 0x688]
lea ecx, [edi + 0x688]
push esi
push ebx
call dword [eax + 0x70]
mov eax, dword [edi + 0x12c]
lea ecx, [edi + 0x12c]
push esi
push ebx
call dword [eax + 0x94]
jmp 0x10199562
mov eax, dword [edi + 0x130]
mov eax, dword [eax + 4]
test eax, eax
je 0x10199536
movzx eax, word [eax + 0x24]
cmp ebx, eax
jne 0x10199562
mov eax, dword [edi + 0x688]
lea ecx, [edi + 0x688]
push esi
push ebx
call dword [eax + 0x70]
test esi, esi
je 0x10199562
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10199562
push eax
lea ecx, [edi + 0x638]
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHncShellLookInCtrl::Populate_struct_IHncVfsShellPidl__
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x70]
cmp dword [edi + 0xb4c], 0
je 0x10199586
mov eax, dword [edi + 0x688]
lea ecx, [edi + 0x688]
push 0x101cfd00
call dword [eax + 0x40]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], sym.HncOfficeFramework.dll_const_CHncSHPidl::vftable
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
lea eax, [ebp - 0x18]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
xor eax, eax
mov word [ebp - 0x14], ax
mov byte [ebp - 0x12], al
mov dword [ebp - 4], eax
push dword [edi + 0x1ac]
mov esi, dword [edi + 0x604]
push esi
call dword [sym.imp.HncVfs.dll_int___cdecl_HncVfsShell::ComparePidl_struct_IHncVfsShellPidl_const___struct_IHncVfsShellPidl_const__]
mov ebx, dword [sym.imp.HncVfs.dll_void___cdecl_HncVfsShell::FreePidl_struct_IHncVfsShellPidl__]
add esp, 8
test eax, eax
jne 0x101996a6
cmp dword [edi + 0xfc8], eax
jne 0x101995ff
push eax
call ebx
push dword [edi + 0xf70]
call dword [sym.imp.HncVfs.dll_struct_IHncVfsShellPidl____cdecl_HncVfsShell::CopyPidl_struct_IHncVfsShellPidl_const__]
add esp, 8
mov dword [edi + 0xfc8], eax
mov eax, dword [edi + 0x130]
mov eax, dword [eax + 4]
test eax, eax
je 0x10199641
mov ecx, dword [eax + 0x5c]
test ecx, ecx
je 0x10199641
test eax, eax
je 0x1019961a
mov eax, dword [eax + 8]
and eax, 3
jne 0x10199643
mov ecx, dword [ecx + 0x13c]
cmp ecx, 1
jne 0x1019962f
lea eax, [ecx + 4]
jmp 0x10199643
xor eax, eax
mov dword [ebp - 0x28], 6
cmp ecx, 2
cmove eax, dword [ebp - 0x28]
jmp 0x10199643
xor eax, eax
push dword [edi + 0xfb8]
mov dword [edi + 0xfa8], eax
lea ecx, [edi + 0x12c]
mov eax, dword [edi + 0x5d0]
mov dword [edi + 0xfac], eax
mov eax, dword [edi + 0x5c8]
mov dword [edi + 0xfb0], eax
mov eax, dword [edi + 0x5cc]
mov dword [edi + 0xfb4], eax
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDCListCtrl::SetViewType_unsigned_long_int_
push dword [edi + 0xfc0]
mov eax, dword [edi + 0xfc4]
lea ecx, [edi + 0x12c]
push dword [edi + 0xfbc]
mov dword [edi + 0x5cc], eax
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncShellListCtrlVL::SortColumn_int__int_
jmp 0x10199755
cmp dword [edi + 0xfc8], 0
je 0x1019972d
lea ecx, [edi + 0x12c]
call sym.HncOfficeFramework.dll_public:_unsigned_long_int___thiscall_CHDCListCtrl::GetViewType_void_const
push dword [edi + 0xfa8]
mov dword [edi + 0xfb8], eax
lea ecx, [edi + 0x12c]
mov eax, dword [edi + 0x5d0]
mov dword [edi + 0xfbc], eax
mov eax, dword [edi + 0x5c8]
mov dword [edi + 0xfc0], eax
mov eax, dword [edi + 0x5cc]
mov dword [edi + 0xfc4], eax
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDCListCtrl::SetViewType_unsigned_long_int_
push dword [edi + 0xfb0]
mov eax, dword [edi + 0xfb4]
lea ecx, [edi + 0x12c]
push dword [edi + 0xfac]
mov dword [edi + 0x5cc], eax
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncShellListCtrlVL::SortColumn_int__int_
push dword [edi + 0xfc8]
call ebx
add esp, 4
mov dword [edi + 0xfc8], 0
mov dword [edi + 0xfa8], 0
mov dword [edi + 0xfac], 0
mov dword [edi + 0xfb0], 0
mov dword [edi + 0xfb4], 0
test esi, esi
je 0x10199783
mov eax, dword [edi + 0xf70]
test eax, eax
je 0x10199773
push eax
call ebx
add esp, 4
mov dword [edi + 0xf70], 0
push esi
call dword [sym.imp.HncVfs.dll_struct_IHncVfsShellPidl____cdecl_HncVfsShell::CopyPidl_struct_IHncVfsShellPidl_const__]
add esp, 4
mov dword [edi + 0xf70], eax
mov eax, dword [ebp - 0x2c]
mov dword [eax], 1
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x24], sym.HncOfficeFramework.dll_const_CHncSHPidl::vftable
test edx, edx
je 0x101997ab
mov eax, dword [ebp - 0x20]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x101997b8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x101997c5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008548c
mov esp, ebp
pop ebp
ret 0xc