Function at 0x1024c630
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1033666d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push esi
push edi
mov eax, dword [0x1040e140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push str.slowMotion
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
call fcn.10029750
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x105b37ec
call fcn.10026800
lea ecx, [ebp - 0x44]
mov al, byte [eax]
mov byte [ebp - 0xd], al
mov dword [ebp - 4], 0xffffffff
call fcn.10027fc0
cmp byte [ebp - 0xd], 0
je 0x1024c90e
mov eax, dword [0x105b2940]
lea ecx, [ebp - 0x5c]
add eax, 0xffffffdd
xor edi, edi
xor eax, 0xbacf7fe4
mov dword [ebp - 0x4c], edi
add eax, dword [0x1059ba80]
push 0x10
push str.slowMotion_speed
mov dword [ebp - 0x48], edi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x38], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x30], eax
movups xmmword [ebp - 0x5c], xmm0
call fcn.10029750
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 1
push eax
mov ecx, 0x105b382c
call fcn.100267e0
lea ecx, [ebp - 0x5c]
movss xmm0, dword [eax]
divss xmm0, dword [0x103e3acc]
mulss xmm0, dword [0x103e39fc]
mov dword [ebp - 4], 0xffffffff
movss dword [ebp - 0x2c], xmm0
call fcn.10027fc0
push 0xe
xorps xmm0, xmm0
mov dword [ebp - 0x4c], edi
push str.slowMotion_key
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], edi
movups xmmword [ebp - 0x5c], xmm0
call fcn.10029750
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 2
push eax
mov ecx, 0x105b380c
call fcn.100267e0
push dword [eax]
call dword [sym.imp.USER32.dll_GetKeyState]
movsx esi, ax
lea ecx, [ebp - 0x5c]
shr esi, 0x10
mov dword [ebp - 4], 0xffffffff
call fcn.10027fc0
test si, si
je 0x1024c90e
mov ecx, dword [0x105b2a24]
mov eax, dword [0x1059ba80]
add ecx, 0xffffffa4
xor ecx, 0xbacf801d
mov eax, dword [ecx + eax]
mov ecx, dword [0x105b2734]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
test eax, eax
je 0x1024c90e
mov ecx, dword [0x105b27e8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
mov ecx, dword [0x105b29e0]
mov eax, dword [0x1059ba80]
add ecx, 0xffffffb5
xor ecx, 0xbacf800c
fstp dword [ebp - 0x1c]
movss xmm0, dword [ebp - 0x1c]
mulss xmm0, dword [ecx + eax]
movss dword [ebp - 0x28], xmm0
cmp dword [0x1059bad0], edi
jle 0x1024c8d6
movss xmm2, dword [ebp - 0x30]
movss xmm3, dword [ebp - 0x34]
movss xmm4, dword [ebp - 0x38]
movss dword [ebp - 0x14], xmm2
movss dword [ebp - 0x18], xmm3
movss dword [ebp - 0x1c], xmm4
movaps xmm1, xmm4
movaps xmm0, xmm3
mulss xmm1, xmm4
mulss xmm0, xmm3
addss xmm0, xmm1
movaps xmm1, xmm2
mulss xmm1, xmm2
addss xmm0, xmm1
call fcn.10019850
movss xmm1, dword [0x103e37c8]
comiss xmm1, xmm0
movss dword [ebp - 0x24], xmm0
jae 0x1024c8d6
mov ecx, dword [0x105b27f4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x20], eax
call dword [ebp - 0x20]
movss xmm2, dword [ebp - 0x24]
mov eax, dword [0x105b278c]
movaps xmm1, xmm2
fstp dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x20]
maxss xmm0, xmm2
movss xmm4, dword [ebp - 0x1c]
movss xmm3, dword [ebp - 0x18]
mulss xmm0, dword [ebp - 0x28]
mulss xmm0, dword [eax + 0x20]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm1, xmm0
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x1024c8c4
divss xmm1, xmm2
movss xmm2, dword [ebp - 0x14]
mulss xmm4, xmm1
mulss xmm3, xmm1
mulss xmm2, xmm1
movss dword [ebp - 0x1c], xmm4
movss dword [ebp - 0x18], xmm3
movss dword [ebp - 0x14], xmm2
jmp 0x1024c8c9
movss xmm2, dword [ebp - 0x14]
inc edi
cmp edi, dword [0x1059bad0]
jl 0x1024c814
mov eax, dword [0x105b27a0]
movss xmm2, dword [ebp - 0x2c]
subss xmm2, dword [0x103e3880]
movd xmm1, edi
mov eax, dword [eax + 0x4cb0]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm2, xmm0
comiss xmm1, xmm2
ja 0x1024c909
test eax, eax
jne 0x1024c90e
call fcn.1024c920
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret