Function at 0x40c3c4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov eax, 0x45fccc
call fcn.0045225c
mov eax, dword [ebx + 0x1d4]
mov edx, dword [eax + 0x30]
add edx, dword [eax + 0x38]
mov eax, ebx
add edx, 8
call fcn.00433510
mov edx, dword [esi]
mov eax, dword [ebx + 0x20c]
call fcn.00444af8
xor edx, edx
mov eax, ebx
call fcn.0040d408
mov word [ebp - 0x28], 8
xor edx, edx
mov dword [ebp - 4], edx
lea edx, [ebp - 4]
inc dword [ebp - 0x1c]
mov eax, dword [esi + 4]
call fcn.0044b6a0
lea edx, [ebp - 4]
mov eax, dword [ebx + 0x1f0]
mov edx, dword [edx]
call fcn.00427fd0
dec dword [ebp - 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0042ea24
mov word [ebp - 0x28], 0x14
xor ecx, ecx
mov dword [ebp - 8], ecx
lea edx, [ebp - 8]
inc dword [ebp - 0x1c]
mov eax, dword [esi + 8]
call fcn.0044b6a0
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x1f4]
mov edx, dword [edx]
call fcn.00427fd0
dec dword [ebp - 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0042ea24
mov word [ebp - 0x28], 0x20
xor ecx, ecx
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0xc]
inc dword [ebp - 0x1c]
mov eax, dword [esi + 0xc]
call fcn.0044b6a0
lea edx, [ebp - 0xc]
mov eax, dword [ebx + 0x1f8]
mov edx, dword [edx]
call fcn.00427fd0
dec dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0042ea24
mov word [ebp - 0x28], 0x2c
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x10]
inc dword [ebp - 0x1c]
mov eax, dword [esi + 0x10]
call fcn.0044b6a0
lea edx, [ebp - 0x10]
mov eax, dword [ebx + 0x1fc]
mov edx, dword [edx]
call fcn.00427fd0
dec dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0042ea24
mov word [ebp - 0x28], 0x38
xor ecx, ecx
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x14]
inc dword [ebp - 0x1c]
mov eax, dword [esi + 0x14]
call fcn.0044b6a0
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 0x200]
mov edx, dword [edx]
call fcn.00427fd0
dec dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0042ea24
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [ebx + 0x218], eax
push ebx
call fcn.0040c6c0
pop ecx
push 0x10
call sub.USER32.dll_GetKeyState
test al, 0x80
jne 0x40c549
cmp byte [ebp + 0x14], 0
je 0x40c56d
mov eax, dword [ebx + 0x1d8]
mov edx, dword [eax + 0x30]
add edx, dword [eax + 0x38]
mov eax, ebx
add edx, 8
call fcn.00433510
mov eax, ebx
call fcn.004358cc
mov edi, eax
jmp 0x40c602
cmp byte [ebx + 0x21d], 0
je 0x40c5b9
mov eax, dword [ebx + 0x1d4]
mov eax, dword [eax + 0x130]
call fcn.00423010
test eax, eax
jne 0x40c596
mov eax, ebx
call fcn.004358cc
mov edi, eax
jmp 0x40c602
mov esi, dword [ebx + 0x1d4]
xor edx, edx
mov eax, dword [esi + 0x130]
call fcn.00423040
mov edx, eax
mov eax, esi
call fcn.00424d00
mov edi, 1
jmp 0x40c602
cmp byte [ebx + 0x21c], 0
je 0x40c5f9
mov eax, dword [ebx + 0x1d4]
mov eax, dword [eax + 0x130]
call fcn.00423010
dec eax
jne 0x40c5f9
mov esi, dword [ebx + 0x1d4]
xor edx, edx
mov eax, dword [esi + 0x130]
call fcn.00423040
mov edx, eax
mov eax, esi
call fcn.00424d00
mov edi, 1
jmp 0x40c602
mov eax, ebx
call fcn.004358cc
mov edi, eax
cmp edi, 1
jne 0x40c63f
mov eax, dword [ebx + 0x1d4]
call fcn.00424ce8
mov edx, dword [eax + 0xc]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
mov dword [ecx + 8], eax
mov esi, 1
mov eax, dword [ebx + 0x20c]
call fcn.00444adc
cmp eax, 2
je 0x40c639
dec esi
mov edx, dword [ebp + 0xc]
mov dword [edx + 0xc], esi
xor esi, esi
jmp 0x40c661
mov eax, dword [ebx + 0x1d4]
mov edx, esi
mov eax, dword [eax + 0x130]
call fcn.00423040
mov ecx, dword [eax + 0xc]
push ecx
call fcn.00459c78
pop ecx
inc esi
mov eax, dword [ebx + 0x1d4]
mov eax, dword [eax + 0x130]
call fcn.00423010
cmp esi, eax
jl 0x40c643
mov eax, edi
mov edx, dword [ebp - 0x38]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret