Function at 0x180054c40
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
mov rax, qword [0x1800e2240]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r13, rdx
mov rsi, rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov ecx, 0x46
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ebx, ax
shr ebx, 0xf
lea rcx, [rsp + 0x20]
call fcn.180045630
test bl, 1
je 0x180054d28
cmp dword [rsi + 0xf0], ebp
jne 0x180054d28
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
sub rcx, qword [rsi + 0x140]
imul rax, qword [rsi + 0x148], 0xf4240
cmp rcx, rax
je 0x180054cd7
jl 0x180054d28
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x180054d28
mov ecx, 0x41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x180054d28
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x180054d28
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x180054d28
mov dword [rsi + 0xf0], 1
mov qword [rsi + 0x140], rbx
cmp dword [rsi + 0xf0], 1
jne 0x180055132
mov rcx, qword [0x1801a5878]
test rcx, rcx
jne 0x180054d46
mov r15, rbp
jmp 0x180054d55
mov rax, qword [rcx]
mov rdx, qword [rax + 0xe0]
call rdx
mov r15, rax
mov r14, rbp
movss xmm9, dword [0x1800ca10c]
mov rcx, qword [r15 + 0x288]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x20], 1
mov rax, qword [rcx]
mov r8, qword [rax + 0x930]
lea rdx, [rsp + 0x28]
call r8
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
movsd xmm10, qword [0x1800c9fe8]
cmp rdi, r12
je 0x180054e6d
nop dword [rax]
mov dl, 1
mov rcx, qword [rdi]
call fcn.1800a8080
test al, al
je 0x180054e5b
lea rdx, [rsp + 0x40]
mov rcx, qword [rdi]
call fcn.180036b00
mov rbx, rax
lea rdx, [rsp + 0x4c]
mov rcx, r15
call fcn.180036b00
movss xmm7, dword [rbx + 8]
subss xmm7, dword [rax + 8]
movss xmm6, dword [rbx + 4]
subss xmm6, dword [rax + 4]
movss xmm0, dword [rbx]
subss xmm0, dword [rax]
cvtps2pd xmm0, xmm0
movaps xmm1, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm8, xmm0
cvtps2pd xmm0, xmm6
movaps xmm1, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm8, xmm0
cvtps2pd xmm0, xmm7
movaps xmm1, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm8, xmm0
xorps xmm1, xmm1
ucomisd xmm1, xmm8
ja 0x180054e41
xorps xmm0, xmm0
sqrtsd xmm0, xmm8
jmp 0x180054e4a
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
cvtsd2ss xmm0, xmm0
comiss xmm9, xmm0
jbe 0x180054e5b
movaps xmm9, xmm0
mov r14, qword [rdi]
add rdi, 8
cmp rdi, r12
jne 0x180054db0
mov rdi, qword [rsp + 0x28]
test rdi, rdi
je 0x180054ebc
mov rdx, qword [rsp + 0x38]
sub rdx, rdi
and rdx, 0xfffffffffffffff8
mov rax, rdi
cmp rdx, 0x1000
jb 0x180054ea6
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180054ea6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1800acaa4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rbp
test r14, r14
jne 0x180054ee7
mov dword [rsi + 0xf0], ebp
mov rax, qword [0x1801a5878]
mov rcx, qword [rax + 0xd0]
mov rax, qword [rcx + 0xd8]
mov dword [rax], 0x41a00000
jmp 0x180055132
movss xmm0, dword [rsi + 0x110]
xorps xmm1, xmm1
movss xmm2, dword [0x180114624]
comiss xmm0, xmm2
jb 0x180054f0b
mov dword [rsi + 0xec], 1
jmp 0x180054f16
comiss xmm1, xmm0
jb 0x180054f16
mov dword [rsi + 0xec], ebp
movd xmm0, dword [rsi + 0xf4]
cvtdq2ps xmm0, xmm0
mov rax, qword [0x1801a5878]
mov rcx, qword [rax + 0xd0]
mov rax, qword [rcx + 0xd8]
cmp dword [rsi + 0xec], 1
movss dword [rax], xmm0
movss xmm0, dword [rsi + 0x110]
jne 0x180054f90
subss xmm0, dword [rsi + 0x104]
movss dword [rsi + 0x110], xmm0
comiss xmm1, xmm0
jb 0x180054fca
mov qword [rsi + 0xec], rbp
mov rax, qword [0x1801a5878]
mov rcx, qword [rax + 0xd0]
mov rax, qword [rcx + 0xd8]
mov dword [rax], 0x41a00000
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x420]
jmp 0x180054fca
addss xmm0, dword [rsi + 0x104]
movss dword [rsi + 0x110], xmm0
comiss xmm0, xmm2
jb 0x180054fca
mov dword [rsi + 0xec], 1
mov rax, qword [0x1801a5878]
mov rcx, qword [rax + 0xd0]
mov rax, qword [rcx + 0xd8]
mov dword [rax], 0x41a00000
lea rdx, [rsp + 0x58]
mov rcx, r13
call fcn.18001ec50
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x180054fe5
mov rax, qword [rax]
cmp r8, 0x15
je 0x180054ffa
lea rcx, [rsp + 0x58]
call fcn.180006a60
jmp 0x180055132
lea rdx, str.PlayerAuthInputPacket
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
sete bl
lea rcx, [rsp + 0x58]
call fcn.180006a60
test bl, bl
je 0x180055132
mov rax, qword [r14 + 0x2c8]
mov rcx, qword [r15 + 0x2c8]
movss xmm6, dword [rax]
subss xmm6, dword [rcx]
movss xmm7, dword [rax + 8]
subss xmm7, dword [rcx + 8]
movss xmm0, dword [rax + 4]
subss xmm0, dword [rcx + 4]
cvtps2pd xmm0, xmm0
movaps xmm1, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm8, xmm0
cvtps2pd xmm0, xmm6
movaps xmm1, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm8, xmm0
cvtps2pd xmm0, xmm7
movaps xmm1, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm8, xmm0
xorps xmm1, xmm1
ucomisd xmm1, xmm8
ja 0x180055090
xorps xmm0, xmm0
sqrtsd xmm0, xmm8
jmp 0x180055099
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
cvtsd2ss xmm0, xmm0
divss xmm6, xmm0
mulss xmm6, dword [rsi + 0x110]
addss xmm6, dword [r13 + 0x38]
movss dword [r13 + 0x38], xmm6
divss xmm7, xmm0
mulss xmm7, dword [rsi + 0x110]
addss xmm7, dword [r13 + 0x40]
movss dword [r13 + 0x40], xmm7
mov rcx, qword [0x1801a5878]
test rcx, rcx
jne 0x1800550de
mov rax, rbp
jmp 0x1800550ea
mov rax, qword [rcx]
mov rdx, qword [rax + 0xe0]
call rdx
mov rcx, qword [rax + 0xf10]
mov rax, qword [rcx]
mov rdx, r14
call qword [rax + 0x70]
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x420]
mov rcx, qword [0x1801a5878]
test rcx, rcx
je 0x180055122
mov rax, qword [rcx]
mov r8, qword [rax + 0xe0]
call r8
mov rbp, rax
mov rcx, qword [rbp + 0xf10]
mov rax, qword [rcx]
mov rdx, r14
call qword [rax + 0x70]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800ac5b0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret