Function at 0x431ae0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x45f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x45f4d8]
push esi
push edi
test ebx, ebx
je 0x431b05
mov esi, dword [ebx + 0x80]
jmp 0x431b07
xor esi, esi
lea eax, [ebp - 0x30]
mov dword [ebp - 8], esi
xorps xmm0, xmm0
add ebx, 8
push eax
movups xmmword [ebp - 0x30], xmm0
push dword [esi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
movd xmm1, eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [ebp - 0x20]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebx + 8], xmm1
movss dword [ebx + 0xc], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [ebp - 0x20]
mov ecx, edi
sub ecx, dword [esi + 0x10]
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0x1c]
mov edx, esi
sbb edx, dword [eax + 0x14]
call fcn.00454ce0
mov eax, dword [ebp - 8]
movss dword [ebp - 0x10], xmm0
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x18]
call fcn.00454ce0
movss xmm1, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
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 + 0x78]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [esi]
cmp eax, ecx
jne 0x431c27
cmp byte [ebx + 0x87], 0
je 0x431bec
cvttss2si eax, dword [ebx + 0xac]
mov dword [ebp - 0x14], eax
cvttss2si eax, dword [ebx + 0xb0]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x431be3
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [ebx + 0x87], 0
jne 0x431c27
cmp dword [esi + 8], 0
jne 0x431c27
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x431c27
lea eax, [ebp - 0xc]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x431c27
movd xmm2, dword [ebp - 8]
mov ecx, ebx
movd xmm1, dword [ebp - 0xc]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.004021e0
mov eax, dword [0x45f4d8]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
cmp byte [eax + 0x21d8], 0
je 0x431c80
cmp byte [eax + 0x419c], 0
jne 0x431c80
push 0xa0
call esi
shr eax, 0xf
test al, 1
jne 0x431c80
cmp byte [ebx + 0x2b41], 0
je 0x431c6c
push 0
push 0x210
xorps xmm3, xmm3
mov ecx, ebx
call fcn.00401fb0
mov dword [ebx + 0x2dd4], 0x210
mov dword [ebx + 0x3394], 0xa0
mov eax, dword [0x45f4d8]
cmp byte [eax + 0x2218], 0
je 0x431cd3
cmp byte [eax + 0x41cc], 0
jne 0x431cd3
push 0xa1
call esi
shr eax, 0xf
test al, 1
jne 0x431cd3
cmp byte [ebx + 0x2b41], 0
je 0x431cbf
push 0
push 0x214
xorps xmm3, xmm3
mov ecx, ebx
call fcn.00401fb0
mov dword [ebx + 0x2dd8], 0x214
mov dword [ebx + 0x33a4], 0xa1
mov eax, dword [0x45f4d8]
cmp byte [eax + 0x21f8], 0
je 0x431d23
cmp byte [eax + 0x41b4], 0
jne 0x431d23
push 0x5b
call esi
shr eax, 0xf
test al, 1
jne 0x431d23
cmp byte [ebx + 0x2b41], 0
je 0x431d0f
push 0
push 0x212
xorps xmm3, xmm3
mov ecx, ebx
call fcn.00401fb0
mov dword [ebx + 0x2cc0], 0x212
mov dword [ebx + 0x339c], 0x5b
mov eax, dword [0x45f4d8]
cmp byte [eax + 0x2238], 0
je 0x431d73
cmp byte [eax + 0x41e4], 0
jne 0x431d73
push 0x5c
call esi
shr eax, 0xf
test al, 1
jne 0x431d73
cmp byte [ebx + 0x2b41], 0
je 0x431d5f
push 0
push 0x216
xorps xmm3, xmm3
mov ecx, ebx
call fcn.00401fb0
mov dword [ebx + 0x2cc4], 0x216
mov dword [ebx + 0x33ac], 0x5c
cmp byte [ebx + 0x43], 0
je 0x431d7e
or edx, 0xffffffff
jmp 0x431d89
mov eax, dword [0x45f4d8]
mov edx, dword [eax + 0x4ecc]
cmp dword [edi + 0x20], edx
je 0x431d98
mov ecx, ebx
mov dword [edi + 0x20], edx
call fcn.00431360
mov ecx, ebx
call fcn.00431480
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00453924
mov esp, ebp
pop ebp
ret