Function at 0x1801022e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [0x1802f4d40]
xor rax, rsp
mov qword [rbp + 0x280], rax
xor edi, edi
mov rax, qword [0x180309490]
cmp byte [rax], dil
je 0x1801025d5
lea rax, [rbp + 0xf0]
mov qword [rbp + 0x10], rax
lea rax, [rbp + 0x140]
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x18], edi
mov dword [rbp + 0x28], edi
cmp byte [0x1803187f0], dil
je 0x180102700
lea rcx, [rbp + 0x10]
call qword [0x180314d00]
mov rax, qword [rbp + 0x10]
cmp dword [rax], edi
jne 0x1801025d5
lea rax, [rbp + 0xf0]
mov qword [rbp + 0x10], rax
lea rax, [rbp + 0x140]
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x18], edi
mov dword [rbp + 0x28], edi
cmp byte [0x1803187f0], dil
je 0x18010270a
lea rcx, [rbp + 0x10]
call qword [0x18030f8f0]
mov rax, qword [rbp + 0x10]
cmp dword [rax], edi
je 0x1801025d5
mov ecx, dword [0x18031dee0]
mov rax, qword gs:[0x58]
mov edx, 0x26c
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x1803189f0], eax
jg 0x180102714
cmp byte [0x1803189ec], 0
jne 0x1801025d5
mov qword [rsp + 0x40], 0x5f5e100
mov byte [rsp + 0x48], 1
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.1800df850
xor bl, bl
lea rax, [rbp + 0xf0]
mov qword [rbp + 0x10], rax
lea rax, [rbp + 0x140]
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x28], edi
mov dword [rbp + 0x140], edi
lea rax, str.Chat_Message
mov qword [rbp + 0x148], rax
lea rax, [0x18020c580]
mov qword [rbp + 0x150], rax
mov qword [rbp + 0x158], rax
mov qword [rbp + 0x160], rax
mov qword [rbp + 0x168], rax
mov qword [rbp + 0x170], rax
mov dword [rbp + 0x178], 0x100
mov dword [rbp + 0x18], 8
cmp byte [0x1803187f0], bl
je 0x180102757
lea rcx, [rbp + 0x10]
call qword [0x18030f8e8]
lea rax, [rbp + 0xf0]
mov qword [rbp + 0x10], rax
lea rax, [rbp + 0x140]
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x18], edi
mov dword [rbp + 0x28], edi
cmp byte [0x1803187f0], 0
je 0x180102761
lea rcx, [rbp + 0x10]
call qword [0x18030f8f0]
mov rax, qword [rbp + 0x10]
cmp dword [rax], 0
jne 0x180102512
mov ecx, 0x1b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1801024f3
lea rax, [rbp + 0xf0]
mov qword [rbp + 0x10], rax
lea rax, [rbp + 0x140]
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x18], edi
mov dword [rbp + 0x28], edi
cmp byte [0x1803187f0], 0
je 0x18010276b
lea rcx, [rbp + 0x10]
call qword [0x18030f900]
mov bl, 1
mov byte [rsp + 0x48], 0
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call fcn.1800df850
jmp 0x180102472
test bl, bl
jne 0x1801026d2
lea rax, [rbp + 0xf0]
mov qword [rbp + 0x10], rax
lea rax, [rbp + 0x140]
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x18], edi
mov dword [rbp + 0x28], edi
cmp byte [0x1803187f0], bl
je 0x1801026f6
lea rcx, [rbp + 0x10]
call qword [0x18030f8f8]
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 8], xmm1
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x180102570
lea rcx, [rbp - 0x18]
call fcn.180092890
nop
lea rcx, [rbp - 0x18]
call fcn.180159b20
nop
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x1801026d2
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801025cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801025cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801a0f9c
jmp 0x1801026d2
lea rax, [rbp - 0x80]
mov qword [rbp - 0x60], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
lea rax, [rbp - 0x58]
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x20], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
mov ecx, 0x40
call fcn.1801a0f60
mov rdx, rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], 0x35
mov qword [rsp + 0x68], 0x3f
movups xmm0, xmmword [str.Please_wait_until_you_are_in_a_game_to_open_the_chat_]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x18021aa78]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x18021aa88]
movups xmmword [rax + 0x20], xmm0
mov ecx, dword [0x18021aa98]
mov dword [rax + 0x30], ecx
movzx eax, byte [0x18021aa9c]
mov byte [rdx + 0x34], al
mov byte [rdx + 0x35], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], 4
mov qword [rbp], 0xf
mov dword [rbp - 0x18], 0x74616843
mov byte [rbp - 0x14], 0
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1388
mov r9d, 3
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x10]
call fcn.1800ef020
lea rcx, [rbp + 0x10]
call fcn.1800a06d0
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.1801a0f40
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.180158d70
jmp 0x180102542
call fcn.180158d70
jmp 0x180102346
call fcn.180158d70
jmp 0x180102385
lea rcx, [0x1803189f0]
call fcn.1801a13bc
cmp dword [0x1803189f0], 0xffffffff
jne 0x1801023c2
lea rcx, [0x1803189ec]
call fcn.180109000
lea rcx, [0x1802074f0]
call fcn.1801a12fc
nop
lea rcx, [0x1803189f0]
call fcn.1801a1350
jmp 0x1801023c2
call fcn.180158d70
jmp 0x180102468
call fcn.180158d70
jmp 0x18010249b
call fcn.180158d70
jmp 0x1801024e7