Function at 0x180003010
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0xa8
mov eax, dword [0x1800b3604]
test eax, eax
jne 0x18000303d
mov ecx, dword [0x1800b3600]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
mov eax, dword [0x1800b3604]
setne byte [0x1800b35e0]
cmp eax, 1
jne 0x180003060
mov ecx, dword [0x1800b3600]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x180003060
cmp byte [0x1800b35e0], 0
sete byte [0x1800b35e0]
cmp byte [0x1800b35e0], 0
je 0x180003469
mov rax, qword [0x1800b4288]
sub rax, qword [0x1800b4280]
mov qword [rsp + 0xb8], rbp
xor ebp, ebp
sar rax, 3
test rax, rax
je 0x180003461
mov qword [rsp + 0xa0], r14
mov ecx, ebp
movaps xmmword [rsp + 0x80], xmm7
mov r14d, ebp
movsd xmm7, qword [0x18005e228]
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xc8], rdi
movaps xmmword [rsp + 0x90], xmm6
nop
mov rax, qword [0x1800b4350]
test rax, rax
je 0x18000340d
cmp qword [rax + 0x278], 0
je 0x18000340d
mov rax, qword [0x1800b4288]
mov rsi, qword [0x1800b4280]
sub rax, rsi
sar rax, 3
cmp rcx, rax
ja 0x18000340d
mov rsi, qword [r14 + rsi]
test rsi, rsi
je 0x18000340d
mov rax, qword [rsi + 0x140]
test rax, rax
je 0x18000340d
test byte [rax + 0x154], 0x20
je 0x18000340d
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.18004c7d0
mov rcx, qword [0x1800b4350]
lea rdx, [rsp + 0x50]
mov rdi, rax
mov rcx, qword [rcx + 0x278]
call fcn.18004c7d0
movss xmm0, dword [rdi + 0x14]
movaps xmm1, xmm7
mov rbx, rax
subss xmm0, dword [rax + 0x14]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
movaps xmm1, xmm7
movss xmm0, dword [rdi + 0x10]
subss xmm0, dword [rbx + 0x10]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movss xmm1, dword [rdi + 0x18]
addsd xmm6, xmm0
subss xmm1, dword [rbx + 0x18]
cvtps2pd xmm0, xmm1
movaps xmm1, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm6, xmm0
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm6
ucomiss xmm1, xmm0
ja 0x1800031c0
sqrtss xmm0, xmm0
jmp 0x1800031c5
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov eax, dword [0x1800b360c]
lea ecx, [rax + rax*4]
add ecx, ecx
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x18000340d
movzx eax, byte [rsi + 0x4e08]
cmp al, 1
jne 0x18000320b
cmp byte [0x1800b3624], 0
je 0x18000340d
lea r9, [0x1800b3628]
lea r8, str._Ambient_
jmp 0x180003405
cmp al, 8
jne 0x18000322f
cmp byte [0x1800b36b0], 0
je 0x18000340d
lea r9, [0x1800b36b4]
lea r8, str._Berserker_
jmp 0x180003405
cmp al, 2
jne 0x180003253
cmp byte [0x1800b3638], 0
je 0x18000340d
lea r9, [0x1800b363c]
lea r8, str._BigGrunt_
jmp 0x180003405
cmp al, 0xf
jne 0x180003277
cmp byte [0x1800b373c], 0
je 0x18000340d
lea r9, [0x1800b3740]
lea r8, str._Coyle_
jmp 0x180003405
cmp al, 0xe
jne 0x18000329b
cmp byte [0x1800b3728], 0
je 0x18000340d
lea r9, [0x1800b372c]
lea r8, str._Gooseberry_
jmp 0x180003405
cmp al, 7
jne 0x1800032bf
cmp byte [0x1800b369c], 0
je 0x18000340d
lea r9, [0x1800b36a0]
lea r8, str._GroundPitcher_
jmp 0x180003405
test al, al
jne 0x1800032e2
cmp byte [0x1800b3610], al
je 0x18000340d
lea r9, [0x1800b3614]
lea r8, str._Grunt_
jmp 0x180003405
cmp al, 0x12
jne 0x180003306
cmp byte [0x1800b3764], 0
je 0x18000340d
lea r9, [0x1800b3768]
lea r8, str._Guard_
jmp 0x180003405
cmp al, 9
jne 0x18000332a
cmp byte [0x1800b36c4], 0
je 0x18000340d
lea r9, [0x1800b36c8]
lea r8, str._Imposter_
jmp 0x180003405
cmp al, 0xa
jne 0x18000334e
cmp byte [0x1800b36d8], 0
je 0x18000340d
lea r9, [0x1800b36dc]
lea r8, str._NightHunter_
jmp 0x180003405
cmp al, 3
jne 0x180003372
cmp byte [0x1800b364c], 0
je 0x18000340d
lea r9, [0x1800b3650]
lea r8, str._PitcherSniper_
jmp 0x180003405
cmp al, 5
jne 0x180003393
cmp byte [0x1800b3674], 0
je 0x18000340d
lea r9, [0x1800b3678]
lea r8, str._RAT_
jmp 0x180003405
cmp al, 6
jne 0x1800033b0
cmp byte [0x1800b3688], 0
je 0x18000340d
lea r9, [0x1800b368c]
lea r8, str._CoolMan_
jmp 0x180003405
cmp al, 0x11
jne 0x1800033cd
cmp byte [0x1800b3750], 0
je 0x18000340d
lea r9, [0x1800b3754]
lea r8, str._Scientist_
jmp 0x180003405
cmp al, 4
jne 0x1800033ea
cmp byte [0x1800b3660], 0
je 0x18000340d
lea r9, [0x1800b3664]
lea r8, str._SleeperScreamer_
jmp 0x180003405
cmp al, 0xb
jne 0x18000340d
cmp byte [0x1800b36ec], 0
je 0x18000340d
lea r9, [0x1800b36f0]
lea r8, str._Spectre_
mov rdx, rsi
call fcn.180002960
mov rax, qword [0x1800b4288]
inc ebp
sub rax, qword [0x1800b4280]
add r14, 8
sar rax, 3
movsxd rcx, ebp
cmp rcx, rax
jb 0x1800030d0
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov r14, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xb8]
add rsp, 0xa8
ret