Function at 0x454570
Capabilities:
Get file system object information
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x583c83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c8
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x84]
mov esi, dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
push edi
push eax
mov dword [esp + 0x3c], ebx
call esi
cmp eax, 4
jle 0x4545d0
mov ecx, dword [ebx + 0x84]
push ecx
call esi
lea esi, [eax - 1]
cmp esi, 3
jle 0x4545d0
mov edi, dword [sym.imp.COMCTL32.dll_ImageList_Remove]
mov edx, dword [ebx + 0x84]
push esi
push edx
call edi
dec esi
cmp esi, 3
jg 0x4545c0
lea eax, [ebx + 0x80]
test eax, eax
je 0x4545dd
mov eax, dword [eax + 4]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov eax, dword [ebx + 0xb8]
push 1
push 0x1003
push eax
call esi
push eax
call fcn.005657c3
mov ecx, dword [ebx + 0xb8]
push 0
push 0
push 0x1009
push ecx
call esi
lea ecx, [ebx + 0x64]
call fcn.005671ad
push 0xffffffffffffffff
lea ecx, [ebx + 0x88]
push 0
call fcn.004ec340
mov eax, dword [ebx + 0x5c]
or edx, 0xffffffff
mov eax, dword [eax + 8]
mov ebp, dword [eax + 4]
cmp ebp, eax
je 0x454b78
test ebp, ebp
je 0x454b78
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x454b65
mov al, byte [0x5fe7d8]
mov ecx, 0xff
mov byte [esp + 0x1d8], al
xor eax, eax
lea edi, [esp + 0x1d9]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor ecx, ecx
test esi, esi
stosb byte es:[edi], al
mov dword [esp + 0x14], ecx
jle 0x454b65
mov eax, dword [ebp + 0x1c]
xor esi, esi
test eax, eax
mov dword [esp + 0x1c], esi
jle 0x454b55
lea edi, [edx + 1]
mov dword [esp + 0x30], edi
imul eax, ecx
add eax, dword [ebp + 0x14]
cmp byte [eax + esi], 2
je 0x454b45
mov ecx, dword [ebp + 0x18]
inc edx
mov edi, dword [esp + 0x30]
mov dword [esp + 0x18], edx
mov dword [esp + 0x54], edx
lea edx, [ecx + esi*4]
mov dword [esp + 0x50], 2
mov dword [esp + 0x58], 0
mov eax, dword [edx]
inc edi
mov dword [esp + 0x30], edi
cmp byte [eax + 0x14], 2
jne 0x4546d9
mov dword [esp + 0x6c], 3
jmp 0x454741
mov ecx, 0x58
xor eax, eax
lea edi, [esp + 0x78]
rep stosd dword es:[edi], eax
mov edx, dword [edx]
mov eax, dword [edx + 0xc]
test eax, eax
jne 0x4546f2
mov eax, dword [edx + 0x10]
push 0x110
lea ecx, [esp + 0x7c]
push 0x160
push ecx
push 0x80
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x45471f
mov dword [esp + 0x6c], 3
jmp 0x454741
mov edx, dword [ebx + 0x84]
push eax
push 0xffffffffffffffff
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov eax, dword [ebx + 0x84]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
dec eax
mov dword [esp + 0x6c], eax
mov edx, dword [ebx + 0xb8]
lea ecx, [esp + 0x50]
push ecx
push 0
push 0x1007
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x5f9f88]
mov dword [esp + 0x28], eax
mov dword [esp + 0x5e0], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
push 0x5e78d4
push ecx
mov byte [esp + 0x5ec], 1
call fcn.00563eb4
mov edx, dword [ebp + 0x18]
add esp, 0xc
mov eax, dword [edx + esi*4]
mov edx, dword [ebp + 0xc]
mov ecx, dword [eax + 0x30]
mov eax, dword [esp + 0x14]
mov eax, dword [edx + eax*4]
mov edx, dword [eax + 0x68]
mov eax, dword [eax + 0x64]
push edx
push eax
push ecx
lea ecx, [esp + 0x34]
push str._d_u_d
push ecx
call fcn.00563eb4
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
add esp, 0x14
lea ecx, [ebx + 0x64]
push edx
push eax
call fcn.005672f2
mov ecx, eax
call fcn.00568895
mov esi, dword [ebx + 0x90]
lea edi, [ebx + 0x88]
push 0xffffffffffffffff
lea ecx, [esi + 1]
push ecx
mov ecx, edi
call fcn.004ec340
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x18]
add ebx, 0x9c
mov dword [edx + esi*4], 0xffffffff
mov eax, dword [esp + 0x10]
push eax
push 0
push ecx
mov ecx, ebx
call fcn.00564ff1
mov edi, 0x5fe7d8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1d8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [ecx + esi*4]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x454852
mov eax, ecx
jmp 0x454855
mov eax, dword [eax + 0x10]
lea edx, [esp + 0x1d8]
push edx
push eax
call fcn.0043a770
add esp, 8
lea eax, [esp + 0x1d8]
lea ecx, [esp + 0x10]
push eax
call fcn.00568895
lea ecx, [esp + 0x10]
call fcn.00563ec7
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
push ecx
push 1
push edi
mov ecx, ebx
call fcn.00564ff1
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx + esi*4]
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x3c], eax
or eax, edx
mov dword [esp + 0x40], edx
jne 0x4548d1
cmp byte [ecx + 0x14], 2
jne 0x4548c1
push 0x5e9a7c
lea ecx, [esp + 0x14]
call fcn.00568895
jmp 0x454927
push 0x5e9a74
lea ecx, [esp + 0x14]
call fcn.00568895
jmp 0x454927
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push 1
push ecx
push eax
lea eax, [esp + 0x1e4]
push eax
call fcn.0043a190
mov ecx, dword [ebp + 0x18]
add esp, 0x10
mov edx, dword [ecx + esi*4]
cmp byte [edx + 0x14], 2
jne 0x45490d
lea eax, [esp + 0x1d8]
lea ecx, [esp + 0x10]
push eax
push str._s__
push ecx
jmp 0x45491f
lea edx, [esp + 0x1d8]
lea eax, [esp + 0x10]
push edx
push 0x5ec030
push eax
call fcn.00563eb4
add esp, 0xc
mov ecx, dword [esp + 0x10]
push ecx
push 2
push edi
mov ecx, ebx
call fcn.00564ff1
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x14]
imul edx, dword [esp + 0x14]
add edx, eax
mov al, byte [edx + esi]
test al, al
jne 0x454951
push 0x5ec020
jmp 0x454961
cmp al, 2
jne 0x45495c
push 0x5ec010
jmp 0x454961
push 0x5ec000
lea ecx, [esp + 0x14]
call fcn.00568895
mov eax, dword [esp + 0x10]
mov ecx, ebx
push eax
push 3
push edi
call fcn.00564ff1
mov edi, 0x5fe7d8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1d8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x5f9f88]
mov dword [esp + 0x20], ecx
mov edx, dword [ebp + 0xc]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5e0], 2
mov eax, dword [edx + esi*4]
add eax, 0x6c
push eax
call fcn.0056877a
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5e0], 3
call fcn.00563ec7
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + esi*4]
lea ecx, [esp + 0x24]
add edx, 0x32
push edx
call fcn.0056877a
lea ecx, [esp + 0x24]
mov byte [esp + 0x5e0], 4
call fcn.00563ec7
lea eax, [esp + 0x2c]
push 0x5e77c0
lea ecx, [esp + 0x50]
push eax
push ecx
call fcn.005689a1
lea edx, [esp + 0x24]
mov byte [esp + 0x5e0], 5
push edx
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.0056893b
push 0x5e77bc
lea ecx, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0x5ec], 6
call fcn.005689a1
push 0x5ea618
lea edx, [esp + 0x4c]
push eax
push edx
mov byte [esp + 0x5ec], 7
call fcn.005689a1
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x5e4], 8
call fcn.00568845
lea ecx, [esp + 0x48]
mov byte [esp + 0x5e0], 7
call fcn.0056870c
lea ecx, [esp + 0x34]
mov byte [esp + 0x5e0], 6
call fcn.0056870c
lea ecx, [esp + 0x44]
mov byte [esp + 0x5e0], 5
call fcn.0056870c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x5e0], 4
call fcn.0056870c
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
push eax
push 4
push esi
mov ecx, ebx
call fcn.00564ff1
mov eax, dword [ebp + 8]
mov ecx, ebx
push eax
push 0
push 0
push 0
push 0
push 4
push 0
push esi
call fcn.00564f78
lea ecx, [esp + 0x24]
mov byte [esp + 0x5e0], 3
call fcn.0056870c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5e0], 2
call fcn.0056870c
lea ecx, [esp + 0x20]
mov byte [esp + 0x5e0], 1
call fcn.0056870c
lea ecx, [esp + 0x10]
mov byte [esp + 0x5e0], 0
call fcn.0056870c
lea ecx, [esp + 0x28]
mov dword [esp + 0x5e0], 0xffffffff
call fcn.0056870c
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp + 0x1c]
inc esi
cmp esi, eax
mov dword [esp + 0x1c], esi
jl 0x45468f
mov eax, dword [ebp + 0x10]
inc ecx
cmp ecx, eax
mov dword [esp + 0x14], ecx
jl 0x454677
mov ecx, dword [ebx + 0x5c]
mov ebp, dword [ebp + 4]
cmp ebp, dword [ecx + 8]
je 0x454b78
test ebp, ebp
jne 0x45463f
mov ecx, dword [esp + 0x5d8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5d4
ret