Function at 0x1000bd2b
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 [0x1005b040]
xor eax, ebp
mov dword [ebp - 4], eax
movss xmm0, dword [0x1005b0d4]
push esi
push edi
mov edi, dword [ebx + 8]
mov dword [ebp - 0x48], ecx
movss dword [ebp - 0x44], xmm0
test edi, edi
jne 0x1000bd7b
push dword [0x1005b0cc]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1000c021
xor esi, esi
inc esi
cmp dword [0x1005b0a4], 0xffffffff
jne 0x1000bdd8
cmp dword [0x1005b9bc], 0
je 0x1000c014
mov eax, dword [0x1005b0c8]
mov dword [0x1005c544], eax
mov eax, dword [0x100d1a98]
test eax, eax
jne 0x1000bdb5
mov edx, dword [ebx + 0x18]
push ecx
mov ecx, dword [ebx + 0x10]
call fcn.1000b4cd
jmp 0x1000bdc9
cmp eax, esi
jne 0x1000c014
mov edx, dword [ebx + 0x18]
push ecx
mov ecx, dword [ebx + 0x10]
call fcn.1000b809
mov dword [0x1005b0a4], eax
pop ecx
cmp eax, 0xffffffff
je 0x1000c014
cmp dword [0x1005b9bc], 0
je 0x1000c014
mov ecx, dword [0x100d1b30]
and dword [ebp - 0x40], 0
and dword [ebp - 0x3c], 0
and dword [ebp - 0x38], 0
mov eax, dword [ecx]
call dword [eax + 0xec]
mov esi, eax
mov ecx, esi
call fcn.10009d87
test eax, eax
je 0x1000c021
mov ecx, dword [esi + 0x184]
mov eax, dword [0x1005b0a4]
mov esi, dword [ecx + eax*4]
mov ecx, esi
call fcn.10009d87
test eax, eax
je 0x1000bffd
mov ecx, dword [esi + 0x10]
call fcn.10009d87
test eax, eax
je 0x1000bffd
mov eax, dword [0x100d1a88]
xor edx, edx
inc edx
cmp eax, edx
jne 0x1000be6d
mov ecx, dword [0x100d1b1c]
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 [0x10056788]
jmp 0x1000becb
cmp eax, 2
jne 0x1000be7b
push edx
lea edx, [ebp - 0x34]
push edx
push 7
jmp 0x1000beec
cmp eax, 3
jne 0x1000bea4
mov ecx, dword [0x100d1b1c]
push edx
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ecx]
push 6
push dword [esi + 0x10]
call dword [eax + 0x40]
movss xmm0, dword [ebp - 0x30]
subss xmm0, dword [0x10056744]
jmp 0x1000becb
cmp eax, 4
jne 0x1000bed2
mov ecx, dword [0x100d1b1c]
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 [0x10056788]
movss dword [ebp - 0x30], xmm0
jmp 0x1000befa
cmp eax, 5
jne 0x1000bee0
push edx
lea edx, [ebp - 0x34]
push edx
push 0x15
jmp 0x1000beec
cmp eax, 6
jne 0x1000befa
push edx
lea edx, [ebp - 0x34]
push edx
push 0x24
mov ecx, dword [0x100d1b1c]
push dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov esi, dword [0x100d1ba0]
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.1000b333
mov eax, dword [0x100d1ba0]
add esp, 0x18
cmp dword [ebx + 0x20], 0
movss xmm3, dword [eax + 0x58]
movss xmm4, dword [eax + 0x54]
mulss xmm3, dword [0x100567f0]
mulss xmm4, dword [0x100567f0]
je 0x1000bfac
movss xmm0, dword [ebp - 0x3c]
movss xmm5, dword [0x10056704]
subss xmm0, xmm3
subss xmm5, dword [ebp - 0x44]
call fcn.1000b3c8
movaps xmm6, xmm0
movss xmm0, dword [ebp - 0x40]
subss xmm0, xmm4
call fcn.1000b3c8
movaps xmm1, xmm5
movaps xmm2, xmm0
xorps xmm1, xmmword [0x10057750]
comiss xmm1, xmm6
jbe 0x1000bf8f
movaps xmm0, xmm1
jmp 0x1000bf96
movaps xmm0, xmm5
minss xmm0, xmm6
comiss xmm1, xmm2
ja 0x1000bfa2
movaps xmm1, xmm5
minss xmm1, xmm2
addss xmm3, xmm0
addss xmm4, xmm1
jmp 0x1000bfb6
movss xmm3, dword [ebp - 0x3c]
movss xmm4, dword [ebp - 0x40]
cmp dword [ebx + 0xc], 0
mulss xmm3, dword [0x1005669c]
mulss xmm4, dword [0x1005669c]
movss dword [eax + 0x58], xmm3
movss dword [eax + 0x54], xmm4
je 0x1000bfee
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 - 0x48], eax
jne 0x1000c021
mov dword [0x1005b9bc], eax
jmp 0x1000c01a
cmp dword [ebx + 0x1c], 0
jne 0x1000c00f
test edi, edi
jne 0x1000c00f
and dword [0x1005b9bc], edi
jmp 0x1000c01a
xor eax, eax
inc eax
jmp 0x1000bff6
mov dword [0x1005b9bc], esi
or dword [0x1005b0a4], 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100498be
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret