Function at 0x40c099
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x41a038
call fcn.00418820
sub esp, 0x1ac
push ebx
push esi
mov dword [ebp - 0x28], ecx
push edi
xor ebx, ebx
push 0xf
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
call fcn.00402285
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], ebx
cmp byte [esi], bl
je 0x40c110
push dword [esi + 0xc]
lea ecx, [ebp - 0x58]
push dword [esi + 8]
call fcn.0040bdc8
push eax
mov edx, 0x259
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0040be68
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00401d29
push dword [ebp - 0x18]
call fcn.004031ec
push dword [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.004031ec
pop ecx
pop ecx
push 0xf
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.00402285
mov eax, dword [esi + 0x20]
mov byte [ebp - 4], 3
cmp eax, ebx
mov dword [ebp + 0x10], ebx
mov edi, 0x421684
jle 0x40c176
push 0x58
lea eax, [ebp - 0x18]
push dword [ebp + 0x10]
lea ecx, [esi + 0x1c]
push eax
call fcn.004022de
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.00403d0f
push dword [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.004031ec
pop ecx
push edi
lea ecx, [ebp - 0x34]
call fcn.00406149
add dword [ebp + 0x10], 0x58
mov eax, dword [ebp + 0x10]
cmp eax, dword [esi + 0x20]
jl 0x40c136
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x24]
push eax
call fcn.00401e23
push 0x421680
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.00406149
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x24]
push eax
call fcn.00403d0f
push 0x421680
lea ecx, [ebp - 0x24]
call fcn.00406149
cmp byte [esi + 0x10], bl
je 0x40c265
push 0xf
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.00402285
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 0x40c1f3
lea eax, [ebp + 0x10]
push 0x41bfb8
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.004053b0
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.00401d29
push dword [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.004031ec
pop ecx
mov edx, 0x258
lea ecx, [ebp - 0x4c]
call fcn.004055c6
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.00403d0f
push dword [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.004031ec
pop ecx
push edi
lea ecx, [ebp - 0x24]
call fcn.00406149
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x24]
push eax
call fcn.00403d0f
push dword [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.004031ec
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.00405a7b
lea edx, [esi + 0x1c]
lea ecx, [ebp - 0x4c]
call fcn.004059b2
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.004031ec
cmp esi, ebx
pop ecx
je 0x40c2d7
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.004031ec
push dword [ebp - 0x34]
call fcn.004031ec
push dword [ebp - 0x40]
call fcn.004031ec
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc