Function at 0x4066ad
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x58e4fc
call fcn.0055690c
sub esp, 0x2f8
push ebx
push esi
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push 0x4000
lea eax, [ebp - 0x1a4]
push 0x160
xor ebx, ebx
push eax
push ebx
mov esi, ecx
push ebx
call edi
mov dword [ebp - 0x14], eax
push 0x4001
lea eax, [ebp - 0x1a4]
push 0x160
push eax
push ebx
push ebx
call edi
push dword [ebp - 0x14]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x20], eax
push ebx
push 0x1003
push dword [esi + 0x780]
call edi
push dword [ebp - 0x20]
push 1
push 0x1003
push dword [esi + 0x780]
call edi
push ebx
push ebx
push 0x1009
push dword [esi + 0x780]
call edi
push ebx
push ebx
push 0x101c
push dword [esi + 0x780]
call edi
cmp eax, ebx
jne 0x406732
push 0xffffffffffffffff
push 0xc8
push ebx
push 0x5e8d68
lea ecx, [esi + 0x764]
push ebx
call fcn.0056c0a0
push 0xffffffffffffffff
push 0x64
push ebx
push 0x5e8d98
push 1
lea ecx, [esi + 0x764]
call fcn.0056c0a0
push 0xffffffffffffffff
push 0x64
push ebx
push 0x5e8d60
push 2
lea ecx, [esi + 0x764]
call fcn.0056c0a0
push 0xffffffffffffffff
push 0x73
push ebx
push 0x5e8d8c
push 3
lea ecx, [esi + 0x764]
call fcn.0056c0a0
push 0x10
push ebx
mov dword [ebp - 0x24], 1
call fcn.00404d24
pop ecx
pop ecx
push ebx
push eax
push ebx
push ebx
push 0x5e8da8
push ebx
push 3
lea ecx, [esi + 0x764]
call fcn.0056c0f3
push 1
push ebx
push ebx
push ebx
push ebx
push 4
push ebx
push eax
lea ecx, [esi + 0x764]
call fcn.0056c175
push ebx
push ebx
push 0xb
push dword [esi + 0x780]
call edi
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x4069d0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ebx
inc ecx
dec eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x30], eax
jbe 0x4069c3
jmp 0x406819
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x20], ebx
mov cl, byte [eax]
mov dword [ebp - 0x1c], ebx
neg cl
sbb ecx, ecx
and ecx, 0xffffff90
add ecx, 0x80
mov dword [ebp - 0x18], ecx
xor ecx, ecx
cmp dword [ebp - 0x18], 0x10
setne cl
cmp ecx, dword [ebp - 0x10]
sete byte [ebp + 0xf]
inc eax
cmp byte [ebp + 0xf], bl
mov dword [ebp + 8], eax
je 0x4068d1
push dword [ebp - 0x18]
push eax
call fcn.00404d24
pop ecx
pop ecx
mov ecx, dword [ebp - 0x24]
push ebx
push eax
inc dword [ebp - 0x24]
push ebx
push ebx
push dword [ebp + 8]
push ecx
push 3
lea ecx, [esi + 0x764]
call fcn.0056c0f3
xor ecx, ecx
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x1c], eax
sete cl
push ecx
push ebx
push ebx
push ebx
push ebx
push 4
push ebx
push eax
lea ecx, [esi + 0x764]
call fcn.0056c175
push 0x410
lea eax, [ebp - 0x304]
push 0x160
push eax
mov eax, dword [ebp - 0x18]
or al, 0x80
push eax
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea eax, [ebp - 0x1f4]
lea ecx, [esi + 0x764]
push eax
push 2
push dword [ebp - 0x1c]
call fcn.0056c1ee
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp + 8]
cmp byte [ebp + 0xf], bl
lea eax, [ecx + eax + 1]
mov dword [ebp + 8], eax
je 0x4069b0
push 4
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00556200
mov eax, dword [ebp + 8]
push 4
add eax, 4
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00556200
mov eax, dword [0x5eb854]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], ebx
mov ecx, eax
and ecx, 0x3ff
neg ecx
sbb ecx, ecx
neg ecx
shr eax, 0xa
add ecx, eax
lea eax, [ebp - 0x28]
push ecx
push str._10d_KB
push eax
call fcn.0056b3b3
add esp, 0x24
lea ecx, [esi + 0x764]
push dword [ebp - 0x28]
push 1
push dword [ebp - 0x1c]
call fcn.0056c1ee
mov eax, dword [ebp + 8]
push 8
add eax, 8
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00556200
add esp, 0xc
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x3c]
push 0xffffffffffffffff
push eax
call fcn.0056bb84
lea eax, [ebp - 0x38]
push str._Y__m__d__H:_M
push eax
lea ecx, [ebp - 0x3c]
call fcn.0056bc12
push dword [eax]
lea ecx, [esi + 0x764]
mov byte [ebp - 4], 1
push 3
push dword [ebp - 0x1c]
call fcn.0056c1ee
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call fcn.0057265c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0057265c
add dword [ebp + 8], 0x10
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x14]
jb 0x406816
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 2
jl 0x406805
push ebx
push 1
push 0xb
push dword [esi + 0x780]
call edi
push 1
lea ecx, [esi + 0x764]
call fcn.00571d9f
push dword [esi + 0x244]
push 0x5e8dac
push esi
call fcn.00406a0f
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 8