Function at 0x4881f4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0xc], ebx
mov eax, dword [ebx]
call dword [eax + 0x184]
mov edx, dword [ebp + 8]
test al, al
jne 0x488239
mov eax, dword [edx]
sub eax, 9
cmp eax, 0xc
ja 0x488239
mov ecx, dword [ebx + 0xa0]
push edx
test ecx, ecx
je 0x4883d6
mov eax, dword [ecx]
call dword [eax + 0x1c4]
jmp 0x4884ef
cmp dword [edx], 0x18
jne 0x48824a
mov byte [ebx + 0x1fe], 1
jmp 0x4884ef
cmp dword [edx], 0x17
jne 0x48825b
mov byte [ebx + 0x1fe], 0
jmp 0x4884ef
cmp dword [edx], 3
je 0x488300
cmp dword [edx], 0x15
jne 0x4883d5
movzx eax, word [edx + 0x18]
sub eax, 0
je 0x4882ca
sub eax, 1
jne 0x4883d5
cmp byte [ebx + 0x835], al
je 0x4882bb
lea edi, [ebx + 0x830]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
test al, al
jne 0x4882bb
mov eax, dword [ebx + 0x838]
push 1
push 1
inc eax
mov edx, dword [ebx]
mov ecx, ebx
mov esi, dword [edi]
push eax
call dword [edx + 0x250]
push eax
mov ecx, edi
call dword [esi + 0xc]
jmp 0x4884ef
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x26c]
jmp 0x4884ef
cmp byte [ebx + 0x835], 0
je 0x4882f1
lea edi, [ebx + 0x830]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
test al, al
jne 0x4882f1
mov eax, dword [ebx + 0x838]
push 1
push 0
dec eax
jmp 0x4882a3
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x268]
jmp 0x4884ef
movzx eax, word [edx + 0x14]
cmp eax, 0x24
ja 0x4883c1
je 0x4883a3
sub eax, 0xd
je 0x48837d
sub eax, 0x14
je 0x48836e
sub eax, 1
je 0x48835f
sub eax, 1
jne 0x4883d5
mov eax, dword [esp + 0xc]
lea edi, [ebx + 0x830]
mov ebx, dword [edi]
push 1
push 1
mov esi, dword [eax]
lea ecx, [eax + 0x6b8]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [esp + 0x14]
dec eax
push eax
call dword [esi + 0x250]
push eax
mov ecx, edi
call dword [ebx + 0xc]
jmp 0x4884ef
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x274]
jmp 0x4884ef
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x270]
jmp 0x4884ef
mov edx, dword [ebx + 0x838]
cmp edx, 0xffffffff
je 0x4884ef
lea ecx, [ebx + 0x6b8]
mov eax, dword [ecx]
push edx
call dword [eax]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x3c]
jmp 0x4884ef
mov eax, dword [ebx]
lea esi, [ebx + 0x830]
mov edi, dword [esi]
mov ecx, ebx
push 1
push 0
push 0
call dword [eax + 0x250]
push eax
jmp 0x48849a
sub eax, 0x26
je 0x4884a1
dec eax
sub eax, 1
je 0x488420
sub eax, 0x19
je 0x4883e2
push edx
mov ecx, ebx
call fcn.00478bc4
jmp 0x4884ef
mov eax, dword [ebx + 0x830]
lea ecx, [ebx + 0x830]
call dword [eax + 0x38]
test al, al
je 0x4884ef
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x4884ef
mov eax, dword [ebx + 0x830]
lea ecx, [ebx + 0x830]
call dword [eax + 0x3c]
jmp 0x4884ef
lea ecx, [ebx + 0x840]
test ecx, ecx
je 0x4884ef
cmp dword [ecx + 4], 0
jle 0x4884ef
mov eax, dword [ecx]
xor edi, edi
mov esi, dword [eax]
cmp edi, dword [ebx + 0x844]
jge 0x488454
push edi
call fcn.0047cde6
cmp esi, eax
cmovl esi, eax
inc edi
jmp 0x48843e
lea eax, [esi + 1]
lea esi, [ebx + 0x830]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov ecx, dword [ebx + 0x864]
add ecx, 0x6b8
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edx, dword [esp + 0xc]
mov edi, dword [esi]
push 1
lea ecx, [edx + 1]
cmp ecx, eax
jle 0x488499
lea ecx, [ebx + 0x6b8]
mov eax, dword [ecx]
call dword [eax + 0xc]
dec eax
jmp 0x4883bb
push edx
mov ecx, esi
call dword [edi + 0xc]
jmp 0x4884ef
lea ecx, [ebx + 0x840]
test ecx, ecx
je 0x4884ef
cmp dword [ecx + 4], 0
jle 0x4884ef
mov eax, dword [ecx]
xor edi, edi
mov esi, dword [eax]
cmp edi, dword [ebx + 0x844]
jge 0x4884cd
push edi
call fcn.0047cde6
cmp esi, eax
cmovg esi, eax
inc edi
jmp 0x4884b7
add ebx, 0x830
dec esi
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x40]
mov eax, dword [ebx]
mov ecx, ebx
push 1
mov eax, dword [eax + 0xc]
test esi, esi
jle 0x4884eb
push esi
jmp 0x4884ed
push 0
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4