Function at 0x40c539
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x41a81c
call fcn.00418f60
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 0x40c5b0
push dword [esi + 0xc]
lea ecx, [ebp - 0x58]
push dword [esi + 8]
call fcn.0040c2c3
push eax
mov edx, 0x259
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0040c363
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00401fa2
push dword [ebp - 0x18]
call fcn.00403248
push dword [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.00403248
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, 0x422628
jle 0x40c616
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.00403d6f
push dword [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00403248
pop ecx
push edi
lea ecx, [ebp - 0x34]
call fcn.00406256
add dword [ebp + 0x10], 0x58
mov eax, dword [ebp + 0x10]
cmp eax, dword [esi + 0x20]
jl 0x40c5d6
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x24]
push eax
call fcn.00401f5f
push 0x422624
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.00406256
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x24]
push eax
call fcn.00403d6f
push 0x422624
lea ecx, [ebp - 0x24]
call fcn.00406256
cmp byte [esi + 0x10], bl
je 0x40c705
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 0x40c693
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.00405427
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.00403248
pop ecx
mov edx, 0x258
lea ecx, [ebp - 0x4c]
call fcn.0040563b
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.00403d6f
push dword [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.00403248
pop ecx
push edi
lea ecx, [ebp - 0x24]
call fcn.00406256
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x24]
push eax
call fcn.00403d6f
push dword [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.00403248
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.00405ae4
lea edx, [esi + 0x1c]
lea ecx, [ebp - 0x4c]
call fcn.00405a1e
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.00403248
cmp esi, ebx
pop ecx
je 0x40c777
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.00403248
push dword [ebp - 0x34]
call fcn.00403248
push dword [ebp - 0x40]
call fcn.00403248
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc