Function at 0x40cb0f
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x41ebe8
call fcn.0041ce50
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.0040218d
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], ebx
cmp byte [esi], bl
je 0x40cb86
push dword [esi + 0xc]
lea ecx, [ebp - 0x48]
push dword [esi + 8]
call fcn.0040c95f
push eax
mov edx, 0x259
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0040c9ff
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.00401d2c
push dword [ebp - 0x24]
call fcn.00403174
push dword [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.00403174
pop ecx
pop ecx
mov eax, dword [esi + 0x1c]
lea ecx, [esi + 0x18]
cmp eax, ebx
mov dword [ebp + 0x10], ecx
je 0x40cbaf
mov ecx, dword [ecx]
lea eax, [ecx + eax*2 - 2]
cmp word [eax], 0x5c
je 0x40cba7
cmp eax, ecx
je 0x40cbaf
dec eax
dec eax
jmp 0x40cb99
sub eax, ecx
sar eax, 1
mov edi, eax
jmp 0x40cbb2
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.0040218d
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.0040218d
cmp edi, ebx
mov byte [ebp - 4], 4
jl 0x40cc35
mov ecx, dword [ebp + 0x10]
inc edi
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.00401d8b
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.00401d2c
push dword [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.00403174
pop ecx
lea eax, [ebp - 0x48]
mov ecx, dword [ebp + 0x10]
push edi
push eax
call fcn.00401d6a
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.00401d2c
push dword [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.00403174
pop ecx
jmp 0x40cc40
push dword [ebp + 0x10]
lea ecx, [ebp - 0x30]
call fcn.00401d2c
mov edi, dword [ebp - 0x64]
lea eax, [ebp - 0x3c]
push eax
mov ecx, edi
call fcn.0040ca45
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.0040ca45
push 0xa
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x48]
call fcn.00404b05
lea ecx, [ebp - 0x30]
mov edx, eax
push ecx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.00404ab4
push dword [ebp - 0x48]
mov byte [ebp - 4], 9
call fcn.00403174
pop ecx
push 0xa
lea ecx, [ebp - 0x18]
call fcn.004026d5
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x18]
push eax
call fcn.00403d97
push 0xa
lea ecx, [ebp - 0x18]
call fcn.004026d5
cmp byte [esi + 1], bl
je 0x40cd63
push 3
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.0040218d
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 0x40ccec
lea eax, [ebp + 0x10]
push 0x4216f8
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.0040542a
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
call fcn.00401d2c
push dword [ebp - 0x60]
mov byte [ebp - 4], 0xa
call fcn.00403174
pop ecx
mov edx, 0x258
lea ecx, [ebp - 0x60]
call fcn.0040563e
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
call fcn.00403d97
push dword [ebp - 0x60]
mov byte [ebp - 4], 0xa
call fcn.00403174
lea ecx, [ebp - 0x18]
mov dword [esp], 0x42654c
call fcn.0040435d
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x18]
push eax
call fcn.00403d97
push dword [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.00403174
pop ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], ebx
push edi
call fcn.0040ce09
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x70]
call fcn.00405afe
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x60]
call fcn.00405a21
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.00403174
cmp esi, ebx
pop ecx
je 0x40cdd5
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.00403174
push dword [ebp - 0x30]
call fcn.00403174
push dword [ebp - 0x3c]
call fcn.00403174
push dword [ebp - 0x54]
call fcn.00403174
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc