Function at 0x10018c60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3cde
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x24
mov eax, dword [0x100f0364]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], 0
xorps xmm0, xmm0
mov eax, dword [0x100df538]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], eax
movq xmm0, qword [str.rage_autopeek]
mov al, byte [0x100df53c]
mov dword [ebp - 0x1c], 0xd
mov dword [ebp - 0x18], 0xf
movq qword [ebp - 0x2c], xmm0
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1f], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x10139700
call fcn.1000dda0
mov al, byte [eax]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 0x2d], al
cmp ecx, 0x10
jb 0x10018d34
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10018d27
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10018d27
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100c0328
mov al, byte [ebp - 0x2d]
add esp, 8
test al, al
je 0x10018f2f
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push 0x20
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
call fcn.1000e610
movups xmm0, xmmword [str.rage_autopeek_key_style]
mov edx, eax
mov dword [ebp - 0x1c], 0x17
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x18], 0x1f
movups xmmword [edx], xmm0
mov ecx, dword [0x100df550]
mov dword [edx + 0x10], ecx
mov cx, word [0x100df554]
mov word [edx + 0x14], cx
mov al, byte [0x100df556]
mov byte [edx + 0x16], al
mov byte [edx + 0x17], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 1
push eax
mov ecx, 0x10139720
call fcn.1000dd80
mov esi, dword [eax]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x10018de9
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10018ddf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10018ddf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100c0328
add esp, 8
xorps xmm0, xmm0
cmp esi, 2
jne 0x10018edf
push 0x20
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
call fcn.1000e610
movups xmm0, xmmword [0x100df558]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], 0x11
mov dword [ebp - 0x18], 0x1f
movups xmmword [eax], xmm0
mov dl, byte [0x100df568]
mov byte [eax + 0x10], dl
mov byte [eax + 0x11], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], esi
push eax
mov ecx, 0x10139720
mov dword [ebp - 0x34], 1
call fcn.1000dd80
push dword [eax]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
mov eax, dword [0x10135d00]
je 0x10018e7e
movss xmm0, dword [0x101353a0]
subss xmm0, dword [eax]
call fcn.10003c10
comiss xmm0, dword [0x100e5658]
mov byte [ebp - 0x2d], 1
ja 0x10018e82
mov byte [ebp - 0x2d], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x10018ebd
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10018eae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10018eae
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100c0328
mov eax, dword [0x10135d00]
add esp, 8
cmp byte [ebp - 0x2d], 0
je 0x10018f36
cmp byte [0x1013078f], 0
sete byte [0x1013078f]
movss xmm0, dword [eax]
movss dword [0x101353a0], xmm0
jmp 0x10018f36
sub esp, 0x18
mov esi, esp
push 0x20
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.1000e610
mov dword [esi], eax
mov dword [esi + 0x10], 0x11
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [0x100df558]
movups xmmword [eax], xmm0
mov cl, byte [0x100df568]
mov byte [eax + 0x10], cl
mov byte [eax + 0x11], 0
call fcn.10031140
mov byte [0x1013078f], al
jmp 0x10018f36
mov byte [0x1013078f], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100bfdfa
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret