Function at 0x4762e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 0
jmp 0x4762fb
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
add ecx, 0x1b8
call fcn.004ffa15
cmp dword [ebp - 0x10], eax
jge 0x476357
mov byte [ebp - 1], 0
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 8]
add ecx, 0x1b8
call fcn.004f0492
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 1]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x20], eax
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x476355
mov al, 1
jmp 0x476556
jmp 0x4762f2
mov edx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0x100
je 0x476385
cmp dword [ebp - 0x14], 0x104
je 0x4764d4
cmp dword [ebp - 0x14], 0x106
je 0x47645c
jmp 0x476554
cmp dword [ebp + 0xc], 9
jne 0x476457
mov eax, dword [ebp - 8]
cmp dword [eax + 0x13c], 0
je 0x47642c
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x13c]
mov eax, dword [ebp - 8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x13c]
mov eax, dword [edx + 0xc8]
call eax
movzx ecx, al
test ecx, ecx
je 0x47642c
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x13c]
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x13c]
mov eax, dword [edx + 0xd4]
call eax
movzx ecx, al
test ecx, ecx
je 0x47642c
push str.RichEditUI
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x13c]
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x13c]
mov eax, dword [edx + 0xc]
call eax
push eax
call fcn.005e192c
add esp, 8
test eax, eax
je 0x47642c
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x13c]
call fcn.004f78a0
movzx edx, al
test edx, edx
je 0x47642c
xor al, al
jmp 0x476556
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jl 0x47643f
mov byte [ebp - 2], 1
jmp 0x476443
mov byte [ebp - 2], 0
movzx ecx, byte [ebp - 2]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00479cb0
mov al, 1
jmp 0x476556
jmp 0x476554
xor edx, edx
mov word [ebp - 0x18], dx
xor eax, eax
mov word [ebp - 0x16], ax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.005e6c97
add esp, 4
mov word [ebp - 0x18], ax
push reloc.WS2_32.dll_ioctlsocket
lea edx, [ebp - 0x18]
push edx
push 0x47b670
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x138]
mov edx, dword [ebp - 8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x138]
mov edx, dword [eax + 0xfc]
call edx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4764cf
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + 0xf0]
call eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + 0x18]
call eax
mov al, 1
jmp 0x476556
jmp 0x476554
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x13c], 0
je 0x476554
mov dword [ebp - 0x40], 0
xor edx, edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x40], 6
mov ax, word [ebp + 0xc]
mov word [ebp - 0x2c], ax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x14c]
mov eax, dword [ecx + 0x150]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], eax
call fcn.00474de0
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x13c]
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x13c]
mov eax, dword [edx + 0x108]
call eax
xor al, al
mov esp, ebp
pop ebp
ret 0x10