Function at 0x456410
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x515de0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push 0x20
mov esi, ecx
mov dword [ebp - 0x108], eax
call fcn.004c3c3a
mov ecx, dword [ebp + 8]
mov edi, eax
add esp, 4
lea eax, [ebp - 0x104]
mov dword [edi], ecx
mov ecx, dword [ebp + 0x18]
mov dword [edi + 0xc], 0
mov dword [ebp - 0x110], ecx
mov ecx, dword [ebp + 0x1c]
push eax
mov dword [ebp - 0x10c], ecx
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
cmp eax, 1
jne 0x4564d2
mov eax, dword [ebp - 0x108]
test bl, 0x40
jne 0x456486
or byte [eax + esi + 0x82a], 1
push 0
lea ecx, [edi + 0xc]
push ecx
lea ecx, [ebp - 0x104]
push ecx
push dword [ebp + 0x10]
push eax
call dword [sym.imp.USER32.dll_ToAscii]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x108]
mov dword [edi + 4], eax
mov dword [edi + 0x10], 0
cmp ecx, 3
jne 0x45650e
or byte [eax + esi + 0x82a], 1
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetCapture]
mov byte [esi + 0x829], 1
jmp 0x45656b
cmp eax, 2
jne 0x4564e7
mov eax, dword [ebp - 0x108]
or byte [eax + esi + 0x82a], 2
jmp 0x456486
cmp eax, 6
jne 0x45649d
mov eax, dword [ebp - 0x108]
mov dword [edi + 0x10], eax
lea eax, [ebp - 0x110]
push eax
mov dword [edi + 4], 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ScreenToClient]
jmp 0x45656b
cmp ecx, 4
jne 0x45656b
or byte [eax + esi + 0x82a], 2
call dword [sym.imp.USER32.dll_ReleaseCapture]
movss xmm0, dword [esi + 0x824]
sub esp, 8
mov eax, dword [esi]
movss dword [esp + 4], xmm0
movss xmm0, dword [esi + 0x820]
movss dword [esp], xmm0
push esi
call dword [eax + pe_nt_image_headers32]
cvttss2si eax, dword [esi + 0x820]
mov byte [esi + 0x829], 0
mov dword [ebp - 0x110], eax
cvttss2si eax, dword [esi + 0x824]
mov dword [ebp - 0x10c], eax
test byte [ebp - 0xf4], 0x80
je 0x456577
or ebx, 1
test byte [ebp - 0xf3], 0x80
je 0x456583
or ebx, 2
test byte [ebp - 0xf2], 0x80
je 0x45658f
or ebx, 4
test byte [ebp - 0xf0], 1
je 0x45659b
or ebx, 8
test byte [ebp - 0x73], 1
je 0x4565a4
or ebx, 0x10
test byte [ebp - 0x74], 1
je 0x4565ad
or ebx, 0x20
mov dword [edi + 8], ebx
mov ecx, dword [ebp - 0x110]
cmp ecx, 0xffffffff
jne 0x4565d2
mov eax, dword [esi + 0x820]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x824]
mov dword [edi + 0x18], eax
jmp 0x45665c
mov al, byte [esi + 0x688]
test al, al
je 0x4565e4
mov ebx, dword [esi + 0x6a0]
jmp 0x4565ea
mov ebx, dword [esi + 0x448]
test al, al
je 0x4565f6
mov eax, dword [esi + 0x6a4]
jmp 0x4565fc
mov eax, dword [esi + 0x44c]
xor edx, edx
mov dword [ebp - 0x108], 0
test ecx, ecx
cmovs ecx, edx
mov edx, dword [ebp - 0x10c]
test edx, edx
mov dword [ebp - 0x110], ecx
cmovs edx, dword [ebp - 0x108]
mov dword [ebp - 0x10c], edx
cmp ecx, ebx
jl 0x456635
lea ecx, [ebx - 1]
mov dword [ebp - 0x110], ecx
cmp edx, eax
jl 0x456640
dec eax
mov dword [ebp - 0x10c], eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x14], xmm0
movd xmm0, dword [ebp - 0x10c]
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x18], xmm0
mov dword [edi + 0x1c], 0
mov ecx, dword [esi + 0x92c]
test ecx, ecx
jne 0x456675
mov dword [esi + 0x92c], edi
jmp 0x45668e
cmp dword [ecx + 0x1c], 0
lea eax, [ecx + 0x1c]
je 0x45668b
mov edi, edi
mov ecx, dword [eax]
cmp dword [ecx + 0x1c], 0
lea eax, [ecx + 0x1c]
jne 0x456680
mov dword [ecx + 0x1c], edi
mov eax, dword [edi]
cmp eax, 1
je 0x4566e5
cmp eax, 3
je 0x4566e5
cmp eax, 5
jne 0x4566c4
mov eax, dword [edi + 0x14]
mov dword [esi + 0x820], eax
mov eax, dword [edi + 0x18]
pop edi
mov dword [esi + 0x824], eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c4554
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 6
jne 0x4566f7
mov eax, dword [edi + 0x10]
add dword [esi + 0x81c], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c4554
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [edi + 4]
mov dword [esi + 0x814], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x818], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c4554
mov esp, ebp
pop ebp
ret 0x18