Function at 0x18008beb0
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.1800ea3f8
mov ecx, dword [0x180185970]
lea r8, [0x18017b2d4]
movzx edx, word [0x180185974]
mov r9, rax
mov dword [rbp + 0x20], ecx
movzx ecx, byte [0x180185976]
xor byte [rbp + 0x21], 0x34
xor cl, 0x39
xor byte [rbp + 0x22], 0x35
xor byte [rbp + 0x23], 0x36
mov word [rbp + 0x24], dx
xor dl, 0x37
xor byte [rbp + 0x25], 0x38
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.1800ed5d8
lea ecx, [rbx + 1]
call fcn.1800ea3f8
cmp byte [0x180185647], bl
mov r10, rax
mov rcx, qword [str.pybl]
mov esi, dword [reloc.WS2_32.dll_accept]
mov qword [rbp + 0x20], rcx
je 0x18008c096
cmp esi, 2
jl 0x18008c052
movdqa xmm2, xmmword [0x180186340]
movdqa xmm3, xmmword [0x180186380]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x180186690]
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 [0x1801863b0]
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 [0x1801864b0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
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 [0x1801863b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp + 0x24]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1801864b0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
xorps xmm2, xmm0
movd dword [rbp + 0x24], xmm2
jmp 0x18008c096
lea r9, [rbp + 0x20]
mov r8d, ebx
nop dword [rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x33
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 8
jl 0x18008c060
mov r9, r10
lea r8, [0x18017b2d0]
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x28]
call fcn.1800ed5d8
mov ecx, 2
call fcn.1800ea3f8
cmp byte [0x180185647], bl
mov r9, rax
mov rcx, qword [str.pybl]
mov qword [rbp + 0x20], rcx
je 0x18008c211
cmp esi, 2
jl 0x18008c1da
movdqa xmm2, xmmword [0x180186340]
movdqa xmm3, xmmword [0x180186380]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x180186690]
movdqa xmm0, xmm2
mov eax, dword [str.3333333333333333]
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 [0x1801863b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1801864b0]
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 [0x1801863b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1801864b0]
movd xmm1, dword [rbp + 0x24]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp + 0x24], xmm2
jmp 0x18008c211
lea r8, [rbp + 0x20]
nop
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x33
add cl, bl
inc ebx
xor byte [r8 - 1], cl
cmp ebx, 8
jl 0x18008c1e0
lea r8, [0x18017b2cc]
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x28]
call fcn.1800ed5d8
cmp qword [rdi + 0x18], 0xf
jbe 0x18008c22f
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