Function at 0x4201d9
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0xc], ebx
mov eax, dword [ebx]
call dword [eax + 0x108]
mov edx, dword [ebp + 8]
test al, al
jne 0x42021b
mov eax, dword [edx]
sub eax, 9
cmp eax, 0xc
ja 0x42021b
mov ecx, dword [ebx + 0x48]
push edx
test ecx, ecx
je 0x4203b8
mov eax, dword [ecx]
call dword [eax + 0x138]
jmp 0x420498
cmp dword [edx], 0x18
jne 0x42022c
mov byte [ebx + 0x19d], 1
jmp 0x420498
cmp dword [edx], 0x17
jne 0x42023d
mov byte [ebx + 0x19d], 0
jmp 0x420498
cmp dword [edx], 3
je 0x4202e2
cmp dword [edx], 0x15
jne 0x4203b7
movzx eax, word [edx + 0x18]
sub eax, 0
je 0x4202ac
sub eax, 1
jne 0x4203b7
cmp byte [ebx + 0x6c5], al
je 0x42029d
lea edi, [ebx + 0x6c0]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
test al, al
jne 0x42029d
mov eax, dword [ebx + 0x6c8]
push 1
push 1
inc eax
mov edx, dword [ebx]
mov ecx, ebx
mov esi, dword [edi]
push eax
call dword [edx + 0x1a4]
push eax
mov ecx, edi
call dword [esi + 0xc]
jmp 0x420498
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c0]
jmp 0x420498
cmp byte [ebx + 0x6c5], 0
je 0x4202d3
lea edi, [ebx + 0x6c0]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
test al, al
jne 0x4202d3
mov eax, dword [ebx + 0x6c8]
push 1
push 0
dec eax
jmp 0x420285
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1bc]
jmp 0x420498
movzx eax, word [edx + 0x14]
cmp eax, 0x24
ja 0x4203a3
je 0x420385
sub eax, 0xd
je 0x42035f
sub eax, 0x14
je 0x420350
sub eax, 1
je 0x420341
sub eax, 1
jne 0x4203b7
mov eax, dword [esp + 0xc]
lea edi, [ebx + 0x6c0]
mov ebx, dword [edi]
push 1
push 1
mov esi, dword [eax]
lea ecx, [eax + 0x550]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [esp + 0x14]
dec eax
push eax
call dword [esi + 0x1a4]
push eax
mov ecx, edi
call dword [ebx + 0xc]
jmp 0x420498
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c8]
jmp 0x420498
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c4]
jmp 0x420498
mov edx, dword [ebx + 0x6c8]
cmp edx, 0xffffffff
je 0x420498
lea ecx, [ebx + 0x550]
mov eax, dword [ecx]
push edx
call dword [eax]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x18]
jmp 0x420498
mov eax, dword [ebx]
lea esi, [ebx + 0x6c0]
mov edi, dword [esi]
mov ecx, ebx
push 1
push 0
push 0
call dword [eax + 0x1a4]
push eax
jmp 0x42045d
sub eax, 0x26
je 0x420464
dec eax
sub eax, 1
je 0x420405
sub eax, 0x19
je 0x4203c4
push edx
mov ecx, ebx
call fcn.00425530
jmp 0x420498
mov eax, dword [ebx + 0x6c0]
lea ecx, [ebx + 0x6c0]
call dword [eax + 0x38]
test al, al
je 0x420498
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x420498
mov eax, dword [ebx + 0x6c0]
lea ecx, [ebx + 0x6c0]
call dword [eax + 0x3c]
jmp 0x420498
cmp dword [ebx + 0x6d4], 0
jle 0x420498
mov ecx, ebx
call fcn.0042018d
lea esi, [ebx + 0x6c0]
inc eax
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0xc], eax
call dword [edx + 0x40]
mov ecx, dword [ebx + 0x6e8]
add ecx, 0x550
mov edx, dword [ecx]
call dword [edx + 0xc]
mov edx, dword [esp + 0xc]
mov edi, dword [esi]
push 1
lea ecx, [edx + 1]
cmp ecx, eax
jle 0x42045c
lea ecx, [ebx + 0x550]
mov eax, dword [ecx]
call dword [eax + 0xc]
dec eax
jmp 0x42039d
push edx
mov ecx, esi
call dword [edi + 0xc]
jmp 0x420498
cmp dword [ebx + 0x6d4], 0
jle 0x420498
mov ecx, ebx
call fcn.00420141
add ebx, 0x6c0
mov ecx, ebx
lea esi, [eax - 1]
mov edx, dword [ebx]
call dword [edx + 0x40]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov eax, dword [edx + 0xc]
test esi, esi
jle 0x420494
push esi
jmp 0x420496
push 0
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4