Function at 0x180022940
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
sub rsp, 0x60
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 + 0x80], 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 0x18002298f
mov rdi, qword [rdi]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x88], r14
cmp rax, 0xc
jb 0x1800229fe
lea rbp, [rax + rdi]
mov edx, 0x42
lea r8, [rbp - 0xb]
mov rcx, rdi
sub r8, rdi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1800229fe
movabs r14, 0x7473695065736142
cmp qword [rbx], r14
jne 0x1800229df
cmp dword [rbx + 8], 0x435f6c6f
je 0x180022a55
inc rbx
lea r8, [rbp - 0xb]
sub r8, rbx
mov rcx, rbx
mov edx, 0x42
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x1800229d1
mov rbx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x48]
mov r14, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x180022a5f
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180022a5a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180022a5a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rbx, rdi
jmp 0x180022a05
call fcn.18003ce04
cmp rbx, 0xffffffffffffffff
je 0x180022b92
cmp byte [0x1800508e5], 0
je 0x180022aa9
mov ecx, dword [0x180050934]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180022aa9
inc dword [0x180050924]
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x180050924]
cmp eax, 7
jne 0x180022aaf
xor eax, eax
mov dword [0x180050924], eax
jmp 0x180022aaf
mov eax, dword [0x180050924]
cmp eax, 6
ja case.default.0x180022acb
lea rcx, [0x180000000]
cdqe
mov edx, dword [rcx + rax*4 + 0x22bac]
add rdx, rcx
jmp rdx
lea rcx, str.Default__BasePistol_VCTCaps24_G2_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__BasePistol_VCTCaps24_G2_Lv3_PrimaryAsset_C
jmp 0x180022b76
lea rcx, str.Default__BasePistol_VCTCaps24_BBL_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__BasePistol_VCTCaps24_BBL_Lv3_PrimaryAsset_C
jmp 0x180022b76
lea rcx, str.Default__BasePistol_Cyberpunk2_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__BasePistol_Cyberpunk2_Lv4_PrimaryAsset_C
jmp 0x180022b76
lea rcx, str.Default__BasePistol_HypeBeast_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__BasePistol_HypeBeast_Blue_PrimaryAsset_C
jmp 0x180022b76
lea rcx, str.Default__BasePistol_Afterglow2_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__BasePistol_Afterglow2_Lv4_PrimaryAsset_C
jmp 0x180022b76
lea rcx, str.Default__BasePistol_Fallen_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__BasePistol_Fallen_Lv3_PrimaryAsset_C
jmp 0x180022b76
lea rcx, str.Default__BasePistol_Atlas_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__BasePistol_Atlas_v1_PrimaryAsset_C
jmp 0x180022b76
lea rcx, str.Default__BasePistol_Cyberpunk2_PrimaryAsset_C
call fcn.1800079e0
lea rcx, str.Default__BasePistol_Cyberpunk2_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 + 0x70]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18003cda0
add rsp, 0x60
pop rsi
ret