Function at 0x454970
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4fdb40]
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.004b0566
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 0x454a32
mov eax, dword [ebp - 0x108]
test bl, 0x40
jne 0x4549e6
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 0x454a6e
or byte [eax + esi + 0x82a], 1
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetCapture]
mov byte [esi + 0x829], 1
jmp 0x454acb
cmp eax, 2
jne 0x454a47
mov eax, dword [ebp - 0x108]
or byte [eax + esi + 0x82a], 2
jmp 0x4549e6
cmp eax, 6
jne 0x4549fd
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 0x454acb
cmp ecx, 4
jne 0x454acb
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 0x454ad7
or ebx, 1
test byte [ebp - 0xf3], 0x80
je 0x454ae3
or ebx, 2
test byte [ebp - 0xf2], 0x80
je 0x454aef
or ebx, 4
test byte [ebp - 0xf0], 1
je 0x454afb
or ebx, 8
test byte [ebp - 0x73], 1
je 0x454b04
or ebx, 0x10
test byte [ebp - 0x74], 1
je 0x454b0d
or ebx, 0x20
mov dword [edi + 8], ebx
mov ecx, dword [ebp - 0x110]
cmp ecx, 0xffffffff
jne 0x454b32
mov eax, dword [esi + 0x820]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x824]
mov dword [edi + 0x18], eax
jmp 0x454bbc
mov al, byte [esi + 0x688]
test al, al
je 0x454b44
mov ebx, dword [esi + 0x6a0]
jmp 0x454b4a
mov ebx, dword [esi + 0x448]
test al, al
je 0x454b56
mov eax, dword [esi + 0x6a4]
jmp 0x454b5c
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 0x454b95
lea ecx, [ebx - 1]
mov dword [ebp - 0x110], ecx
cmp edx, eax
jl 0x454ba0
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 0x454bd5
mov dword [esi + 0x92c], edi
jmp 0x454bee
cmp dword [ecx + 0x1c], 0
lea eax, [ecx + 0x1c]
je 0x454beb
mov edi, edi
mov ecx, dword [eax]
cmp dword [ecx + 0x1c], 0
lea eax, [ecx + 0x1c]
jne 0x454be0
mov dword [ecx + 0x1c], edi
mov eax, dword [edi]
cmp eax, 1
je 0x454c45
cmp eax, 3
je 0x454c45
cmp eax, 5
jne 0x454c24
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.004b0e84
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 6
jne 0x454c57
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.004b0e84
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.004b0e84
mov esp, ebp
pop ebp
ret 0x18