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

Disassembly:
push rbp
push rdi
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x70], rbx
mov rdi, rcx
mov qword [rsp + 0x40], rsi
xor ebx, ebx
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
movaps xmmword [rsp + 0x20], xmm6
mov qword [rbp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_AllocConsole]
xor ecx, ecx
call fcn.1800c033c
mov ecx, dword [0x180150a30]
lea r8, [0x18014721c]
movzx edx, word [0x180150a34]
mov r9, rax
mov dword [rbp + 0x18], ecx
movzx ecx, byte [0x180150a36]
xor byte [rbp + 0x19], 0x32
xor cl, 0x37
xor byte [rbp + 0x1a], 0x33
xor byte [rbp + 0x1b], 0x34
mov word [rbp + 0x1c], dx
xor dl, 0x35
xor byte [rbp + 0x1d], 0x36
mov byte [rbp + 0x1e], cl
lea rcx, [rbp + 0x20]
mov byte [rbp + 0x1c], dl
lea rdx, [rbp + 0x18]
mov byte [rbp + 0x18], 0x43
call fcn.1800c3278
lea ecx, [rbx + 1]
call fcn.1800c033c
cmp byte [str.8r], bl
lea r14d, [rbx + 4]
mov rcx, qword [str.r_b]
lea r15d, [rbx + 0x1f]
mov esi, dword [reloc.WS2_32.dll_accept]
mov r10, rax
mov qword [rbp + 0x18], rcx
je 0x180063371
cmp esi, 2
jl 0x18006332c
movdqa xmm2, xmmword [0x180151790]
movdqa xmm4, xmmword [0x180151940]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1801517a0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r14d
movd xmm5, r15d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801517f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp + 0x18]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1801518a0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.111111111111111144444444444444447777777777777777]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp + 0x18], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801517f0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp + 0x1c]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1801518a0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.111111111111111144444444444444447777777777777777]
xorps xmm2, xmm0
movd dword [rbp + 0x1c], xmm2
jmp 0x180063371
lea r9, [rbp + 0x18]
mov r8d, ebx
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x180063340
mov r9, r10
lea r8, [0x180147220]
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x20]
call fcn.1800c3278
mov ecx, 2
call fcn.1800c033c
cmp byte [str.8r], bl
mov r9, rax
mov rcx, qword [str.r_b]
mov qword [rbp + 0x18], rcx
je 0x1800634ed
cmp esi, 2
jl 0x1800634b3
movdqa xmm2, xmmword [0x180151790]
movdqa xmm4, xmmword [0x180151940]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1801517a0]
movdqa xmm0, xmm2
mov eax, dword [str.111111111111111144444444444444447777777777777777]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r14d
movd xmm5, r15d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801517f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1801518a0]
movd xmm1, dword [rbp + 0x18]
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
movd dword [rbp + 0x18], xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801517f0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1801518a0]
movd xmm1, dword [rbp + 0x1c]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp + 0x1c], xmm2
jmp 0x1800634ed
lea r8, [rbp + 0x18]
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, bl
inc ebx
sub al, cl
add al, 0x31
xor byte [r8 - 1], al
cmp ebx, 8
jl 0x1800634c0
lea r8, [0x180147228]
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x20]
call fcn.1800c3278
cmp qword [rdi + 0x18], 0x10
movaps xmm6, xmmword [rsp + 0x20]
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x70]
jb 0x180063524
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
add rsp, 0x48
pop rdi
pop rbp
ret