Function at 0x4823a0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
call dword [sym.imp.user32.dll_ReleaseCapture]
mov eax, dword [esi + 0x1cc]
test eax, eax
je 0x482616
mov eax, dword [esi + 0x1a0]
sub eax, dword [esi + 0x198]
cmp eax, 0x14
jle 0x4823d6
mov ecx, 0x14
mov dword [esp + 4], ecx
jmp 0x4823ea
mov ecx, dword [esi + 0x198]
mov eax, dword [esi + 0x1a0]
sub eax, ecx
mov dword [esp + 4], eax
mov ecx, eax
mov edx, dword [esi + 0x1a4]
push edi
sub edx, dword [esi + 0x19c]
cmp edx, 0xf
jle 0x482407
mov eax, 0xf
mov dword [esp + 0xc], eax
jmp 0x482417
mov eax, dword [esi + 0x1a4]
sub eax, dword [esi + 0x19c]
mov dword [esp + 0xc], eax
test eax, eax
mov edx, dword [esi + 0x88]
mov dword [edx + 0x2dc], ecx
mov edx, dword [esi + 0x88]
mov dword [edx + 0x2e0], eax
mov dword [esp + 0x10], 0
jle 0x482547
push ebx
mov dword [esp + 0x18], 0x84
push ebp
lea esp, [esp]
xor ebp, ebp
test ecx, ecx
jle 0x482529
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
jmp 0x482470
mov ecx, dword [esi + 0x198]
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x19c]
mov edi, dword [esi + 0x164]
mov ebx, dword [esi + 0x16c]
add ecx, ebp
add edx, eax
test ecx, ecx
mov eax, dword [esi + 0x170]
jl 0x4824c8
cmp ecx, ebx
jge 0x4824c8
test edx, edx
jl 0x4824c8
cmp edx, eax
jge 0x4824c8
test edi, edi
jl 0x4824c8
cmp edi, dword [esi + 0x174]
jge 0x4824c8
imul eax, edi
add eax, edx
imul eax, ebx
add eax, ecx
mov ecx, dword [esi + 0x178]
movsx edi, word [ecx + eax*2]
jmp 0x4824cb
or edi, 0xffffffff
cmp edi, 0x180
mov edx, dword [esi + 0x88]
mov ebx, dword [esp + 0x20]
mov word [ebx + edx], di
jge 0x48250f
push 0x10
call dword [sym.imp.user32.dll_GetKeyState]
test ax, ax
jl 0x48250f
mov ecx, dword [esi + 0x88]
mov eax, 0x2aaaaaab
imul edi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
shl eax, 4
mov word [ebx + ecx], ax
mov eax, dword [esp + 0x10]
inc ebp
add ebx, 2
cmp ebp, eax
mov dword [esp + 0x20], ebx
jl 0x482470
mov ecx, eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
inc edx
add ebx, 0x28
cmp edx, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
jl 0x482450
pop ebp
pop ebx
cmp ecx, 1
pop edi
jne 0x4825e5
cmp eax, ecx
jne 0x4825e5
mov edx, dword [esi + 0x164]
mov eax, dword [esi + 0x19c]
mov ecx, dword [esi + 0x198]
push edx
push eax
push ecx
mov ecx, esi
call fcn.004819b0
mov ecx, dword [esi + 0x88]
mov edx, eax
add ecx, 0x2e4
cmp edx, 0x180
jge 0x4825b2
mov eax, 0x2aaaaaab
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ecx + 4], 0
mov edx, dword [ecx + 4]
mov dword [ecx], eax
inc eax
inc edx
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
jmp 0x4825f8
lea eax, [edx - 0x180]
mov edx, eax
and edx, 0x80000007
jns 0x4825c7
dec edx
or edx, 0xfffffff8
inc edx
mov dword [ecx], edx
cdq
and edx, 7
add eax, edx
sar eax, 3
inc eax
mov dword [ecx + 4], eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
inc eax
inc edx
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
jmp 0x4825f8
mov edx, dword [esi + 0x88]
add edx, 0x2e4
push edx
call dword [sym.imp.user32.dll_SetRectEmpty]
mov eax, dword [esi + 0x88]
mov ecx, dword [eax + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.user32.dll_InvalidateRect]
mov dword [esi + 0x1cc], 0
pop esi
add esp, 0x14
ret