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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1910
call fcn.00416200
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
push 1
push 0x21
mov esi, ecx
push 0x32
call edi
push eax
push 0x31
call edi
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_Create]
push eax
call ebx
push 1
push 1
push 0x21
push 0x32
mov dword [esi + 4], eax
call edi
push eax
push 0x31
call edi
push eax
call ebx
mov ebx, dword [sym.imp.USER32.dll_LoadIconW]
push 0x142
push dword [esi + 0x45030]
mov dword [esi + 8], eax
call ebx
mov edi, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push eax
push 0xffffffffffffffff
mov dword [ebp - 4], eax
push dword [esi + 8]
call edi
cmp dword [ebp - 4], 0
je 0x40fe31
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_DestroyIcon]
push 0x141
push dword [esi + 0x45030]
call ebx
push eax
push 0xffffffffffffffff
push dword [esi + 8]
call edi
push 0x19
push dword [esi + 0x45030]
call ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1910]
push 0x400
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x1910]
push eax
lea eax, [ebp - 0x1110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
and dword [ebp - 0xc], 0
cmp dword [0x4884ec], 0
jle 0x410027
mov eax, dword [0x434820]
push 0x7f
mov dword [ebp - 0x910], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x90c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0xc]
shl eax, 9
lea eax, [eax + esi + 0xc]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x410027
push eax
lea eax, [ebp - 0x910]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 8]
push 1
push ecx
lea ecx, [ebp - 0x14]
xor eax, eax
push ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0x910]
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
mov eax, dword [0x434820]
mov ecx, 0x81
mov dword [ebp - 0x45c], eax
xor eax, eax
lea edi, [ebp - 0x458]
push 0x104
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x45c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [ebp - 8], 0
jne 0x40ffda
and dword [ebp - 0x710], 0
mov ecx, 0xac
xor eax, eax
lea edi, [ebp - 0x70c]
rep stosd dword es:[edi], eax
mov eax, dword [0x434820]
push 0x7f
mov dword [ebp - 0x254], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x250]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x254]
push eax
call edi
lea eax, [ebp - 0x254]
push str.System32_
push eax
call edi
push dword [ebp - 0x10]
lea eax, [ebp - 0x254]
push eax
call edi
cmp dword [ebp - 0xc], 5
jne 0x40ffa5
lea eax, [ebp - 0x18]
push eax
push 3
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push 0x4009
lea eax, [ebp - 0x710]
push 0x2b4
push eax
push 0
push dword [ebp - 0x18]
jmp 0x40ffbf
push 0x4001
lea eax, [ebp - 0x710]
push 0x2b4
push eax
lea eax, [ebp - 0x254]
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0
mov ecx, 0x488470
push dword [ebp - 0x70c]
call fcn.0041479f
mov dword [ebp - 8], eax
push str.shell:::
push dword [ebp - 0x10]
call fcn.0041567e
pop ecx
test eax, eax
pop ecx
je 0x40fffa
push 0x19
push dword [esi + 0x45030]
call ebx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
test eax, eax
mov dword [ebp + edi*4 - 0x54], eax
jne 0x41000b
mov eax, dword [ebp - 4]
push eax
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
inc edi
cmp edi, dword [0x4884ec]
mov dword [ebp - 0xc], edi
jl 0x40fe8a
cmp dword [ebp - 4], 0
je 0x410036
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_DestroyIcon]
push dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, 0x430
push 0
push edi
push dword [esi + 0x45028]
call ebx
push dword [esi + 8]
push 0
push edi
push dword [esi + 0x4502c]
call ebx
mov eax, 0x434410
push eax
push eax
lea eax, [ebp - 0x1110]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
xor edi, edi
add esp, 0xc
cmp dword [0x4884ec], edi
jle 0x4100a6
push 0
lea eax, [edi + 0x8016]
push edi
push eax
lea eax, [ebp - 0x1110]
push eax
push dword [esi + 0x45028]
call fcn.0040bbdc
add esp, 0x14
inc edi
cmp edi, dword [0x4884ec]
jl 0x41007e
pop edi
pop esi
pop ebx
leave
ret