Function at 0x40f8b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x114]
push edi
call edx
test al, al
mov eax, dword [ebp + 8]
jne 0x40f8f8
mov ecx, dword [eax]
cmp ecx, 8
jle 0x40f8f8
cmp ecx, 0x16
jge 0x40f8f8
mov ecx, dword [esi + 0x48]
push eax
test ecx, ecx
je 0x40fbe0
mov edx, dword [ecx]
mov eax, dword [edx + 0x144]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [eax]
cmp ecx, 0x18
jne 0x40f90f
mov byte [esi + 0x19d], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ecx, 0x17
jne 0x40f924
mov byte [esi + 0x19d], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ecx, 3
je 0x40f9e9
cmp ecx, 0x15
jne case.0x40fa00.14
movzx ecx, word [eax + 0x18]
sub ecx, 0
je 0x40f9a7
sub ecx, 1
jne case.0x40fa00.14
cmp byte [esi + 0x6c5], cl
je 0x40f992
mov edx, dword [esi + 0x6c0]
mov eax, dword [edx + 0x38]
lea edi, [esi + 0x6c0]
mov ecx, edi
call eax
test al, al
jne 0x40f992
mov eax, dword [esi + 0x6c8]
push 1
push 1
inc eax
mov edx, dword [esi]
mov edx, dword [edx + 0x1b0]
mov ebx, dword [edi]
push eax
mov ecx, esi
call edx
push eax
mov eax, dword [ebx + 0xc]
mov ecx, edi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi]
mov eax, dword [edx + 0x1cc]
mov ecx, esi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [esi + 0x6c5], 0
je 0x40f9d4
mov edx, dword [esi + 0x6c0]
mov eax, dword [edx + 0x38]
lea edi, [esi + 0x6c0]
mov ecx, edi
call eax
test al, al
jne 0x40f9d4
mov eax, dword [esi + 0x6c8]
push 1
push 0
dec eax
jmp 0x40f972
mov edx, dword [esi]
mov eax, dword [edx + 0x1c8]
mov ecx, esi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
movzx ecx, word [eax + 0x14]
add ecx, 0xfffffff3
cmp ecx, 0x34
ja case.0x40fa00.14
movzx ecx, byte [ecx + 0x40fc14]
jmp dword [ecx*4 + 0x40fbf0]
cmp dword [esi + 0x6d4], 0
jle 0x40fbe7
call fcn.0040f810
mov edx, dword [esi + 0x6c0]
add esi, 0x6c0
mov edi, eax
mov eax, dword [edx + 0x40]
mov ecx, esi
dec edi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push 1
mov ecx, esi
test edi, edi
jle 0x40fa48
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
cmp dword [esi + 0x6d4], 0
jle 0x40fbe7
call fcn.0040f860
mov edx, dword [esi + 0x6c0]
lea edi, [esi + 0x6c0]
mov ebx, eax
mov eax, dword [edx + 0x40]
mov ecx, edi
inc ebx
call eax
mov eax, dword [esi + 0x6e8]
mov edx, dword [eax + 0x550]
lea ecx, [eax + 0x550]
mov eax, dword [edx + 0xc]
call eax
lea ecx, [ebx + 1]
cmp ecx, eax
push 1
jle 0x40fac2
mov edx, dword [esi + 0x550]
mov eax, dword [edx + 0xc]
mov ebx, dword [edi]
lea ecx, [esi + 0x550]
call eax
mov edx, dword [ebx + 0xc]
dec eax
push eax
mov ecx, edi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push ebx
mov ecx, edi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
mov edx, dword [eax + 0x1d0]
mov ecx, esi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
mov edx, dword [eax + 0x1d4]
mov ecx, esi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
mov edx, dword [eax + 0x1b0]
mov ebx, dword [esi + 0x6c0]
push 1
push 0
lea edi, [esi + 0x6c0]
push 0
mov ecx, esi
call edx
push eax
mov eax, dword [ebx + 0xc]
mov ecx, edi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi]
mov edx, dword [esi + 0x550]
mov eax, dword [edx + 0xc]
mov ebx, dword [esi + 0x6c0]
mov dword [esp + 0xc], ecx
lea ecx, [esi + 0x550]
push 1
lea edi, [esi + 0x6c0]
push 1
call eax
mov edx, dword [esp + 0x14]
dec eax
push eax
mov eax, dword [edx + 0x1b0]
mov ecx, esi
call eax
mov edx, dword [ebx + 0xc]
push eax
mov ecx, edi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x6c8]
cmp eax, 0xffffffff
je 0x40fbe7
mov edx, dword [esi + 0x550]
lea ecx, [esi + 0x550]
push eax
mov eax, dword [edx]
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x18]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 0x6c0]
mov eax, dword [edx + 0x38]
add esi, 0x6c0
mov ecx, esi
call eax
test al, al
je 0x40fbe7
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x40fbe7
mov edx, dword [esi]
mov eax, dword [edx + 0x3c]
mov ecx, esi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push eax
mov ecx, esi
call fcn.00441350
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4