Function at 0x42d2a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x48e080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
call fcn.0041df30
mov esi, eax
mov dword [ebp - 0x28], esi
call fcn.0041dde0
test eax, eax
je 0x42d2cf
call fcn.0041df30
mov ebx, dword [eax + 0x64]
jmp 0x42d2d1
xor ebx, ebx
push edi
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x14], xmm0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
movd xmm1, eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [ebp - 0x24]
cvtdq2ps xmm0, xmm0
push eax
movss dword [esi + 8], xmm1
movss dword [esi + 0xc], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebx + 0x10]
mov edx, dword [ebp - 0x20]
sbb edx, dword [ebx + 0x14]
call fcn.00459190
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x18], xmm0
call fcn.00459190
movss xmm1, dword [ebp - 0x18]
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
movss dword [esi + 0x10], xmm1
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], ecx
call fcn.0041dde0
test eax, eax
je 0x42d371
call fcn.0041df30
mov edi, dword [eax + 0x64]
jmp 0x42d373
xor edi, edi
call fcn.0041df30
mov esi, eax
mov eax, dword [edi]
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jne 0x42d41c
cmp byte [esi + 0x87], 0
je 0x42d3d3
cvttss2si eax, dword [esi + 0xd48]
mov dword [ebp - 0x1c], eax
cvttss2si eax, dword [esi + 0xd4c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x42d3ca
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [esi + 0x87], 0
jne 0x42d41c
cmp byte [edi + 8], 0
jne 0x42d41c
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x42d41c
lea eax, [ebp - 0x1c]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x42d41c
movd xmm0, dword [ebp - 0x18]
sub esp, 8
cvtdq2ps xmm0, xmm0
mov ecx, esi
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp - 0x1c]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.00417eb0
push 0x210
call fcn.0041f4e0
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
add esp, 4
test al, al
je 0x42d46b
push 0xa0
call edi
shr eax, 0xf
test al, 1
jne 0x42d46b
call fcn.0041df30
mov esi, eax
push 0
push 0x210
mov ecx, esi
call fcn.00417cb0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xa0
push 0x210
mov ecx, esi
call fcn.004283a0
push 0x214
call fcn.0041f4e0
add esp, 4
test al, al
je 0x42d4b4
push 0xa1
call edi
shr eax, 0xf
test al, 1
jne 0x42d4b4
call fcn.0041df30
mov esi, eax
push 0
push 0x214
mov ecx, esi
call fcn.00417cb0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xa1
push 0x214
mov ecx, esi
call fcn.004283a0
push 0x212
call fcn.0041f4e0
add esp, 4
test al, al
je 0x42d4f7
push 0x5b
call edi
shr eax, 0xf
test al, 1
jne 0x42d4f7
call fcn.0041df30
mov esi, eax
push 0
push 0x212
mov ecx, esi
call fcn.00417cb0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x5b
push 0x212
mov ecx, esi
call fcn.004283a0
push 0x216
call fcn.0041f4e0
add esp, 4
test al, al
je 0x42d53a
push 0x5c
call edi
shr eax, 0xf
test al, 1
jne 0x42d53a
call fcn.0041df30
mov esi, eax
push 0
push 0x216
mov ecx, esi
call fcn.00417cb0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x5c
push 0x216
mov ecx, esi
call fcn.004283a0
mov eax, dword [ebp - 0x28]
pop edi
cmp byte [eax + 0x50], 0
je 0x42d549
or eax, 0xffffffff
jmp 0x42d54e
call fcn.0041df50
cmp dword [ebx + 0x20], eax
je 0x42d55b
mov dword [ebx + 0x20], eax
call fcn.0042dac0
call fcn.0042d5c0
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00458f01
mov esp, ebp
pop ebp
ret