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

Disassembly:
sub esp, 0x4c8
push ebx
push ebp
push esi
push edi
push dword [0x508260]
call fcn.0042575b
cmp dword [0x506bf0], 0
mov ebp, eax
jne 0x4151b2
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.004188b9
push 1
call fcn.004185b7
mov dword [0x506c9c], eax
test eax, eax
je 0x415352
push str.My_Documents
push 0x506ca0
call sub.MSVCRT.dll_wcscpy
push str.My_Computer
push 0x5070b0
call sub.MSVCRT.dll_wcscpy
add esp, 0x10
xor eax, eax
mov word [esp + 0x2d0], ax
lea eax, [esp + 0x2d0]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov esi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea eax, [esp + 0x1c]
push 0x4001
push 0x2b4
push eax
push 0
lea eax, [esp + 0x2e0]
push eax
call esi
test eax, eax
je 0x414f43
mov eax, dword [esp + 0x20]
mov dword [0x5072c4], eax
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [esp + 0x10]
push eax
push 5
push 0
call ebx
mov edi, dword [sym.imp.ole32.dll_CoTaskMemFree]
test eax, eax
jne 0x415058
push 0x506ea8
push dword [esp + 0x14]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov dword [0x502f0c], eax
test eax, eax
je 0x415050
push 0x4009
push 0x2b4
lea eax, [esp + 0x24]
push eax
push 0
push dword [esp + 0x20]
call esi
test eax, eax
jne 0x414fd1
push 0x4001
push 0x2b4
lea eax, [esp + 0x24]
push eax
push 0
push str.::450d8fba_ad25_11d0_98a8_0800361b1103
call esi
test eax, eax
jne 0x414fd1
push 0x4001
push 0x2b4
lea eax, [esp + 0x24]
push eax
push 0
push 0x506ea8
call esi
test eax, eax
je 0x414fdc
mov eax, dword [esp + 0x20]
mov dword [0x5072b8], eax
jmp 0x414fe3
and dword [0x502f0c], 0
push 0x208
push 0x2b4
lea eax, [esp + 0x24]
push eax
push 0
push dword [esp + 0x20]
call esi
test eax, eax
jne 0x415036
push 0x200
push 0x2b4
lea eax, [esp + 0x24]
push eax
push 0
push str.::450d8fba_ad25_11d0_98a8_0800361b1103
call esi
test eax, eax
jne 0x415036
push 0x200
push 0x2b4
lea eax, [esp + 0x24]
push eax
push 0
push 0x506ea8
call esi
test eax, eax
je 0x415049
lea eax, [esp + 0x28]
push eax
push 0x506ca0
call sub.MSVCRT.dll_wcscpy
pop ecx
pop ecx
jmp 0x415050
and dword [0x502f0c], 0
push dword [esp + 0x10]
call edi
jmp 0x41505f
and dword [0x502f0c], 0
push 0x506ea8
call sub.MSVCRT.dll_wcslen
pop ecx
cmp word [eax*2 + 0x506ea6], 0x5c
je 0x415086
push 0x4681b0
push 0x506ea8
call sub.MSVCRT.dll_wcscat
pop ecx
pop ecx
lea eax, [esp + 0x14]
push eax
push 0x11
push 0
call ebx
test eax, eax
mov ebx, 0x2b4
lea eax, [esp + 0x1c]
jne 0x4150ea
push 0x4009
push ebx
push eax
push 0
push dword [esp + 0x24]
call esi
test eax, eax
je 0x4150ba
mov eax, dword [esp + 0x20]
mov dword [0x5072bc], eax
push 0x208
push ebx
lea eax, [esp + 0x24]
push eax
push 0
push dword [esp + 0x24]
call esi
test eax, eax
je 0x4150e2
lea eax, [esp + 0x28]
push eax
push 0x5070b0
call sub.MSVCRT.dll_wcscpy
pop ecx
pop ecx
push dword [esp + 0x14]
call edi
jmp 0x41512d
push 0x4001
push ebx
push eax
push 0
mov edi, str.::20D04FE0_3AEA_1069_A2D8_08002B30309D
push edi
call esi
test eax, eax
je 0x415108
mov eax, dword [esp + 0x20]
mov dword [0x5072bc], eax
push 0x200
push ebx
lea eax, [esp + 0x24]
push eax
push 0
push edi
call esi
test eax, eax
je 0x41512d
lea eax, [esp + 0x28]
push eax
push 0x5070b0
call sub.MSVCRT.dll_wcscpy
pop ecx
pop ecx
mov esi, 0xa4
push esi
push 0
push 0x506bf8
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x506bf8], 0x18
mov dword [0x506bfc], esi
mov dword [0x506c00], 0x41384f
mov dword [0x506c04], 0x413e6b
push 0x4682bc
mov dword [0x506c14], 0x4146a2
mov dword [0x506c10], 0x413f87
mov dword [0x506c08], 0x413f27
mov dword [0x506c74], 0x413ec2
mov dword [0x506c70], 0x414627
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x5072d0], eax
mov dword [0x506bf0], 1
cmp dword [0x5072c8], 0
jne 0x4151f2
mov eax, dword [ebp]
mov esi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x4151ce
push dword [0x5072c8]
call esi
push eax
mov dword [0x5072c8], eax
call esi
test eax, eax
jne 0x4151c6
push 0x413fda
push 0xfffffffffffffffc
push dword [0x5072c8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [0x5072cc], eax
mov ebx, dword [esp + 0x4f4]
mov esi, 0x50010000
test ebx, 0x1000000
je 0x415209
add esi, 0x20
test ebx, 0x4000000
jne 0x415214
or esi, 2
test ebx, 0x8000000
jne 0x41521f
or esi, 1
xor edi, edi
test ebx, 0x100000
jne 0x41522e
mov edi, 0x200
lea eax, [esp + 0x4ec]
push eax
lea eax, [esp + 0x4ec]
push eax
lea eax, [esp + 0x4ec]
push eax
lea eax, [esp + 0x4ec]
push eax
call fcn.0041d21c
push 0
push dword [0x5063e4]
push 0xffffffffffffffff
push dword [ebp]
push dword [esp + 0x4fc]
push dword [esp + 0x4fc]
push dword [esp + 0x4fc]
push dword [esp + 0x4fc]
push esi
push 0
push str.SysTreeView32
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x224
push 8
push dword [0x5063e0]
mov edi, eax
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
test edi, edi
je 0x415352
test ebp, ebp
je 0x415352
push dword [0x506c9c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x1109
push edi
call esi
push 4
push 4
push 0x112c
push edi
call esi
push 0x4135b9
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov esi, dword [esp + 0x4dc]
push esi
push dword [0x5081e0]
mov dword [0x506bf4], eax
call fcn.004259d7
mov edi, eax
lea ecx, [ebp + 0xc]
mov eax, dword [esp + 0x18]
push 0x4681bc
push ecx
or dword [edi + 0x14], 0xffffffff
mov dword [edi + 0x10], ebp
mov dword [ebp], eax
mov dword [ebp + 8], ebx
mov dword [ebp + 4], esi
call sub.MSVCRT.dll_wcscpy
pop ecx
pop ecx
push 0x506bf8
push dword [esp + 0x1c]
push edi
push esi
call fcn.004177c3
push 0x468014
push edi
mov esi, eax
call fcn.004146a2
push dword [esp + 0x4f0]
push edi
call fcn.004146a2
mov eax, esi
jmp 0x415354
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c8
ret 0x1c