Function at 0x40cde5
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x41ee50
call fcn.0041d040
sub esp, 0x1c4
push ebx
push esi
mov dword [ebp - 0x64], ecx
push edi
xor ebx, ebx
push 3
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
call fcn.00402126
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], ebx
cmp byte [esi], bl
je 0x40ce5c
push dword [esi + 0xc]
lea ecx, [ebp - 0x48]
push dword [esi + 8]
call fcn.0040cc35
push eax
mov edx, 0x259
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0040ccd5
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.00401ccb
push dword [ebp - 0x24]
call fcn.004030da
push dword [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.004030da
pop ecx
pop ecx
mov eax, dword [esi + 0x1c]
lea ecx, [esi + 0x18]
cmp eax, ebx
mov dword [ebp + 0x10], ecx
je 0x40ce85
mov ecx, dword [ecx]
lea eax, [ecx + eax*2 - 2]
cmp word [eax], 0x5c
je 0x40ce7d
cmp eax, ecx
je 0x40ce85
dec eax
dec eax
jmp 0x40ce6f
sub eax, ecx
sar eax, 1
mov edi, eax
jmp 0x40ce88
or edi, 0xffffffff
push 3
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
call fcn.00402126
push 3
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
call fcn.00402126
cmp edi, ebx
mov byte [ebp - 4], 4
jl 0x40cf0b
mov ecx, dword [ebp + 0x10]
inc edi
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.00401d2a
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.00401ccb
push dword [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.004030da
pop ecx
lea eax, [ebp - 0x48]
mov ecx, dword [ebp + 0x10]
push edi
push eax
call fcn.00401d09
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.00401ccb
push dword [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.004030da
pop ecx
jmp 0x40cf16
push dword [ebp + 0x10]
lea ecx, [ebp - 0x30]
call fcn.00401ccb
mov edi, dword [ebp - 0x64]
lea eax, [ebp - 0x3c]
push eax
mov ecx, edi
call fcn.0040cd1b
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.0040cd1b
push 0xa
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x48]
call fcn.0040d191
lea ecx, [ebp - 0x30]
mov edx, eax
push ecx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.00404b3e
push dword [ebp - 0x48]
mov byte [ebp - 4], 9
call fcn.004030da
pop ecx
push 0xa
lea ecx, [ebp - 0x18]
call fcn.00402667
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x18]
push eax
call fcn.00403c59
push 0xa
lea ecx, [ebp - 0x18]
call fcn.00402667
cmp byte [esi + 1], bl
je 0x40d039
push 3
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.00402126
lea eax, [ebp - 0x68]
add esi, 0x10
push eax
push esi
mov byte [ebp - 4], 0xa
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
jne 0x40cfc2
lea eax, [ebp + 0x10]
push 0x422688
push eax
mov dword [ebp + 0x10], 0x3ff0c2
call sub.MSVCRT.dll__CxxThrowException
push 1
push 1
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x60]
call fcn.00405405
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
call fcn.00401ccb
push dword [ebp - 0x60]
mov byte [ebp - 4], 0xa
call fcn.004030da
pop ecx
mov edx, 0x258
lea ecx, [ebp - 0x60]
call fcn.00405619
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
call fcn.00403c59
push dword [ebp - 0x60]
mov byte [ebp - 4], 0xa
call fcn.004030da
lea ecx, [ebp - 0x18]
mov dword [esp], 0x427650
call fcn.00406449
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x18]
push eax
call fcn.00403c59
push dword [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.004030da
pop ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], ebx
push edi
call fcn.0040d0df
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x70]
call fcn.00405ac2
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x60]
call fcn.004059fc
mov eax, dword [eax]
push 0x110
lea ecx, [ebp - 0x1d0]
push 0x160
push ecx
push 0x80
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x60]
mov esi, eax
call fcn.004030da
cmp esi, ebx
pop ecx
je 0x40d0ab
push dword [ebp + 0xc]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push dword [ebp - 0x1d0]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x18]
call fcn.004030da
push dword [ebp - 0x30]
call fcn.004030da
push dword [ebp - 0x3c]
call fcn.004030da
push dword [ebp - 0x54]
call fcn.004030da
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc