Function at 0x101a37c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101cb63f
mov eax, dword fs:[0]
push eax
sub esp, 0xe5c
mov eax, dword [0x1023c014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xe64], edi
cmp dword [ebp + 8], 0
mov dword [ebp - 0xe68], edi
je 0x101a3814
lea ecx, [edi + 0x504]
mov dword [edi + 8], sym.HncOfficeFramework.dll_const_CHncShellListCtrlVL::vbtable
call dword [sym.imp.HncFoundation.dll_public:_void___thiscall_CHncObject::constructor_void_]
push 0
mov ecx, edi
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHDCScrollItem::constructor_void_
mov dword [edi + 0x54], sym.HncOfficeFramework.dll_const_CIncrementalTextSearcher::vftable
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 1
mov dword [edi + 0x60], 0
mov eax, dword [edi + 8]
mov dword [edi], sym.HncOfficeFramework.dll_const_CHDCListCtrl::vftablefor__CHDlgItem
mov dword [edi + 0xc], sym.HncOfficeFramework.dll_const_CHDCListCtrl::vftablefor__CHDCScrollItem
mov dword [edi + 0x54], sym.HncOfficeFramework.dll_const_CHDCListCtrl::vftablefor__CIncrementalTextSearcher
mov eax, dword [eax + 4]
mov dword [eax + edi + 8], sym.HncOfficeFramework.dll_const_CHDCListCtrl::vftablefor__CHncObject
mov eax, dword [edi + 8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + edi + 4], eax
lea ecx, [edi + 0x64]
mov dword [ebp - 4], 0
call sym.HncOfficeFramework.dll_public:_void___thiscall_CDrawProxyItemMap::constructor_void_
mov eax, dword [edi + 8]
mov dword [edi], sym.HncOfficeFramework.dll_const_CHncShellListCtrlVL::vftablefor__CHDlgItem
mov dword [edi + 0xc], sym.HncOfficeFramework.dll_const_CHDCListCtrl::vftablefor__CHDCScrollItem
mov dword [edi + 0x54], sym.HncOfficeFramework.dll_const_CHncShellListCtrlVL::vftablefor__CIncrementalTextSearcher
mov dword [edi + 0x64], sym.HncOfficeFramework.dll_const_CHncShellListCtrlVL::vftable
mov eax, dword [eax + 4]
mov dword [eax + edi + 8], sym.HncOfficeFramework.dll_const_CHncShellListCtrlVL::vftablefor__CHncObject
mov eax, dword [edi + 8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x4fc]
mov dword [ecx + edi + 4], eax
lea eax, [edi + 0x70]
push eax
mov dword [edi + 0x6c], sym.HncOfficeFramework.dll_const_CHncSHPidl::vftable
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [edi + 0x74]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
lea eax, [edi + 0x78]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
xor eax, eax
mov word [edi + 0x7c], ax
mov byte [edi + 0x7e], al
mov dword [edi + 0x4ac], eax
mov dword [edi + 0x4b0], eax
mov dword [edi + 0x4b4], eax
mov byte [ebp - 4], 3
mov dword [edi + 0x4c4], eax
push 0x1023fa54
mov dword [edi + 0x4e0], eax
mov dword [edi + 0x4e4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 4
call dword [sym.imp.HncFoundation.dll_unsigned_short_int_const____cdecl_HncGetFilePath_enum_HncFilePathID_]
add esp, 4
lea ecx, [ebp - 0xe5c]
push eax
call fcn.10001d90
lea eax, [ebp - 0x852]
mov byte [ebp - 4], 4
push eax
call dword [sym.imp.HncFoundation.dll_HncPathCreate]
push 0
lea eax, [ebp - 0x852]
push 0
push eax
call dword [sym.imp.HncVfs.dll_struct_IHncVfsShellPidl____cdecl_HncVfsShell::PathToPidl_unsigned_short_int_const___struct_IHncVfsShellPidl_const___int_]
push 0x410
mov dword [edi + 0x80], eax
lea eax, [edi + 0x8c]
mov dword [edi + 0x88], 0
mov dword [edi + 0x84], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0xc
mov dword [edi + 0x49c], 1
mov dword [edi + 0x4a0], 0
mov dword [edi + 0x4a4], 0
mov dword [edi + 0x4b8], 0
call fcn.100854b0
push 8
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [edi + 0x4a8], eax
call fcn.100854b0
mov esi, eax
mov dword [ebp - 0xe64], esi
mov byte [ebp - 4], 5
mov dword [esi + 4], 0
push 0x21c
mov dword [esi], sym.HncOfficeFramework.dll_const_CHDCToolTipCtrl::vftable
call fcn.100854b0
add esp, 0x24
mov dword [ebp - 0xe60], eax
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.10155f90
mov dword [esi + 4], eax
mov byte [ebp - 4], 4
mov dword [edi + 0x4cc], esi
mov eax, dword [esi + 4]
test eax, eax
jne 0x101a3a3f
push 0x21c
call fcn.100854b0
add esp, 4
mov dword [ebp - 0xe60], eax
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.10155f90
mov byte [ebp - 4], 4
mov dword [esi + 4], eax
mov ecx, eax
call fcn.10155d80
push 0
push SysReAllocString
push str.lnkfile
lea ecx, [ebp - 0x648]
mov dword [edi + 0x4c8], 1
call dword [sym.imp.HncFoundation.dll_public:_void___thiscall_CHncRegistry::constructor_unsigned_short_int_const___struct_HKEY_____int_]
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 8
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x648]
push 0x104
push eax
push str.IsShortcut
push 0
call dword [sym.imp.HncFoundation.dll_public:_int___thiscall_CHncRegistry::GetStringValue_unsigned_short_int_const___unsigned_short_int_const___unsigned_short_int___int_]
test eax, eax
jne 0x101a3aab
mov dword [edi + 0x4c8], eax
mov dword [edi + 0x4d0], 0
call fcn.10108490
push 0xc
mov dword [eax + 0xc], 0
mov dword [edi + 0x4dc], 1
mov dword [edi + 0x4d8], 0
mov dword [edi + 0x4f0], 0
mov dword [edi + 0x4f4], 0
mov dword [edi + 0x4f8], 0
mov dword [edi + 0x4fc], 0
call fcn.100854b0
mov dword [ebp - 0xe60], eax
push 0xc
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [edi + 0x4e8], eax
call fcn.100854b0
add esp, 8
mov dword [ebp - 0xe60], eax
mov dword [eax], 0
push 0
push 1
push 1
mov dword [eax + 4], 0
mov dword [eax + 8], 0
push 0
mov dword [edi + 0x4ec], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x4d4], eax
test eax, eax
je 0x101a3b6d
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [ebp - 0x648]
call dword [sym.imp.HncFoundation.dll_public_virtual:_void___thiscall_CHncRegistry::destructor_void_]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008548c
mov esp, ebp
pop ebp
ret 4