Function at 0x47b090
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea ecx, [esi + 0x278]
call fcn.00481060
mov ebx, dword [ebp + 8]
test eax, eax
jle 0x47b0eb
nop
push edi
lea ecx, [esi + 0x278]
mov byte [ebp + 0xb], 0
call fcn.00480c50
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push ebx
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x47b3b1
lea ecx, [esi + 0x278]
inc edi
call fcn.00481060
cmp edi, eax
jl 0x47b0b0
sub ebx, 0x100
je 0x47b1c1
sub ebx, 4
je 0x47b156
sub ebx, 2
jne 0x47b1b6
push dword [ebp + 0xc]
mov dword [ebp + 8], ebx
call fcn.005a3b9f
mov ecx, dword [esi + 0x9c]
lea edx, [ebp + 8]
add esp, 4
mov word [ebp + 8], ax
mov eax, dword [ecx]
push reloc.WS2_32.dll_select
push edx
push 0x47ea10
call dword [eax + 0x174]
mov esi, eax
test esi, esi
je 0x47b1b6
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x15c]
mov edx, dword [esi]
mov ecx, esi
push ebx
call dword [edx + 0x18]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esi + 0xa0], 0
je 0x47b1b6
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
movq qword [ebp - 0x14], xmm0
mov word [ebp - 0x14], ax
mov eax, dword [esi + 0xb8]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0xbc]
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x28], 6
mov dword [ebp - 0x18], eax
call fcn.00474f80
mov word [ebp - 0x12], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xa0]
lea edx, [ebp - 0x28]
mov dword [ebp - 0x20], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x180]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x47b1b6
mov ecx, dword [esi + 0xa0]
test ecx, ecx
je 0x47b22f
mov eax, dword [ecx]
mov eax, dword [eax + 0x134]
call eax
test al, al
je 0x47b22f
mov ecx, dword [esi + 0xa0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x140]
call eax
test al, al
je 0x47b22f
mov ecx, dword [esi + 0xa0]
lea edx, [ebp - 8]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
push 0xa
push str.RichEditUI
push 0
push dword [eax + 4]
push dword [eax]
call fcn.0045e820
add esp, 0x14
cmp eax, dword [0x625120]
je 0x47b22f
mov ecx, dword [esi + 0xa0]
call fcn.00490ea0
test al, al
jne 0x47b1b6
mov ecx, dword [esi + 0xa0]
test ecx, ecx
je 0x47b28c
mov eax, dword [ecx]
mov eax, dword [eax + 0x134]
call eax
test al, al
je 0x47b28c
mov ecx, dword [esi + 0xa0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x140]
call eax
test al, al
je 0x47b28c
mov ecx, dword [esi + 0xa0]
lea edx, [ebp - 8]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
push 0xb
push str.WkeWebkitUI
push 0
push dword [eax + 4]
push dword [eax]
call fcn.0045e820
add esp, 0x14
cmp eax, dword [0x625120]
jne 0x47b1b6
lea ebx, [esi + 0x328]
mov ecx, ebx
call fcn.00481060
test eax, eax
jle 0x47b398
mov ecx, ebx
call fcn.00481060
test eax, eax
jle 0x47b3b1
push dword [esi + 0xa0]
mov ecx, ebx
call fcn.00480e20
test eax, eax
jns 0x47b2c7
mov eax, dword [esi + 0x368]
push 0
push 0x62565c
push 0x627f04
push 0
push dword [esi + 0x9c]
inc eax
mov dword [esi + 0x368], eax
call fcn.0058f7ab
add esp, 0x14
mov dword [ebp + 0x10], eax
test eax, eax
je 0x47b3b1
mov edi, dword [esi + 0x368]
mov ecx, ebx
call fcn.00481060
add eax, dword [esi + 0x368]
cmp edi, eax
jge 0x47b3b1
mov ecx, ebx
call fcn.00481060
mov ecx, eax
mov eax, edi
cdq
idiv ecx
mov ecx, ebx
mov eax, edx
push eax
mov dword [ebp + 0xc], eax
call fcn.00480c50
mov dword [ebp + 8], eax
test eax, eax
je 0x47b353
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0048c660
test al, al
je 0x47b353
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x134]
call eax
test al, al
jne 0x47b37a
inc edi
jmp 0x47b35e
mov eax, dword [ebp + 0xc]
mov ecx, ebx
push eax
call fcn.004812d0
mov ecx, ebx
call fcn.00481060
add eax, dword [esi + 0x368]
cmp edi, eax
jl 0x47b310
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
mov dword [esi + 0x368], eax
call fcn.0047d6b0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.0047dc30
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10