Function at 0x1000c1f6
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x10060040]
xor eax, ebp
mov dword [ebp - 4], eax
movss xmm0, dword [0x100600d0]
push esi
push edi
mov edi, dword [ebx + 8]
mov dword [ebp - 0x48], ecx
movss dword [ebp - 0x44], xmm0
test edi, edi
jne 0x1000c246
push dword [0x100600c8]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1000c4ad
call fcn.10009fe2
test eax, eax
je 0x1000c49c
cmp dword [0x100600b0], 0xffffffff
jne 0x1000c289
cmp dword [0x100609b8], 0
je 0x1000c4ad
mov eax, dword [0x100600c4]
mov ecx, dword [ebx + 0x10]
mov dword [0x10061440], eax
call fcn.1000bd07
mov dword [0x100600b0], eax
cmp eax, 0xffffffff
je 0x1000c4ad
cmp dword [0x100609b8], 0
je 0x1000c4ad
mov ecx, dword [0x100d69b0]
mov eax, dword [ecx]
call dword [eax + 0xec]
and dword [ebp - 0x40], 0
mov esi, eax
and dword [ebp - 0x3c], 0
mov ecx, esi
and dword [ebp - 0x38], 0
call fcn.10009f58
test eax, eax
je 0x1000c4ad
mov ecx, dword [esi + 0x184]
mov eax, dword [0x100600b0]
mov esi, dword [ecx + eax*4]
mov ecx, esi
call fcn.10009f58
test eax, eax
je 0x1000c483
mov eax, dword [0x100d6874]
xor edx, edx
inc edx
cmp eax, edx
jne 0x1000c30e
mov ecx, dword [0x100d6994]
push edx
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ecx]
push 8
push dword [esi + 0x10]
call dword [eax + 0x40]
movss xmm0, dword [ebp - 0x30]
addss xmm0, dword [0x1005a848]
jmp 0x1000c351
cmp eax, 2
jne 0x1000c31c
push edx
lea edx, [ebp - 0x34]
push edx
push 7
jmp 0x1000c372
cmp eax, 3
jne 0x1000c32a
push edx
lea edx, [ebp - 0x34]
push edx
push 6
jmp 0x1000c372
cmp eax, 4
jne 0x1000c358
mov ecx, dword [0x100d6994]
push edx
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ecx]
push 4
push dword [esi + 0x10]
call dword [eax + 0x40]
movss xmm0, dword [ebp - 0x30]
subss xmm0, dword [0x1005a848]
movss dword [ebp - 0x30], xmm0
jmp 0x1000c380
cmp eax, 5
jne 0x1000c366
push edx
lea edx, [ebp - 0x34]
push edx
push 0x22
jmp 0x1000c372
cmp eax, 6
jne 0x1000c380
push edx
lea edx, [ebp - 0x34]
push edx
push 0x15
mov ecx, dword [0x100d6994]
push dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov esi, dword [0x100d6a14]
lea ecx, [ebp - 0x40]
sub esp, 0xc
mov edi, esp
sub esp, 0xc
mov esi, dword [esi + 0x13c]
add esi, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1000b4f2
add esp, 0x18
cmp dword [ebx + 0xc], 0
je 0x1000c3cb
mov esi, dword [sym.imp.USER32.dll_mouse_event]
xor edi, edi
push edi
push edi
push edi
push edi
push 2
call esi
push edi
push edi
push edi
push edi
push 4
call esi
cmp dword [ebx + 0x18], 0
mov eax, dword [0x100d6a14]
movss xmm3, dword [eax + 0x58]
movss xmm4, dword [eax + 0x54]
mulss xmm3, dword [0x1005a8a4]
mulss xmm4, dword [0x1005a8a4]
je 0x1000c450
movss xmm0, dword [ebp - 0x3c]
movss xmm5, dword [0x1005a7c4]
subss xmm0, xmm3
subss xmm5, dword [ebp - 0x44]
call fcn.1000b587
movaps xmm6, xmm0
movss xmm0, dword [ebp - 0x40]
subss xmm0, xmm4
call fcn.1000b587
movaps xmm1, xmm5
movaps xmm2, xmm0
xorps xmm1, xmmword [0x1005b640]
comiss xmm1, xmm6
jbe 0x1000c433
movaps xmm0, xmm1
jmp 0x1000c43a
movaps xmm0, xmm5
minss xmm0, xmm6
comiss xmm1, xmm2
ja 0x1000c446
movaps xmm1, xmm5
minss xmm1, xmm2
addss xmm3, xmm0
addss xmm4, xmm1
jmp 0x1000c45a
movss xmm3, dword [ebp - 0x3c]
movss xmm4, dword [ebp - 0x40]
mulss xmm3, dword [0x1005a75c]
mulss xmm4, dword [0x1005a75c]
movss dword [eax + 0x58], xmm3
movss dword [eax + 0x54], xmm4
xor eax, eax
inc eax
cmp dword [ebp - 0x48], eax
jne 0x1000c4ad
mov dword [0x100609b8], eax
jmp 0x1000c4a6
cmp dword [ebx + 0x14], 0
jne 0x1000c49c
test edi, edi
jne 0x1000c49c
or dword [0x100600b0], 0xffffffff
and dword [0x100609b8], edi
jmp 0x1000c4ad
mov dword [0x100609b8], 1
or dword [0x100600b0], 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1004d3ff
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret