Function at 0x18008c5c0
Capabilities:
Encode data using xor
Set console window title

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x20
xor ebx, ebx
mov rdi, rcx
mov qword [rbp + 0x28], rbx
call qword [sym.imp.KERNEL32.dll_AllocConsole]
xor ecx, ecx
call fcn.1800eaa68
mov ecx, dword [str.szz]
lea r8, str.r__ww
movzx edx, word [0x18018699c]
mov r9, rax
mov dword [rbp + 0x20], ecx
movzx ecx, byte [0x18018699e]
xor byte [rbp + 0x21], 0x31
xor cl, 0x36
xor byte [rbp + 0x22], 0x32
xor byte [rbp + 0x23], 0x33
mov word [rbp + 0x24], dx
xor dl, 0x34
xor byte [rbp + 0x25], 0x35
mov byte [rbp + 0x26], cl
lea rcx, [rbp + 0x28]
mov byte [rbp + 0x24], dl
lea rdx, [rbp + 0x20]
mov byte [rbp + 0x20], 0x43
call fcn.1800edc48
lea ecx, [rbx + 1]
call fcn.1800eaa68
cmp byte [0x180186827], bl
mov r10, rax
mov rcx, qword [str.saa]
mov esi, dword [reloc.WS2_32.dll_accept]
mov qword [rbp + 0x20], rcx
je 0x18008c7a4
cmp esi, 2
jl 0x18008c762
movdqa xmm2, xmmword [0x1801873c0]
movdqa xmm3, xmmword [0x180187400]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x1801876d0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180187480]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp + 0x20]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x180187520]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.00000000000000009999999999999999]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp + 0x20], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180187480]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp + 0x24]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180187520]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.00000000000000009999999999999999]
xorps xmm2, xmm0
movd dword [rbp + 0x24], xmm2
jmp 0x18008c7a4
lea r9, [rbp + 0x20]
mov r8d, ebx
nop dword [rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x18008c770
mov r9, r10
lea r8, [0x18017c31c]
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x28]
call fcn.1800edc48
mov ecx, 2
call fcn.1800eaa68
cmp byte [0x180186827], bl
mov r9, rax
mov rcx, qword [str.saa]
mov qword [rbp + 0x20], rcx
je 0x18008c91f
cmp esi, 2
jl 0x18008c8e8
movdqa xmm2, xmmword [0x1801873c0]
movdqa xmm3, xmmword [0x180187400]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x1801876d0]
movdqa xmm0, xmm2
mov eax, dword [str.00000000000000009999999999999999]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180187480]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180187520]
movd xmm1, dword [rbp + 0x20]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rbp + 0x20], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180187480]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180187520]
movd xmm1, dword [rbp + 0x24]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp + 0x24], xmm2
jmp 0x18008c91f
lea r8, [rbp + 0x20]
nop dword [rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, bl
inc ebx
sub al, cl
add al, 0x30
xor byte [r8 - 1], al
cmp ebx, 8
jl 0x18008c8f0
lea r8, [0x18017c318]
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x28]
call fcn.1800edc48
cmp qword [rdi + 0x18], 0xf
jbe 0x18008c93d
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret