Function at 0x4a83cc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 1], dl
mov esi, eax
xor eax, eax
push ebp
push 0x4a86d3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [0x4cfc8c], 0x7fffffff
mov byte [ebp - 9], 0
mov byte [ebp - 2], 0
mov byte [ebp - 3], 0
mov byte [ebp - 4], 0
mov byte [ebp - 5], 0
xor ebx, ebx
mov eax, esi
call fcn.0040a1fc
mov edi, eax
cmp edi, dword [0x4cfc8c]
jle 0x4a8427
mov edi, dword [0x4cfc8c]
test edi, edi
je 0x4a86b8
cmp edi, ebx
jle 0x4a86ad
movzx eax, byte [esi + ebx]
cmp eax, 0x2b
jg 0x4a8454
je 0x4a84a0
sub eax, 0x25
je 0x4a8487
sub eax, 3
je 0x4a846c
dec eax
je 0x4a8476
jmp 0x4a866a
sub eax, 0x5e
je 0x4a84b9
sub eax, 0x1d
je 0x4a84d2
sub eax, 3
je 0x4a8651
jmp 0x4a866a
mov byte [ebp - 2], 1
inc ebx
jmp 0x4a86a5
mov byte [ebp - 2], 0
push ebp
call fcn.004a8368
pop ecx
inc ebx
jmp 0x4a86a5
mov byte [ebp - 5], 1
push ebp
xor ecx, ecx
mov dx, 1
mov al, 0x12
call fcn.004a8074
pop ecx
inc ebx
jmp 0x4a86a5
mov byte [ebp - 3], 1
push ebp
xor ecx, ecx
mov dx, 1
mov al, 0x10
call fcn.004a8074
pop ecx
inc ebx
jmp 0x4a86a5
mov byte [ebp - 4], 1
push ebp
xor ecx, ecx
mov dx, 1
mov al, 0x11
call fcn.004a8074
pop ecx
inc ebx
jmp 0x4a86a5
mov word [ebp - 0xe], 1
cmp byte [esi + ebx + 1], 0x7b
jne 0x4a850f
mov word [ebp - 8], 0xdb
lea eax, [ebp - 7]
mov dl, 1
call fcn.004a8024
push ebp
mov cl, 1
mov dx, 1
movzx eax, word [ebp - 8]
call fcn.004a81a4
pop ecx
push ebp
call fcn.004a8368
pop ecx
add ebx, 3
jmp 0x4a86a5
mov byte [ebp - 0x23], 0
mov byte [ebp - 0xa], 0
cmp edi, ebx
jl 0x4a854e
inc ebx
cmp byte [esi + ebx], 0x7d
jne 0x4a8529
mov byte [ebp - 0xa], 1
inc ebx
jmp 0x4a854e
movzx eax, byte [esi + ebx]
call fcn.004033e0
mov edx, eax
lea eax, [ebp - 0x28]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x23]
mov cl, 0x14
call fcn.0040352c
cmp edi, ebx
jge 0x4a851b
cmp byte [ebp - 0xa], 0
jne 0x4a8563
mov eax, 0x4a86e8
call fcn.004a8000
jmp 0x4a86b8
cmp byte [esi + ebx], 0x7d
jne 0x4a8597
mov word [ebp - 8], 0xdd
lea eax, [ebp - 7]
mov dl, 1
call fcn.004a8024
push ebp
mov cl, 1
mov dx, 1
movzx eax, word [ebp - 8]
call fcn.004a81a4
pop ecx
push ebp
call fcn.004a8368
pop ecx
inc ebx
jmp 0x4a86a5
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x23]
call fcn.00405048
mov edx, dword [ebp - 0x2c]
mov eax, 0x4a86fc
call fcn.004053c0
mov byte [ebp - 0xb], al
cmp byte [ebp - 0xb], 0
je 0x4a860d
lea eax, [ebp - 0x48]
push eax
movzx ecx, byte [ebp - 0x23]
movzx eax, byte [ebp - 0xb]
sub ecx, eax
movzx edx, byte [ebp - 0xb]
inc edx
lea eax, [ebp - 0x23]
call fcn.004030dc
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x30]
call fcn.00405048
mov eax, dword [ebp - 0x30]
call fcn.00409a5c
mov word [ebp - 0xe], ax
lea eax, [ebp - 0x48]
push eax
movzx ecx, byte [ebp - 0xb]
dec ecx
mov edx, 1
lea eax, [ebp - 0x23]
call fcn.004030dc
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x23]
mov cl, 0x14
call fcn.00403568
cmp byte [ebp - 0x23], 1
jne 0x4a8623
movzx eax, byte [ebp - 0x22]
push eax
call sub.user32.dll_VkKeyScanA
mov word [ebp - 8], ax
jmp 0x4a862f
lea eax, [ebp - 0x23]
call fcn.004a827c
mov word [ebp - 8], ax
cmp word [ebp - 8], 0xffff
je 0x4a86a5
push ebp
mov cl, 1
movzx edx, word [ebp - 0xe]
movzx eax, word [ebp - 8]
call fcn.004a81a4
pop ecx
push ebp
call fcn.004a8368
pop ecx
jmp 0x4a86a5
push ebp
mov cl, 1
mov dx, 1
mov al, 0xd
call fcn.004a8074
pop ecx
push ebp
call fcn.004a8368
pop ecx
inc ebx
jmp 0x4a86a5
movzx eax, byte [esi + ebx]
push eax
call sub.user32.dll_VkKeyScanA
mov word [ebp - 8], ax
cmp word [ebp - 8], 0xffff
je 0x4a869a
push ebp
mov cl, 1
mov dx, 1
movzx eax, word [ebp - 8]
call fcn.004a81a4
pop ecx
push ebp
call fcn.004a8368
pop ecx
jmp 0x4a86a4
mov eax, 0x4a8700
call fcn.004a8000
inc ebx
cmp edi, ebx
jg 0x4a8437
mov byte [ebp - 9], 1
push ebp
call fcn.004a8368
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a86da
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00404e08
ret