Function at 0x100b5d70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0x2c]
sub esp, 0x30
mov ecx, dword [0x1024f340]
push esi
mov esi, dword [eax + ecx*4]
mov eax, dword [0x10318a30]
push edi
cmp eax, dword [esi + 4]
jle 0x100b5dce
push 0x10318a30
call fcn.101928b8
add esp, 4
cmp dword [0x10318a30], 0xffffffff
jne 0x100b5dce
push 0x10318a30
mov dword [0x10318a2c], 0
mov dword [0x10318a28], 0x10315cf4
call fcn.10192867
add esp, 4
mov eax, dword [0x10318a28]
cmp dword [0x10318a2c], 0
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
sete byte [esp + 0xb]
mov eax, dword [eax]
test eax, eax
jne 0x100b5df7
mov dword [0x10318a2c], 0
jmp 0x100b5e1e
push eax
call edi
shr eax, 0xf
and al, 1
movzx eax, al
mov dword [0x10318a2c], eax
je 0x100b5e1e
cmp byte [esp + 0xb], 0
je 0x100b5e1e
cmp byte [0x10315c64], 0
sete byte [0x10315c64]
mov eax, dword [0x10318a24]
cmp eax, dword [esi + 4]
jle 0x100b5e62
push 0x10318a24
call fcn.101928b8
add esp, 4
cmp dword [0x10318a24], 0xffffffff
jne 0x100b5e62
push 0x10318a24
mov dword [0x10318a20], 0
mov dword [0x10318a1c], 0x10315bd4
call fcn.10192867
add esp, 4
mov eax, dword [0x10318a1c]
cmp dword [0x10318a20], 0
sete byte [esp + 0xb]
mov eax, dword [eax]
test eax, eax
jne 0x100b5fee
mov dword [0x10318a20], eax
mov al, byte [0x1024cc2c]
cmp byte [0x10310760], 0
movss xmm1, dword [0x10237ac4]
mov edi, dword [ebp + 8]
movss xmm2, dword [0x10237a50]
mov byte [0x1024cc2c], al
movss dword [esp + 0xc], xmm1
je 0x100b5eee
cmp dword [0x10310864], 1
jne 0x100b5eee
cmp byte [0x10315c1c], 0
je 0x100b5eee
movss xmm0, dword [edi + 0xc]
xorps xmm0, xmmword [0x10237f00]
subss xmm0, xmm1
mov byte [0x10310a0d], 0
addss xmm0, xmm2
movss dword [edi + 0xc], xmm0
movss xmm0, dword [edi + 0x10]
addss xmm0, xmm2
movss dword [edi + 0x10], xmm0
movss xmm0, dword [0x1024cc24]
mov ecx, 0x168
subss xmm0, dword [0x10315b68]
mov byte [0x10310a0e], 0
cvttss2si eax, xmm0
cdq
idiv ecx
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [0x1024cc24], xmm0
movss xmm0, dword [0x1024cc28]
addss xmm0, dword [0x10315b68]
cvttss2si eax, xmm0
cdq
idiv ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x1024f68c]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [0x1024cc28], xmm0
cmp byte [eax], 0
sete byte [0x1024cc40]
mov eax, dword [ecx]
mov eax, dword [eax + 0x120]
call eax
mov esi, dword [0x1024d1e0]
mov dword [esp + 0x10], eax
test eax, eax
je 0x100b63f4
test esi, esi
je 0x100b63f4
cmp byte [0x1024cc40], 0
mov ecx, 0x1024cc38
movss xmm0, dword [edi + 0xc]
mov eax, 0x1024cc30
movss xmm1, dword [edi + 0x10]
cmovne eax, ecx
push esi
mov dword [esp + 0x20], eax
movss dword [eax], xmm0
movss dword [eax + 4], xmm1
call fcn.100b59d0
test al, al
jne 0x100b601e
movss xmm1, dword [edi + 0x10]
movss xmm0, dword [edi + 0xc]
movss dword [0x1024cc38], xmm0
movss dword [0x1024cc3c], xmm1
movss xmm1, dword [edi + 0x10]
movss xmm0, dword [edi + 0xc]
movss dword [0x1024cc30], xmm0
movss dword [0x1024cc34], xmm1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push eax
call edi
shr eax, 0xf
and al, 1
movzx eax, al
mov dword [0x10318a20], eax
je 0x100b5e82
cmp byte [esp + 0xb], 0
je 0x100b5e82
cmp byte [0x1024cc2c], 0
sete al
jmp 0x100b5e87
mov eax, dword [esp + 0x10]
mov byte [0x10310a0e], 1
mov byte [0x10310a0d], 0
cmp dword [eax + 0x1c], 0
jne 0x100b6048
push edi
push esi
push dword [0x10315c88]
call fcn.100b5a80
movaps xmm2, xmm0
jmp 0x100b6050
movss xmm2, dword [0x1024cc20]
mov eax, dword [0x10315cac]
xorps xmm3, xmm3
dec eax
movss dword [0x1024cc20], xmm2
cmp eax, 3
ja case.default.0x100b606a
jmp dword [eax*4 + 0x100b63fc]
mov eax, dword [0x10315afc]
test eax, eax
je 0x100b6099
add eax, 0xffffffff
je 0x100b608c
movss xmm0, dword [0x10237ab8]
jmp 0x100b6150
movss xmm0, dword [0x10237be4]
jmp 0x100b6150
movss xmm0, dword [0x10237bbc]
jmp 0x100b6150
mov eax, dword [0x10315afc]
test eax, eax
je 0x100b60ce
add eax, 0xffffffff
je 0x100b60c1
movss xmm0, dword [0x10237acc]
jmp 0x100b6150
movss xmm0, dword [0x10237bdc]
jmp 0x100b6150
movss xmm0, dword [0x10237a20]
jmp 0x100b6150
mov eax, dword [0x10315afc]
test eax, eax
je 0x100b60f0
add eax, 0xffffffff
jne 0x100b6156
movss xmm0, dword [0x10237be0]
jmp 0x100b6150
movss dword [esp + 0xc], xmm3
jmp 0x100b6156
mov eax, dword [0x10315afc]
movss xmm0, dword [0x10315b20]
test eax, eax
je 0x100b6150
add eax, 0xffffffff
je 0x100b6118
addss xmm0, dword [0x10237ac4]
jmp 0x100b6150
subss xmm0, dword [0x10237ac4]
jmp 0x100b6150
mov eax, dword [0x10315afc]
test eax, eax
je 0x100b614b
dec eax
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x10237a20]
subss xmm1, dword [0x10237a20]
movss dword [esp + 0xc], xmm1
jmp 0x100b6156
movss xmm0, dword [edi + 0xc]
movss dword [esp + 0xc], xmm0
mov cl, byte [0x1024cc40]
mov eax, dword [0x10315bf8]
test cl, cl
mov byte [esp + 0xb], cl
cmovne eax, dword [0x10315b8c]
dec eax
cmp eax, 6
ja case.0x100b6178.3
jmp dword [eax*4 + 0x100b640c]
movss xmm0, dword [0x10237a24]
jmp 0x100b631d
movss xmm0, dword [0x10237bc0]
jmp 0x100b631d
movss xmm0, dword [0x10237a50]
jmp 0x100b631d
test cl, cl
jne 0x100b61b7
movss xmm0, dword [0x1024cc24]
jmp 0x100b631d
movss xmm0, dword [0x1024cc28]
jmp 0x100b631d
mov ecx, dword [0x1024f68c]
lea edx, [esp + 0x20]
mov esi, dword [0x1024d1e0]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov eax, dword [ecx]
mov dword [esp + 0x20], 0
push edx
mov eax, dword [eax + 0x4c]
call eax
movss xmm0, dword [esp + 0x24]
movaps xmm1, xmm0
movss dword [esp + 0x10], xmm0
subss xmm1, dword [0x102379bc]
push esi
call fcn.100b5700
movss xmm1, dword [esp + 0x10]
subss xmm1, dword [0x102379d0]
push esi
movss dword [esp + 0x18], xmm0
call fcn.100b5700
movss xmm1, dword [esp + 0x10]
addss xmm0, dword [esp + 0x14]
addss xmm1, dword [0x102379bc]
push esi
movss dword [esp + 0x1c], xmm0
call fcn.100b5700
movss xmm1, dword [esp + 0x10]
addss xmm1, dword [0x102379d0]
push esi
movss dword [esp + 0x18], xmm0
call fcn.100b5700
movss xmm1, dword [esp + 0x14]
movss xmm3, dword [0x10237a6c]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x18]
comiss xmm0, xmm3
movss xmm2, dword [0x10237b34]
jb 0x100b628d
movaps xmm0, xmm2
comiss xmm1, xmm3
jb 0x100b6295
movaps xmm1, xmm2
comiss xmm0, xmm1
jbe 0x100b62a4
movss xmm1, dword [0x10237858]
jmp 0x100b62ac
movss xmm1, dword [0x10237b78]
cmp byte [esp + 0xb], 0
jne 0x100b62c9
movss xmm0, dword [0x10237bc0]
movss xmm2, dword [0x1024cc20]
mulss xmm0, xmm1
jmp 0x100b631d
movss xmm0, dword [0x10237a24]
movss xmm2, dword [0x1024cc20]
mulss xmm0, xmm1
jmp 0x100b631d
test cl, cl
jne 0x100b62ed
movss xmm1, dword [0x10237bc0]
jmp 0x100b62f5
movss xmm1, dword [0x10237a24]
cmp byte [0x1024cc2c], 0
je 0x100b630c
movss xmm0, dword [0x10237b78]
mulss xmm0, xmm1
jmp 0x100b631d
movss xmm0, dword [0x10237858]
mulss xmm0, xmm1
jmp 0x100b631d
xorps xmm0, xmm0
mov esi, dword [esp + 0x1c]
addss xmm0, xmm2
movss xmm1, dword [esp + 0xc]
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
movss dword [esi], xmm1
movss dword [esp + 0x10], xmm0
movss dword [esi + 4], xmm0
movss xmm0, dword [edi + 0x18]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [edi + 0x1c]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [edi + 0x20]
movss dword [esp + 0x28], xmm0
call fcn.1007f480
movss xmm0, dword [edi + 0x1c]
sub esp, 8
movss xmm1, dword [edi + 0x18]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10086ee0
movss xmm0, dword [esp + 0x10]
subss xmm0, dword [edi + 0x10]
fstp dword [esp + 0xc]
addss xmm0, dword [esp + 0x30]
mulss xmm0, dword [0x10237790]
movss dword [esp + 0x10], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x10]
mulss xmm1, dword [esp + 0xc]
movss dword [edi + 0x18], xmm1
call fcn.1007f460
mulss xmm0, dword [esp + 0xc]
movss dword [edi + 0x1c], xmm0
mov eax, dword [esi]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 4]
mov dword [edi + 0x10], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8