Function at 0x42dae0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x466040]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [0x466af0]
push esi
push edi
test ebx, ebx
je 0x42db09
mov esi, dword [ebx + 0x84]
jmp 0x42db0b
xor esi, esi
lea eax, [esp + 0x10]
mov dword [esp + 0x20], esi
xorps xmm0, xmm0
add ebx, 8
push eax
movups xmmword [esp + 0x14], xmm0
push dword [esi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
movd xmm1, eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [esp + 0x30]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebx + 8], xmm1
movss dword [ebx + 0xc], xmm0
xorps xmm0, xmm0
movlpd qword [esp + 0x34], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [esp + 0x30]
mov ecx, edi
sub ecx, dword [esi + 0x10]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x34]
mov edx, esi
sbb edx, dword [eax + 0x14]
call fcn.00456ac0
mov eax, dword [esp + 0x20]
cvtsd2ss xmm0, xmm0
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x18]
movss dword [esp + 0x28], xmm0
call fcn.00456ac0
movss xmm1, dword [esp + 0x28]
cvtsd2ss xmm0, xmm0
mov eax, dword [esp + 0x20]
divss xmm1, xmm0
movss dword [ebx + 0x10], xmm1
mov dword [eax + 0x10], edi
mov edi, eax
mov dword [edi + 0x14], esi
mov esi, dword [ebx + 0x7c]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [esi]
cmp eax, ecx
jne 0x42dc50
cmp byte [ebx + 0x8b], 0
je 0x42dc11
cvttss2si eax, dword [ebx + 0xb0]
mov dword [esp + 0x28], eax
cvttss2si eax, dword [ebx + 0xb4]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x42dc08
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [ebx + 0x8b], 0
jne 0x42dc50
cmp dword [esi + 8], 0
jne 0x42dc50
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x42dc50
lea eax, [esp + 0x20]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x42dc50
movd xmm2, dword [esp + 0x24]
mov ecx, ebx
movd xmm1, dword [esp + 0x20]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.00402040
mov eax, dword [0x466af0]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
cmp byte [eax + 0x1dc], 0
je 0x42dc95
cmp byte [eax + 0x1454], 0
jne 0x42dc95
push 0xa0
call esi
shr eax, 0xf
test al, 1
jne 0x42dc95
cmp byte [ebx + 0xb41], 0
je 0x42dc95
push 0
push 0x210
xorps xmm3, xmm3
mov ecx, ebx
call fcn.00401e90
mov eax, dword [0x466af0]
cmp byte [eax + 0x21c], 0
je 0x42dcd4
cmp byte [eax + 0x1484], 0
jne 0x42dcd4
push 0xa1
call esi
shr eax, 0xf
test al, 1
jne 0x42dcd4
cmp byte [ebx + 0xb41], 0
je 0x42dcd4
push 0
push 0x214
xorps xmm3, xmm3
mov ecx, ebx
call fcn.00401e90
mov eax, dword [0x466af0]
cmp byte [eax + 0x1fc], 0
je 0x42dd10
cmp byte [eax + 0x146c], 0
jne 0x42dd10
push 0x5b
call esi
shr eax, 0xf
test al, 1
jne 0x42dd10
cmp byte [ebx + 0xb41], 0
je 0x42dd10
push 0
push 0x212
xorps xmm3, xmm3
mov ecx, ebx
call fcn.00401e90
mov eax, dword [0x466af0]
cmp byte [eax + 0x23c], 0
je 0x42dd4c
cmp byte [eax + 0x149c], 0
jne 0x42dd4c
push 0x5c
call esi
shr eax, 0xf
test al, 1
jne 0x42dd4c
cmp byte [ebx + 0xb41], 0
je 0x42dd4c
push 0
push 0x216
xorps xmm3, xmm3
mov ecx, ebx
call fcn.00401e90
cmp byte [ebx + 0x43], 0
je 0x42dd57
or edx, 0xffffffff
jmp 0x42dd62
mov eax, dword [0x466af0]
mov edx, dword [eax + 0x2184]
cmp dword [edi + 0x20], edx
je 0x42dd71
mov ecx, ebx
mov dword [edi + 0x20], edx
call fcn.0042d360
mov ecx, ebx
call fcn.0042d480
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004550f4
mov esp, ebp
pop ebp
ret