Function at 0x4af9ab
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
mov eax, dword [ebx]
call dword [eax + 0xe4]
mov edx, dword [ebp + 8]
test al, al
jne 0x4af9f3
cmp dword [edx], 8
jle 0x4af9f3
cmp dword [edx], 0x13
jge 0x4af9f3
mov ecx, dword [ebx + 0x168]
push edx
test ecx, ecx
je 0x4af9e7
mov eax, dword [ecx]
call dword [eax + 0x130]
jmp 0x4afc57
mov ecx, ebx
call fcn.004ac486
jmp 0x4afc57
cmp dword [edx], 0x15
jne 0x4afa04
mov byte [ebx + 0x2c3], 1
jmp 0x4afc57
cmp dword [edx], 0x14
jne 0x4afa15
mov byte [ebx + 0x2c3], 0
jmp 0x4afc57
cmp dword [edx], 3
push esi
je 0x4afa22
cmp dword [edx], 0x12
je 0x4afa67
jmp 0x4afa76
movzx eax, word [edx + 0x14]
sub eax, 0x21
je 0x4afc4c
sub eax, 1
je 0x4afc40
sub eax, 1
je 0x4afc07
sub eax, 1
je 0x4afbe1
dec eax
sub eax, 1
je 0x4afbaa
dec eax
sub eax, 1
je 0x4afb46
sub eax, 0x19
je 0x4afb13
movzx eax, word [edx + 0x18]
xor ecx, ecx
sub eax, ecx
je 0x4afac2
sub eax, 1
je 0x4afa83
push edx
mov ecx, ebx
call fcn.004ac486
jmp 0x4afc56
cmp byte [ebx + 0x6ac], cl
je 0x4afab3
cmp byte [ebx + 0x6ad], cl
je 0x4afab3
mov eax, dword [ebp - 4]
lea edi, [ebx + 0x6a8]
mov ebx, dword [edi]
push 1
push 1
mov esi, dword [eax]
push ecx
lea ecx, [eax + 0x6b0]
call fcn.00488f08
inc eax
jmp 0x4afaef
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1f4]
jmp 0x4afc56
cmp byte [ebx + 0x6ac], cl
je 0x4afb04
cmp byte [ebx + 0x6ad], cl
je 0x4afb04
mov eax, dword [ebp - 4]
lea edi, [ebx + 0x6a8]
mov ebx, dword [edi]
push 1
push ecx
mov esi, dword [eax]
push ecx
lea ecx, [eax + 0x6b0]
call fcn.00488f08
dec eax
mov ecx, dword [ebp - 4]
push eax
call dword [esi + 0x1e0]
push eax
mov ecx, edi
call dword [ebx + 8]
jmp 0x4afc56
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1f0]
jmp 0x4afc56
cmp byte [ebx + 0x6ad], 0
jne 0x4afc56
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4afc56
lea ecx, [ebx + 0x6a8]
mov eax, dword [ecx]
call dword [eax + 0x38]
jmp 0x4afc56
lea ecx, [ebx + 0x6b0]
call fcn.00489bb2
test eax, eax
jle 0x4afc56
mov ecx, ebx
call fcn.004b146e
lea edi, [ebx + 0x6a8]
mov edx, dword [edi]
mov ecx, edi
lea esi, [eax + 1]
call dword [edx + 0x3c]
mov ecx, dword [ebx + 0x6c4]
add ecx, 0x654
mov edx, dword [ecx]
call dword [edx + 0xc]
lea ecx, [esi + 1]
push 1
cmp ecx, eax
jle 0x4afba3
mov esi, dword [edi]
lea ecx, [ebx + 0x654]
mov eax, dword [ecx]
call dword [eax + 0xc]
dec eax
mov ecx, edi
push eax
call dword [esi + 8]
jmp 0x4afc56
mov eax, dword [edi]
mov ecx, edi
push esi
jmp 0x4afc02
lea ecx, [ebx + 0x6b0]
call fcn.00489bb2
test eax, eax
jle 0x4afc56
mov ecx, ebx
call fcn.004b14bd
add ebx, 0x6a8
mov ecx, ebx
lea esi, [eax - 1]
mov edx, dword [ebx]
call dword [edx + 0x3c]
mov eax, dword [ebx]
mov ecx, ebx
push 1
test esi, esi
jle 0x4afc00
push esi
jmp 0x4afc02
mov ecx, dword [ebx + 0x6c4]
add ecx, 0x654
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jle 0x4afc56
lea ecx, [ebx + 0x6a8]
mov eax, dword [ecx]
push 1
push 0
call dword [eax + 8]
jmp 0x4afc56
mov ecx, dword [ebx + 0x6c4]
add ecx, 0x654
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jle 0x4afc56
mov ecx, dword [ebx + 0x6c4]
lea esi, [ebx + 0x6a8]
mov edi, dword [esi]
add ecx, 0x654
push 1
mov eax, dword [ecx]
call dword [eax + 0xc]
dec eax
mov ecx, esi
push eax
call dword [edi + 8]
jmp 0x4afc56
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1fc]
jmp 0x4afc56
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1f8]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4