Function at 0x40c5a4
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x41aa4c
call fcn.00419190
sub esp, 0x1ac
push ebx
push esi
mov dword [ebp - 0x28], ecx
push edi
xor ebx, ebx
push 3
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
call fcn.004023ee
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], ebx
cmp byte [esi], bl
je 0x40c61b
push dword [esi + 0xc]
lea ecx, [ebp - 0x58]
push dword [esi + 8]
call fcn.0040c32e
push eax
mov edx, 0x259
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0040c3ce
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00401faf
push dword [ebp - 0x18]
call fcn.004032a2
push dword [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.004032a2
pop ecx
pop ecx
push 3
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.004023ee
mov eax, dword [esi + 0x20]
mov byte [ebp - 4], 3
cmp eax, ebx
mov dword [ebp + 0x10], ebx
mov edi, 0x422628
jle 0x40c681
push 0x58
lea eax, [ebp - 0x18]
push dword [ebp + 0x10]
lea ecx, [esi + 0x1c]
push eax
call fcn.00402442
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.00403dd1
push dword [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.004032a2
pop ecx
push edi
lea ecx, [ebp - 0x34]
call fcn.004062c5
add dword [ebp + 0x10], 0x58
mov eax, dword [ebp + 0x10]
cmp eax, dword [esi + 0x20]
jl 0x40c641
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x24]
push eax
call fcn.00401f6c
push 0x422624
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.004062c5
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x24]
push eax
call fcn.00403dd1
push 0x422624
lea ecx, [ebp - 0x24]
call fcn.004062c5
cmp byte [esi + 0x10], bl
je 0x40c770
push 3
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.004023ee
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 6
push eax
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
jne 0x40c6fe
lea eax, [ebp + 0x10]
push 0x41d040
push eax
mov dword [ebp + 0x10], 0x3ff0c2
call sub.MSVCRT.dll__CxxThrowException
push 1
push 1
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x4c]
call fcn.00405489
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.00401faf
push dword [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.004032a2
pop ecx
mov edx, 0x258
lea ecx, [ebp - 0x4c]
call fcn.0040569d
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.00403dd1
push dword [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.004032a2
pop ecx
push edi
lea ecx, [ebp - 0x24]
call fcn.004062c5
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x24]
push eax
call fcn.00403dd1
push dword [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.004032a2
pop ecx
push dword [ebp + 8]
mov eax, dword [ebp - 0x28]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push dword [eax + 4]
call edi
mov edx, dword [ebp - 0x24]
mov ecx, eax
call fcn.00405b46
lea edx, [esi + 0x1c]
lea ecx, [ebp - 0x4c]
call fcn.00405a80
mov eax, dword [eax]
push pe_nt_image_headers32
lea ecx, [ebp - 0x1b8]
push 0x160
push ecx
push 0x80
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x4c]
mov esi, eax
call fcn.004032a2
cmp esi, ebx
pop ecx
je 0x40c7e2
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x28]
push dword [eax + 4]
call edi
push ebx
push dword [ebp - 0x1b8]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x24]
call fcn.004032a2
push dword [ebp - 0x34]
call fcn.004032a2
push dword [ebp - 0x40]
call fcn.004032a2
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc