Function at 0x4862c7
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x37c
mov eax, 0x54e914
call fcn.00514880
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x388], eax
mov dword [ebp - 0x384], eax
mov dword [ebp - 0x380], eax
push 0x71
pop ecx
mov dword [ebp - 4], eax
lea edi, [ebp - 0x338]
mov esi, str.gTfMnEvojkRWaE0ElCPp4jgRLP9ZlyqsnOd3VtBrzoG5L8D8uftaMfXBzL3WgFQD9ZBmiySQvICze61IwBTGBsnykau5gIDS0i7OIdLM1oFp757VTZGQQcyK0MbKNDoSRVo0jVkCTLaMhHfO3qqCdClNsEm0mN3us3wGJ9R8y6xWobFfak902p34fofc7qU9T4XfSLgHk4aPWcdFSGTlM9rSWN6JgDIqTwQwwWr2GtffpYUfmKYRH7c32Pvb3RlTYeU3mfXlCaaX3GASOzZIXoWtyWrLcTrDSeJjumcPSC6WNrjra2Owm31caTczuQcyfSoWco2veWs0j4iadsxFYF2pgvEMvI8TQCWeJEkumyHa7sQYj8za489DC7QPASCkLcdBtbs40ZjZeVXSoNI9GMajVi8iXPCrO5oj83qgNXVqnKjuaMPAerVsECOfn1E5VbM
lea eax, [ebp - 0x338]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0x370]
call fcn.004057d0
xor eax, eax
lea ecx, [ebp - 0x388]
inc eax
mov dword [ebp - 0x37c], eax
mov byte [ebp - 4], al
lea eax, [ebp - 0x370]
push eax
call fcn.00407f90
xor eax, eax
lea ecx, [ebp - 0x370]
push eax
push 1
mov byte [ebp - 4], al
call fcn.00479e2e
lea ecx, [ebx + 0xec]
xor edi, edi
call fcn.00402cb0
test eax, eax
jle 0x48639a
mov esi, dword [ebp + 8]
push edi
lea ecx, [ebx + 0xec]
mov byte [ebp - 0x371], 0
call fcn.004810fb
lea ecx, [ebp - 0x371]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push esi
call dword [edx]
cmp byte [ebp - 0x371], 0
jne 0x4864e2
lea ecx, [ebx + 0xec]
inc edi
call fcn.00402cb0
cmp edi, eax
jl 0x486356
xor eax, eax
mov dword [ebp - 0x364], eax
mov dword [ebp - 0x360], eax
mov dword [ebp - 0x35c], eax
push 0x58
pop ecx
mov esi, str.fUftl9eJrH8AhFgmedMvZ7anNwWU1nRrwY2P4mMUhSQ0hrFybF8LJ3Pl4O5lMMqhAhcrKDpClAJNvtHNw6Vh3XgGOeurhZ0Tt2DHDTn6oLZgren5w1feVsIMsI7YCFtZwfaXSBPrQLYVPpZB9IkA7YD4UJnH3qjhYqihYgZtkf1UZBjkbkkuHtfhwrW3qfXwF0h7j5jB1O7GPyqBamnlvXuNY7O0qsdOjy4QWQvCba1Jux2z61uRwqw9xdqlrDZSLDikYpfkbAh9W8p9SWTv0RnuJD4BXj3LpMKpRBCckViyVrDgArqwtwMlacnytrdVRuXEyueN6KOwizDBUfuJeZyNm3kgxau3e
mov byte [ebp - 4], 2
lea edi, [ebp - 0x174]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x350]
movsw word es:[edi], word [esi]
call fcn.004057d0
lea eax, [ebp - 0x350]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x364]
call fcn.00407f90
push 0
push 1
lea ecx, [ebp - 0x350]
mov byte [ebp - 4], 2
call fcn.00479e2e
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x4864fb
sub eax, 4
je 0x48646d
dec eax
sub eax, 1
jne 0x4864d0
push dword [ebp + 0xc]
mov dword [ebp - 0x378], eax
call fcn.005015ce
pop ecx
mov ecx, dword [ebx + 0x5c]
lea edx, [ebp - 0x378]
push reloc.WS2_32.dll_ioctlsocket
mov word [ebp - 0x378], ax
push edx
mov eax, dword [ecx]
push 0x487e43
call dword [eax + 0x10c]
mov esi, eax
test esi, esi
je 0x4864d0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
xor ebx, ebx
inc ebx
jmp 0x486569
cmp dword [ebx + 0x60], 0
je 0x4864d0
xor eax, eax
lea edi, [ebp - 0x354]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov word [ebp - 0x344], ax
mov eax, dword [ebx + 0x70]
mov dword [ebp - 0x34c], eax
mov eax, dword [ebx + 0x74]
mov dword [ebp - 0x358], 6
mov dword [ebp - 0x348], eax
call fcn.00483d36
mov word [ebp - 0x342], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x60]
lea edx, [ebp - 0x358]
mov dword [ebp - 0x350], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x118]
mov byte [ebp - 0x37c], 0
lea ecx, [ebp - 0x364]
call fcn.00479e80
lea ecx, [ebp - 0x388]
call fcn.00479e80
mov al, byte [ebp - 0x37c]
call fcn.0051483b
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x4864d0
mov ecx, dword [ebx + 0x60]
test ecx, ecx
je 0x48654c
mov eax, dword [ecx]
call dword [eax + 0xd8]
test al, al
je 0x48654c
mov ecx, dword [ebx + 0x60]
mov eax, dword [ecx]
call dword [eax + 0xe4]
test al, al
je 0x48654c
mov ecx, dword [ebx + 0x60]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0x1c]
push eax
call fcn.004f0895
pop ecx
pop ecx
test eax, eax
je 0x48654c
mov ecx, dword [ebx + 0x60]
call fcn.004a5cc8
test al, al
je 0x48654c
xor eax, eax
jmp 0x486567
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, ebx
setns al
movzx eax, al
push eax
call fcn.004875fc
mov al, 1
mov bl, al
mov dword [ebp - 0x37c], ebx
jmp 0x4864d7