Function at 0x408f74
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, 8
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0x4e
ja case.0x408fa8.11
mov eax, dword [ebp - 0x28]
xor edx, edx
mov dl, byte [eax + 0x40949a]
jmp dword [edx*4 + 0x40946a]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x24]
mov eax, dword [ecx + 0x60]
cmp eax, dword [edx + 0x50]
jge 0x409029
push 0
push 1
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x44]
mov eax, dword [ebp - 0x24]
add edx, dword [eax + 0x60]
push edx
call sub.Engine.dll_TSplitString
add esp, 0xc
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x50]
sub edx, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x50], edx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x24]
mov eax, dword [ecx + 0x50]
sub eax, dword [edx + 0x60]
add eax, 1
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x44]
mov eax, dword [ebp - 0x24]
add edx, dword [eax + 0x60]
add edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x44]
mov eax, dword [ebp - 0x24]
add edx, dword [eax + 0x60]
push edx
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x24]
call dword [edx + 4]
jmp 0x409461
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x60], 0
je 0x409060
push 1
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x60]
sub edx, 1
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x44]
push ecx
call sub.Engine.dll_TSplitString
add esp, 0xc
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x60], eax
mov ecx, dword [ebp - 0x24]
call fcn.00409753
jmp 0x409461
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + 0x60]
cmp edx, dword [ecx + 0x50]
jge 0x4090a2
push 0
push 1
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x44]
mov edx, dword [ebp - 0x24]
add ecx, dword [edx + 0x60]
push ecx
call sub.Engine.dll_TSplitString
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x60]
add edx, eax
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x60], edx
mov ecx, dword [ebp - 0x24]
call fcn.00409753
jmp 0x409461
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x60], 0
mov ecx, dword [ebp - 0x24]
call fcn.00409753
jmp 0x409461
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x50]
mov dword [edx + 0x60], ecx
mov ecx, dword [ebp - 0x24]
call fcn.00409753
jmp 0x409461
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x3c]
and eax, 0x20
test eax, eax
je 0x4091c9
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x5c], 0
je 0x4091c9
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x10]
shl eax, 1
mov ecx, dword [ebp - 0x24]
cdq
idiv dword [ecx + 0x40]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
jmp 0x409127
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 + 0x5c]
jge 0x40915a
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
push eax
push 1
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x44]
add edx, dword [ebp - 0x10]
push edx
call fcn.00409a83
add esp, 0xc
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0xc], ecx
jmp 0x40911e
push 0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x60]
sub eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x44]
add edx, dword [ebp - 0x10]
push edx
call sub.Engine.dll_TSplitString
add esp, 0xc
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x60], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x60]
cmp ecx, dword [ebp - 0xc]
jl 0x4091bf
cmp dword [ebp - 0xc], 0
je 0x4091bf
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
mov dword [edx + 0x60], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x44]
mov eax, dword [ebp - 0xc]
movsx ecx, byte [edx + eax - 1]
cmp ecx, 0xa
jne 0x4091bf
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x60]
sub eax, 1
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x60], eax
mov ecx, dword [ebp - 0x24]
call fcn.00409753
jmp 0x4091f1
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x38], 0
je 0x4091f1
push 0x26
mov eax, dword [ebp - 0x24]
push eax
push 0x62e
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx + 0x38]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x38]
mov edx, dword [eax]
call dword [edx + 0x10]
mov dword [ebp - 4], eax
jmp 0x409461
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x3c]
and ecx, 0x20
test ecx, ecx
je 0x409301
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x10]
shl eax, 1
mov ecx, dword [ebp - 0x24]
cdq
idiv dword [ecx + 0x40]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
jmp 0x409239
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 + 0x5c]
jg 0x40926c
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x20]
push eax
push 1
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x44]
add edx, dword [ebp - 0x1c]
push edx
call fcn.00409a83
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
add ecx, eax
mov dword [ebp - 0x18], ecx
jmp 0x409230
push 0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x60]
sub eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x44]
add edx, dword [ebp - 0x18]
push edx
call sub.Engine.dll_TSplitString
add esp, 0xc
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x60], ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
push ecx
push 1
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x44]
add eax, dword [ebp - 0x1c]
push eax
call fcn.00409a83
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
add ecx, eax
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x60]
cmp eax, dword [ebp - 0x18]
jl 0x4092f7
cmp dword [ebp - 0x18], 0
je 0x4092f7
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x18]
mov dword [ecx + 0x60], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x44]
mov edx, dword [ebp - 0x18]
movsx eax, byte [ecx + edx - 1]
cmp eax, 0xa
jne 0x4092f7
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x60]
sub edx, 1
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x60], edx
mov ecx, dword [ebp - 0x24]
call fcn.00409753
jmp 0x409329
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x38], 0
je 0x409329
push 0x28
mov edx, dword [ebp - 0x24]
push edx
push 0x62e
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x38]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x38]
mov edx, dword [eax]
call dword [edx + 0x10]
mov dword [ebp - 4], eax
jmp 0x409461
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x38], 0
je 0x409358
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push 0x62e
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x38]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x38]
mov edx, dword [eax]
call dword [edx + 0x10]
mov dword [ebp - 4], eax
jmp 0x409461
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x38], 0
je 0x409404
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x3c]
and edx, 0x20
test edx, edx
jne 0x409398
push 0xd
mov eax, dword [ebp - 0x24]
push eax
push 0x62e
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx + 0x38]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x38]
mov edx, dword [eax]
call dword [edx + 0x10]
mov dword [ebp - 4], eax
jmp 0x409404
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
and eax, 0x8000
test eax, eax
jne 0x4093e2
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
test ecx, ecx
jne 0x4093e2
push 0xd
mov edx, dword [ebp - 0x24]
push edx
push 0x62e
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x38]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x38]
mov edx, dword [eax]
call dword [edx + 0x10]
mov dword [ebp - 4], eax
jmp 0x409404
push 0
push 0xa
mov ecx, dword [ebp - 0x24]
call fcn.004095f9
test eax, eax
je 0x409404
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x24]
call dword [edx + 4]
mov dword [ebp - 4], 1
jmp 0x409461
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
and eax, 0x8000
test eax, eax
je 0x40942d
mov ecx, dword [ebp - 0x24]
call fcn.00408f16
test eax, eax
je 0x40942d
mov dword [ebp - 4], 1
jmp 0x409461
mov eax, 1
jmp 0x409464
cmp dword [ebp + 8], 0x30
jl 0x409442
cmp dword [ebp + 8], 0x39
jle 0x409461
cmp dword [ebp + 8], 0x41
jl 0x40944e
cmp dword [ebp + 8], 0x5a
jle 0x409461
cmp dword [ebp + 8], 0x60
jl 0x40945a
cmp dword [ebp + 8], 0x6f
jle 0x409461
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8