Function at 0x401110
Capabilities:
Get common file path
Get file system object information
Get startup folder

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40cb81
push eax
mov al, byte [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x410
test al, al
push esi
push edi
mov esi, ecx
je 0x40114d
mov eax, dword [esi + 0x20]
push 0xffff0000
push 0
push 0x1101
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x20]
push ebx
push ebp
push 0
push 0
push 0x1109
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call sub.MFC42.DLL_CImageList::FromHandle
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x20]
push edx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea edi, [esi + 0x44]
lea eax, [esp + 0x34]
push eax
mov ecx, edi
call fcn.0040c328
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x32
push 0x32
push 0x18
push 0x32
lea ebp, [esi + 0x240]
call ebx
push eax
push 0x31
call ebx
push eax
mov ecx, ebp
call sub.MFC42.DLL_CImageList::Create
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
push 5
call ebp
mov ecx, dword [esi + 0x244]
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
lea ecx, [esp + 0x10]
call fcn.00401f20
mov dword [esp + 0x10], 0x40f738
lea ecx, [esp + 0x24]
mov dword [esp + 0x428], 0
call sub.MFC42.DLL_CDC::CDC
push 0
mov byte [esp + 0x42c], 1
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CDC::Attach
push 0
push 0x18
push 1
push 0x20
push 0x20
call dword [sym.imp.GDI32.dll_CreateBitmap]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [esp + 0x28]
push eax
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
push 5
mov ebx, eax
call ebp
push eax
push 0x1f
push 0x1f
push 0
push 0
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CDC::FillSolidRect
test ebx, ebx
je 0x401264
mov ebx, dword [ebx + 4]
mov eax, dword [esp + 0x28]
push ebx
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [esp + 0x24]
mov ebx, eax
call sub.MFC42.DLL_CDC::DeleteDC
test ebx, ebx
jne 0x401282
xor eax, eax
jmp 0x401285
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x244]
push 0
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ebx, dword [sym.imp.SHELL32.dll_ExtractIconA]
push 0x22
push str.shell32.dll
mov edx, dword [eax + 0x6c]
push edx
call ebx
mov ebp, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push eax
mov eax, dword [esi + 0x244]
push 0xffffffffffffffff
push eax
call ebp
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0xf
push str.shell32.dll
mov ecx, dword [eax + 0x6c]
push ecx
call ebx
mov edx, dword [esi + 0x244]
push eax
push 0xffffffffffffffff
push edx
call ebp
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push 0x301
lea ecx, [esp + 0x164]
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
push 0x160
push ecx
push 0
push eax
call ebx
mov edi, dword [edi]
push 0x303
lea edx, [esp + 0x2c4]
push 0x160
push edx
push 0
push edi
call ebx
cmp dword [esp + 0x1c], 0xffffffff
jne 0x401350
mov eax, dword [esp + 0x160]
mov ecx, dword [esi + 0x244]
push eax
push 0xffffffffffffffff
push ecx
call ebp
mov edx, dword [esp + 0x2c0]
mov eax, dword [esi + 0x244]
push edx
push 0xffffffffffffffff
push eax
call ebp
lea eax, [esi + 0x240]
pop ebp
test eax, eax
pop ebx
je 0x40135f
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 0
push 0x1109
push ecx
call edi
push eax
call sub.MFC42.DLL_CImageList::FromHandle
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
push eax
push 1
push 0xffff0000
push 0x414020
call fcn.004019a0
push eax
mov ecx, esi
mov dword [esi + 0x48], eax
call fcn.00401690
mov eax, dword [esi + 0x48]
mov edx, dword [esi + 0x20]
push eax
push 2
push 0x1102
push edx
call edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x420], 0
call fcn.0040c2f2
mov dword [esp + 8], 0x40f724
lea ecx, [esp + 8]
mov dword [esp + 0x420], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x418]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x41c
ret 4