Function at 0x43af80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x46c040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x493db8]
mov dword [ebp - 0x34], esi
push edi
test esi, esi
je 0x43afa5
mov ebx, dword [esi + 0x6c]
jmp 0x43afa7
xor ebx, ebx
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x30], xmm0
push dword [ebx]
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 - 0x18]
cvtdq2ps xmm0, xmm0
push eax
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [ebp - 0x18]
mov ecx, edi
sub ecx, dword [ebx + 0x10]
mov esi, dword [ebp - 0x14]
mov edx, esi
sbb edx, dword [ebx + 0x14]
call fcn.00449670
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 8], xmm0
call fcn.00449670
movss xmm1, dword [ebp - 8]
cvtsd2ss xmm0, xmm0
mov eax, dword [ebp - 0x34]
divss xmm1, xmm0
movss dword [eax + 0x18], xmm1
mov dword [ebx + 0x10], edi
mov edi, dword [0x493db8]
mov dword [ebx + 0x14], esi
test edi, edi
je 0x43b043
mov esi, dword [edi + 0x6c]
jmp 0x43b045
xor esi, esi
mov eax, dword [esi]
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [ebp - 8]
cmp eax, ecx
jne 0x43b156
cmp byte [edi + 0x8f], 0
je 0x43b0a2
cvttss2si eax, dword [edi + 0xd50]
mov dword [ebp - 0xc], eax
cvttss2si eax, dword [edi + 0xd54]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x43b095
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [edi + 0x8f], 0
jne 0x43b156
cmp byte [esi + 8], 0
jne 0x43b156
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x43b156
lea eax, [ebp - 0x20]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x43b156
mov esi, dword [0x493db8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x3c], xmm0
add esi, 0x3798
movd xmm0, dword [ebp - 0x20]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x4c], 1
mov ecx, dword [esi]
mov edi, dword [esi + 4]
mov dword [ebp - 0x48], 1
movss dword [ebp - 0x44], xmm0
movd xmm0, dword [ebp - 0x1c]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x40], xmm0
cmp ecx, edi
jne 0x43b139
inc ecx
test edi, edi
je 0x43b127
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x43b12c
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0042a880
mov eax, dword [esi]
movups xmm0, xmmword [ebp - 0x4c]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 8]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 0x3c]
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [esi]
mov eax, dword [0x493db8]
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
cmp byte [eax + 0x2ec0], 0
je 0x43b1a4
push 0xa0
call edi
shr eax, 0xf
test al, 1
jne 0x43b1a4
mov esi, dword [0x493db8]
xorps xmm3, xmm3
push 0
push 0x210
lea ecx, [esi + 8]
call fcn.004174f0
mov dword [esi + 0x334], 0x210
mov dword [esi + 0x8f4], 0xa0
mov eax, dword [0x493db8]
cmp byte [eax + 0x2f00], 0
je 0x43b1ec
push 0xa1
call edi
shr eax, 0xf
test al, 1
jne 0x43b1ec
mov esi, dword [0x493db8]
xorps xmm3, xmm3
push 0
push 0x214
lea ecx, [esi + 8]
call fcn.004174f0
mov dword [esi + 0x338], 0x214
mov dword [esi + 0x904], 0xa1
mov eax, dword [0x493db8]
cmp byte [eax + 0x2ee0], 0
je 0x43b231
push 0x5b
call edi
shr eax, 0xf
test al, 1
jne 0x43b231
mov esi, dword [0x493db8]
xorps xmm3, xmm3
push 0
push 0x212
lea ecx, [esi + 8]
call fcn.004174f0
mov dword [esi + 0x220], 0x212
mov dword [esi + 0x8fc], 0x5b
mov eax, dword [0x493db8]
cmp byte [eax + 0x2f20], 0
je 0x43b276
push 0x5c
call edi
shr eax, 0xf
test al, 1
jne 0x43b276
mov esi, dword [0x493db8]
xorps xmm3, xmm3
push 0
push 0x216
lea ecx, [esi + 8]
call fcn.004174f0
mov dword [esi + 0x224], 0x216
mov dword [esi + 0x90c], 0x5c
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0x58], 0
je 0x43b284
or eax, 0xffffffff
jmp 0x43b28f
mov eax, dword [0x493db8]
mov eax, dword [eax + 0x4154]
cmp dword [ebx + 0x20], eax
je 0x43b29c
mov dword [ebx + 0x20], eax
call fcn.0043a890
call fcn.0043a9c0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00448493
mov esp, ebp
pop ebp
ret