Function at 0x1800048ec
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x18018f280]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rdi, rcx
mov qword [rbp + 0x10], rcx
xor edx, edx
lea rcx, [rbp + 0x18]
call fcn.18000767c
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor eax, eax
mov qword [rsp + 0x48], rax
mov dl, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.180008320
mov byte [rsp + 0x40], 3
lea rdx, [0x180190578]
lea rcx, [rsp + 0x30]
call fcn.180012cac
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
movabs rax, 0x40edbd06571361fa
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
movabs r13, 0x62225bd3ef7d850c
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
movabs rsi, 0x40edbd0657130593
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x40], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x48], rax
movdqa xmm0, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rsp + 0x60], xmm0
lea r10, [rsp + 0x60]
xor r9d, r9d
mov bl, 0x41
movq r8, xmm0
test r8b, r8b
je 0x180004a20
movzx edx, r8b
sub r8b, bl
lea eax, [rdx + 0x20]
movzx ecx, al
cmp r8b, 0x19
cmova ecx, edx
movsx eax, cl
add eax, r9d
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor r9d, eax
inc r10
mov r8b, byte [r10]
cmp r8b, 0
jne 0x1800049ea
lea ecx, [r9 + r9*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul edx, ecx, 0x8001
lea rcx, [rbp - 0x70]
call fcn.1800023cc
mov rdx, rax
lea rcx, [rbp + 0x18]
call fcn.180005614
nop
mov dl, byte [rax]
mov cl, byte [rsp + 0x40]
mov byte [rax], cl
mov byte [rsp + 0x40], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x48]
mov qword [rax + 8], rdx
mov qword [rsp + 0x48], rcx
mov dl, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.180008320
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor eax, eax
mov qword [rsp + 0x48], rax
mov dl, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.180008320
mov byte [rsp + 0x40], 3
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.180012cac
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
movabs rax, 0x40edbd06571375fa
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x40], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x48], rax
movdqa xmm0, xmmword [rsp + 0x70]
xorps xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rsp + 0x70], xmm0
lea r10, [rsp + 0x70]
xor r8d, r8d
movq r9, xmm0
test r9b, r9b
je 0x180004b53
movzx edx, r9b
sub r9b, bl
lea eax, [rdx + 0x20]
movzx ecx, al
cmp r9b, 0x19
cmova ecx, edx
movsx eax, cl
add eax, r8d
imul r8d, eax, 0x401
mov eax, r8d
shr eax, 6
xor r8d, eax
inc r10
mov r9b, byte [r10]
cmp r9b, 0
jne 0x180004b1d
lea ecx, [r8 + r8*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul edx, ecx, 0x8001
lea rcx, [rbp - 0x70]
call fcn.1800023cc
mov rdx, rax
lea rcx, [rbp + 0x18]
call fcn.180005614
nop
mov dl, byte [rax]
mov cl, byte [rsp + 0x40]
mov byte [rax], cl
mov byte [rsp + 0x40], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x48]
mov qword [rax + 8], rdx
mov qword [rsp + 0x48], rcx
mov dl, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.180008320
nop
lea rax, [rbp - 0x30]
mov qword [rsp + 0x50], rax
and qword [rbp + 8], 0
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x18]
call fcn.180005768
mov r8, rax
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp - 0x70]
call fcn.180002e2c
nop
lea r8, [rbp - 0x30]
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.180008ec4
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x180004c20
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004c1b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004e31
call fcn.18008e330
movdqa xmm0, xmmword [0x180172c50]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
movabs rax, 0x2f83dc713e6164fe
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movabs rax, 0x622229b69b0ee461
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x40], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x48], rax
movdqa xmm0, xmmword [rsp + 0x40]
xorps xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.180017db4
movsxd rsi, eax
movabs rax, 0x40edce73237271e0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
mov qword [rbp - 0x80], rcx
mov qword [rsp + 0x30], r13
mov rcx, qword [rsp + 0x30]
mov qword [rbp - 0x78], rcx
movabs rax, 0x40edbd0657130593
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
mov qword [rbp + 0x40], rcx
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x48], rax
movdqa xmm0, xmmword [rbp - 0x80]
xorps xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rbp - 0x80], xmm0
lea r10, [rbp - 0x80]
xor r8d, r8d
movq r9, xmm0
test r9b, r9b
je 0x180004d3d
movzx edx, r9b
sub r9b, bl
lea eax, [rdx + 0x20]
movzx ecx, al
cmp r9b, 0x19
cmova ecx, edx
movsx eax, cl
add eax, r8d
imul r8d, eax, 0x401
mov eax, r8d
shr eax, 6
xor r8d, eax
inc r10
mov r9b, byte [r10]
cmp r9b, 0
jne 0x180004d07
lea ecx, [r8 + r8*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul edx, ecx, 0x8001
lea rcx, [rbp + 0x40]
call fcn.1800023cc
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.180005614
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor eax, eax
mov qword [rsp + 0x48], rax
mov dl, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.180008320
mov byte [rsp + 0x40], 5
mov qword [rsp + 0x48], rsi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.18000bab0
mov bl, al
mov dl, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.180008320
nop
mov dl, byte [rbp + 0x28]
lea rcx, [rbp + 0x30]
call fcn.180008320
nop
mov dl, byte [rbp + 0x18]
lea rcx, [rbp + 0x20]
call fcn.180008320
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x180004dfb
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x180004df6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180004e37
mov rcx, r8
call fcn.18008e330
and qword [rdi + 0x10], 0
mov qword [rdi + 0x18], send
mov byte [rdi], 0
mov al, bl
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.18008e310
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop rdi
pop rbp
ret
call fcn.18010dd88
nop
call fcn.18010dd88
int3