Function at 0x451480
Capabilities:
Get file system object information

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5838c2
push eax
mov dword fs:[0], esp
sub esp, 0x5b0
push ebp
mov ebp, ecx
push esi
mov esi, dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
mov eax, dword [ebp + 0x60]
push edi
push eax
call esi
cmp eax, 4
jle 0x4514d2
mov ecx, dword [ebp + 0x60]
push ecx
call esi
lea esi, [eax - 1]
cmp esi, 3
jle 0x4514d2
mov edi, dword [sym.imp.COMCTL32.dll_ImageList_Remove]
mov edx, dword [ebp + 0x60]
push esi
push edx
call edi
dec esi
cmp esi, 3
jg 0x4514c5
mov eax, dword [ebp + 0x694]
push 0
push 0
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
mov eax, dword [ebp + 0x6c]
cmp esi, eax
jge 0x45187f
lea ecx, [esi + esi*4]
push ebx
lea ebx, [ebp + 0x678]
lea edx, [esi + ecx*8]
lea edi, [esi + edx*2]
shl edi, 4
mov dword [esp + 0x20], edi
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x38], 2
add eax, edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x451539
mov dword [esp + 0x54], 3
jmp 0x451621
add eax, 8
lea ecx, [esp + 0x10]
push eax
call fcn.0056877a
push 0x5e9a84
lea ecx, [esp + 0x14]
mov dword [esp + 0x5cc], 0
call fcn.00563b2e
cmp eax, 0xffffffff
je 0x4515a1
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x28]
mov ecx, dword [ecx - 8]
sub ecx, eax
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.00563a18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x5cc], 1
call fcn.00568845
lea ecx, [esp + 0x28]
mov byte [esp + 0x5c8], 0
call fcn.0056870c
jmp 0x4515af
push 0x5fe7d8
lea ecx, [esp + 0x14]
call fcn.00568895
mov ecx, 0x58
xor eax, eax
lea edi, [esp + 0x60]
push 0x110
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x64]
push 0x160
push eax
push 0x80
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x4515ed
mov dword [esp + 0x54], 3
jmp 0x451609
mov edx, dword [ebp + 0x60]
push eax
push 0xffffffffffffffff
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov eax, dword [ebp + 0x60]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
dec eax
mov dword [esp + 0x54], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x5c8], 0xffffffff
call fcn.0056870c
mov edi, dword [esp + 0x20]
mov edx, dword [ebp + 0x694]
lea ecx, [esp + 0x38]
push ecx
push 0
push 0x1007
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp + 0x68]
lea ecx, [edi + eax + 8]
push ecx
lea ecx, [esp + 0x18]
call fcn.0056877a
lea ecx, [esp + 0x14]
mov dword [esp + 0x5c8], 2
call fcn.00563f13
lea ecx, [esp + 0x14]
call fcn.00563ec7
mov edx, dword [esp + 0x14]
mov ecx, ebx
push edx
push 0
push esi
call fcn.00564ff1
mov eax, dword [ebp + 0x68]
mov ecx, dword [edi + eax + 4]
test ecx, ecx
jne 0x451743
mov ecx, dword [esp + 0x14]
push 0x5eb630
push ecx
call fcn.005503ed
add esp, 8
test eax, eax
jne 0x4516a3
push 0x5ebf14
jmp 0x4516a8
push 0x5e9a7c
push 1
push esi
mov ecx, ebx
call fcn.00564ff1
mov edx, dword [ebp + 0x68]
mov ecx, dword [edi + edx + 0x110]
lea eax, [edi + edx + 0x110]
mov edx, dword [edi + edx + 0x114]
or ecx, edx
jne 0x4516e2
push 0x5fe7d8
push 2
push esi
mov ecx, ebx
call fcn.00564ff1
jmp 0x4517c2
mov edx, dword [eax + 4]
mov eax, dword [eax]
push 0
push edx
lea ecx, [esp + 0x1c8]
push eax
push ecx
call fcn.0043a190
add esp, 0x10
lea edx, [esp + 0x1c0]
lea ecx, [esp + 0x18]
push edx
call fcn.0056877a
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c8], 3
call fcn.00563f13
lea ecx, [esp + 0x18]
call fcn.00563ec7
mov eax, dword [esp + 0x18]
mov ecx, ebx
push eax
push 2
push esi
call fcn.00564ff1
mov byte [esp + 0x5c8], 2
lea ecx, [esp + 0x18]
jmp 0x4517bd
push 0x5e9a74
push 1
push esi
mov ecx, ebx
call fcn.00564ff1
mov ecx, dword [ebp + 0x68]
push 0
mov edx, dword [edi + ecx + 0x114]
push edx
mov eax, dword [edi + ecx + 0x110]
lea ecx, [esp + 0x3c8]
push eax
push ecx
call fcn.0043a190
add esp, 0x10
lea edx, [esp + 0x3c0]
lea ecx, [esp + 0x1c]
push edx
call fcn.0056877a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c8], 4
call fcn.00563f13
lea ecx, [esp + 0x1c]
call fcn.00563ec7
mov eax, dword [esp + 0x1c]
mov ecx, ebx
push eax
push 2
push esi
call fcn.00564ff1
mov byte [esp + 0x5c8], 2
lea ecx, [esp + 0x1c]
call fcn.0056870c
mov ecx, dword [ebp + 0x68]
lea edx, [esp + 0x24]
push str._Y__m__d__H:_M:_S
push edx
fld qword [edi + ecx + 0x120]
lea ecx, [esp + 0x34]
mov dword [esp + 0x3c], 0
fstp qword [esp + 0x34]
call fcn.0054834d
mov eax, dword [esp + 0x14]
push 0x5eb630
push eax
mov byte [esp + 0x5d0], 5
call fcn.005503ed
add esp, 8
test eax, eax
jne 0x45181f
push 0x5fe7d8
push 3
push esi
mov ecx, ebx
call fcn.00564ff1
push 0x5fe7d8
jmp 0x451839
mov ecx, dword [esp + 0x24]
push ecx
push 3
push esi
mov ecx, ebx
call fcn.00564ff1
mov edx, dword [ebp + 0x68]
lea eax, [edi + edx + 0x12c]
push eax
push 4
push esi
mov ecx, ebx
call fcn.00564ff1
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c8], 2
call fcn.0056870c
lea ecx, [esp + 0x14]
mov dword [esp + 0x5c8], 0xffffffff
call fcn.0056870c
mov eax, dword [ebp + 0x6c]
inc esi
add edi, 0x530
cmp esi, eax
mov dword [esp + 0x20], edi
jl 0x45150c
pop ebx
mov ecx, dword [esp + 0x5bc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x5bc
ret