Function at 0x421a50
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x24
mov eax, dword [0x4b6100]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
call fcn.0043e250
mov ebp, eax
call fcn.0043e020
test eax, eax
je 0x421a7a
call fcn.0043e250
mov ebx, dword [eax + 0x6c]
jmp 0x421a7c
xor ebx, ebx
push esi
push edi
lea eax, [esp + 0x20]
xorps xmm0, xmm0
push eax
movups xmmword [esp + 0x24], xmm0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
movd xmm1, eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [esp + 0x18]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebp + 8], xmm1
movss dword [ebp + 0xc], xmm0
xorps xmm0, xmm0
movlpd qword [esp + 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x18]
sub ecx, dword [ebx + 0x10]
mov edx, dword [esp + 0x1c]
sbb edx, dword [ebx + 0x14]
call fcn.00464930
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
call fcn.00464930
movss xmm1, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
movss dword [ebp + 0x10], xmm1
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], ecx
call fcn.0043e020
test eax, eax
je 0x421b2b
call fcn.0043e250
mov edi, dword [eax + 0x6c]
jmp 0x421b2d
xor edi, edi
call fcn.0043e250
mov esi, eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [edi]
cmp eax, ecx
jne 0x421bd9
cmp byte [esi + 0x8d], 0
je 0x421b8c
cvttss2si eax, dword [esi + 0xdf8]
mov dword [esp + 0x10], eax
cvttss2si eax, dword [esi + 0xdfc]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x421b83
push dword [esp + 0x14]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [esi + 0x8d], 0
jne 0x421bd9
cmp dword [edi + 8], 0
jne 0x421bd9
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x421bd9
lea eax, [esp + 0x10]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x421bd9
movd xmm0, dword [esp + 0x14]
sub esp, 8
cvtdq2ps xmm0, xmm0
mov ecx, esi
movss dword [esp + 4], xmm0
movd xmm0, dword [esp + 0x18]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.00437270
push 0x210
call fcn.004401e0
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
add esp, 4
test al, al
je 0x421c28
push 0xa0
call edi
shr eax, 0xf
test al, 1
jne 0x421c28
call fcn.0043e250
mov esi, eax
push 0
push 0x210
mov ecx, esi
call fcn.00437050
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xa0
push 0x210
mov ecx, esi
call fcn.00449f60
push 0x214
call fcn.004401e0
add esp, 4
test al, al
je 0x421c71
push 0xa1
call edi
shr eax, 0xf
test al, 1
jne 0x421c71
call fcn.0043e250
mov esi, eax
push 0
push 0x214
mov ecx, esi
call fcn.00437050
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xa1
push 0x214
mov ecx, esi
call fcn.00449f60
push 0x212
call fcn.004401e0
add esp, 4
test al, al
je 0x421cb4
push 0x5b
call edi
shr eax, 0xf
test al, 1
jne 0x421cb4
call fcn.0043e250
mov esi, eax
push 0
push 0x212
mov ecx, esi
call fcn.00437050
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x5b
push 0x212
mov ecx, esi
call fcn.00449f60
push 0x216
call fcn.004401e0
add esp, 4
test al, al
je 0x421cf7
push 0x5c
call edi
shr eax, 0xf
test al, 1
jne 0x421cf7
call fcn.0043e250
mov esi, eax
push 0
push 0x216
mov ecx, esi
call fcn.00437050
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x5c
push 0x216
mov ecx, esi
call fcn.00449f60
cmp byte [ebp + 0x3c], 0
pop edi
pop esi
je 0x421d04
or eax, 0xffffffff
jmp 0x421d09
call fcn.0043e600
cmp dword [ebx + 0x20], eax
je 0x421d16
mov dword [ebx + 0x20], eax
call fcn.004222d0
call fcn.00421d80
mov ecx, dword [esp + 0x28]
pop ebp
pop ebx
xor ecx, esp
call fcn.004640a7
add esp, 0x24
ret