Function at 0x49c690
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x5bc]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x14], esi
jge 0x49c6b5
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], esi
jmp 0x49c6d8
push eax
lea ecx, [edi + 0x5c8]
call fcn.0058d18c
cmp eax, esi
mov dword [esp + 0x10], eax
mov ebx, eax
jne 0x49c6d1
mov dword [esp + 0x18], esi
jmp 0x49c6d8
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x20]
mov ebp, dword [edi + 0x5bc]
lea eax, [esi - 0xd]
cmp eax, 0x1b
ja case.0x49c6f5.14
movzx edx, byte [eax + 0x49ca98]
jmp dword [edx*4 + 0x49ca80]
mov eax, dword [esp + 0x18]
push eax
push 0x6aac58
mov dword [esp + 0x1c], 1
call fcn.0056ef6f
mov esi, eax
add esp, 8
test esi, esi
je 0x49c863
mov edx, dword [esi]
mov eax, dword [edx + 0xa8]
push 0
mov ecx, esi
call eax
test eax, eax
jne 0x49c863
mov ecx, edi
call fcn.00430810
mov ecx, dword [eax + 0x20]
push 0
push 0xe001
push 0x362
push ecx
call dword [sym.imp.user32.dll_SendMessageA]
mov edx, dword [edi]
mov eax, dword [edx + 0x218]
push esi
mov ecx, edi
call eax
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x10]
cmp dword [edi + 0x5d4], 0
mov dword [esp + 0x14], 1
je 0x49c863
test ebx, ebx
mov dword [esp + 0x20], ebx
je 0x49c7af
lea ecx, [esp + 0x20]
push ecx
lea ecx, [edi + 0x5c8]
call fcn.004593b0
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x49c7b9
mov esi, dword [edi + 0x5cc]
xor ebp, ebp
jmp 0x49c7bc
add ebp, 1
cmp esi, ebx
je 0x49c863
test esi, esi
mov ebx, esi
mov eax, esi
je 0x49c871
mov eax, dword [eax + 8]
test byte [eax + 0xc], 1
mov esi, dword [esi]
jne 0x49c7e9
add eax, 0x30
push eax
call dword [sym.imp.user32.dll_IsRectEmpty]
test eax, eax
je 0x49c7fe
add ebp, 1
test esi, esi
jne 0x49c7f8
mov esi, dword [edi + 0x5cc]
xor ebp, ebp
cmp esi, dword [esp + 0x10]
jne 0x49c7c4
test ebx, ebx
je 0x49c863
mov ebx, dword [ebx + 8]
mov eax, dword [esp + 0x18]
cmp ebx, eax
je 0x49c863
cmp dword [0x6bce3c], 0
je 0x49c81c
mov dword [edi + 0x5c0], ebp
test eax, eax
mov esi, dword [sym.imp.user32.dll_InvalidateRect]
mov dword [edi + 0x5bc], ebp
je 0x49c838
mov ecx, dword [edi + 0x20]
push 1
add eax, 0x30
push eax
push ecx
call esi
mov eax, dword [edi + 0x20]
push 1
lea edx, [ebx + 0x30]
push edx
push eax
call esi
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.user32.dll_UpdateWindow]
mov eax, dword [ebx + 8]
cmp eax, 0xffffffff
je 0x49c863
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x23c]
mov ecx, edi
call eax
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
call fcn.0056c8bd
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x10]
cmp dword [edi + 0x5d4], 0
mov dword [esp + 0x14], 1
je 0x49c863
test ebx, ebx
mov dword [esp + 0x20], ebx
je 0x49c8b3
lea edx, [esp + 0x20]
push edx
lea ecx, [edi + 0x5c8]
call fcn.0045be60
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x49c8bf
mov esi, dword [edi + 0x5d0]
mov ebp, dword [edi + 0x5d4]
sub ebp, 1
cmp esi, ebx
je 0x49c863
test esi, esi
mov ebx, esi
mov eax, esi
je 0x49c871
mov eax, dword [eax + 8]
test byte [eax + 0xc], 1
mov esi, dword [esi + 4]
jne 0x49c8e8
add eax, 0x30
push eax
call dword [sym.imp.user32.dll_IsRectEmpty]
test eax, eax
je 0x49c904
sub ebp, 1
test esi, esi
jne 0x49c8fe
mov ebp, dword [edi + 0x5d4]
mov esi, dword [edi + 0x5d0]
sub ebp, 1
cmp esi, dword [esp + 0x10]
jne 0x49c8c6
test ebx, ebx
je 0x49c863
mov eax, dword [ebx + 8]
mov dword [esp + 0x20], eax
mov ebx, eax
jmp 0x49c805
cmp dword [0x6bce3c], 0
jne 0x49c863
push 0x11
call dword [sym.imp.user32.dll_GetAsyncKeyState]
test ax, ax
js 0x49c863
call fcn.00457f70
lea ecx, [esp + 0x10]
push ecx
lea ecx, [edi + 0x6a8]
lea ebx, [esp + 0x24]
mov dword [esp + 0x24], eax
call fcn.00490640
test eax, eax
je 0x49ca25
mov eax, dword [edi + 0x5cc]
mov ebx, dword [esp + 0x10]
xor edx, edx
test eax, eax
je 0x49c98c
lea ecx, [ecx]
test eax, eax
mov ecx, eax
je 0x49c871
cmp dword [ecx + 8], ebx
mov eax, dword [eax]
je 0x49c98a
add edx, 1
test eax, eax
jne 0x49c970
jmp 0x49c98c
mov ebp, edx
push ebx
push 0x6aac58
call fcn.0056ef6f
mov esi, eax
add esp, 8
test esi, esi
je 0x49c805
mov edx, dword [esi]
mov eax, dword [edx + 0xa8]
push 0
mov ecx, esi
call eax
test eax, eax
je 0x49c9dc
mov esi, dword [esi + 0x88]
test esi, esi
je 0x49c805
mov ecx, dword [esi + 0x20]
push 0
push 0x24
push 0x100
push ecx
call dword [sym.imp.user32.dll_SendMessageA]
jmp 0x49c805
test dword [ebx + 0xc], 0x40000
je 0x49c9fd
push 0
mov ebx, edi
call fcn.0049b320
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4
mov edx, dword [edi]
mov eax, dword [edx + 0x218]
push esi
mov ecx, edi
call eax
test eax, eax
mov dword [esp + 0x14], eax
je 0x49c805
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4
cmp dword [0x6a6e8c], 0
je 0x49c863
cmp dword [edi + 0x6f0], 0
jne 0x49c863
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [edi + 0x70c]
push edx
mov dword [esp + 0x20], 0
call fcn.00486150
test eax, eax
je 0x49c863
mov eax, dword [esp + 0x18]
push eax
mov ebx, edi
call fcn.0049b320
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4