Function at 0x40c555
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x41a7dc
call fcn.00418f20
sub esp, 0x1ac
push ebx
push esi
mov dword [ebp - 0x28], ecx
push edi
xor ebx, ebx
push 3
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
call fcn.004023e1
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], ebx
cmp byte [esi], bl
je 0x40c5cc
push dword [esi + 0xc]
lea ecx, [ebp - 0x58]
push dword [esi + 8]
call fcn.0040c2df
push eax
mov edx, 0x259
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0040c37f
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00401fa2
push dword [ebp - 0x18]
call fcn.00403226
push dword [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.00403226
pop ecx
pop ecx
push 3
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.004023e1
mov eax, dword [esi + 0x20]
mov byte [ebp - 4], 3
cmp eax, ebx
mov dword [ebp + 0x10], ebx
mov edi, 0x42263c
jle 0x40c632
push 0x58
lea eax, [ebp - 0x18]
push dword [ebp + 0x10]
lea ecx, [esi + 0x1c]
push eax
call fcn.00402435
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.00403d4d
push dword [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00403226
pop ecx
push edi
lea ecx, [ebp - 0x34]
call fcn.00406234
add dword [ebp + 0x10], 0x58
mov eax, dword [ebp + 0x10]
cmp eax, dword [esi + 0x20]
jl 0x40c5f2
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x24]
push eax
call fcn.00401f5f
push 0x422638
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.00406234
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x24]
push eax
call fcn.00403d4d
push 0x422638
lea ecx, [ebp - 0x24]
call fcn.00406234
cmp byte [esi + 0x10], bl
je 0x40c721
push 3
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.004023e1
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 0x40c6af
lea eax, [ebp + 0x10]
push 0x41d040
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.00405405
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.00401fa2
push dword [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.00403226
pop ecx
mov edx, 0x258
lea ecx, [ebp - 0x4c]
call fcn.00405619
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.00403d4d
push dword [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.00403226
pop ecx
push edi
lea ecx, [ebp - 0x24]
call fcn.00406234
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x24]
push eax
call fcn.00403d4d
push dword [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.00403226
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.00405ac2
lea edx, [esi + 0x1c]
lea ecx, [ebp - 0x4c]
call fcn.004059fc
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.00403226
cmp esi, ebx
pop ecx
je 0x40c793
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.00403226
push dword [ebp - 0x34]
call fcn.00403226
push dword [ebp - 0x40]
call fcn.00403226
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc