Function at 0x4a4a61
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
mov dword [ebp - 4], ebx
mov eax, dword [ebx]
call dword [eax + 0x114]
mov edx, dword [ebp + 8]
test al, al
jne 0x4a4aa5
cmp dword [edx], 8
jle 0x4a4aa5
cmp dword [edx], 0x16
jge 0x4a4aa5
mov ecx, dword [ebx + 0x48]
push edx
test ecx, ecx
je 0x4a4a99
mov eax, dword [ecx]
call dword [eax + 0x144]
jmp 0x4a4d21
mov ecx, ebx
call fcn.004d20a0
jmp 0x4a4d21
cmp dword [edx], 0x18
jne 0x4a4ab6
mov byte [ebx + 0x19d], 1
jmp 0x4a4d21
cmp dword [edx], 0x17
jne 0x4a4ac7
mov byte [ebx + 0x19d], 0
jmp 0x4a4d21
cmp dword [edx], 3
push esi
push edi
je 0x4a4b66
cmp dword [edx], 0x15
jne 0x4a4c38
movzx eax, word [edx + 0x18]
sub eax, 0
je 0x4a4b20
dec eax
jne 0x4a4c38
cmp byte [ebx + 0x6c5], al
je 0x4a4b11
lea edi, [ebx + 0x6c0]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
test al, al
jne 0x4a4b11
mov eax, dword [ebx + 0x6c8]
push 1
push 1
inc eax
jmp 0x4a4b45
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1cc]
jmp 0x4a4d1f
cmp byte [ebx + 0x6c5], 0
je 0x4a4b57
lea edi, [ebx + 0x6c0]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
test al, al
jne 0x4a4b57
mov eax, dword [ebx + 0x6c8]
push 1
push 0
dec eax
mov edx, dword [ebx]
mov ecx, ebx
mov esi, dword [edi]
push eax
call dword [edx + 0x1b0]
jmp 0x4a4cd8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c8]
jmp 0x4a4d1f
movzx eax, word [edx + 0x14]
cmp eax, 0x24
jg 0x4a4c26
je 0x4a4c03
sub eax, 0xd
je 0x4a4bdd
sub eax, 0x14
je 0x4a4bce
dec eax
je 0x4a4bbf
dec eax
jne 0x4a4c38
mov eax, dword [ebp - 4]
lea edi, [ebx + 0x6c0]
mov ebx, dword [edi]
push 1
push 1
mov esi, dword [eax]
lea ecx, [eax + 0x550]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 4]
dec eax
push eax
call dword [esi + 0x1b0]
push eax
mov ecx, edi
call dword [ebx + 0xc]
jmp 0x4a4d1f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1d4]
jmp 0x4a4d1f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1d0]
jmp 0x4a4d1f
mov edx, dword [ebx + 0x6c8]
cmp edx, 0xffffffff
je 0x4a4d1f
lea ecx, [ebx + 0x550]
mov eax, dword [ecx]
push edx
call dword [eax]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x18]
jmp 0x4a4d1f
mov eax, dword [ebx]
lea esi, [ebx + 0x6c0]
mov edi, dword [esi]
mov ecx, ebx
push 1
push 0
push 0
call dword [eax + 0x1b0]
push eax
mov ecx, esi
call dword [edi + 0xc]
jmp 0x4a4d1f
sub eax, 0x26
je 0x4a4ce7
dec eax
dec eax
je 0x4a4c86
sub eax, 0x19
je 0x4a4c45
push edx
mov ecx, ebx
call fcn.004d20a0
jmp 0x4a4d1f
mov eax, dword [ebx + 0x6c0]
lea ecx, [ebx + 0x6c0]
call dword [eax + 0x38]
test al, al
je 0x4a4d1f
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4a4d1f
mov eax, dword [ebx + 0x6c0]
lea ecx, [ebx + 0x6c0]
call dword [eax + 0x3c]
jmp 0x4a4d1f
lea ecx, [ebx + 0x6d0]
call fcn.00494fae
test eax, eax
jle 0x4a4d1f
mov ecx, ebx
call fcn.004a5e20
lea edi, [ebx + 0x6c0]
mov edx, dword [edi]
mov ecx, edi
lea esi, [eax + 1]
call dword [edx + 0x40]
mov ecx, dword [ebx + 0x6e8]
add ecx, 0x550
mov edx, dword [ecx]
call dword [edx + 0xc]
lea ecx, [esi + 1]
push 1
cmp ecx, eax
jle 0x4a4ce0
mov esi, dword [edi]
lea ecx, [ebx + 0x550]
mov eax, dword [ecx]
call dword [eax + 0xc]
dec eax
push eax
mov ecx, edi
call dword [esi + 0xc]
jmp 0x4a4d1f
mov eax, dword [edi]
mov ecx, edi
push esi
jmp 0x4a4d1c
lea ecx, [ebx + 0x6d0]
call fcn.00494fae
test eax, eax
jle 0x4a4d1f
mov ecx, ebx
call fcn.004a5e6f
add ebx, 0x6c0
mov ecx, ebx
lea esi, [eax - 1]
mov edx, dword [ebx]
call dword [edx + 0x40]
mov eax, dword [ebx]
mov ecx, ebx
push 1
test esi, esi
jle 0x4a4d1a
push esi
jmp 0x4a4d1c
push 0
call dword [eax + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4