Function at 0x1800afe00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x18030b348]
xor rax, rsp
mov qword [rbp - 0x20], rax
xor r14d, r14d
movabs rsi, 0x311cdad160000
movabs r13, 0x7fffffffc46535ff
movabs r12, 0x7fffffffffffffff
movabs r15, 0x112e0be826d694b3
movsd xmm6, qword [0x180159428]
nop dword [rax + rax]
movdqa xmm0, xmmword [0x180159a90]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x30], 0x100
mov rcx, r14
nop word [rax + rax]
lea eax, [rcx - 0x7a]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0x10
jb 0x1800afe90
mov byte [rbp - 0x2f], r14b
lea rdx, [rbp - 0x40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
jne 0x1800affc0
cmp byte [reloc.WS2_32.dll_accept], r14b
je 0x1800b0209
call sub.MSVCP140.dll__Query_perf_frequency
mov rbx, rax
call sub.MSVCP140.dll__Query_perf_counter
cmp rbx, 0x989680
jne 0x1800afee2
imul rax, rax, 0x64
jmp 0x1800aff00
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
imul rcx, rcx, 0x3b9aca00
add rax, rcx
cmp rax, r13
lea rdi, [rax + 0x3b9aca00]
jl 0x1800aff10
mov rdi, r12
nop
call sub.MSVCP140.dll__Query_perf_frequency
mov rbx, rax
call sub.MSVCP140.dll__Query_perf_counter
cmp rbx, 0x989680
jne 0x1800aff2c
imul rbx, rax, 0x64
jmp 0x1800aff4d
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
mov rbx, rax
imul rax, rcx, 0x3b9aca00
add rbx, rax
cmp rbx, rdi
jge 0x1800afe70
call sub.MSVCP140.dll__Xtime_get_ticks
imul rdx, rax, 0x64
mov rax, rdi
sub rax, rbx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
comisd xmm0, xmm6
seta r8b
test r8b, r8b
lea rcx, [rdx + rsi]
jne 0x1800aff82
lea rcx, [rax + rdx]
add rax, rdx
add rdx, rsi
test r8b, r8b
cmove rdx, rax
mov rax, r15
imul rdx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rbp - 0x50], rdx
imul eax, edx, 0x3b9aca00
sub ecx, eax
mov dword [rbp - 0x48], ecx
lea rcx, [rbp - 0x50]
call sub.MSVCP140.dll__Thrd_sleep
jmp 0x1800aff10
mov rdi, qword [0x18030d930]
test rdi, rdi
jne 0x1800b0003
call fcn.1800b28b0
mov rcx, qword [rax + 0x10]
mov rax, qword [0x18030d938]
mov rdi, qword [rcx + rax*8]
test rdi, rdi
jne 0x1800afffc
lea r8d, [rdi + 0x63]
lea rdx, str.D:ClientesRoyalMenu1111111111coreclient_sharedRegistry.h
lea rcx, str.instance___nullptr
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
mov qword [0x18030d930], rdi
mov qword [0x18030d978], rdi
mov rbx, qword [0x18030d9a0]
mov rsi, qword [0x18030d9a8]
cmp rbx, rsi
je 0x1800b009b
nop dword [rax]
mov rax, qword [rdi]
mov qword [rbp - 0x60], r14
lea r9, [rbp - 0x60]
mov r8, rbx
lea rdx, [rbp - 0x58]
mov rcx, rdi
call qword [rax + 0x58]
mov rdi, rax
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x1800b004a
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi]
mov qword [rbx + 0x40], rcx
test rcx, rcx
je 0x1800b005d
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x1800b0074
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
je 0x1800b0074
mov qword [rbp - 0x58], r14
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x1800b008b
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
je 0x1800b008b
mov qword [rbp - 0x60], r14
add rbx, 0x48
mov rdi, qword [0x18030d978]
cmp rbx, rsi
jne 0x1800b0020
mov rax, qword [rdi]
mov rbx, qword [rax + 0x58]
mov qword [rbp - 0x60], r14
mov dword [rbp - 0x50], 0xefede1ff
mov dword [rbp - 0x4c], 0xfbfbf9e5
mov dword [rbp - 0x48], 0x100fdea
mov rcx, r14
nop
lea eax, [rcx - 0x7a]
xor byte [rbp + rcx - 0x50], al
inc rcx
cmp rcx, 0xa
jb 0x1800b00c0
mov byte [rbp - 0x45], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], r14
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1800b00f0
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x40]
call fcn.18005b910
nop
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x58]
mov rcx, qword [0x18030d978]
call rbx
mov rbx, rax
mov rcx, qword [0x18030d9b8]
test rcx, rcx
je 0x1800b0132
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx]
mov qword [0x18030d9b8], rcx
test rcx, rcx
je 0x1800b0148
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x1800b015f
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
je 0x1800b015f
mov qword [rbp - 0x58], r14
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1800b019d
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b0198
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b0198
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18011f9bc
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x40], 0
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x1800b01bd
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [0x18030d978]
mov rax, qword [rcx]
call qword [rax + 0x40]
cmp byte [0x18030ce56], 0
jne 0x1800b0202
call fcn.1800195f0
test al, al
je 0x1800b01f7
lea rdx, [0x1800c4380]
lea rcx, [0x18030d158]
call fcn.180019a30
mov byte [0x18030ce56], al
jmp 0x1800b01fe
movzx eax, byte [0x18030ce56]
test al, al
je 0x1800b01d3
mov byte [reloc.WS2_32.dll_accept], 0
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.18011fa50
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [rsp + 0x70]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret