Function at 0x10014a0d
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [0x10281360]
push esi
push edi
mov edi, ecx
test ebx, ebx
je 0x10014cb2
mov eax, dword [0x1028135c]
test eax, eax
jne 0x100149ad
mov edx, 0xe80c2f78
mov ecx, 0x10219689
call fcn.10004f10
mov edx, 0xc10bf213
mov ecx, 0x102195b1
mov esi, eax
call fcn.10004f10
mov edx, esi
mov ecx, eax
call fcn.10127750
mov dword [0x1028135c], eax
cmp dword [eax + ebx], 0
jle 0x10014cb2
call fcn.1000b770
cmp eax, 9
je 0x10014cb2
cmp eax, 8
je 0x10014cb2
cmp eax, 0xa
je 0x10014cb2
cmp byte [0x102815e5], 0
je 0x10014cb2
mov ecx, dword [0x102472a4]
mov eax, dword [0x10281614]
cmp ecx, 3
ja case.0x100149f4.0
jmp dword [ecx*4 + 0x10014cbc]
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
setne al
jmp 0x10014a2c
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setne al
jmp 0x10014a2c
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
sete al
test al, al
je 0x10014cb2
test byte [0x102816d4], 1
je 0x10014cab
mov eax, dword [0x102813b4]
mov ebx, dword [0x10281360]
test eax, eax
jne 0x10014a7e
mov edx, 0xe80c2f78
mov ecx, 0x102197a5
call fcn.10004f10
mov edx, 0xc10bf213
mov ecx, 0x102195b1
mov esi, eax
call fcn.10004f10
mov edx, esi
mov ecx, eax
call fcn.10127750
mov dword [0x102813b4], eax
test byte [eax + ebx], 1
jne 0x10014cab
cmp byte [0x10281634], 0
je 0x10014b38
cmp byte [0x1028161c], 0
je 0x10014b38
mov eax, dword [0x102815f4]
test al, al
je 0x10014acb
mov ecx, dword [0x1024b32c]
and dword [edi + 0x30], 0xfffffff7
push 0
push str._forward
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
mov eax, dword [0x102815f4]
test ah, ah
je 0x10014aea
mov ecx, dword [0x1024b32c]
and dword [edi + 0x30], 0xffffffef
push 0
push str._back
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x102815f6], 0
je 0x10014b11
mov ecx, dword [0x1024b32c]
and dword [edi + 0x30], 0xfffffdff
push 0
push str._moveleft
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x102815f7], 0
je 0x10014b38
mov ecx, dword [0x1024b32c]
and dword [edi + 0x30], 0xfffffbff
push 0
push str._moveright
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
or dword [edi + 0x30], 2
mov eax, dword [0x102813d8]
mov ebx, dword [0x10281360]
mov byte [0x10286f5a], 1
test eax, eax
jne 0x10014b80
mov edx, 0xe80c2f78
mov ecx, 0x10219945
call fcn.10004f10
mov edx, 0xc10bf213
mov ecx, 0x102195d9
mov esi, eax
call fcn.10004f10
mov edx, esi
mov ecx, eax
call fcn.10127750
mov dword [0x102813d8], eax
movss xmm1, dword [eax + ebx + 4]
movss xmm0, dword [eax + ebx]
mulss xmm0, xmm0
mov dword [esp + 0x14], 0
mulss xmm1, xmm1
addss xmm0, xmm1
movss dword [esp + 0x10], xmm0
sqrtss xmm0, dword [esp + 0x10]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x102408ec]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_cosf
mulss xmm0, dword [0x102408ec]
mov eax, dword [0x102813d8]
movss dword [edi + 0x28], xmm0
movss dword [edi + 0x24], xmm0
mov edi, dword [0x10281360]
test eax, eax
jne 0x10014c13
mov edx, 0xe80c2f78
mov ecx, 0x10219945
call fcn.10004f10
mov edx, 0xc10bf213
mov ecx, 0x102195d9
mov esi, eax
call fcn.10004f10
mov edx, esi
mov ecx, eax
call fcn.10127750
mov dword [0x102813d8], eax
mov dword [eax + edi + 4], 0
mov eax, dword [0x102813d8]
mov edi, dword [0x10281360]
test eax, eax
jne 0x10014c58
mov edx, 0xe80c2f78
mov ecx, 0x10219945
call fcn.10004f10
mov edx, 0xc10bf213
mov ecx, 0x102195d9
mov esi, eax
call fcn.10004f10
mov edx, esi
mov ecx, eax
call fcn.10127750
mov dword [0x102813d8], eax
mov dword [eax + edi], 0
mov eax, dword [0x102813d8]
mov edi, dword [0x10281360]
test eax, eax
jne 0x10014c9c
mov edx, 0xe80c2f78
mov ecx, 0x10219945
call fcn.10004f10
mov edx, 0xc10bf213
mov ecx, 0x102195d9
mov esi, eax
call fcn.10004f10
mov edx, esi
mov ecx, eax
call fcn.10127750
mov dword [0x102813d8], eax
mov dword [eax + edi + 8], 0x43bb0000
pop edi
pop esi
pop ebx
add esp, 0x18
ret
mov byte [0x10286f5a], 0
pop edi
pop esi
pop ebx
add esp, 0x18
ret