Function at 0x40cacc
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x41eaac
call fcn.0041cd20
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.00402164
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], ebx
cmp byte [esi], bl
je 0x40cb43
push dword [esi + 0xc]
lea ecx, [ebp - 0x48]
push dword [esi + 8]
call fcn.0040c91c
push eax
mov edx, 0x259
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0040c9bc
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.00401d25
push dword [ebp - 0x24]
call fcn.00403159
push dword [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.00403159
pop ecx
pop ecx
mov eax, dword [esi + 0x1c]
lea ecx, [esi + 0x18]
cmp eax, ebx
mov dword [ebp + 0x10], ecx
je 0x40cb6c
mov ecx, dword [ecx]
lea eax, [ecx + eax*2 - 2]
cmp word [eax], 0x5c
je 0x40cb64
cmp eax, ecx
je 0x40cb6c
dec eax
dec eax
jmp 0x40cb56
sub eax, ecx
sar eax, 1
mov edi, eax
jmp 0x40cb6f
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.00402164
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.00402164
cmp edi, ebx
mov byte [ebp - 4], 4
jl 0x40cbf2
mov ecx, dword [ebp + 0x10]
inc edi
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.00401d84
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.00401d25
push dword [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.00403159
pop ecx
lea eax, [ebp - 0x48]
mov ecx, dword [ebp + 0x10]
push edi
push eax
call fcn.00401d63
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.00401d25
push dword [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.00403159
pop ecx
jmp 0x40cbfd
push dword [ebp + 0x10]
lea ecx, [ebp - 0x30]
call fcn.00401d25
mov edi, dword [ebp - 0x64]
lea eax, [ebp - 0x3c]
push eax
mov ecx, edi
call fcn.0040ca02
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.0040ca02
push 0xa
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x48]
call fcn.00404aea
lea ecx, [ebp - 0x30]
mov edx, eax
push ecx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.00404a99
push dword [ebp - 0x48]
mov byte [ebp - 4], 9
call fcn.00403159
pop ecx
push 0xa
lea ecx, [ebp - 0x18]
call fcn.004026ac
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x18]
push eax
call fcn.00403d7c
push 0xa
lea ecx, [ebp - 0x18]
call fcn.004026ac
cmp byte [esi + 1], bl
je 0x40cd20
push 3
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.00402164
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 0x40cca9
lea eax, [ebp + 0x10]
push 0x4216c8
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.0040540f
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
call fcn.00401d25
push dword [ebp - 0x60]
mov byte [ebp - 4], 0xa
call fcn.00403159
pop ecx
mov edx, 0x258
lea ecx, [ebp - 0x60]
call fcn.00405623
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
call fcn.00403d7c
push dword [ebp - 0x60]
mov byte [ebp - 4], 0xa
call fcn.00403159
lea ecx, [ebp - 0x18]
mov dword [esp], 0x42654c
call fcn.00404342
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x18]
push eax
call fcn.00403d7c
push dword [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.00403159
pop ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], ebx
push edi
call fcn.0040cdc6
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x70]
call fcn.00405ae3
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x60]
call fcn.00405a06
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.00403159
cmp esi, ebx
pop ecx
je 0x40cd92
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.00403159
push dword [ebp - 0x30]
call fcn.00403159
push dword [ebp - 0x3c]
call fcn.00403159
push dword [ebp - 0x54]
call fcn.00403159
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc