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

Disassembly:
push ebp
lea ebp, [esp - 0x5c]
sub esp, 0x270
push ebx
push esi
push edi
push dword [0x10016c54]
call fcn.1000ee82
xor ebx, ebx
cmp dword [0x10016398], ebx
mov edi, eax
mov dword [ebp + 0x50], edi
jne 0x100095f6
push ebx
call dword [sym.imp.OLE32.DLL_CoInitialize]
call fcn.1000be45
push 1
call fcn.1000b98f
cmp eax, ebx
mov dword [0x10015fdc], eax
je 0x1000973e
push str.My_Documents
push 0x10015ff0
call sub.MSVCRT.dll_strcpy
push str.My_Computer
push 0x100161f8
call sub.MSVCRT.dll_strcpy
add esp, 0x10
push 0x104
lea eax, [ebp - 0x214]
push eax
mov byte [ebp - 0x214], bl
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov esi, dword [sym.imp.SHELL32.DLL_SHGetFileInfoA]
push 0x4001
mov edi, 0x160
push edi
lea eax, [ebp - 0x110]
push eax
push ebx
lea eax, [ebp - 0x214]
push eax
call esi
test eax, eax
je 0x10009397
mov eax, dword [ebp - 0x10c]
mov dword [0x10015fec], eax
lea eax, [ebp + 0x58]
push eax
push 5
push ebx
call dword [sym.imp.SHELL32.DLL_SHGetSpecialFolderLocation]
test eax, eax
jne 0x10009492
push 0x100160f4
push dword [ebp + 0x58]
call dword [sym.imp.SHELL32.DLL_SHGetPathFromIDListA]
cmp eax, ebx
mov dword [0x10014a10], eax
je 0x10009487
push 0x4009
push edi
lea eax, [ebp - 0x110]
push eax
push ebx
push dword [ebp + 0x58]
call esi
test eax, eax
jne 0x10009410
push 0x4001
push edi
lea eax, [ebp - 0x110]
push eax
push ebx
push str.::450d8fba_ad25_11d0_98a8_0800361b1103
call esi
test eax, eax
jne 0x10009410
push 0x4001
push edi
lea eax, [ebp - 0x110]
push eax
push ebx
push 0x100160f4
call esi
test eax, eax
je 0x1000941d
mov eax, dword [ebp - 0x10c]
mov dword [0x10015fe0], eax
jmp 0x10009423
mov dword [0x10014a10], ebx
push 0x208
push edi
lea eax, [ebp - 0x110]
push eax
push ebx
push dword [ebp + 0x58]
call esi
test eax, eax
jne 0x1000946c
push 0x200
push edi
lea eax, [ebp - 0x110]
push eax
push ebx
push str.::450d8fba_ad25_11d0_98a8_0800361b1103
call esi
test eax, eax
jne 0x1000946c
push 0x200
push edi
lea eax, [ebp - 0x110]
push eax
push ebx
push 0x100160f4
call esi
test eax, eax
je 0x10009481
lea eax, [ebp - 0x104]
push eax
push 0x10015ff0
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
jmp 0x10009487
mov dword [0x10014a10], ebx
push dword [ebp + 0x58]
call dword [sym.imp.OLE32.DLL_CoTaskMemFree]
jmp 0x10009498
mov dword [0x10014a10], ebx
push 0x100160f4
call sub.MSVCRT.dll_strlen
cmp byte [eax + 0x100160f3], 0x5c
pop ecx
je 0x100094bd
push 0x10010040
push 0x100160f4
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
lea eax, [ebp + 0x54]
push eax
push 0x11
push ebx
call dword [sym.imp.SHELL32.DLL_SHGetSpecialFolderLocation]
test eax, eax
lea eax, [ebp - 0x110]
jne 0x10009525
push 0x4009
push edi
push eax
push ebx
push dword [ebp + 0x54]
call esi
test eax, eax
je 0x100094f0
mov eax, dword [ebp - 0x10c]
mov dword [0x10015fe4], eax
push 0x208
push edi
lea eax, [ebp - 0x110]
push eax
push ebx
push dword [ebp + 0x54]
call esi
test eax, eax
je 0x1000951a
lea eax, [ebp - 0x104]
push eax
push 0x100161f8
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push dword [ebp + 0x54]
call dword [sym.imp.OLE32.DLL_CoTaskMemFree]
jmp 0x1000956f
push 0x4001
push edi
push eax
push ebx
push str.::20D04FE0_3AEA_1069_A2D8_08002B30309D
call esi
test eax, eax
je 0x10009543
mov eax, dword [ebp - 0x10c]
mov dword [0x10015fe4], eax
push 0x200
push edi
lea eax, [ebp - 0x110]
push eax
push ebx
push str.::20D04FE0_3AEA_1069_A2D8_08002B30309D
call esi
test eax, eax
je 0x1000956f
lea eax, [ebp - 0x104]
push eax
push 0x100161f8
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
mov esi, 0x98
push esi
push ebx
push 0x10016300
call sub.MSVCRT.dll_memset
add esp, 0xc
push str.shell32.dll
mov dword [0x10016300], 0x18
mov dword [0x10016304], esi
mov dword [0x10016308], 0x100085fb
mov dword [0x1001630c], 0x10008c01
mov dword [0x1001631c], 0x10008c58
mov dword [0x10016318], 0x1000914d
mov dword [0x10016310], 0x1000919f
mov dword [0x1001637c], 0x10009278
mov dword [0x10016378], 0x100091fe
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, dword [ebp + 0x50]
mov dword [0x10015fd0], eax
mov dword [0x10016398], 1
cmp dword [0x10015fd8], ebx
jne 0x10009634
mov eax, dword [edi]
mov esi, dword [sym.imp.USER32.DLL_GetParent]
jmp 0x10009610
push dword [0x10015fd8]
call esi
push eax
mov dword [0x10015fd8], eax
call esi
test eax, eax
jne 0x10009608
push 0x100080f0
push 0xfffffffffffffffc
push dword [0x10015fd8]
call dword [sym.imp.USER32.DLL_SetWindowLongA]
mov dword [0x10015fd4], eax
mov edx, dword [ebp + 0x7c]
test edx, 0x1000000
mov ecx, 0x50000000
je 0x10009647
add ecx, 0x20
test edx, 0x4000000
jne 0x10009652
or ecx, 2
test edx, 0x8000000
jne 0x1000965d
or ecx, 1
xor eax, eax
test edx, 0x100000
jne 0x1000966c
mov eax, 0x200
push ebx
push dword [0x10015eac]
push 0xffffffffffffffff
push dword [edi]
push dword [ebp + 0x74]
push dword [ebp + 0x70]
push dword [ebp + 0x6c]
push dword [ebp + 0x68]
push ecx
push ebx
push str.SysTreeView32
push eax
call dword [sym.imp.USER32.DLL_CreateWindowExA]
push 0x120
push 8
push dword [0x10015ea8]
mov dword [ebp + 0x74], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp dword [ebp + 0x74], ebx
mov esi, eax
je 0x1000973e
cmp esi, ebx
je 0x1000973e
push dword [0x10015fdc]
mov edi, dword [sym.imp.USER32.DLL_SendMessageA]
push ebx
push 0x1109
push dword [ebp + 0x74]
call edi
push 4
push 4
push 0x112c
push dword [ebp + 0x74]
call edi
mov ebx, dword [ebp + 0x64]
push ebx
push dword [0x10016c50]
call fcn.1000ed35
mov edi, eax
or dword [edi + 0x14], 0xffffffff
mov eax, dword [ebp + 0x74]
mov dword [edi + 0x10], esi
mov dword [esi], eax
mov eax, dword [ebp + 0x7c]
mov dword [esi + 8], eax
mov dword [esi + 4], ebx
push 0x10010058
add esi, 0xc
push esi
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push 0x10016300
push dword [ebp + 0x74]
push edi
push ebx
call fcn.1000b8e1
push 0x1001000b
push edi
mov esi, eax
call fcn.10008c58
push dword [ebp + 0x78]
push edi
call fcn.10008c58
mov eax, esi
jmp 0x10009740
xor eax, eax
pop edi
pop esi
pop ebx
add ebp, 0x5c
leave
ret 0x1c