Function at 0x41ade0
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 0x41adfb
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
add ecx, 0x4b4
call fcn.0041dda0
cmp dword [ebp - 0x10], eax
jge 0x41ae5f
mov byte [ebp - 1], 0
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 8]
add ecx, 0x4b4
call fcn.0041f830
mov dword [ebp - 0x18], 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 - 0x18]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x18]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x20], eax
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x41ae5d
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x20]
mov dword [edx], eax
mov al, 1
jmp 0x41b0d8
jmp 0x41adf2
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0x100
je 0x41ae8d
cmp dword [ebp - 0x14], 0x104
je 0x41b05a
cmp dword [ebp - 0x14], 0x106
je 0x41afea
jmp 0x41b0d6
cmp dword [ebp + 0xc], 9
jne 0x41afe5
mov edx, dword [ebp - 8]
cmp dword [edx + 0x108], 0
je 0x41af34
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x108]
mov edx, dword [ebp - 8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x108]
mov edx, dword [eax + 0x108]
call edx
movzx eax, al
test eax, eax
je 0x41af34
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x108]
mov eax, dword [ebp - 8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x108]
mov eax, dword [edx + 0x114]
call eax
movzx ecx, al
test ecx, ecx
je 0x41af34
push str.RichEditUI
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x108]
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x108]
mov eax, dword [edx + 0xc]
call eax
push eax
call fcn.004cb9c5
add esp, 8
test eax, eax
je 0x41af34
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x108]
call fcn.0045cd60
movzx edx, al
test edx, edx
je 0x41af34
xor al, al
jmp 0x41b0d8
mov eax, dword [ebp - 8]
cmp dword [eax + 0x108], 0
je 0x41afb8
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x108]
mov eax, dword [ebp - 8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x108]
mov eax, dword [edx + 0x108]
call eax
movzx ecx, al
test ecx, ecx
je 0x41afb8
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x108]
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x108]
mov eax, dword [edx + 0x114]
call eax
movzx ecx, al
test ecx, ecx
je 0x41afb8
push str.WkeWebkitUI
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x108]
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x108]
mov eax, dword [edx + 0xc]
call eax
push eax
call fcn.004cb9c5
add esp, 8
test eax, eax
je 0x41afb8
xor al, al
jmp 0x41b0d8
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jl 0x41afcd
mov byte [ebp - 2], 1
jmp 0x41afd1
mov byte [ebp - 2], 0
movzx edx, byte [ebp - 2]
push edx
mov ecx, dword [ebp - 8]
call fcn.0041cde0
xor al, al
jmp 0x41b0d8
jmp 0x41b0d6
xor eax, eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004da0d8
add esp, 4
mov word [ebp - 0x1c], ax
push reloc.WS2_32.dll_select
lea edx, [ebp - 0x1c]
push edx
push 0x41da40
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x104]
mov edx, dword [ebp - 8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x104]
mov edx, dword [eax + 0x140]
call edx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41b058
push 1
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + 0x130]
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 0x41b0d8
jmp 0x41b0d6
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x108], 0
je 0x41b0d6
xor edx, edx
mov dword [ebp - 0x40], 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 + 0x120]
mov eax, dword [ecx + 0x124]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], eax
call fcn.00415470
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 + 0x108]
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x108]
mov eax, dword [edx + 0x14c]
call eax
xor al, al
mov esp, ebp
pop ebp
ret 0x10