Function at 0x100208e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002c1ff
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x1003600c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x102321a8]
test edi, edi
je 0x10020d5c
mov edi, dword [edi + 0xfe8]
test edi, edi
je 0x10020d5c
mov eax, edi
shr eax, 0x10
test eax, eax
je 0x10020d5c
call fcn.10020640
mov esi, eax
test esi, esi
je 0x10020d5c
movss xmm0, dword [esi + 0x2df4]
comiss xmm0, dword [0x10031d1c]
jbe 0x10020d5c
lea eax, [ebp - 0x44]
mov edx, esi
push eax
push 6
lea ecx, [ebp - 0x70]
call fcn.10020080
lea eax, [ebp - 0x50]
mov edx, esi
push eax
push 5
lea ecx, [ebp - 0x70]
call fcn.10020080
add esp, 0x10
cmp dword [0x10232190], 0
jne 0x100209cb
push 1
call fcn.1002acbe
mov dword [ebp - 0x64], eax
add esp, 4
movaps xmm0, xmmword [0x10032390]
movups xmmword [0x102320f8], xmm0
mov dword [0x10232130], 0
mov dword [0x1023219c], 0
mov dword [0x10232190], eax
push dword [0x10232124]
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.1001eb00
add esp, 4
cmp dword [0x10232190], 0
jne 0x10020a1c
push 1
call fcn.1002acbe
mov dword [ebp - 0x64], eax
add esp, 4
movaps xmm0, xmmword [0x10032390]
movups xmmword [0x102320f8], xmm0
mov dword [0x10232130], 0
mov dword [0x1023219c], 0
mov dword [0x10232190], eax
push dword [0x10232124]
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x50]
call fcn.1001eb00
mov eax, dword [0x102321ac]
add esp, 4
test eax, eax
jne 0x10020a63
push 0x4c8
call fcn.1002acbe
add esp, 4
mov dword [ebp - 0x64], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.10026d60
mov dword [ebp - 4], 0xffffffff
mov dword [0x102321ac], eax
mov ecx, dword [eax + 0x28]
cmp ecx, 1
jne 0x10020ac1
movss xmm5, dword [ebp - 0x28]
movss xmm4, dword [ebp - 0x24]
movaps xmm2, xmm5
movss xmm6, dword [ebp - 0x2c]
movaps xmm1, xmm4
subss xmm6, dword [ebp - 0x20]
subss xmm2, dword [ebp - 0x1c]
subss xmm1, dword [ebp - 0x18]
movss xmm0, dword [0x10031da4]
mulss xmm6, xmm0
mulss xmm2, xmm0
addss xmm6, dword [ebp - 0x2c]
mulss xmm1, xmm0
addss xmm5, xmm2
addss xmm4, xmm1
unpcklps xmm6, xmm5
movaps xmmword [ebp - 0x80], xmm6
movss dword [ebp - 0x68], xmm4
mov ecx, dword [ebp - 0x68]
jmp 0x10020aea
cmp ecx, 2
jne 0x10020ade
lea eax, [ebp - 0x5c]
mov edx, esi
push eax
push 4
lea ecx, [ebp - 0x70]
call fcn.10020080
mov eax, dword [0x102321ac]
add esp, 8
movq xmm0, qword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
movaps xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x64], ecx
test eax, eax
jne 0x10020b1b
push 0x4c8
call fcn.1002acbe
add esp, 4
mov dword [ebp - 0x60], eax
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.10026d60
mov dword [ebp - 4], 0xffffffff
mov dword [0x102321ac], eax
cmp byte [eax + 0x89], 0
mov ecx, dword [0x10232198]
je 0x10020b40
mov edx, dword [ecx + 0x3dc]
test edx, edx
jle 0x10020b40
cmp edx, dword [esi + 0x3dc]
je 0x10020d5c
cmp byte [eax + 0x88], 0
je 0x10020b5f
mov eax, dword [ecx + 0x424]
test eax, eax
jle 0x10020b5f
cmp eax, dword [esi + 0x424]
je 0x10020d5c
cmp dword [0x10232190], 0
jne 0x10020b9c
push 1
call fcn.1002acbe
mov dword [ebp - 0x60], eax
add esp, 4
movaps xmm0, xmmword [0x10032390]
movups xmmword [0x102320f8], xmm0
mov dword [0x10232130], 0
mov dword [0x1023219c], 0
mov dword [0x10232190], eax
push dword [0x10232124]
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x5c]
call fcn.1001eb00
add esp, 4
cmp esi, edi
je 0x10020d5c
mov eax, dword [0x102321ac]
test eax, eax
jne 0x10020beb
push 0x4c8
call fcn.1002acbe
add esp, 4
mov dword [ebp - 0x60], eax
mov ecx, eax
mov dword [ebp - 4], 4
call fcn.10026d60
mov dword [ebp - 4], 0xffffffff
mov dword [0x102321ac], eax
cmp byte [eax + 3], 0
jne 0x10020d5c
cmp byte [eax + 0xf], 0
je 0x10020d5c
mov eax, dword [eax + 0x14]
sub eax, 0
je 0x10020c18
sub eax, 1
jne 0x10020c13
mov eax, 1
jmp 0x10020c1d
mov eax, dword [ebp - 0x60]
jmp 0x10020c1d
mov eax, 2
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10020d5c
mov eax, dword [0x102321ac]
test eax, eax
jne 0x10020c60
push 0x4c8
call fcn.1002acbe
add esp, 4
mov dword [ebp - 0x60], eax
mov ecx, eax
mov dword [ebp - 4], 7
call fcn.10026d60
mov dword [ebp - 4], 0xffffffff
mov dword [0x102321ac], eax
mov ecx, dword [eax + 0x28]
sub ecx, 1
je 0x10020c72
sub ecx, 1
je 0x10020ccf
jmp 0x10020d5c
cmp dword [0x10232190], 0
jne 0x10020caf
push 1
call fcn.1002acbe
mov dword [ebp - 0x60], eax
add esp, 4
movaps xmm0, xmmword [0x10032390]
movups xmmword [0x102320f8], xmm0
mov dword [0x10232130], 0
mov dword [0x1023219c], 0
mov dword [0x10232190], eax
movaps xmm0, xmmword [ebp - 0x80]
sub esp, 0xc
mov ecx, dword [ebp - 0x64]
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], ecx
call fcn.10020400
mov eax, dword [0x102321ac]
add esp, 0xc
test eax, eax
jne 0x10020cfd
push 0x4c8
call fcn.1002acbe
add esp, 4
mov dword [ebp - 0x60], eax
mov ecx, eax
mov dword [ebp - 4], 9
call fcn.10026d60
mov dword [ebp - 4], 0xffffffff
mov dword [0x102321ac], eax
cmp dword [eax + 0x28], 2
jne 0x10020d5c
cmp dword [0x10232190], 0
jne 0x10020d40
push 1
call fcn.1002acbe
mov dword [ebp - 0x60], eax
add esp, 4
movaps xmm0, xmmword [0x10032390]
movups xmmword [0x102320f8], xmm0
mov dword [0x10232130], 0
mov dword [0x1023219c], 0
mov dword [0x10232190], eax
movq xmm0, qword [ebp - 0x38]
sub esp, 0xc
mov eax, dword [ebp - 0x30]
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
call fcn.10020400
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002a5eb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret