Function at 0x458755
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov dword [ebp - 0x20], ecx
mov eax, dword [ebx + 4]
lea edi, [ebx + 0x18]
test dword [eax + 0x30], 0x200
lea eax, [ebp - 0x14]
push eax
push dword [ebx]
je 0x4587bc
mov eax, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [ebp - 0x18], eax
call eax
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0xc]
lea edi, [ebx + 0x18]
sub eax, dword [ebx + 0x14]
push eax
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 0x10]
push eax
mov eax, dword [sym.imp.USER32.dll_OffsetRect]
push edi
mov dword [ebp - 0x1c], eax
call eax
mov eax, dword [ebx + 4]
mov esi, dword [ebp - 0x18]
movzx eax, word [eax + 0x10]
jmp 0x458801
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [ebp - 0x18], esi
call esi
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x28]
add eax, dword [ebp - 0x10]
push eax
mov eax, dword [ecx + 0x24]
add eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 0x14]
push eax
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 0x10]
push eax
mov eax, dword [sym.imp.USER32.dll_OffsetRect]
push edi
mov dword [ebp - 0x1c], eax
call eax
push 4
pop eax
push 0x11
mov word [ebx + 0x28], ax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x458913
lea eax, [ebp - 0x14]
push eax
push dword [ebx]
call esi
push dword [ebx + 0xc]
lea eax, [ebp - 0x14]
push dword [ebx + 8]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x45885e
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0xc]
lea edi, [ebx + 0x18]
sub eax, dword [ebx + 0x14]
push eax
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 0x10]
push eax
push edi
call dword [ebp - 0x1c]
mov eax, dword [ebx + 4]
mov ax, word [eax + 0x10]
mov word [ebx + 0x28], ax
jmp 0x458913
mov esi, dword [ebp - 0x20]
xor edi, edi
add esi, 0xac
mov edx, dword [ebx + 4]
xor eax, eax
inc eax
mov ecx, edi
shl eax, cl
test dword [edx + 0x30], eax
jne 0x4588f3
cmp dword [esi - 8], 0
lea eax, [ebp - 0x14]
push eax
jne 0x4588d6
mov eax, dword [ebp - 0x20]
push dword [eax + 4]
call dword [ebp - 0x18]
movsx eax, word [esi]
sub eax, 0
je 0x4588c9
sub eax, 1
je 0x4588bc
sub eax, 1
je 0x4588af
sub eax, 1
jne 0x4588df
mov eax, dword [ebp - 8]
add eax, 0xffffff06
mov dword [ebp - 0x10], eax
jmp 0x4588df
mov eax, dword [ebp - 0xc]
add eax, 0xffffff06
mov dword [ebp - 0x14], eax
jmp 0x4588df
mov eax, dword [ebp - 0x10]
add eax, 0xfa
mov dword [ebp - 8], eax
jmp 0x4588df
mov eax, dword [ebp - 0x14]
add eax, 0xfa
mov dword [ebp - 0xc], eax
jmp 0x4588df
push dword [esi - 0x84]
call dword [ebp - 0x18]
push dword [ebx + 0xc]
lea eax, [ebp - 0x14]
push dword [ebx + 8]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x458905
inc edi
add esi, 0x9c
cmp edi, 4
jl 0x458869
jmp 0x458913
mov word [ebx + 0x28], di
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004efcea
mov esp, ebp
pop ebp
ret 0x10