Function at 0x49ece0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x12c]
push ebx
call fcn.0049fcc0
test eax, eax
je 0x49f003
mov edi, dword [ebx]
mov ebx, dword [ebx + 4]
push 0x11
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetKeyState]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test ah, 0x80
je 0x49ed78
mov eax, dword [esp + 0x28]
add eax, 0xffffffbf
cmp eax, 0x17
ja case.0x49ed35.69
xor ecx, ecx
mov cl, byte [eax + 0x49f024]
jmp dword [ecx*4 + 0x49f010]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xdc]
jmp case.0x49ed35.69
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd0]
jmp case.0x49ed35.69
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xd4]
jmp case.0x49ed35.69
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd8]
jmp case.0x49ed35.69
mov ecx, dword [esp + 0x28]
lea eax, [ecx - 9]
cmp eax, 0x25
ja case.0x49ed90.19
xor edx, edx
mov dl, byte [eax + 0x49f068]
jmp dword [edx*4 + 0x49f03c]
mov eax, dword [esi + 0x130]
mov ecx, dword [esi + 0x12c]
push 0x5c5620
push eax
push ecx
mov ecx, esi
call fcn.004a36e0
lea eax, [esi + 0x12c]
push 0
push eax
mov ecx, esi
call fcn.0049fd70
jmp case.0x49ed35.69
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
je 0x49ee0a
mov eax, dword [esi + 0x98]
cmp ebx, eax
jle 0x49ede3
dec ebx
jmp case.0x49ed35.69
jne case.0x49ed35.69
cmp edi, dword [esi + 0x90]
jle case.0x49ed35.69
mov ebx, dword [esi + 0x94]
dec edi
dec ebx
mov dword [esp + 0x10], 1
jmp case.0x49ed35.69
mov eax, dword [esi + 0x94]
dec eax
cmp ebx, eax
jge 0x49ee1b
inc ebx
jmp case.0x49ed35.69
jne case.0x49ed35.69
mov edx, dword [esi + 0x8c]
dec edx
cmp edi, edx
jge case.0x49ed35.69
mov ebx, dword [esi + 0x98]
inc edi
mov dword [esp + 0x10], 1
jmp case.0x49ed35.69
mov eax, dword [esi + 0x8c]
dec eax
cmp edi, eax
jge case.0x49ed35.69
inc edi
jmp case.0x49ed35.69
cmp edi, dword [esi + 0x90]
jle case.0x49ed35.69
dec edi
jmp case.0x49ed35.69
mov ecx, dword [esi + 0x94]
dec ecx
cmp ebx, ecx
jge case.0x49ed35.69
inc ebx
jmp case.0x49ed35.69
cmp ebx, dword [esi + 0x98]
jle case.0x49ed35.69
dec ebx
jmp case.0x49ed35.69
lea edx, [esp + 0x1c]
mov ecx, esi
push edx
call fcn.004a1380
mov eax, dword [esi + 0x20]
push 0
push 3
push 0x115
push eax
call ebp
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.004a1380
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
je 0x49ef3f
add edi, eax
mov eax, dword [esi + 0x8c]
dec eax
cmp edi, eax
jle case.0x49ed35.69
mov edi, eax
jmp case.0x49ed35.69
lea edx, [esp + 0x14]
mov ecx, esi
push edx
call fcn.004a1380
mov eax, dword [esi + 0x20]
push 0
push 2
push 0x115
push eax
call ebp
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.004a1380
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
sub eax, ecx
je 0x49ef28
add edi, eax
mov eax, dword [esi + 0x90]
cmp edi, eax
jge case.0x49ed35.69
mov edi, eax
jmp case.0x49ed35.69
mov edx, dword [esi + 0x20]
push 0
push 6
push 0x115
push edx
call ebp
mov edi, dword [esi + 0x90]
jmp case.0x49ed35.69
mov eax, dword [esi + 0x20]
push 0
push 7
push 0x115
push eax
call ebp
mov edi, dword [esi + 0x8c]
dec edi
jmp case.0x49ed35.69
mov ecx, esi
call sub.MFC42.DLL_CWnd::Default
cmp edi, dword [esi + 0x12c]
jne 0x49ef63
cmp ebx, dword [esi + 0x130]
je 0x49f003
push ebx
lea ecx, [esp + 0x20]
push edi
push ecx
mov ecx, esi
call fcn.004a00c0
mov eax, dword [esp + 0x28]
sub eax, 9
je 0x49efa6
sub eax, 0x1d
je 0x49ef95
sub eax, 2
jne 0x49eff5
mov edx, dword [esi + 0x20]
push 0
push 1
push 0x115
push edx
call ebp
jmp 0x49eff5
mov eax, dword [esi + 0x20]
push 0
push 0
push 0x115
push eax
call ebp
jmp 0x49eff5
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
mov eax, dword [esp + 0x10]
je 0x49efd5
test eax, eax
je 0x49eff5
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0x115
push ecx
call ebp
mov edx, dword [esi + 0xd4]
push 1
push edx
jmp 0x49efec
test eax, eax
je 0x49eff5
mov eax, dword [esi + 0x20]
push 0
push 1
push 0x115
push eax
call ebp
push 1
push 0
push 0
mov ecx, esi
call fcn.004a1790
mov ecx, dword [esi + 0x20]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc