Function at 0x679114e0
Capabilities:
Get common file path
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x6798e8c4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x178
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [esp + 0x198]
xor edi, edi
mov dword [esp + 0x190], edi
cmp dword [eax - 8], edi
jne 0x67911534
lea ecx, [esp + 0x198]
mov dword [esp + 0x190], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x679119aa
mov eax, dword [ebp + 0x34]
mov byte [ebp + 0x48], 1
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov edx, dword [esp + 0x198]
lea ebx, [ebp + 0x3c]
push edx
mov ecx, ebx
mov dword [esp + 0x28], eax
call sym.MfcHlpr520.dll_public:_struct__ITEMIDLIST____thiscall_CMHPShellPidl::IDLFromPath_char_const__
cmp eax, edi
mov dword [esp + 0x14], eax
jne 0x679117f4
mov esi, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov dword [esp + 0x20], edi
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x679115ee
mov edx, dword [esp + 0x1c]
mov ecx, 0x58
lea edi, [esp + 0x28]
push 0x208
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x2c]
push 0x160
push ecx
push eax
push edx
call esi
lea eax, [esp + 0x34]
lea ecx, [esp + 0x18]
push eax
call sub.MFC42.DLL_CString::CString_5
mov ecx, dword [esp + 0x198]
mov edx, dword [esp + 0x18]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x679117d1
lea ecx, [esp + 0x18]
mov byte [esp + 0x190], 0
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x20]
inc edi
cmp edi, 0x1b
mov dword [esp + 0x20], edi
jle 0x67911571
mov eax, dword [ebp + 0x34]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
mov edx, dword [eax + 0x20]
push 0x110a
push edx
call ebx
mov edi, dword [esp + 0x198]
mov dword [esp + 0x10], eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x28]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x67a76590
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.MSVCRT.dll__mbstok]
lea ecx, [esp + 0x2c]
push ecx
call esi
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x20], 0
je 0x6791194b
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 0x34]
lea eax, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_CTreeCtrl::GetItemText
mov ecx, dword [esp + 0x14]
push edi
push ecx
mov byte [esp + 0x198], 2
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x679116a1
push 0x67a76590
push eax
call esi
add esp, 8
mov edi, eax
mov eax, dword [ebp + 0x34]
mov edx, dword [esp + 0x10]
push edx
push 4
mov eax, dword [eax + 0x20]
push 0x110a
push eax
call ebx
mov ecx, dword [ebp + 0x34]
mov esi, eax
push 0x40
push esi
call sub.MFC42.DLL_CTreeCtrl::GetItemState
test al, 0x40
jne 0x679116fa
mov ecx, dword [ebp + 0x34]
mov ebx, dword [ebp]
push esi
call sub.MFC42.DLL_CTreeCtrl::GetItemData
push eax
push esi
mov ecx, ebp
call dword [ebx + 0xb0]
mov ecx, dword [ebp + 0x34]
push 0
push 0x40
push 0x40
push 0
push 0
push 0
push 8
push esi
call sub.MFC42.DLL_CTreeCtrl::SetItem
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
test edi, edi
je 0x6791193a
test esi, esi
je 0x6791193a
lea ecx, [esp + 0x10]
push esi
push ecx
mov ecx, dword [ebp + 0x34]
call sub.MFC42.DLL_CTreeCtrl::GetItemText
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x194], 3
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x190], 2
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x14]
push edi
push edx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
mov eax, dword [ebp + 0x34]
push esi
jne 0x67911926
mov eax, dword [eax + 0x20]
push 9
push 0x110b
push eax
call ebx
mov ecx, dword [ebp + 0x34]
push 0x40
push esi
call sub.MFC42.DLL_CTreeCtrl::GetItemState
test al, 0x40
jne 0x6791179f
mov ecx, dword [ebp + 0x34]
mov edi, dword [ebp]
push esi
call sub.MFC42.DLL_CTreeCtrl::GetItemData
push eax
push esi
mov ecx, ebp
call dword [edi + 0xb0]
mov ecx, dword [ebp + 0x34]
push 0
push 0x40
push 0x40
push 0
push 0
push 0
push 8
push esi
call sub.MFC42.DLL_CTreeCtrl::SetItem
push 0x67a76590
push 0
call dword [sym.imp.MSVCRT.dll__mbstok]
mov edi, eax
add esp, 8
test edi, edi
je 0x6791193a
mov eax, dword [ebp + 0x34]
push esi
push 4
push 0x110a
mov ecx, dword [eax + 0x20]
push ecx
call ebx
mov esi, eax
jmp 0x67911702
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], esi
mov byte [esp + 0x190], 0
call sub.MFC42.DLL_CString::CString
test esi, esi
je 0x679115fc
mov eax, esi
push eax
mov ecx, ebx
call sym.MfcHlpr520.dll_public:_unsigned_int___thiscall_CMHPShellPidl::GetPidlCount_struct__ITEMIDLIST_const__
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x34]
xor edi, edi
mov eax, dword [eax + 0x20]
push edi
push edi
push 0x110a
push eax
mov dword [esp + 0x20], edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x1c]
mov esi, eax
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
jle 0x67911886
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
mov ecx, ebx
call sym.MfcHlpr520.dll_public:_struct__ITEMIDLIST____thiscall_CMHPShellPidl::CopyPidlItem_struct__ITEMIDLIST___unsigned_int_
push eax
push edi
mov ecx, ebx
mov dword [esp + 0x18], eax
call sym.MfcHlpr520.dll_public:_struct__ITEMIDLIST____thiscall_CMHPShellPidl::ConcatPidls_struct__ITEMIDLIST_const___struct__ITEMIDLIST_const__
mov edi, eax
mov eax, dword [esp + 0x10]
push eax
mov ecx, ebx
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPShellPidl::FreePidl_struct__ITEMIDLIST__
mov edx, dword [ebp]
push edi
push esi
mov ecx, ebp
call dword [edx + 0xb4]
mov esi, eax
test esi, esi
je 0x67911904
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x6791182e
mov dword [esp + 0x10], edi
test esi, esi
je 0x67911908
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x679118a5
mov eax, dword [esp + 0x14]
push 0
push edi
push eax
mov ecx, ebx
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPShellPidl::ComparePidls_struct__ITEMIDLIST_const___struct__ITEMIDLIST_const___struct_IShellFolder__
test eax, eax
je 0x67911908
mov eax, dword [ebp + 0x34]
push esi
push 9
push 0x110b
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp + 0x34]
push 0x40
push esi
call sub.MFC42.DLL_CTreeCtrl::GetItemState
test al, 0x40
jne 0x679118fa
mov ecx, dword [ebp + 0x34]
mov edi, dword [ebp]
push esi
call sub.MFC42.DLL_CTreeCtrl::GetItemData
push eax
push esi
mov ecx, ebp
call dword [edi + 0xb0]
mov ecx, dword [ebp + 0x34]
push 0
push 0x40
push 0x40
push 0
push 0
push 0
push 8
push esi
call sub.MFC42.DLL_CTreeCtrl::SetItem
mov edi, dword [esp + 0x10]
mov dword [esp + 0x20], 1
jmp 0x67911908
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x67911918
push eax
mov ecx, ebx
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPShellPidl::FreePidl_struct__ITEMIDLIST__
test edi, edi
je 0x6791194b
push edi
mov ecx, ebx
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPShellPidl::FreePidl_struct__ITEMIDLIST__
jmp 0x6791194b
mov edx, dword [eax + 0x20]
push 1
push 0x110a
push edx
call ebx
mov esi, eax
jmp 0x67911702
lea ecx, [esp + 0x14]
mov byte [esp + 0x190], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x24]
test eax, eax
je 0x6791195b
push 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
push ecx
lea eax, [esp + 0x19c]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [ebp + 0x48], 0
call sub.MFC42.DLL_CString::CString_6
mov ecx, dword [ebp + 0x34]
mov esi, dword [ebp]
mov byte [esp + 0x194], 0
call fcn.679120e0
push eax
mov ecx, ebp
call dword [esi + 0xd0]
lea ecx, [esp + 0x198]
mov dword [esp + 0x190], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x188]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x184
ret 4