Function at 0x497770
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.0040f470
add esp, 0xc
test al, al
je 0x4979eb
mov ecx, dword [edi + 0xea8]
mov esi, dword [edi + 0x12ec]
mov ebx, dword [edi + 0x12f0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x4977c4
mov ecx, dword [edi + 0xea8]
add ecx, 0x560
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, eax
mov ecx, dword [edi + 0xeac]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
call edx
test al, al
je 0x4977e8
mov ecx, dword [edi + 0xeac]
add ecx, 0x560
mov eax, dword [ecx]
call dword [eax + 8]
mov ebx, eax
cmp esi, 0xffffffff
je 0x4979eb
cmp ebx, 0xffffffff
je 0x4979eb
push esi
call fcn.0047a670
mov ecx, eax
call fcn.00476d80
mov ecx, dword [eax]
test ecx, ecx
je 0x4979eb
push ebx
add ecx, 0x68
call fcn.00473f20
mov dword [ebp - 0xc], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x4979eb
cmp dword [ecx + 8], 0
je 0x497852
sub esp, 0x18
mov ecx, esp
push 0x57fe6c
call fcn.00402fa0
lea ecx, [edi - 0x258]
call fcn.004a4b20
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 0x4979eb
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 0x4979eb
mov eax, dword [ebp - 0x300]
test al, 4
je 0x4979eb
test eax, 0x20000004
je 0x4979eb
push 0x110
call fcn.005313dc
add esp, 4
test eax, eax
je 0x4978e2
mov ecx, eax
call fcn.00473690
jmp 0x4978e4
xor eax, eax
push eax
lea ecx, [ebp - 8]
call fcn.004720a0
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.0040b1b0
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.00476870
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00401570
add esp, 0x10
lea ecx, [esi + 0x30]
push eax
call fcn.0040f730
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.00485300
push ebx
call dword [sym.imp.SHELL32.dll_ILFree]
cmp dword [ebp - 8], 0
je 0x4979d0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
call fcn.0047a670
mov ecx, eax
call fcn.00474270
test al, al
je 0x4979e3
push dword [ebp - 0x304]
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x24]
push eax
call fcn.00476760
push eax
call fcn.0047a610
mov ecx, eax
call fcn.0046db20
lea ecx, [ebp - 0x24]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4979e3
push 0
lea ecx, [edi - 0x258]
call fcn.0049de60
lea ecx, [ebp - 8]
call fcn.00407100
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 8]
call fcn.00407100
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4