Function at 0x42a340
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
sub ecx, 9
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0x4d
ja case.0x42a373.1
mov edx, dword [ebp - 0x28]
movzx eax, byte [edx + 0x42a924]
jmp dword [eax*4 + 0x42a8f4]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x24]
mov eax, dword [ecx + 0x128]
cmp eax, dword [edx + 0x114]
jge 0x42a41e
push 0
push 1
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x108]
mov eax, dword [ebp - 0x24]
add edx, dword [eax + 0x128]
push edx
call sub.engine.dll_TSplitString
add esp, 0xc
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x114]
sub edx, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x114], edx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x24]
mov eax, dword [ecx + 0x114]
sub eax, dword [edx + 0x128]
add eax, 1
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x108]
mov eax, dword [ebp - 0x24]
add edx, dword [eax + 0x128]
add edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x108]
mov eax, dword [ebp - 0x24]
add edx, dword [eax + 0x128]
push edx
call dword [sym.imp.MSVCR80.dll_memmove]
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
call eax
jmp 0x42a8e9
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x128], 0
je 0x42a461
push 1
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x128]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x108]
push edx
call sub.engine.dll_TSplitString
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x128], eax
mov ecx, dword [ebp - 0x24]
call fcn.0042ace0
jmp 0x42a8e9
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov ecx, dword [edx + 0x128]
cmp ecx, dword [eax + 0x114]
jge 0x42a4b3
push 0
push 1
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x108]
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x128]
push eax
call sub.engine.dll_TSplitString
add esp, 0xc
mov edx, dword [ebp - 0x24]
add eax, dword [edx + 0x128]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x128], eax
mov ecx, dword [ebp - 0x24]
call fcn.0042ace0
jmp 0x42a8e9
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x128], 0
mov ecx, dword [ebp - 0x24]
call fcn.0042ace0
jmp 0x42a8e9
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x114]
mov dword [eax + 0x128], edx
mov ecx, dword [ebp - 0x24]
call fcn.0042ace0
jmp 0x42a8e9
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x100]
and ecx, 0x20
je 0x42a604
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x124], 0
je 0x42a604
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x10]
shl eax, 1
mov ecx, dword [ebp - 0x24]
cdq
idiv dword [ecx + 0x104]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
jmp 0x42a548
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x124]
jge 0x42a57f
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
push eax
push 1
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x108]
add edx, dword [ebp - 0xc]
push edx
call sub.engine.dll_TSplitStringLine
add esp, 0xc
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
jmp 0x42a53f
push 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x128]
sub ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x108]
add eax, dword [ebp - 0xc]
push eax
call sub.engine.dll_TSplitString
add esp, 0xc
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x128], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x128]
cmp eax, dword [ebp - 0x14]
jl 0x42a5fa
cmp dword [ebp - 0x14], 0
je 0x42a5fa
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x128], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x108]
mov edx, dword [ebp - 0x14]
movsx eax, byte [ecx + edx - 1]
cmp eax, 0xa
jne 0x42a5fa
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x128]
sub edx, 1
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x128], edx
mov ecx, dword [ebp - 0x24]
call fcn.0042ace0
jmp 0x42a630
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x60], 0
je 0x42a630
push 0x26
mov edx, dword [ebp - 0x24]
push edx
push 0x62e
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x60]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x60]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 4], eax
jmp 0x42a8e9
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x100]
and edx, 0x20
je 0x42a75f
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x10]
shl eax, 1
mov ecx, dword [ebp - 0x24]
cdq
idiv dword [ecx + 0x104]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
jmp 0x42a67c
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x124]
jg 0x42a6b3
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
push eax
push 1
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x108]
add edx, dword [ebp - 0x18]
push edx
call sub.engine.dll_TSplitStringLine
add esp, 0xc
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
jmp 0x42a673
push 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x128]
sub ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x108]
add eax, dword [ebp - 0x20]
push eax
call sub.engine.dll_TSplitString
add esp, 0xc
add eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x128], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
push eax
push 1
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x108]
add edx, dword [ebp - 0x18]
push edx
call sub.engine.dll_TSplitStringLine
add esp, 0xc
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x128]
cmp ecx, dword [ebp - 0x20]
jl 0x42a755
cmp dword [ebp - 0x20], 0
je 0x42a755
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x128], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x108]
mov eax, dword [ebp - 0x20]
movsx ecx, byte [edx + eax - 1]
cmp ecx, 0xa
jne 0x42a755
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x128]
sub eax, 1
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x128], eax
mov ecx, dword [ebp - 0x24]
call fcn.0042ace0
jmp 0x42a789
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x60], 0
je 0x42a789
push 0x28
mov eax, dword [ebp - 0x24]
push eax
push 0x62e
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x60]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x60]
mov edx, dword [edx]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 4], eax
jmp 0x42a8e9
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x60], 0
je 0x42a7ba
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x24]
push eax
push 0x62e
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x60]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x60]
mov edx, dword [edx]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 4], eax
jmp 0x42a8e9
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x60], 0
je 0x42a86c
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x100]
and eax, 0x20
jne 0x42a7fd
push 0xd
mov ecx, dword [ebp - 0x24]
push ecx
push 0x62e
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x60]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx + 0x60]
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 4], eax
jmp 0x42a86c
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
jne 0x42a846
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
jne 0x42a846
push 0xd
mov eax, dword [ebp - 0x24]
push eax
push 0x62e
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x60]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x60]
mov edx, dword [edx]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 4], eax
jmp 0x42a86c
push 1
push 0
push 0xa
mov ecx, dword [ebp - 0x24]
call fcn.0042aaf0
test eax, eax
je 0x42a86c
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 1
jmp 0x42a8e9
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x42a894
mov ecx, dword [ebp - 0x24]
call fcn.0042a150
test eax, eax
je 0x42a894
mov dword [ebp - 4], 1
jmp 0x42a8e9
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x42a8bc
mov ecx, dword [ebp - 0x24]
call fcn.0042a1d0
test eax, eax
je 0x42a8bc
mov dword [ebp - 4], 1
jmp 0x42a8e9
cmp dword [ebp + 8], 0x30
jl 0x42a8ca
cmp dword [ebp + 8], 0x39
jle 0x42a8e9
cmp dword [ebp + 8], 0x41
jl 0x42a8d6
cmp dword [ebp + 8], 0x5a
jle 0x42a8e9
cmp dword [ebp + 8], 0x60
jl 0x42a8e2
cmp dword [ebp + 8], 0x6f
jle 0x42a8e9
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8