Function at 0x10020e60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002b66d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3c
mov eax, dword [0x10036040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x10232214]
test ecx, ecx
jne 0x10020ed4
push 0x4c4
call fcn.10029eb3
add esp, 4
mov dword [ebp - 0x44], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.100264c0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x10232214], ecx
cmp byte [ecx + 0x81], 0
mov edx, dword [0x102321fc]
je 0x10020eed
mov dword [edx + 0x126c], 0x3f99999a
cmp byte [ecx + 0x73], 0
je 0x10021000
push 0x42
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10020ff4
mov esi, dword [0x102321fc]
movss xmm0, dword [esi + 0x13d8]
subss xmm0, dword [0x100318a4]
mulss xmm0, dword [0x1003178c]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x40], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x44], xmm0
movsd xmm0, qword [ebp - 0x40]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
mov eax, dword [0x10232214]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x48], xmm0
test eax, eax
jne 0x10020f8d
push 0x4c4
call fcn.10029eb3
add esp, 4
mov dword [ebp - 0x38], eax
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.100264c0
movss xmm0, dword [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [0x102321fc]
mov dword [0x10232214], eax
movss xmm1, dword [eax + 0x7c]
lea ecx, [ebp - 0x20]
mov eax, dword [esi + 0x2c]
movaps xmm3, xmm1
mulss xmm1, dword [ebp - 0x44]
mov dword [ebp - 0x38], eax
mulss xmm3, xmm0
push ecx
movq xmm0, qword [esi + 0x24]
mov ecx, esi
xorps xmm1, xmmword [0x10031eb0]
xorps xmm3, xmmword [0x10031eb0]
movq qword [ebp - 0x40], xmm0
xorps xmm0, xmm0
movss xmm2, dword [ebp - 0x40]
addss xmm2, xmm1
movss xmm1, dword [ebp - 0x3c]
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x38]
addss xmm0, xmm3
movss dword [ebp - 0x20], xmm2
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x18], xmm0
mov eax, dword [esi]
call dword [eax + 0x34]
mov ecx, dword [0x10232214]
mov edx, dword [0x102321fc]
test ecx, ecx
jne 0x10021037
push 0x4c4
call fcn.10029eb3
add esp, 4
mov dword [ebp - 0x38], eax
mov ecx, eax
mov dword [ebp - 4], 4
call fcn.100264c0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x102321fc]
mov dword [0x10232214], ecx
cmp byte [ecx + 0x72], 0
je 0x1002105c
test edx, edx
je 0x1002105c
movss xmm0, dword [edx + 0x126c]
comiss xmm0, dword [0x10031798]
jb 0x1002105c
mov dword [edx + 0x126c], 0x3f99999a
cmp byte [ecx + 0x77], 0
je 0x1002112f
push 0x20
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10021123
mov esi, dword [0x102321fc]
movss xmm0, dword [esi + 0x13d8]
subss xmm0, dword [0x100318a4]
mulss xmm0, dword [0x1003178c]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x40], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x44], xmm0
movsd xmm0, qword [ebp - 0x40]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm1, dword [ebp - 0x44]
lea ecx, [ebp - 0x2c]
mov eax, dword [esi + 0x2c]
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm0
mov dword [ebp - 0x38], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
movq xmm0, qword [esi + 0x24]
xorps xmm2, xmm2
mulss xmm1, xmm2
mulss xmm3, xmm2
xorps xmm1, xmmword [0x10031eb0]
movq qword [ebp - 0x40], xmm0
movss xmm2, dword [ebp - 0x40]
xorps xmm3, xmmword [0x10031eb0]
addss xmm2, xmm1
movss xmm1, dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x38]
addss xmm1, dword [0x10031794]
addss xmm0, xmm3
movss dword [ebp - 0x2c], xmm2
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x24], xmm0
call dword [eax + 0x34]
mov ecx, dword [0x10232214]
mov edx, dword [0x102321fc]
test ecx, ecx
jne 0x1002115f
push 0x4c4
call fcn.10029eb3
add esp, 4
mov dword [ebp - 0x38], eax
mov ecx, eax
mov dword [ebp - 4], 6
call fcn.100264c0
mov edx, dword [0x102321fc]
mov ecx, eax
mov dword [0x10232214], ecx
cmp byte [ecx + 0x63], 1
jne 0x100211af
movd xmm0, dword [ecx + 0x6c]
movss xmm1, dword [edx + 0x4cc]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x1002118e
mov dword [edx + 0x10bc], 1
mov dword [edx + 0x1248], 2
movd xmm0, dword [ecx + 0x6c]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jb 0x100211af
mov dword [edx + 0x10bc], 0
mov dword [edx + 0x1248], 0
cmp byte [ecx + 0x7a], 0
je 0x100211c5
mov eax, dword [edx + 0x122c]
mov dword [eax + 0x2e0], 0x3f000000
cmp byte [ecx + 0x79], 0
je 0x100211d5
mov eax, dword [edx + 0x122c]
mov byte [eax + 0x70], 1
cmp byte [ecx + 0x61], 0
je 0x100211e5
mov dword [edx + 0x3d4], 0
cmp byte [ecx + 0x5f], 0
je 0x1002120f
test edx, edx
je 0x1002120f
movd xmm0, dword [ecx + 0x54]
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [edx + 0x4cc]
jb 0x1002120f
mov eax, dword [0x10232210]
mov dword [eax + 0xd0b40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10029910
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret