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

Disassembly:
sub esp, 0x4c4
push ebx
push ebp
push esi
push edi
push dword [0x7ea840]
call fcn.0058c83f
xor ebx, ebx
mov ebp, eax
cmp dword [0x7e8950], ebx
jne 0x568bef
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.00571451
push 1
call fcn.005710c6
mov dword [0x7e831c], eax
test eax, eax
je 0x568d88
push str.My_Documents
push 0x7e8320
call fcn.0067fc08
push str.My_Computer
push 0x7e8730
call fcn.0067fc08
add esp, 0x10
xor eax, eax
mov word [esp + 0x2cc], ax
lea eax, [esp + 0x2cc]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov esi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea eax, [esp + 0x18]
push 0x4001
push 0x2b4
push eax
push ebx
lea eax, [esp + 0x2dc]
push eax
call esi
mov ecx, dword [0x7e8944]
test eax, eax
lea eax, [esp + 0x10]
cmovne ecx, dword [esp + 0x1c]
push eax
push 5
push ebx
mov dword [0x7e8944], ecx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
mov edi, dword [sym.imp.ole32.dll_CoTaskMemFree]
test eax, eax
jne 0x568a78
push 0x7e8528
push dword [esp + 0x14]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov dword [0x7deb38], eax
test eax, eax
je 0x568a70
push 0x4009
push 0x2b4
lea eax, [esp + 0x20]
push eax
push ebx
push dword [esp + 0x20]
call esi
test eax, eax
jne 0x5689f6
push 0x4001
push 0x2b4
lea eax, [esp + 0x20]
push eax
push ebx
push str.::450d8fba_ad25_11d0_98a8_0800361b1103
call esi
test eax, eax
jne 0x5689f6
push 0x4001
push 0x2b4
lea eax, [esp + 0x20]
push eax
push ebx
push 0x7e8528
call esi
test eax, eax
je 0x568a01
mov eax, dword [esp + 0x1c]
mov dword [0x7e8938], eax
jmp 0x568a07
mov dword [0x7deb38], ebx
push 0x208
push 0x2b4
lea eax, [esp + 0x20]
push eax
push ebx
push dword [esp + 0x20]
call esi
test eax, eax
jne 0x568a5f
push 0x200
push 0x2b4
lea eax, [esp + 0x20]
push eax
push ebx
push str.::450d8fba_ad25_11d0_98a8_0800361b1103
call esi
test eax, eax
jne 0x568a5f
push 0x200
push 0x2b4
lea eax, [esp + 0x20]
push eax
push ebx
push 0x7e8528
call esi
test eax, eax
jne 0x568a5f
mov dword [0x7deb38], ebx
jmp 0x568a70
lea eax, [esp + 0x24]
push eax
push 0x7e8320
call fcn.0067fc08
pop ecx
pop ecx
push dword [esp + 0x10]
call edi
jmp 0x568a7e
mov dword [0x7deb38], ebx
push 0x7e8528
call fcn.005236eb
pop ecx
cmp word [eax*2 + 0x7e8526], 0x5c
je 0x568aa5
push 0x69a0b0
push 0x7e8528
call fcn.0067fc2a
pop ecx
pop ecx
lea eax, [esp + 0x14]
push eax
push 0x11
push ebx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
lea eax, [esp + 0x18]
jne 0x568b12
push 0x4009
push 0x2b4
push eax
push ebx
push dword [esp + 0x24]
call esi
mov ecx, dword [0x7e893c]
test eax, eax
push 0x208
cmovne ecx, dword [esp + 0x20]
lea eax, [esp + 0x1c]
push 0x2b4
push eax
push ebx
push dword [esp + 0x24]
mov dword [0x7e893c], ecx
call esi
test eax, eax
je 0x568b0a
lea eax, [esp + 0x24]
push eax
push 0x7e8730
call fcn.0067fc08
pop ecx
pop ecx
push dword [esp + 0x14]
call edi
jmp 0x568b61
push 0x4001
push 0x2b4
push eax
push ebx
mov edi, str.::20D04FE0_3AEA_1069_A2D8_08002B30309D
push edi
call esi
mov ecx, dword [0x7e893c]
test eax, eax
push 0x200
cmovne ecx, dword [esp + 0x20]
lea eax, [esp + 0x1c]
push 0x2b4
push eax
push ebx
push edi
mov dword [0x7e893c], ecx
call esi
test eax, eax
je 0x568b61
lea eax, [esp + 0x24]
push eax
push 0x7e8730
call fcn.0067fc08
pop ecx
pop ecx
mov esi, 0xa8
push esi
push ebx
push 0x7e8270
call fcn.0052bb00
add esp, 0xc
mov dword [0x7e8270], 0x18
mov dword [0x7e8274], esi
mov dword [0x7e8278], 0x5671ff
mov dword [0x7e827c], 0x5677e5
push str.shell32.dll
mov dword [0x7e828c], 0x568057
mov dword [0x7e8288], 0x567908
mov dword [0x7e8280], 0x5678a7
mov dword [0x7e82ec], 0x56783c
mov dword [0x7e82e8], 0x567fdc
mov dword [0x7e82b0], 0x568851
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x7e8954], eax
mov dword [0x7e8950], 1
mov edi, dword [sym.imp.USER32.dll_SetWindowLongW]
cmp dword [0x7e8948], ebx
jne 0x568c30
mov eax, dword [ebp]
mov esi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x568c10
push dword [0x7e8948]
call esi
push eax
mov dword [0x7e8948], eax
call esi
test eax, eax
jne 0x568c08
push 0x567997
push 0xfffffffffffffffc
push dword [0x7e8948]
call edi
mov dword [0x7e894c], eax
mov ebx, dword [esp + 0x4f0]
lea eax, [esp + 0x4e8]
push eax
mov ecx, ebx
lea eax, [esp + 0x4e8]
shr ecx, 0x13
and ecx, 0x20
or ecx, 0x50010000
push eax
mov esi, ecx
lea eax, [esp + 0x4e8]
push eax
or esi, 2
lea eax, [esp + 0x4e8]
test ebx, 0x4000000
push eax
cmovne esi, ecx
call fcn.00577381
push 0
push dword [0x7e42f4]
mov ecx, esi
mov eax, ebx
push 0xffffffffffffffff
push dword [ebp]
or ecx, 1
test ebx, 0x8000000
push dword [esp + 0x4f8]
cmovne ecx, esi
shr eax, 0xb
push dword [esp + 0x4f8]
not eax
push dword [esp + 0x4f8]
and eax, 0x200
push dword [esp + 0x4f8]
push ecx
push 0
push str.SysTreeView32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x224
push 8
push dword [0x7e42f8]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebp, ebp
je 0x568d88
test ebx, ebx
je 0x568d88
push dword [0x7e831c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x1109
push ebp
call esi
push 4
push 4
push 0x112c
push ebp
call esi
push 0x566f6a
push 0xfffffffffffffffc
push ebp
call edi
mov esi, dword [esp + 0x4d8]
push esi
push dword [0x7ea844]
mov dword [0x7e8318], eax
call fcn.0058c8cf
mov edi, eax
lea ecx, [ebx + 0xc]
mov eax, dword [esp + 0x4f0]
push 0x6b4e7c
push ecx
or dword [edi + 0x14], 0xffffffff
mov dword [edi + 0x10], ebx
mov dword [ebx], ebp
mov dword [ebx + 8], eax
mov dword [ebx + 4], esi
call fcn.0067fc08
pop ecx
pop ecx
push 0x7e8270
push ebp
push edi
push esi
call fcn.0056cf49
push 0x69cd88
push edi
mov esi, eax
call fcn.00568057
push dword [esp + 0x4ec]
push edi
call fcn.00568057
mov eax, esi
jmp 0x568d8a
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c4
ret 0x1c