Function at 0x40f0f0
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x4af7ac
call fcn.0047cccc
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 0x40f175
push 0xffffffffffffffff
push 0xc8
push ebx
push 0x4d7b24
lea ecx, [esi + 0x764]
push ebx
call fcn.0049211c
push 0xffffffffffffffff
push 0x64
push ebx
push 0x4d7b54
push 1
lea ecx, [esi + 0x764]
call fcn.0049211c
push 0xffffffffffffffff
push 0x64
push ebx
push 0x4d7b1c
push 2
lea ecx, [esi + 0x764]
call fcn.0049211c
push 0xffffffffffffffff
push 0x73
push ebx
push 0x4d7b48
push 3
lea ecx, [esi + 0x764]
call fcn.0049211c
push 0x10
push ebx
mov dword [ebp - 0x24], 1
call fcn.0040d76c
pop ecx
pop ecx
push ebx
push eax
push ebx
push ebx
push 0x4d7b5c
push ebx
push 3
lea ecx, [esi + 0x764]
call fcn.0049216f
push 1
push ebx
push ebx
push ebx
push ebx
push 4
push ebx
push eax
lea ecx, [esi + 0x764]
call fcn.004921f1
push ebx
push ebx
push 0xb
push dword [esi + 0x780]
call edi
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x40f413
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 0x40f406
jmp 0x40f25c
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 0x40f314
push dword [ebp - 0x18]
push eax
call fcn.0040d76c
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.0049216f
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.004921f1
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.0049226a
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 0x40f3f3
push 4
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0047c5c0
mov eax, dword [ebp + 8]
push 4
add eax, 4
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0047c5c0
mov eax, dword [0x4d95e4]
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.00490e97
add esp, 0x24
lea ecx, [esi + 0x764]
push dword [ebp - 0x28]
push 1
push dword [ebp - 0x1c]
call fcn.0049226a
mov eax, dword [ebp + 8]
push 8
add eax, 8
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0047c5c0
add esp, 0xc
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x3c]
push 0xffffffffffffffff
push eax
call fcn.00491482
lea eax, [ebp - 0x38]
push str._Y__m__d__H:_M
push eax
lea ecx, [ebp - 0x3c]
call fcn.00491510
push dword [eax]
lea ecx, [esi + 0x764]
mov byte [ebp - 4], 1
push 3
push dword [ebp - 0x1c]
call fcn.0049226a
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call fcn.00497eb4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00497eb4
add dword [ebp + 8], 0x10
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x14]
jb 0x40f259
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 2
jl 0x40f248
push ebx
push 1
push 0xb
push dword [esi + 0x780]
call edi
push 1
lea ecx, [esi + 0x764]
call fcn.004975fc
push dword [esi + 0x244]
push 0x4d7b60
push esi
call fcn.0040f452
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 8