Function at 0x410480
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
mov dword [ebp - 8], esi
lea eax, [ecx - 8]
cmp eax, 0x4e
ja case.0x4104a4.10
movzx eax, byte [eax + 0x410834]
jmp dword [eax*4 + 0x410800]
mov ecx, dword [esi + 0x64]
cmp ecx, dword [esi + 0x54]
jge case.0x4104a4.8
mov eax, dword [esi + 0x48]
push 0
add eax, ecx
push 1
push eax
call sub.Engine.dll_TSplitString
mov edx, dword [esi + 0x48]
mov ebx, eax
sub dword [esi + 0x54], ebx
mov edi, dword [esi + 0x54]
add edx, dword [esi + 0x64]
sub edi, dword [esi + 0x64]
inc edi
push edi
lea eax, [edx + ebx]
push eax
push edx
call fcn.004aff80
add esp, 0x18
jmp 0x410789
mov eax, dword [esi + 0x64]
test eax, eax
je case.0x4104a4.8
push 1
dec eax
push eax
push dword [esi + 0x48]
call sub.Engine.dll_TSplitString
add esp, 0xc
mov dword [esi + 0x64], eax
mov ecx, esi
call fcn.0040fc50
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 0x64]
cmp ecx, dword [esi + 0x54]
jge case.0x4104a4.8
mov eax, dword [esi + 0x48]
push 0
add eax, ecx
push 1
push eax
call sub.Engine.dll_TSplitString
add dword [esi + 0x64], eax
add esp, 0xc
mov ecx, esi
call fcn.0040fc50
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, esi
mov dword [esi + 0x64], 0
call fcn.0040fc50
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0x54]
mov ecx, esi
mov dword [esi + 0x64], eax
call fcn.0040fc50
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
test byte [esi + 0x40], 0x20
je 0x41062b
mov ebx, dword [esi + 0x60]
test ebx, ebx
je 0x41062b
mov eax, dword [esi + 0x10]
xor edi, edi
add eax, eax
mov dword [ebp - 4], 0
cdq
idiv dword [esi + 0x44]
mov dword [ebp + 8], edi
mov dword [ebp - 0xc], eax
test ebx, ebx
jle 0x4105e0
mov esi, dword [esi + 0x48]
mov dword [ebp + 8], ebx
push eax
lea eax, [esi + edi]
mov dword [ebp - 4], edi
push 1
push eax
call fcn.00410da0
add edi, eax
add esp, 0xc
mov eax, dword [ebp - 0xc]
sub ebx, 1
jne 0x4105c1
mov esi, dword [ebp - 8]
mov eax, dword [esi + 0x64]
sub eax, edi
push 0
push eax
mov eax, dword [esi + 0x48]
add eax, dword [ebp - 4]
push eax
call sub.Engine.dll_TSplitString
add eax, dword [ebp - 4]
add esp, 0xc
mov dword [esi + 0x64], eax
cmp eax, edi
jl 0x410618
test edi, edi
je 0x410618
mov eax, dword [esi + 0x48]
mov dword [esi + 0x64], edi
cmp byte [eax + edi - 1], 0xa
jne 0x410618
lea eax, [edi - 1]
mov dword [esi + 0x64], eax
mov ecx, esi
call fcn.0040fc50
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je case.0x4104a4.8
mov eax, dword [ecx]
push 0x26
push esi
push 0x62e
call dword [eax + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test byte [esi + 0x40], 0x20
je 0x4106fd
mov eax, dword [esi + 0x10]
xor ecx, ecx
add eax, eax
mov edi, dword [esi + 0x60]
cdq
xor ebx, ebx
idiv dword [esi + 0x44]
mov dword [ebp + 8], ecx
mov dword [ebp - 4], eax
test edi, edi
js 0x4106a1
mov eax, dword [esi + 0x48]
inc edi
mov esi, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov dword [ebp + 8], edi
nop dword [eax]
push esi
add eax, ebx
mov dword [ebp - 0x10], ebx
push 1
push eax
call fcn.00410da0
add ebx, eax
add esp, 0xc
mov eax, dword [ebp - 0xc]
sub edi, 1
jne 0x410680
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi + 0x64]
sub eax, ecx
push 0
push eax
mov eax, dword [esi + 0x48]
add eax, ebx
push eax
call sub.Engine.dll_TSplitString
push dword [ebp - 4]
push 1
lea edi, [eax + ebx]
mov eax, dword [esi + 0x48]
add eax, ebx
mov dword [esi + 0x64], edi
push eax
call fcn.00410da0
add ebx, eax
add esp, 0x18
cmp edi, ebx
jl 0x4106ea
test ebx, ebx
je 0x4106ea
mov eax, dword [esi + 0x48]
mov dword [esi + 0x64], ebx
cmp byte [eax + ebx - 1], 0xa
jne 0x4106ea
lea eax, [ebx - 1]
mov dword [esi + 0x64], eax
mov ecx, esi
call fcn.0040fc50
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je case.0x4104a4.8
mov eax, dword [ecx]
push 0x28
push esi
push 0x62e
call dword [eax + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esi + 0x3c]
test edx, edx
je case.0x4104a4.8
mov eax, dword [edx]
push ecx
push esi
push 0x62e
mov ecx, edx
call dword [eax + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je case.0x4104a4.8
test byte [esi + 0x40], 0x20
je 0x410764
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
test ax, ax
js 0x41077a
push 0x10
call edi
test ax, ax
js 0x41077a
mov ecx, dword [esi + 0x3c]
mov eax, dword [ecx]
push 0xd
push esi
push 0x62e
call dword [eax + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push 0xa
mov ecx, esi
call fcn.00410260
test eax, eax
je case.0x4104a4.8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns case.0x4104a4.8
mov ecx, esi
call fcn.0040fb90
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns case.0x4104a4.8
mov ecx, esi
call fcn.00410bd0
jmp 0x410785
cmp ecx, 0x30
jl 0x4107e0
cmp ecx, 0x39
jle case.0x4104a4.8
cmp ecx, 0x41
jl 0x4107ea
cmp ecx, 0x5a
jle case.0x4104a4.8
cmp ecx, 0x60
jl 0x4107f4
cmp ecx, 0x6f
jle case.0x4104a4.8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8