Function at 0x10018670
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 0x100c3c7e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2c
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 - 0x38], 0
xorps xmm0, xmm0
mov eax, dword [0x100df4b0]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x28], eax
movq xmm0, qword [str.rage_doubletap]
mov ax, word [0x100df4b4]
mov dword [ebp - 0x20], 0xe
mov dword [ebp - 0x1c], 0xf
movq qword [ebp - 0x30], xmm0
mov word [ebp - 0x24], ax
mov byte [ebp - 0x22], 0
lea eax, [ebp - 0x30]
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 - 0x1c]
mov byte [ebp - 0x31], al
cmp ecx, 0x10
jb 0x10018746
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10018739
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10018739
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 - 0x31]
add esp, 8
test al, al
je 0x10018934
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push 0x20
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0xf
call fcn.1000e610
movups xmm0, xmmword [str.rage_doubletap_key_style]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], 0x18
mov dword [ebp - 0x1c], 0x1f
movups xmmword [eax], xmm0
movq xmm0, qword [0x100df4c8]
movq qword [eax + 0x10], xmm0
mov byte [eax + 0x18], 0
lea eax, [ebp - 0x30]
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 - 0x1c]
cmp ecx, 0x10
jb 0x100187ea
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100187e0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100187e0
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 0x100188e2
push 0x20
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
call fcn.1000e610
movups xmm0, xmmword [0x100df4d4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], 0x12
mov dword [ebp - 0x1c], 0x1f
movups xmmword [eax], xmm0
mov dx, word [0x100df4e4]
mov word [eax + 0x10], dx
mov byte [eax + 0x12], 0
lea eax, [ebp - 0x30]
mov dword [ebp - 4], esi
push eax
mov ecx, 0x10139720
mov dword [ebp - 0x38], 1
call fcn.1000dd80
push dword [eax]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
mov eax, dword [0x10135d00]
je 0x10018881
movss xmm0, dword [0x100f0388]
subss xmm0, dword [eax]
call fcn.10003c10
comiss xmm0, dword [0x100e563c]
mov byte [ebp - 0x31], 1
ja 0x10018885
mov byte [ebp - 0x31], 0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x100188c0
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100188b1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100188b1
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 - 0x31], 0
je 0x1001893b
cmp byte [0x10135b10], 0
sete byte [0x10135b10]
movss xmm0, dword [eax]
movss dword [0x100f0388], xmm0
jmp 0x1001893b
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], 0x12
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [0x100df4d4]
movups xmmword [eax], xmm0
mov cx, word [0x100df4e4]
mov word [eax + 0x10], cx
mov byte [eax + 0x12], 0
call fcn.10031140
mov byte [0x10135b10], al
jmp 0x1001893b
mov byte [0x10135b10], 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