Function at 0x470d6e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0x114]
mov edx, dword [ebp + 8]
test al, al
jne 0x470db1
mov eax, dword [edx]
cmp eax, 8
jle 0x470db1
cmp eax, 0x16
jge 0x470db1
mov ecx, dword [esi + 0x48]
push edx
test ecx, ecx
je 0x470da5
mov eax, dword [ecx]
call dword [eax + 0x144]
jmp 0x471029
mov ecx, esi
call fcn.00460b48
jmp 0x471029
mov eax, dword [edx]
cmp eax, 0x18
jne 0x470dc4
mov byte [esi + 0x19d], 1
jmp 0x471029
cmp eax, 0x17
jne 0x470dd5
mov byte [esi + 0x19d], 0
jmp 0x471029
push edi
cmp eax, 3
je 0x470e6b
cmp eax, 0x15
jne 0x470f2f
movzx eax, word [edx + 0x18]
sub eax, 0
je 0x470e33
dec eax
jne 0x470f2f
cmp byte [esi + 0x6c5], al
je 0x470e24
mov eax, dword [esi + 0x6c0]
lea ecx, [esi + 0x6c0]
call dword [eax + 0x38]
test al, al
jne 0x470e24
mov ecx, dword [esi + 0x6c8]
push 1
push 1
inc ecx
push ecx
jmp 0x470f08
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1cc]
jmp 0x471028
cmp byte [esi + 0x6c5], 0
je 0x470e5c
mov eax, dword [esi + 0x6c0]
lea ecx, [esi + 0x6c0]
call dword [eax + 0x38]
test al, al
jne 0x470e5c
mov ecx, dword [esi + 0x6c8]
push 1
push 0
dec ecx
jmp 0x470e1e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c8]
jmp 0x471028
movzx eax, word [edx + 0x14]
cmp eax, 0x24
jg 0x470f1d
je 0x470f02
sub eax, 0xd
je 0x470edc
sub eax, 0x14
je 0x470ecd
dec eax
je 0x470ebe
dec eax
jne 0x470f2f
mov eax, dword [esi]
mov ebx, dword [esi + 0x6c0]
lea ecx, [esi + 0x550]
push 1
mov dword [ebp + 8], eax
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
dec eax
push eax
mov eax, dword [ebp + 8]
mov ecx, esi
call dword [eax + 0x1b0]
jmp 0x470fd5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1d4]
jmp 0x471028
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1d0]
jmp 0x471028
mov eax, dword [esi + 0x6c8]
cmp eax, 0xffffffff
je 0x471028
lea ecx, [esi + 0x550]
mov edx, dword [ecx]
push eax
call dword [edx]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
jmp 0x471028
push 1
push 0
push 0
mov eax, dword [esi]
mov ebx, dword [esi + 0x6c0]
mov ecx, esi
call dword [eax + 0x1b0]
jmp 0x470fd5
sub eax, 0x26
je 0x470ff0
dec eax
dec eax
je 0x470f7d
sub eax, 0x19
je 0x470f3c
push edx
mov ecx, esi
call fcn.00460b48
jmp 0x471028
mov eax, dword [esi + 0x6c0]
lea ecx, [esi + 0x6c0]
call dword [eax + 0x38]
test al, al
je 0x471028
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x471028
mov eax, dword [esi + 0x6c0]
lea ecx, [esi + 0x6c0]
call dword [eax + 0x3c]
jmp 0x471028
lea ecx, [esi + 0x6d0]
call fcn.00428e13
test eax, eax
jle 0x471028
mov ecx, esi
call fcn.00470d1e
lea ebx, [eax + 1]
mov eax, dword [esi + 0x6c0]
lea ecx, [esi + 0x6c0]
call dword [eax + 0x40]
mov ecx, dword [esi + 0x6e8]
add ecx, 0x550
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ecx, [ebx + 1]
push 1
cmp ecx, eax
jle 0x470fe1
mov ebx, dword [esi + 0x6c0]
lea ecx, [esi + 0x550]
mov eax, dword [ecx]
call dword [eax + 0xc]
dec eax
push eax
lea ecx, [esi + 0x6c0]
call dword [ebx + 0xc]
jmp 0x471028
mov eax, dword [esi + 0x6c0]
push ebx
lea ecx, [esi + 0x6c0]
jmp 0x471025
lea ecx, [esi + 0x6d0]
call fcn.00428e13
test eax, eax
jle 0x471028
mov ecx, esi
call fcn.00470cce
add esi, 0x6c0
lea edi, [eax - 1]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov eax, dword [esi]
push 1
mov ecx, esi
test edi, edi
jle 0x471023
push edi
jmp 0x471025
push 0
call dword [eax + 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 4