Function at 0x663c68
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd08
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x2f8], edx
mov dword [ebp - 0x2f0], edx
mov dword [ebp - 0x2f4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040995c
xor eax, eax
push ebp
push 0x663f2c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00424f40
test al, al
je 0x663f01
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00663430
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x663ccf
sub eax, 4
mov eax, dword [eax]
test eax, eax
je 0x663f01
lea eax, [ebp - 8]
mov ecx, 0x663f48
mov edx, dword [ebp - 4]
call fcn.0040a8f4
mov eax, dword [ebp - 8]
call fcn.00661f70
test al, al
je 0x663d0b
mov eax, dword [0x694a1c]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 8]
call fcn.00661ff0
test al, al
je 0x663f01
mov eax, dword [0x694a1c]
mov eax, dword [eax + 0x54]
call fcn.00661f70
push pe_nt_image_headers32
push 0x2b4
lea eax, [ebp - 0x2ec]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.0040a688
push eax
call sub.shell32.dll_SHGetFileInfoW
mov eax, dword [0x694a1c]
mov eax, dword [eax + 0x54]
mov cl, 4
mov edx, dword [ebp - 0x2ec]
call fcn.0065ed24
mov cl, 1
mov edx, 0x80
mov eax, dword [ebp - 8]
call fcn.004250b8
mov eax, dword [0x694a1c]
mov eax, dword [eax + 0x54]
mov edx, dword [ebp - 8]
call fcn.0065e364
lea edx, [ebp - 0x2f4]
mov eax, dword [0x694a1c]
mov eax, dword [eax + 4]
call fcn.00663430
mov eax, dword [ebp - 0x2f4]
lea edx, [ebp - 0x2f0]
call fcn.0065f458
mov edx, dword [ebp - 0x2f0]
mov eax, dword [ebp - 8]
call fcn.00662f90
mov eax, dword [0x694a1c]
cmp dword [eax], 0xffffffff
jne 0x663dae
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 0x663efa
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]
sub eax, 0x15
sbb edx, 0
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 - 0x30], eax
mov dword [ebp - 0x2c], 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 - 0x38], eax
mov dword [ebp - 0x34], 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 0x663ed5
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 - 0x2f8]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
call fcn.004b32f8
mov edx, dword [ebp - 0x2f8]
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, 0x663f58
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 0x663edc
mov eax, dword [ebp - 0x10]
call fcn.004079b8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x663f33
lea eax, [ebp - 0x2f8]
mov edx, 3
call fcn.004098d8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004098d8
ret