Function at 0x10004bf0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1004f080]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x100514e0
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0x100514e0
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 0x10005164
mov dl, byte [0x1004fb50]
xorps xmm4, xmm4
mov eax, dword [0x100514e4]
mov cl, byte [0x1004fb51]
movss xmm7, dword [0x1004ace8]
cmp dl, 1
jne 0x10004f44
movd xmm0, dword [0x1004fb14]
movss xmm2, dword [0x1004a3cc]
movss xmm1, dword [0x1004a3d0]
cvtdq2ps xmm0, xmm0
movss xmm3, dword [0x1004ace4]
addss xmm2, xmm0
movss dword [ebp - 0xc], xmm0
movd xmm0, dword [0x1004fb2c]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 8], xmm0
addss xmm1, xmm0
movd xmm0, dword [0x100514e0]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x10004d05
addss xmm2, xmm3
subss xmm2, xmm4
comiss xmm2, xmm0
jbe 0x10004d05
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm1
jbe 0x10004d05
addss xmm1, dword [0x1004acf4]
subss xmm1, dword [0x1004acf0]
comiss xmm1, xmm2
jbe 0x10004d05
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 0x10004d23
mov cl, 1
call fcn.10005180
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001dd16
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 [0x1004a390]
addss xmm4, dword [ebp - 0xc]
movss xmm1, dword [0x1004a394]
addss xmm1, dword [ebp - 8]
movss dword [ebp - 0x1c], xmm4
comiss xmm0, xmm4
xorps xmm4, xmm4
jbe 0x10004d94
addss xmm5, dword [ebp - 0x1c]
subss xmm5, dword [ebp - 0x10]
comiss xmm5, xmm0
jbe 0x10004d94
movd xmm5, eax
cvtdq2ps xmm5, xmm5
comiss xmm5, xmm1
jbe 0x10004d94
addss xmm1, dword [0x1004acfc]
subss xmm1, dword [0x1004acf8]
comiss xmm1, xmm5
jbe 0x10004d94
cmp cl, 2
je 0x10004d94
mov cl, 2
call fcn.10005180
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001dd16
mov esp, ebp
pop ebp
ret
movss xmm5, dword [0x1004a444]
addss xmm5, dword [ebp - 0xc]
movss xmm1, dword [0x1004a448]
addss xmm1, dword [ebp - 8]
comiss xmm0, xmm5
jbe 0x10004dfc
addss xmm6, xmm5
subss xmm6, dword [ebp - 0x14]
comiss xmm6, xmm0
jbe 0x10004dfc
movd xmm5, eax
cvtdq2ps xmm5, xmm5
comiss xmm5, xmm1
jbe 0x10004dfc
addss xmm1, dword [0x1004ad04]
subss xmm1, dword [0x1004ad00]
comiss xmm1, xmm5
jbe 0x10004dfc
cmp cl, 3
je 0x10004dfc
mov cl, 3
call fcn.10005180
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001dd16
mov esp, ebp
pop ebp
ret
movss xmm5, dword [0x1004a3a8]
movss xmm6, dword [ebp - 0xc]
movss xmm1, dword [0x1004a3ac]
addss xmm5, xmm6
addss xmm1, dword [ebp - 8]
comiss xmm0, xmm5
jbe 0x10004e68
addss xmm7, xmm5
subss xmm7, dword [ebp - 0x18]
comiss xmm7, xmm0
jbe 0x10004e68
movd xmm5, eax
cvtdq2ps xmm5, xmm5
comiss xmm5, xmm1
jbe 0x10004e68
addss xmm1, dword [0x1004ad0c]
subss xmm1, dword [0x1004ad08]
comiss xmm1, xmm5
jbe 0x10004e68
cmp cl, 4
je 0x10004e68
mov cl, 4
call fcn.10005180
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001dd16
mov esp, ebp
pop ebp
ret
movss xmm5, dword [0x1004a324]
movss xmm1, dword [0x1004a328]
addss xmm5, xmm6
movss xmm7, dword [ebp - 8]
addss xmm1, xmm7
comiss xmm0, xmm5
jbe 0x10004ed5
addss xmm2, xmm5
xorps xmm5, xmm5
subss xmm2, xmm5
comiss xmm2, xmm0
jbe 0x10004ed8
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm1
jbe 0x10004ed8
addss xmm1, dword [0x1004ad14]
subss xmm1, dword [0x1004ad10]
comiss xmm1, xmm2
jbe 0x10004ed8
cmp cl, 5
je 0x10004ed8
mov cl, 5
call fcn.10005180
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001dd16
mov esp, ebp
pop ebp
ret
xorps xmm5, xmm5
movss xmm2, dword [0x10052ec4]
movss xmm1, dword [0x10052ec8]
addss xmm2, xmm6
addss xmm1, xmm7
comiss xmm0, xmm2
jbe 0x10005164
addss xmm2, dword [0x1004acdc]
subss xmm2, xmm5
comiss xmm2, xmm0
jbe 0x10005164
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10005164
movss xmm7, dword [0x1004ace8]
addss xmm1, xmm7
subss xmm1, dword [0x1004ace0]
comiss xmm1, xmm0
jbe 0x10005164
mov byte [0x1004fb50], 2
jmp 0x10004f55
cmp dl, 2
jne 0x10005164
movss xmm3, dword [0x1004ace4]
movd xmm5, dword [0x1004fb14]
movd xmm1, dword [0x100514e0]
movss xmm2, dword [0x1004a354]
movd xmm6, dword [0x1004fb2c]
movss xmm0, dword [0x1004a358]
cvtdq2ps xmm5, xmm5
cvtdq2ps xmm1, xmm1
addss xmm2, xmm5
cvtdq2ps xmm6, xmm6
comiss xmm1, xmm2
addss xmm0, xmm6
jbe 0x10004fdb
addss xmm2, xmm3
subss xmm2, xmm4
comiss xmm2, xmm1
jbe 0x10004fdb
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm0
jbe 0x10004fdb
addss xmm0, dword [0x1004ad20]
subss xmm0, dword [0x1004ad18]
comiss xmm0, xmm2
jbe 0x10004fdb
cmp cl, 6
je 0x10004fdb
mov cl, 6
call fcn.10005180
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001dd16
mov esp, ebp
pop ebp
ret
movss xmm2, dword [0x1004a414]
movss xmm0, dword [0x1004a418]
addss xmm2, xmm5
addss xmm0, xmm6
comiss xmm1, xmm2
jbe 0x10005040
addss xmm2, xmm3
subss xmm2, xmm4
comiss xmm2, xmm1
jbe 0x10005040
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm0
jbe 0x10005040
addss xmm0, dword [0x1004ad2c]
subss xmm0, dword [0x1004ad24]
comiss xmm0, xmm2
jbe 0x10005040
cmp cl, 7
je 0x10005040
mov cl, 7
call fcn.10005180
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001dd16
mov esp, ebp
pop ebp
ret
movss xmm2, dword [0x1004a330]
movss xmm0, dword [0x1004a334]
addss xmm2, xmm5
addss xmm0, xmm6
comiss xmm1, xmm2
jbe 0x100050a5
addss xmm2, xmm3
subss xmm2, xmm4
comiss xmm2, xmm1
jbe 0x100050a5
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm0
jbe 0x100050a5
addss xmm0, dword [0x1004ad34]
subss xmm0, dword [0x1004ad30]
comiss xmm0, xmm2
jbe 0x100050a5
cmp cl, 8
je 0x100050a5
mov cl, 8
call fcn.10005180
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001dd16
mov esp, ebp
pop ebp
ret
movss xmm2, dword [0x1004a360]
movss xmm0, dword [0x1004a364]
addss xmm2, xmm5
addss xmm0, xmm6
comiss xmm1, xmm2
jbe 0x10005112
addss xmm2, dword [0x1004acec]
subss xmm2, dword [0x1004acd8]
comiss xmm2, xmm1
jbe 0x10005112
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm0
jbe 0x10005112
addss xmm0, dword [0x1004ad28]
subss xmm0, dword [0x1004ad1c]
comiss xmm0, xmm2
jbe 0x10005112
cmp cl, 9
je 0x10005112
mov cl, 9
call fcn.10005180
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001dd16
mov esp, ebp
pop ebp
ret
movss xmm2, dword [0x10052edc]
movss xmm0, dword [0x10052ee0]
addss xmm2, xmm5
addss xmm0, xmm6
comiss xmm1, xmm2
jbe 0x10005164
addss xmm2, dword [0x1004acdc]
subss xmm2, xmm4
comiss xmm2, xmm1
jbe 0x10005164
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x10005164
addss xmm0, xmm7
subss xmm0, dword [0x1004ace0]
comiss xmm0, xmm1
jbe 0x10005164
mov byte [0x1004fb50], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001dd16
mov esp, ebp
pop ebp
ret