Function at 0x10020820
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 0x1002f36d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x88
mov eax, dword [0x10039040]
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 [0x10235210]
test edi, edi
je 0x10020c02
mov edi, dword [edi + 0xd1c44]
xor edi, 0x8347816f
je 0x10020c02
mov eax, edi
shr eax, 0x10
test eax, eax
je 0x10020c02
call fcn.10020550
mov esi, eax
test esi, esi
je 0x10020c02
movss xmm0, dword [esi + 0x4f4]
comiss xmm0, dword [0x10035444]
jbe 0x10020c02
lea eax, [ebp - 0x44]
mov edx, 6
push eax
mov ecx, esi
call fcn.1001ffc0
add esp, 4
lea eax, [ebp - 0x50]
mov edx, 5
mov ecx, esi
push eax
call fcn.1001ffc0
add esp, 4
cmp dword [0x102351f0], 0
jne 0x10020915
push 1
call fcn.1002dc43
mov dword [ebp - 0x60], eax
add esp, 4
movaps xmm0, xmmword [0x10035b10]
movups xmmword [0x10235160], xmm0
mov dword [0x10235190], 0
mov dword [0x10235200], 0
mov dword [0x102351f0], eax
push dword [0x10235184]
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.1001e890
add esp, 4
cmp dword [0x102351f0], 0
jne 0x10020966
push 1
call fcn.1002dc43
mov dword [ebp - 0x60], eax
add esp, 4
movaps xmm0, xmmword [0x10035b10]
movups xmmword [0x10235160], xmm0
mov dword [0x10235190], 0
mov dword [0x10235200], 0
mov dword [0x102351f0], eax
push dword [0x10235184]
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x50]
call fcn.1001e890
mov eax, dword [0x10235214]
add esp, 4
test eax, eax
jne 0x100209ad
push 0x4c4
call fcn.1002dc43
add esp, 4
mov dword [ebp - 0x60], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.1002a490
mov dword [ebp - 4], 0xffffffff
mov dword [0x10235214], eax
mov eax, dword [eax + 0x28]
cmp eax, 1
jne 0x10020a14
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 [0x100354a0]
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 - 0x84], xmm4
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x60], edx
jmp 0x10020a43
cmp eax, 2
jne 0x10020a34
lea eax, [ebp - 0x5c]
mov edx, 4
push eax
mov ecx, esi
call fcn.1001ffc0
mov edx, dword [ebp - 0x18]
add esp, 4
mov dword [ebp - 0x60], edx
jmp 0x10020a3a
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x60], eax
movq xmm0, qword [ebp - 0x20]
movaps xmmword [ebp - 0x80], xmm0
mov ecx, dword [0x102351fc]
mov eax, dword [ecx + 0x410]
test eax, eax
jle 0x10020a5f
cmp eax, dword [esi + 0x410]
je 0x10020c02
mov eax, dword [ecx + 0x458]
test eax, eax
jle 0x10020a75
cmp eax, dword [esi + 0x458]
je 0x10020c02
cmp dword [esi + 0x1328], 1
je 0x10020c02
cmp dword [0x102351f0], 0
jne 0x10020abf
push 1
call fcn.1002dc43
mov dword [ebp - 0x64], eax
add esp, 4
movaps xmm0, xmmword [0x10035b10]
movups xmmword [0x10235160], xmm0
mov dword [0x10235190], 0
mov dword [0x10235200], 0
mov dword [0x102351f0], eax
push dword [0x10235184]
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x5c]
call fcn.1001e890
add esp, 4
cmp esi, edi
je 0x10020c02
mov eax, dword [0x10235214]
test eax, eax
jne 0x10020b0e
push 0x4c4
call fcn.1002dc43
add esp, 4
mov dword [ebp - 0x64], eax
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.1002a490
mov dword [ebp - 4], 0xffffffff
mov dword [0x10235214], eax
cmp byte [eax + 3], 0
jne 0x10020c02
cmp byte [eax + 0x10], 0
je 0x10020c02
mov eax, dword [eax + 0x14]
sub eax, 0
je 0x10020b3b
sub eax, 1
jne 0x10020b36
mov eax, 1
jmp 0x10020b40
mov eax, dword [ebp - 0x64]
jmp 0x10020b40
mov eax, 2
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10020c02
mov eax, dword [0x10235214]
test eax, eax
jne 0x10020b83
push 0x4c4
call fcn.1002dc43
add esp, 4
mov dword [ebp - 0x64], eax
mov ecx, eax
mov dword [ebp - 4], 5
call fcn.1002a490
mov dword [ebp - 4], 0xffffffff
mov dword [0x10235214], eax
mov ecx, dword [eax + 0x28]
sub ecx, 1
je 0x10020b92
sub ecx, 1
je 0x10020bb2
jmp 0x10020c02
movaps xmm0, xmmword [ebp - 0x80]
sub esp, 0xc
mov ecx, dword [ebp - 0x60]
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], ecx
call fcn.10020300
mov eax, dword [0x10235214]
add esp, 0xc
test eax, eax
jne 0x10020be0
push 0x4c4
call fcn.1002dc43
add esp, 4
mov dword [ebp - 0x64], eax
mov ecx, eax
mov dword [ebp - 4], 7
call fcn.1002a490
mov dword [ebp - 4], 0xffffffff
mov dword [0x10235214], eax
cmp dword [eax + 0x28], 2
jne 0x10020c02
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.10020300
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.1002d6a0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret