Function at 0x40c210
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x5e3026
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2f0
push ebx
push ebp
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push edi
push 0x4000
lea eax, [esp + 0x44]
push 0x160
push eax
mov edi, ecx
push 0
push 0
mov dword [esp + 0x3c], edi
call esi
push 0x4001
lea ecx, [esp + 0x44]
push 0x160
push ecx
push 0
push 0
mov ebx, eax
call esi
mov edx, dword [edi + 0x6cc]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0x1003
push edx
mov esi, eax
call ebx
mov eax, dword [edi + 0x6cc]
push esi
push 1
push 0x1003
push eax
call ebx
mov ecx, dword [edi + 0x6cc]
push 0
push 0
push 0x1009
push ecx
call ebx
mov edx, dword [edi + 0x6cc]
push 0
push 0
push 0x101c
push edx
call ebx
test eax, eax
je 0x40c2cf
mov eax, dword [edi + 0x6cc]
push 0
push 0
push 0x101c
push eax
call ebx
test eax, eax
jne 0x40c2b9
push 0xffffffffffffffff
push 0xc8
lea ebp, [edi + 0x6b0]
push 0
push 0x64abfc
push 0
mov ecx, ebp
call fcn.005be245
push 0xffffffffffffffff
push 0x64
push 0
push 0x64ac38
push 1
mov ecx, ebp
call fcn.005be245
push 0xffffffffffffffff
push 0x64
push 0
push 0x64abf4
push 2
mov ecx, ebp
call fcn.005be245
push 0xffffffffffffffff
push 0x73
push 0
push 0x64ac2c
push 3
mov ecx, ebp
call fcn.005be245
push 0x10
push 0
mov dword [esp + 0x24], 1
call fcn.0040adc0
add esp, 8
mov ecx, ebp
push 0
push eax
push 0
push 0
push 0x64996c
push 0
push 3
call fcn.005be298
push 1
push 0
push 0
push 0
push 0
push 4
push 0
push eax
mov ecx, ebp
call fcn.005be31a
mov ecx, dword [edi + 0x6cc]
push 0
push 0
push 0xb
push ecx
call ebx
mov eax, dword [esp + 0x314]
test eax, eax
je 0x40c556
mov edx, dword [esp + 0x310]
mov dword [esp + 0x14], 0
inc edx
dec eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
test eax, eax
mov dword [esp + 0x30], esi
jbe 0x40c544
mov al, byte [esi]
xor ebx, ebx
neg al
sbb eax, eax
xor ecx, ecx
and al, 0x90
add eax, 0x80
mov edi, eax
mov eax, dword [esp + 0x14]
cmp edi, 0x10
setne cl
cmp ecx, eax
sete al
inc esi
mov byte [esp + 0x13], al
test al, al
je 0x40c454
push edi
push esi
call fcn.0040adc0
mov edx, dword [esp + 0x24]
add esp, 8
mov ecx, edx
inc edx
push ebx
push eax
push ebx
push ebx
push esi
push ecx
push 3
mov ecx, ebp
mov dword [esp + 0x38], edx
call fcn.005be298
xor edx, edx
cmp edi, 0x10
sete dl
push edx
push 0
push 0
push 0
push 0
mov ebx, eax
push 4
push 0
push ebx
mov ecx, ebp
call fcn.005be31a
push 0x410
lea eax, [esp + 0x1a4]
push 0x160
or edi, 0x80
push eax
push edi
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea ecx, [esp + 0x2b0]
push ecx
push 2
push ebx
mov ecx, ebp
call fcn.005be393
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
mov al, byte [esp + 0x13]
test al, al
je 0x40c523
mov edx, dword [0x65290c]
mov eax, dword [esi + 4]
mov dword [esp + 0x18], edx
mov ecx, eax
lea edx, [esp + 0x18]
and ecx, 0x3ff
mov dword [esp + 0x308], 0
neg ecx
sbb ecx, ecx
neg ecx
shr eax, 0xa
add ecx, eax
push ecx
push str._10d_KB
push edx
call fcn.005bd692
mov eax, dword [esp + 0x24]
add esp, 0xc
mov ecx, ebp
push eax
push 1
push ebx
call fcn.005be393
mov ecx, dword [esi + 8]
lea eax, [esp + 0x38]
mov dword [esp + 0x38], ecx
mov edx, dword [esi + 0xc]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], edx
call fcn.005bd84a
lea ecx, [esp + 0x34]
push str._Y__m__d__H:_M
push ecx
lea ecx, [esp + 0x2c]
call fcn.005bd8d8
mov eax, dword [eax]
mov ecx, ebp
push eax
push 3
push ebx
mov byte [esp + 0x314], 1
call fcn.005be393
lea ecx, [esp + 0x34]
mov byte [esp + 0x308], 0
call fcn.005c4b60
lea ecx, [esp + 0x18]
mov dword [esp + 0x308], 0xffffffff
call fcn.005c4b60
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
add esi, 0x10
mov edx, esi
sub edx, ecx
cmp edx, eax
jb 0x40c3b4
mov edi, dword [esp + 0x28]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 2
mov dword [esp + 0x14], eax
jl 0x40c3a0
mov eax, dword [edi + 0x6cc]
push 0
push 1
push 0xb
push eax
call ebx
push 1
mov ecx, ebp
call fcn.005c42a6
mov eax, dword [0x6675f4]
test eax, eax
jne 0x40c58c
mov ecx, dword [edi + 0x198]
push ecx
push 0x64ac04
push edi
call fcn.0040c5b0
add esp, 0xc
mov ecx, dword [esp + 0x300]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2fc
ret 8