Function at 0x18006c830
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.1800ca61c
mov ecx, dword [0x18015ad18]
lea r8, [0x1801511fc]
movzx edx, word [0x18015ad1c]
mov r9, rax
mov dword [rbp + 0x18], ecx
movzx ecx, byte [0x18015ad1e]
xor byte [rbp + 0x19], 0x34
xor cl, 0x39
xor byte [rbp + 0x1a], 0x35
xor byte [rbp + 0x1b], 0x36
mov word [rbp + 0x1c], dx
xor dl, 0x37
xor byte [rbp + 0x1d], 0x38
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.1800cd708
lea ecx, [rbx + 1]
call fcn.1800ca61c
cmp byte [0x18015af4f], bl
lea r14d, [rbx + 4]
mov rcx, qword [str.pybl]
lea r15d, [rbx + 0x1f]
mov esi, dword [reloc.WS2_32.dll_accept]
mov r10, rax
mov qword [rbp + 0x18], rcx
je 0x18006ca31
cmp esi, 2
jl 0x18006c9ec
movdqa xmm2, xmmword [0x18015bd60]
movdqa xmm4, xmmword [0x18015bf40]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x18015bd70]
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 [0x18015bdc0]
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 [0x18015be90]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x18015bec0]
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 [0x18015bdc0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp + 0x1c]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18015be90]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x18015bec0]
xorps xmm2, xmm0
movd dword [rbp + 0x1c], xmm2
jmp 0x18006ca31
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, 0x33
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x18006ca00
mov r9, r10
lea r8, [0x180151200]
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x20]
call fcn.1800cd708
mov ecx, 2
call fcn.1800ca61c
cmp byte [0x18015af4f], bl
mov r9, rax
mov rcx, qword [str.pybl]
mov qword [rbp + 0x18], rcx
je 0x18006cbad
cmp esi, 2
jl 0x18006cb73
movdqa xmm2, xmmword [0x18015bd60]
movdqa xmm4, xmmword [0x18015bf40]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x18015bd70]
movdqa xmm0, xmm2
mov eax, dword [0x18015bec0]
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 [0x18015bdc0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18015be90]
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 [0x18015bdc0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18015be90]
movd xmm1, dword [rbp + 0x1c]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp + 0x1c], xmm2
jmp 0x18006cbad
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, 0x33
xor byte [r8 - 1], al
cmp ebx, 8
jl 0x18006cb80
lea r8, [0x1801511f4]
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x20]
call fcn.1800cd708
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 0x18006cbe4
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
add rsp, 0x48
pop rdi
pop rbp
ret