Function at 0x497a20
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x308
push ebx
push esi
push edi
push 0
push 0
push 6
mov edi, ecx
call fcn.0040f720
add esp, 0xc
test al, al
je 0x497c9b
mov ecx, dword [edi + 0xe94]
mov esi, dword [edi + 0x12d8]
mov ebx, dword [edi + 0x12dc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x497a74
mov ecx, dword [edi + 0xe94]
add ecx, 0x560
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, eax
mov ecx, dword [edi + 0xe98]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
call edx
test al, al
je 0x497a98
mov ecx, dword [edi + 0xe98]
add ecx, 0x560
mov eax, dword [ecx]
call dword [eax + 8]
mov ebx, eax
cmp esi, 0xffffffff
je 0x497c9b
cmp ebx, 0xffffffff
je 0x497c9b
push esi
call fcn.00478890
mov ecx, eax
call fcn.00474e80
mov ecx, dword [eax]
test ecx, ecx
je 0x497c9b
push ebx
add ecx, 0x6c
call fcn.00471f70
mov dword [ebp - 0xc], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x497c9b
cmp dword [ecx + 8], 0
je 0x497b02
sub esp, 0x18
mov ecx, esp
push 0x58147c
call fcn.00402fa0
lea ecx, [edi - 0x258]
call fcn.004a5380
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x308]
push 0x2b4
push 0
push eax
mov ebx, dword [esi + 4]
add ebx, esi
call sub.msvcrt.dll_memset
add esp, 0xc
cmp dword [esi], 0
jle 0x497c9b
mov eax, dword [esi + 8]
add eax, esi
push eax
push ebx
call dword [sym.imp.SHELL32.dll_ILCombine]
push 0x4a08
mov ebx, eax
lea eax, [ebp - 0x308]
push 0x2b4
push eax
push 0
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp dword [ebp - 0x304], 0
je 0x497c9b
mov eax, dword [ebp - 0x300]
test al, 4
je 0x497c9b
test eax, 0x20000004
je 0x497c9b
push 0x110
call fcn.00531cfc
add esp, 4
test eax, eax
je 0x497b92
mov ecx, eax
call fcn.00471670
jmp 0x497b94
xor eax, eax
push eax
lea ecx, [ebp - 8]
call fcn.00470010
mov eax, dword [ebp - 8]
mov dword [eax + 0x14], 7
lea eax, [ebp - 0x2fc]
mov ecx, dword [ebp - 8]
push eax
lea ecx, [ecx + 0x18]
call fcn.0040b290
lea eax, [ebp - 0x2fc]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402fa0
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00474970
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00401570
add esp, 0x10
lea ecx, [esi + 0x30]
push eax
call fcn.0040fa80
lea ecx, [ebp - 0x54]
call fcn.00403070
lea ecx, [ebp - 0x24]
call fcn.00403070
lea ecx, [ebp - 0x3c]
call fcn.00403070
push ebx
call dword [sym.imp.SHELL32.dll_ILGetSize]
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
add eax, ebx
push eax
push ebx
push dword [ecx + 0x64]
add ecx, 0x60
call fcn.00483e10
push ebx
call dword [sym.imp.SHELL32.dll_ILFree]
cmp dword [ebp - 8], 0
je 0x497c80
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
call fcn.00478890
mov ecx, eax
call fcn.004722c0
test al, al
je 0x497c93
push dword [ebp - 0x304]
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x24]
push eax
call fcn.00474860
push eax
call fcn.00478830
mov ecx, eax
call fcn.0046baa0
lea ecx, [ebp - 0x24]
mov bl, al
call fcn.00403070
test bl, bl
je 0x497c93
push 0
lea ecx, [edi - 0x258]
call fcn.0049e290
lea ecx, [ebp - 8]
call fcn.00471910
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 8]
call fcn.00471910
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4