Function at 0x40ca97
Capabilities:
Get file system object information

Disassembly:
push ebp
sub esp, 0x160
lea ebp, [esp - 4]
mov eax, dword [0x44e580]
xor eax, ebp
mov dword [ebp + 0x160], eax
push 0x5c
mov eax, 0x43bf1b
call fcn.0042304e
mov esi, dword [ebp + 0x174]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x54]
call fcn.00403ee2
and dword [ebp - 4], 0
cmp byte [esi], 0
je 0x40cb1a
push dword [esi + 0xc]
lea eax, [ebp - 0x3c]
push dword [esi + 8]
push eax
call fcn.00412773
push eax
push 0x259
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.0041280f
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.0040c822
push dword [ebp - 0x18]
call fcn.004184c4
push dword [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.004184c4
pop ecx
pop ecx
lea ebx, [esi + 0x18]
push 0x5c
mov ecx, ebx
call fcn.0040c8e5
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.00403ee2
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.00403ee2
mov byte [ebp - 4], 4
test edi, edi
jl 0x40cb93
inc edi
push edi
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
call fcn.0040c56e
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.0040c822
push dword [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.004184c4
pop ecx
push edi
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
call fcn.0040c990
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.0040c822
push dword [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.004184c4
pop ecx
jmp 0x40cb9c
push ebx
lea ecx, [ebp - 0x48]
call fcn.0040c822
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x3c]
push eax
mov ecx, edi
call fcn.0040c9d8
lea eax, [ebp - 0x48]
push eax
mov ecx, edi
call fcn.0040c9d8
push 0xa
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040c950
lea ecx, [ebp - 0x48]
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 7
call fcn.0040c910
push dword [ebp - 0x68]
mov byte [ebp - 4], 9
call fcn.004184c4
pop ecx
push 0xa
lea ecx, [ebp - 0x30]
call fcn.0040c859
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040c8b8
push 0xa
lea ecx, [ebp - 0x30]
call fcn.0040c859
cmp byte [esi + 1], 0
je 0x40ccbb
lea ecx, [ebp - 0x18]
call fcn.00403ee2
lea eax, [ebp - 0x5c]
push eax
add esi, 0x10
push esi
mov byte [ebp - 4], 0xa
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
jne 0x40cc40
push 0x446090
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0x3ff0c2
call fcn.00422b74
push 1
push 1
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0041610a
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call fcn.0040c822
push dword [ebp - 0x24]
mov byte [ebp - 4], 0xa
call fcn.004184c4
lea eax, [ebp - 0x24]
mov dword [esp], 0x258
push eax
call fcn.0041636d
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xc
call fcn.0040c8b8
push dword [ebp - 0x24]
mov byte [ebp - 4], 0xa
call fcn.004184c4
lea ecx, [ebp - 0x30]
mov dword [esp], 0x43f9a4
call fcn.0040c885
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040c8b8
push dword [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.004184c4
pop ecx
push dword [ebp + 0x16c]
and dword [ebp - 0x20], 0
push edi
lea ecx, [ebp - 0x20]
call fcn.0040c740
push dword [ebp - 0x30]
push dword [ebp - 0x20]
call fcn.00416dbc
push ebx
lea eax, [ebp - 0x18]
push eax
call fcn.0040c806
mov eax, dword [eax]
push 0x110
push 0x160
lea ecx, [ebp]
push ecx
push 0x80
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x18]
mov esi, eax
call fcn.004184c4
pop ecx
test esi, esi
je 0x40cd2e
push dword [ebp + 0x170]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push dword [ebp]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x30]
call fcn.004184c4
push dword [ebp - 0x48]
call fcn.004184c4
push dword [ebp - 0x3c]
call fcn.004184c4
push dword [ebp - 0x54]
call fcn.004184c4
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x160]
xor ecx, ebp
call fcn.0042303f
add ebp, 0x164
leave
ret 0xc