Function at 0x663fe8
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 0x6642b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00424f40
test al, al
je 0x664287
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00663f20
mov ebx, dword [ebp - 0xc]
mov eax, ebx
test eax, eax
je 0x664058
sub eax, 4
mov eax, dword [eax]
test eax, eax
je 0x664287
lea eax, [ebp - 8]
mov ecx, 0x6642cc
mov edx, dword [ebp - 4]
call fcn.0040a8f4
mov eax, dword [ebp - 8]
call fcn.00661f98
mov eax, dword [edi + 4]
mov edx, dword [ebp - 8]
call fcn.00662018
test al, al
je 0x664287
mov eax, dword [edi + 0x54]
call fcn.00661f98
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.0065ed4c
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.0065e38c
lea edx, [ebp - 0x2fc]
mov eax, dword [edi + 4]
call fcn.006633cc
mov eax, dword [ebp - 0x2fc]
lea edx, [ebp - 0x2f8]
call fcn.0065f480
mov edx, dword [ebp - 0x2f8]
mov eax, dword [ebp - 8]
call fcn.00662f2c
cmp dword [edi], 0xffffffff
jne 0x664115
call sub.user32.dll_GetForegroundWindow
xor ecx, ecx
mov dl, 1
mov eax, dword [0x490050]
call fcn.004b301c
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x664280
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.004b2d2c
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 0x664157
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 [0x490050]
call fcn.004b301c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x66425b
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.004b2d2c
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.004b3320
mov edx, dword [ebp - 0x300]
mov eax, dword [ebp - 0x10]
call fcn.004b33a4
lea edx, [ebp - 0x28]
mov ecx, 8
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov edx, 0x6642dc
mov eax, dword [ebp - 0x10]
call fcn.004b33a4
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.004b2c58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x664262
mov eax, dword [ebp - 0x10]
call fcn.004079b8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6642b9
lea eax, [ebp - 0x300]
mov edx, 3
call fcn.004098d8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004098d8
ret