Function at 0x1000bb48
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 [0x10058040]
xor eax, ebp
mov dword [ebp - 4], eax
movss xmm0, dword [0x100580c8]
push esi
push edi
mov edi, dword [ebx + 8]
mov dword [ebp - 0x12c], ecx
movss dword [ebp - 0x128], xmm0
test edi, edi
jne 0x1000bba1
push dword [0x100580c4]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1000be85
xor esi, esi
inc esi
cmp dword [0x100580a4], 0xffffffff
jne 0x1000bbfa
cmp dword [0x100589b8], 0
je 0x1000be78
mov eax, dword [0x100580c0]
mov dword [0x1005942c], eax
mov eax, dword [0x100ce864]
test eax, eax
jne 0x1000bbd8
mov edx, dword [ebx + 0x18]
push ecx
call fcn.1000b4e4
jmp 0x1000bbeb
cmp eax, esi
jne 0x1000be78
mov edx, dword [ebx + 0x18]
push ecx
push ecx
call fcn.1000b814
pop ecx
mov dword [0x100580a4], eax
pop ecx
cmp eax, 0xffffffff
je 0x1000be78
cmp dword [0x100589b8], 0
je 0x1000be78
mov ecx, dword [0x100ce8d8]
and dword [ebp - 0x124], 0
and dword [ebp - 0x120], 0
and dword [ebp - 0x11c], 0
mov eax, dword [ecx]
call dword [eax + 0xec]
mov esi, eax
mov ecx, esi
call fcn.10009d2c
test eax, eax
je 0x1000be85
mov ecx, dword [esi + 0x184]
mov eax, dword [0x100580a4]
mov esi, dword [ecx + eax*4]
mov ecx, esi
call fcn.10009d2c
test eax, eax
je 0x1000be61
mov ecx, dword [esi + 0x10]
call fcn.10009d2c
test eax, eax
je 0x1000be61
mov eax, dword [0x100ce854]
xor edx, edx
inc edx
cmp eax, edx
jne 0x1000bc9e
mov ecx, dword [0x100ce8cc]
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 [0x100535d0]
jmp 0x1000bd0e
cmp eax, 2
jne 0x1000bcb2
push edx
lea edx, [ebp - 0x118]
push edx
push 7
jmp 0x1000bd38
cmp eax, 3
jne 0x1000bce1
mov ecx, dword [0x100ce8cc]
push edx
lea edx, [ebp - 0x118]
push edx
mov eax, dword [ecx]
push 6
push dword [esi + 0x10]
call dword [eax + 0x40]
movss xmm0, dword [ebp - 0x114]
subss xmm0, dword [0x1005358c]
jmp 0x1000bd0e
cmp eax, 4
jne 0x1000bd18
mov ecx, dword [0x100ce8cc]
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 [0x100535d0]
movss dword [ebp - 0x114], xmm0
jmp 0x1000bd46
cmp eax, 5
jne 0x1000bd29
push edx
lea edx, [ebp - 0x118]
push edx
push 0x15
jmp 0x1000bd38
cmp eax, 6
jne 0x1000bd46
push edx
lea edx, [ebp - 0x118]
push edx
push 0x24
mov ecx, dword [0x100ce8cc]
push dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov esi, dword [0x100cea64]
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.1000b34a
mov eax, dword [0x100cea64]
add esp, 0x18
cmp dword [ebx + 0x20], 0
movss xmm3, dword [eax + 0x58]
movss xmm4, dword [eax + 0x54]
mulss xmm3, dword [0x10053638]
mulss xmm4, dword [0x10053638]
je 0x1000be07
movss xmm0, dword [ebp - 0x120]
movss xmm5, dword [0x100535e0]
subss xmm0, xmm3
subss xmm5, dword [ebp - 0x128]
call fcn.1000b3df
movaps xmm6, xmm0
movss xmm0, dword [ebp - 0x124]
subss xmm0, xmm4
call fcn.1000b3df
movaps xmm1, xmm5
movaps xmm2, xmm0
xorps xmm1, xmmword [0x100542f0]
comiss xmm1, xmm6
jbe 0x1000bdea
movaps xmm0, xmm1
jmp 0x1000bdf1
movaps xmm0, xmm5
minss xmm0, xmm6
comiss xmm1, xmm2
ja 0x1000bdfd
movaps xmm1, xmm5
minss xmm1, xmm2
addss xmm3, xmm0
addss xmm4, xmm1
jmp 0x1000be17
movss xmm3, dword [ebp - 0x120]
movss xmm4, dword [ebp - 0x124]
cmp dword [ebx + 0xc], 0
mulss xmm3, dword [0x100534e4]
mulss xmm4, dword [0x100534e4]
movss dword [eax + 0x58], xmm3
movss dword [eax + 0x54], xmm4
je 0x1000be4f
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 0x1000be85
mov dword [0x100589b8], eax
jmp 0x1000be7e
cmp dword [ebx + 0x1c], 0
jne 0x1000be73
test edi, edi
jne 0x1000be73
and dword [0x100589b8], edi
jmp 0x1000be7e
xor eax, eax
inc eax
jmp 0x1000be5a
mov dword [0x100589b8], esi
or dword [0x100580a4], 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10046e46
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret