Function at 0x1000ae50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [0x100c4f8c]
push esi
mov esi, ecx
push edi
mov ecx, dword [eax]
mov dword [esp + 0x14], esi
mov eax, dword [ecx + 0x25c]
cmp eax, 9
je 0x1000b109
cmp eax, 8
je 0x1000b109
call fcn.10009e00
mov eax, dword [eax]
mov dword [0x100c540c], eax
mov eax, dword [0x100c4f8c]
mov ecx, dword [eax]
call fcn.10009f80
push dword [0x100c5090]
movss xmm0, dword [eax + 8]
movss dword [0x100c53ec], xmm0
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1000afed
cmp byte [0x100c1a18], 0
je 0x1000afed
cmp byte [0x100c5414], 0
mov eax, dword [0x100c53e4]
mov dword [esi + 0x30], eax
je 0x1000afed
movss xmm0, dword [0x100c1d10]
lea edx, [esi + 0xc]
addss xmm0, dword [0x100c1d04]
movss xmm2, dword [0x100c1d0c]
lea edi, [edx + 4]
addss xmm2, dword [0x100c1d00]
movss xmm1, dword [0x100c1d14]
lea ecx, [esp + 0xc]
addss xmm1, dword [0x100c1d08]
movss dword [edi], xmm0
lea esi, [edx + 8]
movss xmm0, dword [0x100a9da0]
lea eax, [esp + 0x10]
comiss xmm0, xmm2
mov dword [esp + 0x10], 0x42b20000
mov dword [esp + 0xc], 0xc2b20000
movss xmm0, dword [0x100a9da8]
movss dword [edx], xmm2
cmovbe ecx, edx
movss dword [esi], xmm1
comiss xmm2, dword [0x100a9cb4]
cmovbe eax, ecx
lea ecx, [esp + 0x10]
mov eax, dword [eax]
mov dword [edx], eax
lea eax, [esp + 0xc]
movss xmm1, dword [edi]
comiss xmm0, xmm1
mov dword [esp + 0xc], 0x43340000
mov dword [esp + 0x10], 0xc3340000
movss xmm0, dword [0x100a9d9c]
cmovbe ecx, edi
comiss xmm1, dword [0x100a9cd0]
cmovbe eax, ecx
lea ecx, [esp + 0x10]
mov eax, dword [eax]
mov dword [edi], eax
lea eax, [esp + 0xc]
movss xmm1, dword [esi]
comiss xmm0, xmm1
mov dword [esp + 0xc], 0x42480000
mov dword [esp + 0x10], 0xc2480000
cmovbe ecx, esi
comiss xmm1, dword [0x100a9ca8]
cmovbe eax, ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, dword [ecx + 0x10]
mov dword [edi], eax
mov eax, dword [ecx + 0x14]
mov dword [esi], eax
movss xmm0, dword [0x100bed68]
movss dword [ecx + 0x28], xmm0
movss xmm0, dword [0x100bed6c]
movss dword [ecx + 0x24], xmm0
mov ecx, dword [0x100c197c]
push str.sv_gravity
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x30]
call eax
fmul dword [0x100a9b6c]
mov eax, dword [0x100c196c]
mov ecx, dword [0x100c0e8c]
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [eax + 0x20]
mov eax, dword fs:[0x2c]
movss dword [0x100c5408], xmm0
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x100c53f0]
cmp eax, dword [ecx + 4]
jle 0x1000b079
push 0x100c53f0
call fcn.1006cd15
add esp, 4
cmp dword [0x100c53f0], 0xffffffff
jne 0x1000b079
movss xmm0, dword [0x100c53ec]
push 0x100c53f0
movss dword [0x100c53f8], xmm0
call fcn.1006ccc4
add esp, 4
movss xmm0, dword [0x100c5408]
xorps xmm0, xmmword [0x100aa210]
comiss xmm0, dword [0x100c53f8]
jbe 0x1000b0f2
mov eax, dword [0x100c4f8c]
mov ecx, dword [eax]
call fcn.10009f80
push ecx
fld dword [eax + 8]
fstp dword [esp]
call fcn.100929bd
fstp dword [esp + 0x14]
fld dword [0x100c5408]
fstp dword [esp]
call fcn.100929bd
movss xmm0, dword [esp + 0x14]
add esp, 4
fstp dword [esp + 0x14]
movss xmm1, dword [esp + 0x14]
xorps xmm1, xmmword [0x100aa210]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1000b0f2
mov eax, dword [0x100c4f8c]
mov eax, dword [eax]
cmp dword [eax + 0x25c], 9
je 0x1000b0f2
mov al, 1
jmp 0x1000b0f4
xor al, al
movss xmm0, dword [0x100c53ec]
mov byte [0x100c1a18], al
movss dword [0x100c53f8], xmm0
pop edi
pop esi
mov esp, ebp
pop ebp
ret