Function at 0x455bd0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x511d60]
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.004c0d0a
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 0x455c92
mov eax, dword [ebp - 0x108]
test bl, 0x40
jne 0x455c46
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 0x455cce
or byte [eax + esi + 0x82a], 1
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetCapture]
mov byte [esi + 0x829], 1
jmp 0x455d2b
cmp eax, 2
jne 0x455ca7
mov eax, dword [ebp - 0x108]
or byte [eax + esi + 0x82a], 2
jmp 0x455c46
cmp eax, 6
jne 0x455c5d
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 0x455d2b
cmp ecx, 4
jne 0x455d2b
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 + 0x130]
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 0x455d37
or ebx, 1
test byte [ebp - 0xf3], 0x80
je 0x455d43
or ebx, 2
test byte [ebp - 0xf2], 0x80
je 0x455d4f
or ebx, 4
test byte [ebp - 0xf0], 1
je 0x455d5b
or ebx, 8
test byte [ebp - 0x73], 1
je 0x455d64
or ebx, 0x10
test byte [ebp - 0x74], 1
je 0x455d6d
or ebx, 0x20
mov dword [edi + 8], ebx
mov ecx, dword [ebp - 0x110]
cmp ecx, 0xffffffff
jne 0x455d92
mov eax, dword [esi + 0x820]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x824]
mov dword [edi + 0x18], eax
jmp 0x455e1c
mov al, byte [esi + 0x688]
test al, al
je 0x455da4
mov ebx, dword [esi + 0x6a0]
jmp 0x455daa
mov ebx, dword [esi + 0x448]
test al, al
je 0x455db6
mov eax, dword [esi + 0x6a4]
jmp 0x455dbc
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 0x455df5
lea ecx, [ebx - 1]
mov dword [ebp - 0x110], ecx
cmp edx, eax
jl 0x455e00
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 0x455e35
mov dword [esi + 0x92c], edi
jmp 0x455e4e
cmp dword [ecx + 0x1c], 0
lea eax, [ecx + 0x1c]
je 0x455e4b
mov edi, edi
mov ecx, dword [eax]
cmp dword [ecx + 0x1c], 0
lea eax, [ecx + 0x1c]
jne 0x455e40
mov dword [ecx + 0x1c], edi
mov eax, dword [edi]
cmp eax, 1
je 0x455ea5
cmp eax, 3
je 0x455ea5
cmp eax, 5
jne 0x455e84
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.004c1624
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 6
jne 0x455eb7
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.004c1624
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.004c1624
mov esp, ebp
pop ebp
ret 0x18