Function at 0x180021b40
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
sub rsp, 0x70
mov rax, qword [0x180050040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, qword [0x180050e28]
lea rcx, [rsp + 0x20]
mov rdx, rsi
mov qword [rsp + 0x90], rdi
call fcn.180008510
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180006c90
mov rdi, rax
mov rax, qword [rax + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x180021b8f
mov rdi, qword [rdi]
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], r15
cmp rax, 0x11
jb 0x180021c13
lea rbp, [rax + rdi]
mov edx, 0x41
lea r8, [rbp - 0x10]
mov rcx, rdi
sub r8, rdi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x180021c13
movabs r14, 0x6974616d6f747541
movabs r15, 0x5f6c6f7473695063
cmp qword [rbx], r14
jne 0x180021bf4
cmp qword [rbx + 8], r15
jne 0x180021bf4
cmp byte [rbx + 0x10], 0x43
je 0x180021c6f
inc rbx
lea r8, [rbp - 0x10]
sub r8, rbx
mov rcx, rbx
mov edx, 0x41
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x180021be3
mov rbx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x48]
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x88]
cmp rdx, 0xf
jbe 0x180021c79
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180021c74
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180021c74
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rbx, rdi
jmp 0x180021c1a
call fcn.18003ce04
cmp rbx, 0xffffffffffffffff
je 0x180021dac
cmp byte [0x1800508e5], 0
je 0x180021cc3
mov ecx, dword [0x180050934]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180021cc3
inc dword [0x18005093c]
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x18005093c]
cmp eax, 8
jne 0x180021cc9
xor eax, eax
mov dword [0x18005093c], eax
jmp 0x180021cc9
mov eax, dword [0x18005093c]
cmp eax, 7
ja case.0x180021ce5.7
lea rcx, [0x180000000]
cdqe
mov edx, dword [rcx + rax*4 + 0x21dc8]
add rdx, rcx
jmp rdx
lea rcx, str.Default__AutomaticPistol_Dragon_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__AutomaticPistol_Dragon_Blue_PrimaryAsset_C
jmp 0x180021d90
lea rcx, str.Default__AutomaticPistol_Cyberpunk_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__AutomaticPistol_Cyberpunk_Blue_PrimaryAsset_C
jmp 0x180021d90
lea rcx, str.Default__AutoPistol_URF_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__AutoPistol_URF_Standard_PrimaryAsset_C
jmp 0x180021d90
lea rcx, str.Default__AutomaticPistol_HypeBeast2_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__AutomaticPistol_HypeBeast2_PrimaryAsset_C
jmp 0x180021d90
lea rcx, str.Default__AutoPistol_Oblivion2_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__AutoPistol_Oblivion2_Lv4_PrimaryAsset_C
jmp 0x180021d90
lea rcx, str.Default__AutoPistol_Oni2_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__AutoPistol_Oni2_PrimaryAsset_C
jmp 0x180021d90
lea rcx, str.Default__AutoPistol_Circle_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__AutoPistol_Circle_Lv4_PrimaryAsset_C
jmp 0x180021d90
lea rcx, str.Default__AutoPistol_Afterglow_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__AutoPistol_Afterglow_Lv4_PrimaryAsset_C
mov rbx, rax
call fcn.1800079e0
mov r9d, 4
mov r8, rax
mov rdx, rbx
mov rcx, rsi
call fcn.180018fd0
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18003cda0
add rsp, 0x70
pop rsi
ret