Function at 0x180035510
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1801d00c0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14, r9
mov rbx, rdx
xor r12d, r12d
mov qword [rbp - 0x51], 1
lea rcx, [rbp - 0x51]
call fcn.18001bde0
lea ecx, [r12 + 0x56]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18003588b
mov rcx, qword [rbx]
call fcn.180047a10
test eax, eax
je 0x18003588b
mov rcx, qword [r14]
call fcn.180048250
test eax, eax
jne 0x18003588b
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov rcx, qword [r14]
add rcx, 0x20
lea rdx, [rbp + 7]
call fcn.180049070
nop
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov rcx, qword [r14]
add rcx, 0x20
lea rdx, [rbp - 9]
call fcn.180048e60
nop
mov rbx, qword [rbp + 7]
test rbx, rbx
jne 0x1800355d1
cmp qword [rbp - 9], rbx
je 0x180035819
mov rcx, qword [r14]
call fcn.180048a70
movaps xmm6, xmm0
mov rcx, qword [r14]
call fcn.180048bc0
cmp byte [0x1801eb964], 0
je 0x1800355f7
movsd xmm1, qword [0x1801b3b98]
jmp 0x1800355ff
movsd xmm1, qword [0x1801b3b90]
subss xmm0, xmm6
cvtss2sd xmm0, xmm0
divsd xmm0, xmm1
cvttsd2si edx, xmm0
mov dword [rbp - 0x11], edx
mov dword [rbp - 0x75], r12d
mov eax, edx
shr eax, 0x1f
lea rcx, [rbp - 0x75]
lea r8, [rbp - 0x11]
test al, al
cmove rcx, r8
lea rax, [0x1801eb968]
cmp dword [0x1801eb968], edx
cmovl rcx, rax
mov r15d, dword [rcx]
mov dword [rbp - 0x79], r15d
lea rax, str.Heals_to_consume:_
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], 0x14
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 0x39], xmm0
lea r9, [rbp - 0x79]
lea r8, [rbp - 0x39]
mov edx, 0x40
lea rcx, str.C:Users_rootDocumentsGitHubghost_clientghost_client_source_features_autoheal_autoheal.cpp
call fcn.1800358d0
test r15d, r15d
jne 0x180035691
mov qword [rbp - 0x71], 0x32
lea rcx, [rbp - 0x71]
call fcn.18001bde0
jmp 0x180035819
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rax
cmp byte [0x1801eb964], al
je 0x1800356bc
mov dword [rsp + 0x20], 0x4025
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.180040dc0
jmp 0x1800356e3
cmp byte [0x1801eb965], al
je 0x1800356da
mov dword [rsp + 0x20], 0x11a
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.180040dc0
jmp 0x1800356e3
movdqu xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], r12
mov rcx, qword [rbp - 0x29]
mov rdi, qword [rbp - 0x21]
cmp rcx, rdi
je 0x1800357cb
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x69], xmm0
mov qword [rbp - 0x59], r12
mov rax, rdi
sub rax, rcx
sar rax, 2
test rax, rax
je 0x1800357b2
movabs rdx, 0x3fffffffffffffff
cmp rax, rdx
ja 0x1800358be
lea rsi, [rax*4]
cmp rsi, 0x1000
jb 0x180035768
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x1800358c4
call fcn.1800ba7f8
test rax, rax
je 0x1800358ca
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
mov rdi, qword [rbp - 0x21]
mov rcx, qword [rbp - 0x29]
jmp 0x180035785
test rsi, rsi
je 0x180035782
mov rcx, rsi
call fcn.1800ba7f8
mov rbx, rax
mov rdi, qword [rbp - 0x21]
mov rcx, qword [rbp - 0x29]
jmp 0x180035785
mov rbx, r12
mov qword [rbp - 0x69], rbx
mov qword [rbp - 0x61], rbx
lea rax, [rsi + rbx]
mov qword [rbp - 0x59], rax
sub rdi, rcx
mov r8, rdi
mov rdx, rcx
mov rcx, rbx
call fcn.1800ea580
sar rdi, 2
lea rax, [rbx + rdi*4]
mov qword [rbp - 0x61], rax
mov dword [rsp + 0x20], r15d
lea r9, [rbp - 0x69]
lea r8, [rbp - 9]
mov rdx, r14
call fcn.180035200
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x180035819
mov rax, qword [rbp - 0x19]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180035808
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800358b8
call fcn.1800ba7f0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], r12
mov edi, 0xffffffff
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x180035856
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180035856
mov rbx, qword [rbp - 1]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180035856
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x18003588b
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18003588b
mov rbx, qword [rbp + 0xf]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x18003588b
mov rcx, qword [rbp + 0xf]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1800ba7d0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1800c39f0
nop
call fcn.18000b610
int3
call fcn.180002770
int3
call fcn.1800c39f0
int3