Function at 0x180020a40
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x70
mov rax, qword [0x180050040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, qword [0x180050e28]
lea rcx, [rsp + 0x20]
mov rdx, rdi
mov qword [rsp + 0x90], rsi
call fcn.180008510
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180006c90
mov rsi, rax
mov rax, qword [rax + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x180020a8f
mov rsi, qword [rsi]
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], r15
cmp rax, 0x14
jb 0x180020b16
lea rbp, [rax + rsi]
mov edx, 0x41
lea r8, [rbp - 0x13]
mov rcx, rsi
sub r8, rsi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x180020b16
movabs r14, 0x5f7974696c696241
movabs r15, 0x61425f65656c654d
cmp qword [rbx], r14
jne 0x180020af7
cmp qword [rbx + 8], r15
jne 0x180020af7
cmp dword [rbx + 0x10], 0x435f6573
je 0x180020b72
inc rbx
lea r8, [rbp - 0x13]
sub r8, rbx
mov rcx, rbx
mov edx, 0x41
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x180020ae3
mov rbx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x48]
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x88]
cmp rdx, 0xf
jbe 0x180020b7c
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180020b77
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180020b77
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rbx, rsi
jmp 0x180020b1d
call fcn.18003ce04
cmp rbx, 0xffffffffffffffff
je 0x180020e0d
cmp byte [0x1800508e5], 0
je 0x180020bc6
mov ecx, dword [0x180050934]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180020bc6
inc dword [0x1800508e0]
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x1800508e0]
cmp eax, 0x14
jne 0x180020bcf
xor eax, eax
mov dword [0x1800508e0], eax
jmp 0x180020bcc
mov eax, dword [0x1800508e0]
cmp eax, 0x14
ja case.default.0x180020be8
lea rcx, [0x180000000]
cdqe
mov edx, dword [rcx + rax*4 + 0x20e28]
add rdx, rcx
jmp rdx
lea rcx, str.Default__Melee_Hypedragon_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__Melee_Hypedragon_v2_PrimaryAsset_C
jmp 0x180020df1
lea rcx, str.Default__Melee_Ninja_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__Melee_Ninja_V1_PrimaryAsset_C
jmp 0x180020df1
lea rcx, str.Default__Melee_Champions2023_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__Melee_Champions2023_PrimaryAsset_C
mov rbx, rax
call fcn.1800079e0
mov r9d, 3
jmp 0x180020dff
lea rcx, str.Default__Melee_Magepunk3_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__Melee_Magepunk3_PrimaryAsset_C
jmp 0x180020df1
lea rcx, str.Default__Melee_Esportsinvitational_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__Melee_Esportsinvitational_Standard_PrimaryAsset_C
jmp 0x180020df1
lea rcx, str.Default__Melee_Champions_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__Melee_Champions_Lv2_PrimaryAsset_C
jmp 0x180020df1
lea rcx, str.Default__Melee_Soulstealer2_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__Melee_Soulstealer2_v1_PrimaryAsset_C
jmp 0x180020df1
lea rcx, str.Default__Melee_Infantry2_Lv2_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__Melee_Infantry2_PrimaryAsset_C
jmp 0x180020df1
lea rcx, str.Default__Melee_Afterglow2_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__Melee_Afterglow2_v2_PrimaryAsset_C
jmp 0x180020df1
lea rcx, str.Default__Melee_Alien_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__Melee_Alien_Lv2_PrimaryAsset_C
jmp 0x180020df1
lea rcx, str.Default__Melee_HypeBeast2_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__Melee_HypeBeast2_Lv2_PrimaryAsset_C
jmp 0x180020df1
lea rcx, str.Default__Melee_Soulstealer_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__Melee_Soulstealer_Lv2_PrimaryAsset_C
jmp 0x180020df1
lea rcx, str.Default__Melee_Comicbook_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__Melee_Comicbook_Lv2_PrimaryAsset_C
jmp 0x180020df1
lea rcx, str.Default__Melee__Dragon_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__Melee__Dragon_Lv2_PrimaryAsset_C
jmp 0x180020df1
lea rcx, str.Default__Melee_Antares_v2_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__Melee_Antares_Lv2_PrimaryAsset_C
jmp 0x180020df1
lea rcx, str.Default__Melee_Haunted_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__Melee_Haunted_Lv2_PrimaryAsset_C
jmp 0x180020df1
lea rcx, str.Default__Melee_Mythic_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__Melee_Mythic_Lv2_PrimaryAsset_C
jmp 0x180020df1
lea rcx, str.Default__Melee_Magepunk2_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__Melee_Magepunk2_Lv2_PrimaryAsset_C
jmp 0x180020df1
lea rcx, str.Default__Melee__Oni_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__Melee__Oni_Lv2_PrimaryAsset_C
jmp 0x180020df1
lea rcx, str.Default__Melee_Oni2_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__Melee_Oni2_Lv2_PrimaryAsset_C
jmp 0x180020df1
lea rcx, str.Default__Melee_Fallen_Lv2_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__Melee_Fallen_PrimaryAsset_C
jmp 0x180020df1
lea rcx, str.Default__Melee_DemonStone_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__Melee_DemonStone_v2_PrimaryAsset_C
mov rbx, rax
call fcn.1800079e0
mov r9d, 2
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call fcn.180018fd0
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18003cda0
add rsp, 0x70
pop rdi
ret