Function at 0x4b38e0
Capabilities:
Get file system object information

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x58c6b1
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 + 0x64]
push eax
call edi
cmp eax, 4
jle 0x4b3933
mov ecx, dword [esi + 0x64]
push ecx
call edi
lea edi, [eax - 1]
cmp edi, 3
jle 0x4b3933
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_Remove]
mov edx, dword [esi + 0x64]
push edi
push edx
call ebx
dec edi
cmp edi, 3
jg 0x4b3926
lea eax, [esi + 0x60]
test eax, eax
je 0x4b393d
mov eax, dword [eax + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov eax, dword [esi + 0xd68]
push 1
push 0x1003
push eax
call edi
push eax
call fcn.005657c3
mov ecx, dword [esi + 0xd68]
push 0
push 0
push 0x1009
push ecx
call edi
mov eax, dword [esi + 0x166c]
xor ebp, ebp
test eax, eax
jle 0x4b3bad
xor ebx, ebx
mov edx, dword [esi + 0x1668]
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 0x4b39ab
mov dword [esp + 0x38], 3
jmp 0x4b3a0d
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 0x4b39eb
mov dword [esp + 0x38], 3
jmp 0x4b3a07
mov ecx, dword [esi + 0x64]
push eax
push 0xffffffffffffffff
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov edx, dword [esi + 0x64]
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
dec eax
mov dword [esp + 0x38], eax
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0xd68]
lea eax, [esp + 0x1c]
push eax
push 0
push 0x1007
push ecx
call edi
mov edx, dword [esi + 0x1668]
lea ecx, [esp + 0x10]
lea eax, [ebx + edx + 0xc]
push eax
call fcn.0056877a
lea ecx, [esp + 0x10]
mov dword [esp + 0x3ac], 0
call fcn.00563f13
lea ecx, [esp + 0x10]
call fcn.00563ec7
mov ecx, dword [esp + 0x10]
lea edi, [esi + 0xd4c]
push ecx
push 0
push ebp
mov ecx, edi
call fcn.00564ff1
mov edx, dword [esi + 0x1668]
mov eax, dword [ebx + edx + 8]
test eax, eax
jne 0x4b3a99
push 0x5e9a7c
push 1
push ebp
mov ecx, edi
call fcn.00564ff1
push 0x5fe7d8
push 2
push ebp
mov ecx, edi
call fcn.00564ff1
jmp 0x4b3b1b
push 0x5e9a74
push 1
push ebp
mov ecx, edi
call fcn.00564ff1
mov eax, dword [esi + 0x1668]
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.0043a190
add esp, 0x10
lea ecx, [esp + 0x1a4]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0056877a
lea ecx, [esp + 0x18]
mov byte [esp + 0x3ac], 1
call fcn.00563f13
lea ecx, [esp + 0x18]
call fcn.00563ec7
mov edx, dword [esp + 0x18]
mov ecx, edi
push edx
push 2
push ebp
call fcn.00564ff1
lea ecx, [esp + 0x18]
mov byte [esp + 0x3ac], 0
call fcn.0056870c
mov eax, dword [esi + 0x1668]
lea ecx, [ebx + eax + 0x110]
push ecx
lea ecx, [esp + 0x18]
call fcn.0056877a
lea ecx, [esp + 0x14]
mov byte [esp + 0x3ac], 2
call fcn.00563f13
lea ecx, [esp + 0x14]
call fcn.00563ec7
mov edx, dword [esp + 0x14]
mov ecx, edi
push edx
push 3
push ebp
call fcn.00564ff1
mov eax, dword [esi + 0x1668]
mov ecx, dword [ebx + eax]
push ecx
push ebp
mov ecx, edi
call fcn.0056644e
lea ecx, [esp + 0x14]
mov byte [esp + 0x3ac], 0
call fcn.0056870c
lea ecx, [esp + 0x10]
mov dword [esp + 0x3ac], 0xffffffff
call fcn.0056870c
mov eax, dword [esi + 0x166c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
inc ebp
add ebx, 0x238
cmp ebp, eax
jl 0x4b397e
mov edx, dword [esi + 0xd68]
push 0
push 0
push 0x1004
push edx
call edi
test eax, eax
jle 0x4b3c18
lea ebp, [esi + 0xd4c]
xor ebx, ebx
mov ecx, ebp
call fcn.00566483
mov eax, dword [eax + 0x1c]
push ebx
push ebx
push 0x1200
push eax
call edi
test eax, eax
jle 0x4b3c67
mov ecx, dword [esi + 0xd68]
push 0xffff
push ebx
push 0x101e
push ecx
call edi
mov ecx, ebp
inc ebx
call fcn.00566483
mov edx, dword [eax + 0x1c]
push 0
push 0
push 0x1200
push edx
call edi
cmp ebx, eax
jl 0x4b3be7
jmp 0x4b3c67
lea ebp, [esi + 0xd4c]
xor ebx, ebx
mov ecx, ebp
call fcn.00566483
mov eax, dword [eax + 0x1c]
push ebx
push ebx
push 0x1200
push eax
call edi
test eax, eax
jle 0x4b3c67
mov ecx, dword [esi + 0xd68]
push 0xfffe
push ebx
push 0x101e
push ecx
call edi
mov ecx, ebp
inc ebx
call fcn.00566483
mov edx, dword [eax + 0x1c]
push 0
push 0
push 0x1200
push edx
call edi
cmp ebx, eax
jl 0x4b3c38
push 2
mov ecx, esi
call fcn.004b5090
mov ecx, dword [esp + 0x3a4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3a0
ret