Function at 0x40cce6
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x41ed60
call fcn.0041cfb0
sub esp, 0x1c0
push ebx
push esi
mov dword [ebp - 0x10], ecx
push edi
xor ebx, ebx
push 3
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call fcn.0040216b
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], ebx
cmp byte [esi], bl
je 0x40cd5d
push dword [esi + 0xc]
lea ecx, [ebp - 0x40]
push dword [esi + 8]
call fcn.0040cb36
push eax
mov edx, 0xdb0
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.0040cbd6
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.00401d2c
push dword [ebp - 0x6c]
call fcn.00403149
push dword [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00403149
pop ecx
pop ecx
mov eax, dword [esi + 0x1c]
lea edi, [esi + 0x18]
cmp eax, ebx
je 0x40cd84
mov ecx, dword [edi]
lea eax, [ecx + eax*2 - 2]
cmp word [eax], 0x5c
je 0x40cd7b
cmp eax, ecx
je 0x40cd84
dec eax
dec eax
jmp 0x40cd6d
sub eax, ecx
sar eax, 1
mov dword [ebp + 0x10], eax
jmp 0x40cd88
or dword [ebp + 0x10], 0xffffffff
push 3
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.0040216b
push 3
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0040216b
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
cmp eax, ebx
jl 0x40ce11
inc eax
mov ecx, edi
mov dword [ebp + 0x10], eax
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00401d8b
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.00401d2c
push dword [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00403149
pop ecx
lea eax, [ebp - 0x40]
push dword [ebp + 0x10]
mov ecx, edi
push eax
call fcn.00401d6a
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.00401d2c
push dword [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00403149
pop ecx
jmp 0x40ce1a
push edi
lea ecx, [ebp - 0x1c]
call fcn.00401d2c
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x34]
push eax
call fcn.0040cc1c
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.0040cc1c
push 0xa
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x40]
call fcn.00404ada
lea ecx, [ebp - 0x1c]
mov edx, eax
push ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00404a89
push dword [ebp - 0x40]
mov byte [ebp - 4], 9
call fcn.00403149
pop ecx
push 0xa
lea ecx, [ebp - 0x28]
call fcn.004026ad
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x28]
push eax
call fcn.00403d6c
push 0xa
lea ecx, [ebp - 0x28]
call fcn.004026ad
cmp byte [esi + 1], bl
je 0x40cf0c
lea eax, [ebp - 0x68]
add esi, 0x10
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
jne 0x40ceae
lea eax, [ebp + 0x10]
push 0x4216f8
push eax
mov dword [ebp + 0x10], 0x3ff0c2
call sub.MSVCRT.dll__CxxThrowException
mov edx, 0x3f4
lea ecx, [ebp - 0x58]
call fcn.00405613
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.00403d6c
push dword [ebp - 0x58]
mov byte [ebp - 4], 9
call fcn.00403149
lea ecx, [ebp - 0x28]
mov dword [esp], 0x426450
call fcn.00404332
push 1
push 1
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x58]
call fcn.004053ff
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call fcn.00403d6c
push dword [ebp - 0x58]
mov byte [ebp - 4], 9
call fcn.00403149
pop ecx
push dword [ebp + 8]
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], ebx
push esi
call fcn.0040cfb4
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x60]
call fcn.00405ad3
mov edx, edi
lea ecx, [ebp - 0x58]
call fcn.004059f6
mov eax, dword [eax]
push 0x110
lea ecx, [ebp - 0x1cc]
push 0x160
push ecx
push 0x80
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x58]
mov edi, eax
call fcn.00403149
cmp edi, ebx
pop ecx
je 0x40cf80
push dword [ebp + 0xc]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push dword [ebp - 0x1cc]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x28]
call fcn.00403149
push dword [ebp - 0x1c]
call fcn.00403149
push dword [ebp - 0x34]
call fcn.00403149
push dword [ebp - 0x4c]
call fcn.00403149
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc