Function at 0x1005eb50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100ba040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x100be568]
push esi
push edi
cmp byte [eax + 0x44], 0
je 0x1005edde
mov eax, dword [0x100ba09c]
cmp dword [eax + 0x28], 3
je 0x1005edde
mov eax, dword [0x100be570]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1005edde
mov esi, dword [0x100ba09c]
movss xmm1, dword [esi + 0x256ac]
movss dword [ebp - 0xc], xmm1
fld dword [ebp - 0xc]
fstp dword [ebp - 0xc]
movss xmm0, dword [ebp - 0xc]
fld qword [0x100b1b48]
ucomiss xmm0, xmm0
setp al
cmp al, 1
jne 0x1005ec76
mov dword [esi + 0x256ac], 0
fstp st(0)
mov edx, dword [0x100be56c]
lea ecx, [ebp - 8]
mov dl, byte [edx + 0x44]
call fcn.10006d10
movaps xmm1, xmm0
ucomiss xmm1, dword [0x100b1ce0]
movss dword [ebp - 0xc], xmm1
movss dword [ebp - 0x14], xmm1
lahf
test ah, 0x44
jnp 0x1005edde
fld dword [ebp - 0x14]
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
ucomiss xmm0, xmm0
setp al
cmp al, 1
je 0x1005edde
mov eax, dword [0xcc5ff8]
mov edx, dword [0x797520]
dec eax
and eax, 0x7f
shl eax, 5
lea ecx, [eax + 0xcc500e]
cmp edx, 0x3fe
jne 0x1005ecad
cmp byte [ecx], 0
jle 0x1005edde
add eax, 0xcc500f
cmp byte [eax], 0
jne 0x1005ecb2
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007f5d0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
comiss xmm1, dword [0x100b1c6c]
ja 0x1005ec90
movss xmm0, dword [0x100b1ce4]
comiss xmm0, xmm1
jbe 0x1005ebe6
cvtps2pd xmm0, xmm1
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fxch st(1)
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp dword [esi + 0x256ac]
jmp 0x1005ebe8
add eax, 0xcc500f
cmp byte [ecx], 0
jne 0x1005ecc0
cmp byte [eax], 0
je 0x1005edde
mov edi, dword [0x100bdd28]
mov esi, edi
sub esi, dword [0x100bdd50]
sub edi, dword [0x100bdd4c]
cmp edx, 0x3ff
mov ecx, dword [0x100be578]
mov edx, dword [0x100be574]
movss xmm4, dword [0x100b1a78]
jne 0x1005ecfe
movss xmm0, dword [edx + 0xc]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jp 0x1005ed20
test esi, esi
jle 0x1005ed0a
cmp esi, 0x12c
jl 0x1005ed12
cmp edi, 0xc8
jge 0x1005ed8e
movss xmm0, dword [ecx + 0xc]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x1005ed8e
mov eax, dword [0x100ba09c]
movss xmm5, dword [0x100b1bbc]
movss xmm3, dword [eax + 0x25690]
xor eax, eax
movaps xmm2, xmm3
subss xmm2, xmm1
andps xmm2, xmmword [0x100b1f30]
comiss xmm2, xmm5
seta al
cmp eax, 1
jne 0x1005ed5f
movss xmm0, dword [0x100b1c18]
subss xmm0, xmm2
movaps xmm2, xmm0
comiss xmm2, xmm4
jbe 0x1005ed8e
cmp esi, 0x190
jge 0x1005ed77
subss xmm1, xmm3
divss xmm1, dword [ecx + 0xc]
jmp 0x1005ed85
comiss xmm5, xmm2
jbe 0x1005ed8e
subss xmm1, xmm3
divss xmm1, dword [edx + 0xc]
addss xmm1, xmm3
movss dword [ebp - 0xc], xmm1
mov esi, dword [0x100ba09c]
movss xmm0, dword [esi + 0x25690]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fld qword [0x100b1b48]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x18]
movsd xmm1, qword [ebp - 0x18]
cvtpd2ps xmm1, xmm1
movaps xmm0, xmm1
addss xmm0, xmm1
subss xmm0, dword [ebp - 0xc]
subss xmm1, xmm0
addss xmm1, dword [esi + 0x256ac]
movss dword [esi + 0x256ac], xmm1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1007f5d0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret