Function at 0x455130
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4faa80]
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.004ade16
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 0x4551f2
mov eax, dword [ebp - 0x108]
test bl, 0x40
jne 0x4551a6
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 0x45522e
or byte [eax + esi + 0x82a], 1
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetCapture]
mov byte [esi + 0x829], 1
jmp 0x45528b
cmp eax, 2
jne 0x455207
mov eax, dword [ebp - 0x108]
or byte [eax + esi + 0x82a], 2
jmp 0x4551a6
cmp eax, 6
jne 0x4551bd
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 0x45528b
cmp ecx, 4
jne 0x45528b
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 + 0x128]
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 0x455297
or ebx, 1
test byte [ebp - 0xf3], 0x80
je 0x4552a3
or ebx, 2
test byte [ebp - 0xf2], 0x80
je 0x4552af
or ebx, 4
test byte [ebp - 0xf0], 1
je 0x4552bb
or ebx, 8
test byte [ebp - 0x73], 1
je 0x4552c4
or ebx, 0x10
test byte [ebp - 0x74], 1
je 0x4552cd
or ebx, 0x20
mov dword [edi + 8], ebx
mov ecx, dword [ebp - 0x110]
cmp ecx, 0xffffffff
jne 0x4552f2
mov eax, dword [esi + 0x820]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x824]
mov dword [edi + 0x18], eax
jmp 0x45537c
mov al, byte [esi + 0x688]
test al, al
je 0x455304
mov ebx, dword [esi + 0x6a0]
jmp 0x45530a
mov ebx, dword [esi + 0x448]
test al, al
je 0x455316
mov eax, dword [esi + 0x6a4]
jmp 0x45531c
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 0x455355
lea ecx, [ebx - 1]
mov dword [ebp - 0x110], ecx
cmp edx, eax
jl 0x455360
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 0x455395
mov dword [esi + 0x92c], edi
jmp 0x4553ae
cmp dword [ecx + 0x1c], 0
lea eax, [ecx + 0x1c]
je 0x4553ab
mov edi, edi
mov ecx, dword [eax]
cmp dword [ecx + 0x1c], 0
lea eax, [ecx + 0x1c]
jne 0x4553a0
mov dword [ecx + 0x1c], edi
mov eax, dword [edi]
cmp eax, 1
je 0x455405
cmp eax, 3
je 0x455405
cmp eax, 5
jne 0x4553e4
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.004ae734
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 6
jne 0x455417
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.004ae734
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.004ae734
mov esp, ebp
pop ebp
ret 0x18