Function at 0x10004ba0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1004e080]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x100504d4
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0x100504d4
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x10005114
mov dl, byte [0x1004eb40]
xorps xmm4, xmm4
mov eax, dword [0x100504d8]
mov cl, byte [0x1004eb41]
movss xmm7, dword [0x10048ca8]
cmp dl, 1
jne 0x10004ef4
movd xmm0, dword [0x1004eb04]
movss xmm2, dword [0x100483bc]
movss xmm1, dword [0x100483c0]
cvtdq2ps xmm0, xmm0
movss xmm3, dword [0x10048ca4]
addss xmm2, xmm0
movss dword [ebp - 0xc], xmm0
movd xmm0, dword [0x1004eb1c]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 8], xmm0
addss xmm1, xmm0
movd xmm0, dword [0x100504d4]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x10004cb5
addss xmm2, xmm3
subss xmm2, xmm4
comiss xmm2, xmm0
jbe 0x10004cb5
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm1
jbe 0x10004cb5
addss xmm1, dword [0x10048cb4]
subss xmm1, dword [0x10048cb0]
comiss xmm1, xmm2
jbe 0x10004cb5
movss dword [ebp - 0x18], xmm4
movaps xmm2, xmm3
movss dword [ebp - 0x14], xmm4
movaps xmm7, xmm3
movss dword [ebp - 0x10], xmm4
movaps xmm6, xmm3
movaps xmm5, xmm3
cmp cl, 1
je 0x10004cd3
mov cl, 1
call fcn.10005130
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ca4c
mov esp, ebp
pop ebp
ret
movaps xmm2, xmm3
xorps xmm1, xmm1
movss dword [ebp - 0x18], xmm1
movaps xmm7, xmm2
movss dword [ebp - 0x14], xmm1
movaps xmm6, xmm2
movss dword [ebp - 0x10], xmm1
movaps xmm5, xmm2
movss xmm4, dword [0x10048380]
addss xmm4, dword [ebp - 0xc]
movss xmm1, dword [0x10048384]
addss xmm1, dword [ebp - 8]
movss dword [ebp - 0x1c], xmm4
comiss xmm0, xmm4
xorps xmm4, xmm4
jbe 0x10004d44
addss xmm5, dword [ebp - 0x1c]
subss xmm5, dword [ebp - 0x10]
comiss xmm5, xmm0
jbe 0x10004d44
movd xmm5, eax
cvtdq2ps xmm5, xmm5
comiss xmm5, xmm1
jbe 0x10004d44
addss xmm1, dword [0x10048cbc]
subss xmm1, dword [0x10048cb8]
comiss xmm1, xmm5
jbe 0x10004d44
cmp cl, 2
je 0x10004d44
mov cl, 2
call fcn.10005130
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ca4c
mov esp, ebp
pop ebp
ret
movss xmm5, dword [0x10048434]
addss xmm5, dword [ebp - 0xc]
movss xmm1, dword [0x10048438]
addss xmm1, dword [ebp - 8]
comiss xmm0, xmm5
jbe 0x10004dac
addss xmm6, xmm5
subss xmm6, dword [ebp - 0x14]
comiss xmm6, xmm0
jbe 0x10004dac
movd xmm5, eax
cvtdq2ps xmm5, xmm5
comiss xmm5, xmm1
jbe 0x10004dac
addss xmm1, dword [0x10048cc4]
subss xmm1, dword [0x10048cc0]
comiss xmm1, xmm5
jbe 0x10004dac
cmp cl, 3
je 0x10004dac
mov cl, 3
call fcn.10005130
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ca4c
mov esp, ebp
pop ebp
ret
movss xmm5, dword [0x10048398]
movss xmm6, dword [ebp - 0xc]
movss xmm1, dword [0x1004839c]
addss xmm5, xmm6
addss xmm1, dword [ebp - 8]
comiss xmm0, xmm5
jbe 0x10004e18
addss xmm7, xmm5
subss xmm7, dword [ebp - 0x18]
comiss xmm7, xmm0
jbe 0x10004e18
movd xmm5, eax
cvtdq2ps xmm5, xmm5
comiss xmm5, xmm1
jbe 0x10004e18
addss xmm1, dword [0x10048ccc]
subss xmm1, dword [0x10048cc8]
comiss xmm1, xmm5
jbe 0x10004e18
cmp cl, 4
je 0x10004e18
mov cl, 4
call fcn.10005130
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ca4c
mov esp, ebp
pop ebp
ret
movss xmm5, dword [0x10048314]
movss xmm1, dword [0x10048318]
addss xmm5, xmm6
movss xmm7, dword [ebp - 8]
addss xmm1, xmm7
comiss xmm0, xmm5
jbe 0x10004e85
addss xmm2, xmm5
xorps xmm5, xmm5
subss xmm2, xmm5
comiss xmm2, xmm0
jbe 0x10004e88
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm1
jbe 0x10004e88
addss xmm1, dword [0x10048cd4]
subss xmm1, dword [0x10048cd0]
comiss xmm1, xmm2
jbe 0x10004e88
cmp cl, 5
je 0x10004e88
mov cl, 5
call fcn.10005130
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ca4c
mov esp, ebp
pop ebp
ret
xorps xmm5, xmm5
movss xmm2, dword [0x10051ea4]
movss xmm1, dword [0x10051ea8]
addss xmm2, xmm6
addss xmm1, xmm7
comiss xmm0, xmm2
jbe 0x10005114
addss xmm2, dword [0x10048c9c]
subss xmm2, xmm5
comiss xmm2, xmm0
jbe 0x10005114
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10005114
movss xmm7, dword [0x10048ca8]
addss xmm1, xmm7
subss xmm1, dword [0x10048ca0]
comiss xmm1, xmm0
jbe 0x10005114
mov byte [0x1004eb40], 2
jmp 0x10004f05
cmp dl, 2
jne 0x10005114
movss xmm3, dword [0x10048ca4]
movd xmm5, dword [0x1004eb04]
movd xmm2, dword [0x100504d4]
movss xmm1, dword [0x10048344]
movd xmm6, dword [0x1004eb1c]
movss xmm0, dword [0x10048348]
cvtdq2ps xmm5, xmm5
cvtdq2ps xmm2, xmm2
addss xmm1, xmm5
cvtdq2ps xmm6, xmm6
comiss xmm2, xmm1
addss xmm0, xmm6
jbe 0x10004f8b
addss xmm1, xmm3
subss xmm1, xmm4
comiss xmm1, xmm2
jbe 0x10004f8b
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x10004f8b
addss xmm0, dword [0x10048cbc]
subss xmm0, dword [0x10048cb8]
comiss xmm0, xmm1
jbe 0x10004f8b
cmp cl, 6
je 0x10004f8b
mov cl, 6
call fcn.10005130
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ca4c
mov esp, ebp
pop ebp
ret
movss xmm1, dword [0x10048404]
movss xmm0, dword [0x10048408]
addss xmm1, xmm5
addss xmm0, xmm6
comiss xmm2, xmm1
jbe 0x10004ff0
addss xmm1, xmm3
subss xmm1, xmm4
comiss xmm1, xmm2
jbe 0x10004ff0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x10004ff0
addss xmm0, dword [0x10048ce4]
subss xmm0, dword [0x10048cdc]
comiss xmm0, xmm1
jbe 0x10004ff0
cmp cl, 7
je 0x10004ff0
mov cl, 7
call fcn.10005130
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ca4c
mov esp, ebp
pop ebp
ret
movss xmm1, dword [0x10048320]
movss xmm0, dword [0x10048324]
addss xmm1, xmm5
addss xmm0, xmm6
comiss xmm2, xmm1
jbe 0x10005055
addss xmm1, xmm3
subss xmm1, xmm4
comiss xmm1, xmm2
jbe 0x10005055
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x10005055
addss xmm0, dword [0x10048cec]
subss xmm0, dword [0x10048ce8]
comiss xmm0, xmm1
jbe 0x10005055
cmp cl, 8
je 0x10005055
mov cl, 8
call fcn.10005130
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ca4c
mov esp, ebp
pop ebp
ret
movss xmm1, dword [0x10048350]
movss xmm0, dword [0x10048354]
addss xmm1, xmm5
addss xmm0, xmm6
comiss xmm2, xmm1
jbe 0x100050c2
addss xmm1, dword [0x10048cac]
subss xmm1, dword [0x10048c98]
comiss xmm1, xmm2
jbe 0x100050c2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x100050c2
addss xmm0, dword [0x10048ce0]
subss xmm0, dword [0x10048cd8]
comiss xmm0, xmm1
jbe 0x100050c2
cmp cl, 9
je 0x100050c2
mov cl, 9
call fcn.10005130
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ca4c
mov esp, ebp
pop ebp
ret
movss xmm1, dword [0x10051ebc]
movss xmm0, dword [0x10051ec0]
addss xmm1, xmm5
addss xmm0, xmm6
comiss xmm2, xmm1
jbe 0x10005114
addss xmm1, dword [0x10048c9c]
subss xmm1, xmm4
comiss xmm1, xmm2
jbe 0x10005114
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x10005114
addss xmm0, xmm7
subss xmm0, dword [0x10048ca0]
comiss xmm0, xmm1
jbe 0x10005114
mov byte [0x1004eb40], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ca4c
mov esp, ebp
pop ebp
ret