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

Disassembly:
sub esp, 0x4c8
push ebx
push ebp
push esi
push edi
push dword [0x437024]
call fcn.0042b1b8
cmp dword [0x4361d0], 0
mov ebp, eax
jne 0x41f266
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.004211cc
push 1
call fcn.00420eca
mov dword [0x43627c], eax
test eax, eax
je 0x41f406
push str.My_Documents
push 0x436280
call sub.MSVCRT.dll_wcscpy
push str.My_Computer
push 0x436690
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 0x41eff7
mov eax, dword [esp + 0x20]
mov dword [0x4368a4], 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 0x41f10c
push 0x436488
push dword [esp + 0x14]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov dword [0x4333c0], eax
test eax, eax
je 0x41f104
push 0x4009
push 0x2b4
lea eax, [esp + 0x24]
push eax
push 0
push dword [esp + 0x20]
call esi
test eax, eax
jne 0x41f085
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 0x41f085
push 0x4001
push 0x2b4
lea eax, [esp + 0x24]
push eax
push 0
push 0x436488
call esi
test eax, eax
je 0x41f090
mov eax, dword [esp + 0x20]
mov dword [0x436898], eax
jmp 0x41f097
and dword [0x4333c0], 0
push 0x208
push 0x2b4
lea eax, [esp + 0x24]
push eax
push 0
push dword [esp + 0x20]
call esi
test eax, eax
jne 0x41f0ea
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 0x41f0ea
push 0x200
push 0x2b4
lea eax, [esp + 0x24]
push eax
push 0
push 0x436488
call esi
test eax, eax
je 0x41f0fd
lea eax, [esp + 0x28]
push eax
push 0x436280
call sub.MSVCRT.dll_wcscpy
pop ecx
pop ecx
jmp 0x41f104
and dword [0x4333c0], 0
push dword [esp + 0x10]
call edi
jmp 0x41f113
and dword [0x4333c0], 0
push 0x436488
call sub.MSVCRT.dll_wcslen
pop ecx
cmp word [eax*2 + 0x436486], 0x5c
je 0x41f13a
push 0x42e1fc
push 0x436488
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 0x41f19e
push 0x4009
push ebx
push eax
push 0
push dword [esp + 0x24]
call esi
test eax, eax
je 0x41f16e
mov eax, dword [esp + 0x20]
mov dword [0x43689c], eax
push 0x208
push ebx
lea eax, [esp + 0x24]
push eax
push 0
push dword [esp + 0x24]
call esi
test eax, eax
je 0x41f196
lea eax, [esp + 0x28]
push eax
push 0x436690
call sub.MSVCRT.dll_wcscpy
pop ecx
pop ecx
push dword [esp + 0x14]
call edi
jmp 0x41f1e1
push 0x4001
push ebx
push eax
push 0
mov edi, str.::20D04FE0_3AEA_1069_A2D8_08002B30309D
push edi
call esi
test eax, eax
je 0x41f1bc
mov eax, dword [esp + 0x20]
mov dword [0x43689c], eax
push 0x200
push ebx
lea eax, [esp + 0x24]
push eax
push 0
push edi
call esi
test eax, eax
je 0x41f1e1
lea eax, [esp + 0x28]
push eax
push 0x436690
call sub.MSVCRT.dll_wcscpy
pop ecx
pop ecx
mov esi, 0xa4
push esi
push 0
push 0x4361d8
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x4361d8], 0x18
mov dword [0x4361dc], esi
mov dword [0x4361e0], 0x41d950
mov dword [0x4361e4], 0x41df1f
push str.shell32.dll
mov dword [0x4361f4], 0x41e756
mov dword [0x4361f0], 0x41e03b
mov dword [0x4361e8], 0x41dfdb
mov dword [0x436254], 0x41df76
mov dword [0x436250], 0x41e6db
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x4368b0], eax
mov dword [0x4361d0], 1
cmp dword [0x4368a8], 0
jne 0x41f2a6
mov eax, dword [ebp]
mov esi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x41f282
push dword [0x4368a8]
call esi
push eax
mov dword [0x4368a8], eax
call esi
test eax, eax
jne 0x41f27a
push 0x41e08e
push 0xfffffffffffffffc
push dword [0x4368a8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [0x4368ac], eax
mov ebx, dword [esp + 0x4f4]
mov esi, 0x50010000
test ebx, 0x1000000
je 0x41f2bd
add esi, 0x20
test ebx, 0x4000000
jne 0x41f2c8
or esi, 2
test ebx, 0x8000000
jne 0x41f2d3
or esi, 1
xor edi, edi
test ebx, 0x100000
jne 0x41f2e2
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.00423405
push 0
push dword [0x4357ac]
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 [0x4357a8]
mov edi, eax
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
test edi, edi
je 0x41f406
test ebp, ebp
je 0x41f406
push dword [0x43627c]
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 0x41d6ba
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov esi, dword [esp + 0x4dc]
push esi
push dword [0x437040]
mov dword [0x4361d4], eax
call fcn.0042b368
mov edi, eax
lea ecx, [ebp + 0xc]
mov eax, dword [esp + 0x18]
push 0x42e208
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 0x4361d8
push dword [esp + 0x1c]
push edi
push esi
call fcn.0041fdd2
push 0x42e054
push edi
mov esi, eax
call fcn.0041e756
push dword [esp + 0x4f0]
push edi
call fcn.0041e756
mov eax, esi
jmp 0x41f408
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c8
ret 0x1c