Function at 0x4e6790
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], esi
mov eax, dword [esi]
mov eax, dword [eax + 0x128]
call eax
mov ebx, dword [ebp + 8]
test al, al
jne 0x4e67df
mov eax, dword [ebx]
sub eax, 9
cmp eax, 9
ja 0x4e67df
mov ecx, dword [esi + 0x48]
push ebx
test ecx, ecx
je 0x4e67d0
mov eax, dword [ecx]
call dword [eax + 0x15c]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
call fcn.004d2100
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx]
cmp eax, 0x15
jne 0x4e67f5
mov byte [esi + 0x1ad], 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x14
jne 0x4e6809
mov byte [esi + 0x1ad], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0xd
jne 0x4e682c
mov eax, dword [esi + 0x5b8]
lea ecx, [esi + 0x5b8]
call dword [eax + 0x40]
mov ecx, esi
call fcn.0048f740
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
cmp eax, 3
je 0x4e68ee
cmp eax, 0x12
jne case.0x4e6905.14
movzx eax, word [ebx + 0x18]
sub eax, 0
je 0x4e688e
sub eax, 1
jne case.0x4e6905.14
cmp byte [esi + 0x5bc], al
je 0x4e687b
mov eax, dword [esi + 0x5b8]
lea ecx, [esi + 0x5b8]
mov eax, dword [eax + 0x38]
call eax
test al, al
jne 0x4e687b
mov eax, dword [esi + 0x5c0]
push 1
push 1
inc eax
jmp 0x4e68b7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1d4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [esi + 0x5bc], 0
je 0x4e68db
mov eax, dword [esi + 0x5b8]
lea ecx, [esi + 0x5b8]
mov eax, dword [eax + 0x38]
call eax
test al, al
jne 0x4e68db
mov eax, dword [esi + 0x5c0]
push 1
push 0
dec eax
mov edx, dword [esi]
mov ecx, esi
mov edi, dword [esi + 0x5b8]
push eax
call dword [edx + 0x1b0]
push eax
lea ecx, [esi + 0x5b8]
call dword [edi + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1d0]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
movzx eax, word [ebx + 0x14]
add eax, 0xfffffff3
cmp eax, 0x36
ja case.0x4e6905.14
movzx eax, byte [eax + 0x4e6d84]
jmp dword [eax*4 + 0x4e6d5c]
lea ebx, [esi + 0xa7c]
mov ecx, ebx
mov dword [ebp - 8], ebx
call fcn.0048aa70
test eax, eax
jle 0x4e6d52
mov ecx, ebx
call fcn.0048aa70
test eax, eax
jg 0x4e6934
or edi, 0xffffffff
jmp 0x4e696f
push 0
mov ecx, ebx
call fcn.0048a960
lea ecx, [esi + 0xa7c]
mov edi, eax
xor ebx, ebx
call fcn.0048aa70
test eax, eax
jle 0x4e696f
mov esi, dword [ebp - 8]
push ebx
mov ecx, esi
call fcn.0048a960
cmp edi, eax
mov ecx, esi
cmovg edi, eax
inc ebx
call fcn.0048aa70
cmp ebx, eax
jl 0x4e6953
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0x5b8]
lea ecx, [esi + 0x5b8]
dec edi
call dword [eax + 0x40]
mov ecx, esi
call fcn.004e0050
test al, al
je 0x4e6a34
test edi, edi
jns 0x4e6a34
mov ecx, dword [esi + 0x5d0]
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1b4]
mov ecx, dword [esi + 0x5d0]
add ecx, 0x558
push 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [esi + 0x5d0]
mov ebx, eax
add ecx, 0x558
mov edx, dword [ecx]
call dword [edx + 0xc]
mov edx, dword [ebx]
mov ecx, ebx
lea edi, [eax - 1]
call dword [edx + 0x40]
mov edx, dword [ebp - 8]
mov ecx, dword [esi + 0x5d0]
imul eax, edi
sub edx, eax
mov eax, 0
cmovs edx, eax
mov dword [ebp - 8], edx
mov eax, dword [ecx]
push edx
push dword [ebp - 0xc]
call dword [eax + 0x1bc]
mov eax, dword [esi + 0x5b8]
lea ecx, [esi + 0x5b8]
push 1
push 0
call dword [eax + 8]
mov ecx, dword [esi + 0x5d0]
add ecx, 0x558
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.004d2100
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x5b8]
lea ecx, [esi + 0x5b8]
push 1
mov eax, dword [eax + 8]
test edi, edi
jle 0x4e6a55
push edi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ebx, [esi + 0xa7c]
mov ecx, ebx
mov dword [ebp - 8], ebx
call fcn.0048aa70
test eax, eax
jle 0x4e6d52
mov ecx, ebx
call fcn.0048aa70
test eax, eax
jg 0x4e6a8a
or edi, 0xffffffff
jmp 0x4e6acc
push 0
mov ecx, ebx
call fcn.0048a960
lea ecx, [esi + 0xa7c]
mov edi, eax
xor ebx, ebx
call fcn.0048aa70
test eax, eax
jle 0x4e6acc
mov esi, dword [ebp - 8]
nop dword [eax]
push ebx
mov ecx, esi
call fcn.0048a960
cmp edi, eax
mov ecx, esi
cmovl edi, eax
inc ebx
call fcn.0048aa70
cmp ebx, eax
jl 0x4e6ab0
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0x5b8]
lea ecx, [esi + 0x5b8]
inc edi
mov dword [ebp - 8], edi
call dword [eax + 0x40]
inc edi
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.004e0050
test al, al
je 0x4e6bd5
mov ecx, dword [esi + 0x5d0]
add ecx, 0x558
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp edi, eax
jle 0x4e6bd5
mov ecx, dword [esi + 0x5d0]
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1b4]
mov ecx, dword [esi + 0x5d0]
add ecx, 0x558
push 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [esi + 0x5d0]
mov ebx, eax
add ecx, 0x558
mov edx, dword [ecx]
call dword [edx + 0xc]
mov edx, dword [ebx]
mov ecx, ebx
lea edi, [eax - 1]
call dword [edx + 0x40]
mov edx, dword [ebp - 0x10]
mov ecx, dword [esi + 0x5d0]
imul eax, edi
add edx, eax
mov dword [ebp - 0x10], edx
mov eax, dword [ecx]
push edx
push dword [ebp - 0x14]
call dword [eax + 0x1bc]
mov ecx, dword [esi + 0x5d0]
add ecx, 0x558
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, dword [esi + 0x5b8]
push 1
cmp dword [ebp - 4], eax
jle 0x4e6bb5
mov eax, dword [esi + 0x558]
lea ecx, [esi + 0x558]
call dword [eax + 0xc]
dec eax
lea ecx, [esi + 0x5b8]
push eax
call dword [ebx + 8]
mov ebx, dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.004d2100
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push dword [ebp - 8]
lea ecx, [esi + 0x5b8]
call dword [ebx + 8]
mov ebx, dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.004d2100
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x5d0]
add ecx, 0x558
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, dword [esi + 0x5b8]
push 1
cmp dword [ebp - 4], eax
jle 0x4e6c16
mov eax, dword [esi + 0x558]
lea ecx, [esi + 0x558]
call dword [eax + 0xc]
dec eax
lea ecx, [esi + 0x5b8]
push eax
call dword [edi + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push dword [ebp - 8]
lea ecx, [esi + 0x5b8]
call dword [edi + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1d8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1dc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
mov ecx, esi
mov ebx, dword [esi + 0x5b8]
push 1
push 0
push 0
call dword [eax + 0x1b0]
push eax
lea ecx, [esi + 0x5b8]
call dword [ebx + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x5b8]
lea ecx, [esi + 0x558]
mov edi, dword [esi]
add eax, 8
mov dword [ebp + 8], eax
mov eax, dword [ecx]
push 1
push 1
call dword [eax + 0xc]
dec eax
mov ecx, esi
push eax
call dword [edi + 0x1b0]
push eax
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x5b8]
call dword [eax]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 0x5c0]
cmp edx, 0xffffffff
je 0x4e6d52
mov eax, dword [esi + 0x558]
lea ecx, [esi + 0x558]
push edx
call dword [eax]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x5b8]
lea edi, [esi + 0x5b8]
mov ecx, edi
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x4e6d52
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4e6d52
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x40]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x3c]
lea eax, [esi + 0xaac]
push eax
lea ecx, [esi + 0xa8c]
call fcn.004e6270
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x44]
push 0
push 0
push 0
push 0x5f79dc
push esi
call fcn.004868a0
push ebx
mov ecx, esi
call fcn.004d2100
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4