Function at 0x489cd3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0x4a8]
call fcn.004833e1
mov edi, dword [ebp + 8]
test eax, eax
jle 0x489d29
push ebx
lea ecx, [esi + 0x4a8]
mov byte [ebp + 0xb], 0
call fcn.00482f20
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x489d87
lea ecx, [esi + 0x4a8]
inc ebx
call fcn.004833e1
cmp ebx, eax
jl 0x489cf2
sub edi, 0x100
je 0x489df4
sub edi, 4
je 0x489d8b
dec edi
sub edi, 1
jne 0x489deb
push dword [ebp + 0xc]
and dword [ebp + 8], edi
call fcn.00511c4d
pop ecx
mov ecx, dword [esi + 0x104]
lea edx, [ebp + 8]
push reloc.WS2_32.dll_select
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push 0x48b935
call dword [eax + 0x13c]
mov esi, eax
test esi, esi
je 0x489deb
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x130]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x489ded
cmp dword [esi + 0x108], 0
je 0x489deb
xor eax, eax
mov dword [ebp - 0x20], 6
mov word [ebp - 2], ax
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x11c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x120]
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0xa], xmm0
mov dword [ebp - 0x10], eax
call fcn.004868b4
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x489deb
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x489e4d
mov eax, dword [ecx]
call dword [eax + 0x108]
test al, al
je 0x489e4d
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x114]
test al, al
je 0x489e4d
mov ecx, dword [esi + 0x108]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0050efb7
pop ecx
pop ecx
test eax, eax
je 0x489e4d
mov ecx, dword [esi + 0x108]
call fcn.004b59f9
test al, al
jne 0x489deb
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x489e95
mov eax, dword [ecx]
call dword [eax + 0x108]
test al, al
je 0x489e95
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x114]
test al, al
je 0x489e95
mov ecx, dword [esi + 0x108]
push str.WkeWebkitUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0050efb7
pop ecx
pop ecx
test eax, eax
jne 0x489deb
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x489edd
mov eax, dword [ecx]
call dword [eax + 0x108]
test al, al
je 0x489edd
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x114]
test al, al
je 0x489edd
mov ecx, dword [esi + 0x108]
push str.MbWebkitUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0050efb7
pop ecx
pop ecx
test eax, eax
jne 0x489deb
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x489f25
mov eax, dword [ecx]
call dword [eax + 0x108]
test al, al
je 0x489f25
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x114]
test al, al
je 0x489f25
mov ecx, dword [esi + 0x108]
push str.CefBrowserOsrUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0050efb7
pop ecx
pop ecx
test eax, eax
jne 0x489deb
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.0048b280
jmp 0x489d87