Function at 0x66404c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd00
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x300], edx
mov dword [ebp - 0x2f8], edx
mov dword [ebp - 0x2fc], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040995c
mov edi, dword [0x694a1c]
xor eax, eax
push ebp
push 0x664316
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00424f40
test al, al
je 0x6642eb
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00663f84
mov ebx, dword [ebp - 0xc]
mov eax, ebx
test eax, eax
je 0x6640bc
sub eax, 4
mov eax, dword [eax]
test eax, eax
je 0x6642eb
lea eax, [ebp - 8]
mov ecx, 0x664330
mov edx, dword [ebp - 4]
call fcn.0040a8f4
mov eax, dword [ebp - 8]
call fcn.00661f70
mov eax, dword [edi + 4]
mov edx, dword [ebp - 8]
call fcn.00661ff0
test al, al
je 0x6642eb
mov eax, dword [edi + 0x54]
call fcn.00661f70
push pe_nt_image_headers32
push 0x2b4
lea eax, [ebp - 0x2f4]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.0040a688
push eax
call sub.shell32.dll_SHGetFileInfoW
mov eax, dword [edi + 0x54]
mov cl, 4
mov edx, dword [ebp - 0x2f4]
call fcn.0065ed24
mov cl, 1
mov edx, 0x80
mov eax, dword [ebp - 8]
call fcn.004250b8
mov eax, dword [edi + 0x54]
mov edx, dword [ebp - 8]
call fcn.0065e364
lea edx, [ebp - 0x2fc]
mov eax, dword [edi + 4]
call fcn.00663430
mov eax, dword [ebp - 0x2fc]
lea edx, [ebp - 0x2f8]
call fcn.0065f458
mov edx, dword [ebp - 0x2f8]
mov eax, dword [ebp - 8]
call fcn.00662f90
cmp dword [edi], 0xffffffff
jne 0x664179
call sub.user32.dll_GetForegroundWindow
xor ecx, ecx
mov dl, 1
mov eax, dword [0x490028]
call fcn.004b2ff4
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x6642e4
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.004b2d04
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov ecx, ebx
test ecx, ecx
je 0x6641bb
sub ecx, 4
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
push edx
push eax
mov eax, ecx
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
sub eax, 8
sbb edx, 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov esi, dword [ebp - 0x14]
mov eax, esi
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
lea edx, [ebp - 0x28]
mov ecx, 8
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x28]
sbb edx, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov eax, esi
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
xor ecx, ecx
mov dl, 1
mov eax, dword [0x490028]
call fcn.004b2ff4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x6642bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.004b2d04
mov cx, 2
xor edx, edx
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
lea ecx, [ebp - 0x300]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
call fcn.004b32f8
mov edx, dword [ebp - 0x300]
mov eax, dword [ebp - 0x10]
call fcn.004b337c
lea edx, [ebp - 0x28]
mov ecx, 8
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov edx, 0x664340
mov eax, dword [ebp - 0x10]
call fcn.004b337c
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.004b2c30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6642c6
mov eax, dword [ebp - 0x10]
call fcn.004079b8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66431d
lea eax, [ebp - 0x300]
mov edx, 3
call fcn.004098d8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004098d8
ret