Function at 0x663c04
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 0x663ec8
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00424f40
test al, al
je 0x663e9d
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.006633cc
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x663c6b
sub eax, 4
mov eax, dword [eax]
test eax, eax
je 0x663e9d
lea eax, [ebp - 8]
mov ecx, 0x663ee4
mov edx, dword [ebp - 4]
call fcn.0040a8f4
mov eax, dword [ebp - 8]
call fcn.00661f98
test al, al
je 0x663ca7
mov eax, dword [0x694a1c]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 8]
call fcn.00662018
test al, al
je 0x663e9d
mov eax, dword [0x694a1c]
mov eax, dword [eax + 0x54]
call fcn.00661f98
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.0065ed4c
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.0065e38c
lea edx, [ebp - 0x2f4]
mov eax, dword [0x694a1c]
mov eax, dword [eax + 4]
call fcn.006633cc
mov eax, dword [ebp - 0x2f4]
lea edx, [ebp - 0x2f0]
call fcn.0065f480
mov edx, dword [ebp - 0x2f0]
mov eax, dword [ebp - 8]
call fcn.00662f2c
mov eax, dword [0x694a1c]
cmp dword [eax], 0xffffffff
jne 0x663d4a
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 0x663e96
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]
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 [0x490050]
call fcn.004b301c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x663e71
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 - 0x2f8]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
call fcn.004b3320
mov edx, dword [ebp - 0x2f8]
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, 0x663ef4
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 0x663e78
mov eax, dword [ebp - 0x10]
call fcn.004079b8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x663ecf
lea eax, [ebp - 0x2f8]
mov edx, 3
call fcn.004098d8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004098d8
ret