Function at 0x1000c11c
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, 0x130
mov eax, dword [0x1005a040]
xor eax, ebp
mov dword [ebp - 4], eax
movss xmm0, dword [0x1005a0d0]
push esi
push edi
mov edi, dword [ebx + 8]
mov dword [ebp - 0x12c], ecx
movss dword [ebp - 0x128], xmm0
test edi, edi
jne 0x1000c175
push dword [0x1005a0cc]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1000c449
call fcn.10009e47
test eax, eax
je 0x1000c438
cmp dword [0x1005a0b0], 0xffffffff
jne 0x1000c1b7
cmp dword [0x1005a9bc], 0
je 0x1000c449
mov eax, dword [0x1005a0c8]
push ecx
mov dword [0x1005b538], eax
call fcn.1000bf3b
mov dword [0x1005a0b0], eax
pop ecx
cmp eax, 0xffffffff
je 0x1000c449
cmp dword [0x1005a9bc], 0
je 0x1000c449
mov ecx, dword [0x100d0af8]
mov eax, dword [ecx]
call dword [eax + 0xec]
and dword [ebp - 0x124], 0
mov esi, eax
and dword [ebp - 0x120], 0
mov ecx, esi
and dword [ebp - 0x11c], 0
call fcn.10009dbe
test eax, eax
je 0x1000c449
mov ecx, dword [esi + 0x184]
mov eax, dword [0x1005a0b0]
mov esi, dword [ecx + eax*4]
mov ecx, esi
call fcn.10009dbe
test eax, eax
je 0x1000c41f
mov eax, dword [0x100d0a6c]
xor edx, edx
inc edx
cmp eax, edx
jne 0x1000c24e
mov ecx, dword [0x100d0ae4]
push edx
lea edx, [ebp - 0x118]
push edx
mov eax, dword [ecx]
push 8
push dword [esi + 0x10]
call dword [eax + 0x40]
movss xmm0, dword [ebp - 0x114]
addss xmm0, dword [0x10055638]
jmp 0x1000c2fc
cmp eax, 2
jne 0x1000c25f
push edx
lea edx, [ebp - 0x118]
push edx
push 7
jmp 0x1000c2bf
cmp eax, 3
jne 0x1000c270
push edx
lea edx, [ebp - 0x118]
push edx
push 6
jmp 0x1000c2bf
cmp eax, 4
jne 0x1000c29f
mov ecx, dword [0x100d0ae4]
push edx
lea edx, [ebp - 0x118]
push edx
mov eax, dword [ecx]
push 4
push dword [esi + 0x10]
call dword [eax + 0x40]
movss xmm0, dword [ebp - 0x114]
subss xmm0, dword [0x10055638]
jmp 0x1000c2fc
cmp eax, 5
jne 0x1000c2b0
push edx
lea edx, [ebp - 0x118]
push edx
push 0x22
jmp 0x1000c2bf
cmp eax, 6
jne 0x1000c2cf
push edx
lea edx, [ebp - 0x118]
push edx
push 0x15
mov ecx, dword [0x100d0ae4]
push dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
jmp 0x1000c304
cmp eax, 7
jne 0x1000c304
mov ecx, dword [0x100d0ae4]
push edx
lea edx, [ebp - 0x118]
push edx
mov eax, dword [ecx]
push 8
push dword [esi + 0x10]
call dword [eax + 0x40]
movss xmm0, dword [ebp - 0x114]
addss xmm0, dword [0x1005a0b4]
movss dword [ebp - 0x114], xmm0
mov esi, dword [0x100d0c94]
lea ecx, [ebp - 0x124]
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 - 0x118]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1000b3e7
mov eax, dword [0x100d0c94]
add esp, 0x18
cmp dword [ebx + 0x18], 0
movss xmm3, dword [eax + 0x58]
movss xmm4, dword [eax + 0x54]
mulss xmm3, dword [0x100556a0]
mulss xmm4, dword [0x100556a0]
je 0x1000c3c5
movss xmm0, dword [ebp - 0x120]
movss xmm5, dword [0x100555b4]
subss xmm0, xmm3
subss xmm5, dword [ebp - 0x128]
call fcn.1000b47c
movaps xmm6, xmm0
movss xmm0, dword [ebp - 0x124]
subss xmm0, xmm4
call fcn.1000b47c
movaps xmm1, xmm5
movaps xmm2, xmm0
xorps xmm1, xmmword [0x100562b0]
comiss xmm1, xmm6
jbe 0x1000c3a8
movaps xmm0, xmm1
jmp 0x1000c3af
movaps xmm0, xmm5
minss xmm0, xmm6
comiss xmm1, xmm2
ja 0x1000c3bb
movaps xmm1, xmm5
minss xmm1, xmm2
addss xmm3, xmm0
addss xmm4, xmm1
jmp 0x1000c3d5
movss xmm3, dword [ebp - 0x120]
movss xmm4, dword [ebp - 0x124]
cmp dword [ebx + 0xc], 0
mulss xmm3, dword [0x1005554c]
mulss xmm4, dword [0x1005554c]
movss dword [eax + 0x58], xmm3
movss dword [eax + 0x54], xmm4
je 0x1000c40d
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
xor eax, eax
inc eax
cmp dword [ebp - 0x12c], eax
jne 0x1000c449
mov dword [0x1005a9bc], eax
jmp 0x1000c442
cmp dword [ebx + 0x14], 0
jne 0x1000c438
test edi, edi
jne 0x1000c438
or dword [0x1005a0b0], 0xffffffff
and dword [0x1005a9bc], edi
jmp 0x1000c449
mov dword [0x1005a9bc], 1
or dword [0x1005a0b0], 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10048e36
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret