Function at 0x4565a0
Capabilities:
Get file system object information

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x574f61
push eax
mov dword fs:[0], esp
sub esp, 0x394
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
mov eax, dword [esi + 0x60]
push eax
call edi
cmp eax, 4
jle 0x4565f3
mov ecx, dword [esi + 0x60]
push ecx
call edi
lea edi, [eax - 1]
cmp edi, 3
jle 0x4565f3
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_Remove]
mov edx, dword [esi + 0x60]
push edi
push edx
call ebx
dec edi
cmp edi, 3
jg 0x4565e6
lea eax, [esi + 0x5c]
test eax, eax
je 0x4565fd
mov eax, dword [eax + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov eax, dword [esi + 0x398]
push 1
push 0x1003
push eax
call edi
push eax
call fcn.005566e3
mov ecx, dword [esi + 0x398]
push 0
push 0
push 0x1009
push ecx
call edi
mov eax, dword [esi + 0x70]
xor ebp, ebp
test eax, eax
jle 0x45684a
xor ebx, ebx
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x1c], 2
add edx, ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 0
mov eax, dword [edx + 8]
test eax, eax
jne 0x456665
mov dword [esp + 0x38], 3
jmp 0x4566c1
mov ecx, 0x58
xor eax, eax
lea edi, [esp + 0x44]
push 0x110
rep stosd dword es:[edi], eax
lea eax, [esp + 0x48]
push 0x160
push eax
add edx, 0x110
push 0x80
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x4566a5
mov dword [esp + 0x38], 3
jmp 0x4566c1
mov ecx, dword [esi + 0x60]
push eax
push 0xffffffffffffffff
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov edx, dword [esi + 0x60]
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
dec eax
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 0x398]
lea eax, [esp + 0x1c]
push eax
push 0
push 0x1007
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 0x6c]
lea ecx, [esp + 0x10]
lea eax, [ebx + edx + 0xc]
push eax
call fcn.0055969a
lea ecx, [esp + 0x10]
mov dword [esp + 0x3ac], 0
call fcn.00554e33
lea ecx, [esp + 0x10]
call fcn.00554de7
mov ecx, dword [esp + 0x10]
lea edi, [esi + 0x37c]
push ecx
push 0
push ebp
mov ecx, edi
call fcn.00555f11
mov edx, dword [esi + 0x6c]
mov eax, dword [ebx + edx + 8]
test eax, eax
jne 0x456748
push 0x5d8a00
push 1
push ebp
mov ecx, edi
call fcn.00555f11
push 0x5ed678
push 2
push ebp
mov ecx, edi
call fcn.00555f11
jmp 0x4567c7
push 0x5d89f8
push 1
push ebp
mov ecx, edi
call fcn.00555f11
mov eax, dword [esi + 0x6c]
push 0
mov ecx, dword [ebx + eax + 0x21c]
push ecx
mov edx, dword [ebx + eax + 0x218]
lea eax, [esp + 0x1ac]
push edx
push eax
call fcn.004382e0
add esp, 0x10
lea ecx, [esp + 0x1a4]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0055969a
lea ecx, [esp + 0x18]
mov byte [esp + 0x3ac], 1
call fcn.00554e33
lea ecx, [esp + 0x18]
call fcn.00554de7
mov edx, dword [esp + 0x18]
mov ecx, edi
push edx
push 2
push ebp
call fcn.00555f11
lea ecx, [esp + 0x18]
mov byte [esp + 0x3ac], 0
call fcn.0055962c
mov eax, dword [esi + 0x6c]
lea ecx, [ebx + eax + 0x110]
push ecx
lea ecx, [esp + 0x18]
call fcn.0055969a
lea ecx, [esp + 0x14]
mov byte [esp + 0x3ac], 2
call fcn.00554e33
lea ecx, [esp + 0x14]
call fcn.00554de7
mov edx, dword [esp + 0x14]
mov ecx, edi
push edx
push 3
push ebp
call fcn.00555f11
mov eax, dword [esi + 0x6c]
mov ecx, dword [ebx + eax]
push ecx
push ebp
mov ecx, edi
call fcn.0055736e
lea ecx, [esp + 0x14]
mov byte [esp + 0x3ac], 0
call fcn.0055962c
lea ecx, [esp + 0x10]
mov dword [esp + 0x3ac], 0xffffffff
call fcn.0055962c
mov eax, dword [esi + 0x70]
inc ebp
add ebx, 0x238
cmp ebp, eax
jl 0x45663b
mov ecx, dword [esp + 0x3a4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3a0
ret