Function at 0x4bb574
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4bb937
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4cdd38]
mov eax, dword [eax]
cmp byte [eax + 0xc1], 0
je 0x4bb921
mov dword [ebp - 4], 0x2710
cmp dword [edi + 0x14], 0
jle 0x4bb5bb
dec dword [edi + 0x14]
jmp 0x4bb921
mov eax, dword [0x4cdd50]
cmp byte [eax], 0
je 0x4bb608
push 0x79
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
je 0x4bb608
mov eax, dword [edi + 4]
call fcn.00475714
test eax, eax
jle 0x4bb921
mov eax, dword [0x4cdef4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov eax, dword [0x4cde54]
mov eax, dword [eax]
call fcn.004c1050
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x1c]
jmp 0x4bb921
mov eax, dword [0x4cdc30]
mov eax, dword [eax]
call fcn.004c88ec
test eax, eax
jle 0x4bb6d7
mov eax, dword [0x4cdef4]
mov eax, dword [eax]
call fcn.004c5a74
test al, al
je 0x4bb63d
mov eax, dword [0x4cdef4]
mov eax, dword [eax]
cmp dword [eax + 0x5c], 1
jne 0x4bb921
mov eax, dword [0x4cdc7c]
mov eax, dword [eax]
mov byte [eax + 0x4c], 0
mov eax, dword [0x4cdef4]
mov eax, dword [eax]
call fcn.004c65b8
jmp 0x4bb68c
lea edx, [ebp - 0x10]
mov eax, dword [0x4cdc30]
mov eax, dword [eax]
call fcn.004c8910
cmp dword [ebp - 0x10], 0
jne 0x4bb67d
mov eax, dword [0x4cdef4]
mov eax, dword [eax]
call fcn.004c6904
test eax, eax
jg 0x4bb6ad
jmp 0x4bb68c
mov eax, dword [0x4cdef4]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
call fcn.004c6910
mov eax, dword [0x4cdc30]
mov eax, dword [eax]
call fcn.004c88ec
test eax, eax
jle 0x4bb6ad
mov eax, dword [0x4cdef4]
mov eax, dword [eax]
call fcn.004c6904
cmp eax, 4
jl 0x4bb656
mov eax, dword [0x4cdef4]
mov eax, dword [eax]
call fcn.004c6904
test eax, eax
jle 0x4bb6c6
mov byte [edi + 8], 1
jmp 0x4bb921
mov eax, dword [0x4cdef4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x2c]
jmp 0x4bb921
mov eax, dword [edi + 4]
call fcn.00475714
test eax, eax
jne 0x4bb89a
mov eax, dword [0x4cdfb4]
mov eax, dword [eax]
call fcn.00475714
mov esi, eax
dec esi
test esi, esi
jl 0x4bb769
inc esi
xor ebx, ebx
mov eax, dword [0x4cdfb4]
mov eax, dword [eax]
mov edx, ebx
call fcn.004a523c
call fcn.004a5100
test al, al
je 0x4bb765
mov esi, dword [edi + 4]
mov eax, esi
call fcn.00475714
mov edx, eax
inc edx
mov eax, esi
call fcn.004755b8
mov esi, eax
mov eax, dword [0x4cdf40]
mov eax, dword [eax]
mov edx, ebx
call fcn.0047d3fc
mov edx, dword [eax + 0x14]
mov eax, dword [esi + 0x14]
call fcn.0047991c
xor eax, eax
mov dword [esi + 0x1c], eax
mov eax, dword [0x4cdc7c]
mov eax, dword [eax]
add eax, 0x38
call fcn.004044ec
mov eax, dword [0x4cdc7c]
mov eax, dword [eax]
call fcn.0048aa44
jmp 0x4bb769
inc ebx
dec esi
jne 0x4bb6fd
mov eax, dword [0x4cdd74]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
call fcn.00475714
mov esi, eax
dec esi
test esi, esi
jl 0x4bb88a
inc esi
xor ebx, ebx
mov eax, dword [0x4cdd74]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov edx, ebx
call fcn.004bd0b4
cmp byte [eax + 0xa0], 0
je 0x4bb882
mov eax, dword [0x4cdd74]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov edx, ebx
call fcn.004bd0b4
mov byte [eax + 0xa0], 0
mov eax, dword [0x4cdd74]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov edx, ebx
call fcn.004bd0b4
cmp byte [eax + 0xc], 0
je 0x4bb882
mov esi, dword [edi + 4]
mov eax, esi
call fcn.00475714
mov edx, eax
inc edx
mov eax, esi
call fcn.004755b8
mov esi, eax
mov eax, dword [0x4cdd74]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov edx, ebx
call fcn.004bd0b4
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
mov eax, dword [0x4cdd74]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov edx, ebx
call fcn.004bd0b4
call fcn.004bcdf0
mov dword [ebp - 0xc], eax
mov eax, dword [0x4cdd14]
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 8]
call fcn.0047a0d0
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0xc]
call fcn.00479e9c
mov edx, dword [eax + 0x14]
mov eax, dword [esi + 0x14]
call fcn.0047991c
mov eax, dword [ebp - 8]
mov dword [esi + 0x1c], eax
mov eax, dword [0x4cdd74]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov edx, ebx
call fcn.004bd0b4
mov al, byte [eax + 0xa8]
mov byte [esi + 0x20], al
mov eax, dword [0x4cdc7c]
mov eax, dword [eax]
add eax, 0x38
call fcn.004044ec
mov eax, dword [0x4cdc7c]
mov eax, dword [eax]
call fcn.0048aa44
jmp 0x4bb88a
inc ebx
dec esi
jne 0x4bb786
mov eax, dword [edi + 4]
call fcn.00475714
test eax, eax
je 0x4bb921
mov eax, dword [0x4cdef4]
mov eax, dword [eax]
call fcn.004c5a74
test al, al
je 0x4bb8b7
mov eax, dword [0x4cdef4]
mov eax, dword [eax]
cmp dword [eax + 0x5c], 0
je 0x4bb921
mov eax, dword [0x4cde54]
mov eax, dword [eax]
cmp byte [eax + 0x98], 0
jne 0x4bb921
mov eax, dword [0x4cde54]
mov eax, dword [eax]
cmp byte [eax + 0xa0], 0
jne 0x4bb921
mov eax, dword [0x4cde68]
mov eax, dword [eax]
cmp dword [eax + 0x9c], 0
jg 0x4bb921
mov eax, dword [0x4cde68]
mov eax, dword [eax]
cmp dword [eax + 0xa0], 0
jg 0x4bb921
cmp byte [edi + 0x19], 0
je 0x4bb900
inc dword [edi + 0x20]
mov eax, edi
call fcn.004ba5a8
test al, al
je 0x4bb921
mov eax, dword [0x4cdc7c]
mov eax, dword [eax]
cmp byte [eax + 4], 0
jne 0x4bb921
dec dword [ebp - 4]
jne 0x4bb5ad
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb93e
lea eax, [ebp - 0x10]
call fcn.004044ec
ret