Function at 0x40c193
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x4193c4
call fcn.00417bb0
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.004021d8
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], ebx
cmp byte [esi], bl
je 0x40c20c
push dword [esi + 0xc]
lea eax, [ebp - 0x58]
push dword [esi + 8]
push eax
call fcn.0040bec0
push eax
lea eax, [ebp - 0x18]
push 0x259
push eax
mov byte [ebp - 4], 1
call fcn.0040bf5f
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00401c7c
push dword [ebp - 0x18]
call fcn.00403149
push dword [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.00403149
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.004021d8
mov eax, dword [esi + 0x20]
mov byte [ebp - 4], 3
cmp eax, ebx
mov dword [ebp + 0x10], ebx
mov edi, 0x421684
jle 0x40c272
push 0x58
lea eax, [ebp - 0x18]
push dword [ebp + 0x10]
lea ecx, [esi + 0x1c]
push eax
call fcn.00402231
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.00403c7c
push dword [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00403149
pop ecx
push edi
lea ecx, [ebp - 0x34]
call fcn.00406176
add dword [ebp + 0x10], 0x58
mov eax, dword [ebp + 0x10]
cmp eax, dword [esi + 0x20]
jl 0x40c232
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x24]
push eax
call fcn.00401d76
push 0x421680
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.00406176
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x24]
push eax
call fcn.00403c7c
push 0x421680
lea ecx, [ebp - 0x24]
call fcn.00406176
cmp byte [esi + 0x10], bl
je 0x40c365
push 0xf
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.004021d8
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 0x40c2ef
lea eax, [ebp + 0x10]
push 0x41c028
push eax
mov dword [ebp + 0x10], 0x3ff0c2
call sub.MSVCRT.dll__CxxThrowException
push 1
lea eax, [ebp - 0x54]
push 1
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004053c0
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.00401c7c
push dword [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.00403149
lea eax, [ebp - 0x4c]
mov dword [esp], 0x258
push eax
call fcn.004055d0
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.00403c7c
push dword [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.00403149
pop ecx
push edi
lea ecx, [ebp - 0x24]
call fcn.00406176
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x24]
push eax
call fcn.00403c7c
push dword [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.00403149
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
push dword [ebp - 0x24]
push eax
call fcn.00405a9e
add esi, 0x1c
lea eax, [ebp - 0x4c]
push esi
push eax
call fcn.004059cd
mov eax, dword [eax]
push 0x110
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.00403149
cmp esi, ebx
pop ecx
je 0x40c3d8
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.00403149
push dword [ebp - 0x34]
call fcn.00403149
push dword [ebp - 0x40]
call fcn.00403149
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc