Function at 0x1800207a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x180067008]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov r15, rdx
movups xmm0, xmmword [0x1800591a0]
movups xmmword [rbp + 0x27], xmm0
movzx eax, word [reloc.WS2_32.dll_htonl]
mov word [rbp + 0x37], ax
lea r8, [rbp + 0x36]
mov r9d, 4
nop dword [rax + rax]
movzx ecx, byte [r8]
xor byte [r8 + 1], cl
movzx eax, byte [r8 - 1]
xor al, cl
mov byte [r8], al
movzx eax, byte [r8 - 2]
xor byte [r8 - 1], al
movzx eax, byte [r8 - 3]
xor byte [r8 - 2], al
lea r8, [r8 - 4]
sub r9, 1
jne 0x180020800
movzx r9d, byte [rbp + 0x27]
xor r9b, 0x3c
mov byte [rbp + 0x27], r9b
movups xmm0, xmmword [str.8_7]
movups xmmword [rbp + 7], xmm0
movsd xmm1, qword [0x1800591c8]
movsd qword [rbp + 0x17], xmm1
mov eax, dword [0x1800591d0]
mov dword [rbp + 0x1f], eax
lea rdx, [rbp + 0x20]
mov r8d, recv
nop word [rax + rax]
movzx ecx, byte [rdx]
xor byte [rdx + 1], cl
movzx eax, byte [rdx - 1]
xor al, cl
mov byte [rdx], al
lea rdx, [rdx - 2]
sub r8, 1
jne 0x180020870
xor byte [rbp + 7], 0x3b
mov qword [rbp - 9], reloc.WS2_32.dll_ntohs
xor r14d, r14d
mov qword [rbp - 0x11], r14
mov byte [rbp - 0x21], r14b
test r9b, r9b
jne 0x1800208a9
mov r8d, r14d
jmp 0x1800208ba
lea rax, [rbp + 0x27]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r14b
jne 0x1800208b1
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x21]
call fcn.1800020b0
nop
mov rdi, qword [r15]
mov rsi, qword [rdi + 8]
mov rbx, rdi
cmp byte [rsi + 0x19], 0
jne 0x180020903
nop dword [rax + rax]
lea rdx, [rsi + 0x20]
lea r8, [rbp - 0x21]
call fcn.18000c790
test al, al
je 0x1800208f7
mov rsi, qword [rsi + 0x10]
jmp 0x1800208fd
mov rbx, rsi
mov rsi, qword [rsi]
cmp byte [rsi + 0x19], 0
je 0x1800208e0
cmp rbx, rdi
je 0x180020919
lea r8, [rbx + 0x20]
lea rdx, [rbp - 0x21]
call fcn.18000c790
test al, al
je 0x180020949
lea rax, [rbp - 0x21]
mov qword [rbp - 0x29], rax
lea r8, [rbp - 0x29]
mov rcx, r15
call fcn.1800156a0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp - 0x29]
mov rcx, r15
call fcn.180015710
mov rbx, qword [rbp - 0x29]
cmp byte [rbp + 7], 0
jne 0x180020954
mov r8, r14
jmp 0x18002096a
lea rax, [rbp + 7]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180020960
lea rcx, [rbx + 0x40]
lea rdx, [rbp + 7]
call fcn.1800020b0
nop
mov rax, qword [rbp - 9]
cmp rax, 0x10
jb 0x1800209ce
inc rax
mov rcx, qword [rbp - 0x21]
cmp rax, 0x1000
jb 0x1800209c9
test cl, 0x1f
je 0x18002099c
call fcn.18003835c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1800209ab
call fcn.18003835c
int3
sub rcx, rax
cmp rcx, 8
jae 0x1800209ba
call fcn.18003835c
int3
cmp rcx, 0x27
jbe 0x1800209c6
call fcn.18003835c
int3
mov rcx, rax
call fcn.180033ed0
mov eax, dword [0x1800591d4]
mov dword [rbp + 7], eax
movzx eax, word [0x1800591d8]
mov word [rbp + 0xb], ax
movzx eax, byte [0x1800591da]
mov byte [rbp + 0xd], al
movzx eax, byte [rbp + 0xb]
xor byte [rbp + 0xc], al
movzx ecx, byte [rbp + 0xa]
xor al, cl
mov byte [rbp + 0xb], al
movzx eax, byte [rbp + 9]
xor cl, al
mov byte [rbp + 0xa], cl
movzx ecx, byte [rbp + 8]
xor al, cl
mov byte [rbp + 9], al
movzx r11d, byte [rbp + 7]
xor cl, r11b
mov byte [rbp + 8], cl
xor r11b, 0xf8
mov byte [rbp + 7], r11b
movups xmm0, xmmword [0x1800591e0]
movups xmmword [rbp + 0x27], xmm0
movzx eax, byte [0x1800591f0]
mov byte [rbp + 0x37], al
lea r9, [rbp + 0x35]
mov r10d, 3
movzx ecx, byte [r9]
xor byte [r9 + 1], cl
movzx eax, byte [r9 - 1]
xor al, cl
mov byte [r9], al
movzx eax, byte [r9 - 2]
xor byte [r9 - 1], al
movzx eax, byte [r9 - 3]
xor byte [r9 - 2], al
movzx eax, byte [r9 - 4]
xor byte [r9 - 3], al
sub r9, 5
sub r10, 1
jne 0x180020a40
xor byte [rbp + 0x27], 6
mov qword [rbp - 9], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x11], r14
mov byte [rbp - 0x21], r10b
test r11b, r11b
jne 0x180020a95
mov r8, r14
jmp 0x180020aaa
lea rax, [rbp + 7]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180020aa0
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x21]
call fcn.1800020b0
nop
mov rdi, qword [r15]
mov rsi, qword [rdi + 8]
mov rbx, rdi
cmp byte [rsi + 0x19], 0
jne 0x180020af3
nop dword [rax + rax]
lea rdx, [rsi + 0x20]
lea r8, [rbp - 0x21]
call fcn.18000c790
test al, al
je 0x180020ae7
mov rsi, qword [rsi + 0x10]
jmp 0x180020aed
mov rbx, rsi
mov rsi, qword [rsi]
cmp byte [rsi + 0x19], 0
je 0x180020ad0
cmp rbx, rdi
je 0x180020b09
lea r8, [rbx + 0x20]
lea rdx, [rbp - 0x21]
call fcn.18000c790
test al, al
je 0x180020b39
lea rax, [rbp - 0x21]
mov qword [rbp - 0x29], rax
lea r8, [rbp - 0x29]
mov rcx, r15
call fcn.1800156a0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp - 0x29]
mov rcx, r15
call fcn.180015710
mov rbx, qword [rbp - 0x29]
cmp byte [rbp + 0x27], 0
jne 0x180020b44
mov r8, r14
jmp 0x180020b5a
lea rax, [rbp + 0x27]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180020b50
lea rcx, [rbx + 0x40]
lea rdx, [rbp + 0x27]
call fcn.1800020b0
nop
mov rax, qword [rbp - 9]
cmp rax, 0x10
jb 0x180020bbe
inc rax
mov rcx, qword [rbp - 0x21]
cmp rax, 0x1000
jb 0x180020bb9
test cl, 0x1f
je 0x180020b8c
call fcn.18003835c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180020b9b
call fcn.18003835c
int3
sub rcx, rax
cmp rcx, 8
jae 0x180020baa
call fcn.18003835c
int3
cmp rcx, 0x27
jbe 0x180020bb6
call fcn.18003835c
int3
mov rcx, rax
call fcn.180033ed0
call fcn.18000b3d0
test eax, eax
je 0x180020db1
movups xmm0, xmmword [0x1800591f8]
movups xmmword [rbp + 0x27], xmm0
lea rdx, [rbp + 0x34]
mov r8d, 7
movzx ecx, byte [rdx]
xor byte [rdx + 1], cl
movzx eax, byte [rdx - 1]
xor al, cl
mov byte [rdx], al
lea rdx, [rdx - 2]
sub r8, 1
jne 0x180020be0
movzx r9d, byte [rbp + 0x27]
xor r9b, 0xb8
mov byte [rbp + 0x27], r9b
movsd xmm0, qword [0x180059208]
movsd qword [rbp + 7], xmm0
mov eax, dword [0x180059210]
mov dword [rbp + 0xf], eax
movzx eax, word [0x180059214]
mov word [rbp + 0x13], ax
lea r8, [rbp + 0x12]
mov r10d, 2
movzx ecx, byte [r8]
xor byte [r8 + 1], cl
movzx eax, byte [r8 - 1]
xor al, cl
mov byte [r8], al
movzx eax, byte [r8 - 2]
xor byte [r8 - 1], al
movzx eax, byte [r8 - 3]
xor byte [r8 - 2], al
movzx eax, byte [r8 - 4]
xor byte [r8 - 3], al
movzx eax, byte [r8 - 5]
xor byte [r8 - 4], al
lea r8, [r8 - 6]
sub r10, 1
jne 0x180020c30
xor byte [rbp + 7], 1
mov qword [rbp - 9], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x11], r14
mov byte [rbp - 0x21], r10b
test r9b, r9b
jne 0x180020c8e
mov r8, r14
jmp 0x180020ca0
lea rax, [rbp + 0x27]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180020c96
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x21]
call fcn.1800020b0
nop
mov rdi, qword [r15]
mov rsi, qword [rdi + 8]
mov rbx, rdi
cmp byte [rsi + 0x19], 0
jne 0x180020ce3
nop
lea rdx, [rsi + 0x20]
lea r8, [rbp - 0x21]
call fcn.18000c790
test al, al
je 0x180020cd7
mov rsi, qword [rsi + 0x10]
jmp 0x180020cdd
mov rbx, rsi
mov rsi, qword [rsi]
cmp byte [rsi + 0x19], 0
je 0x180020cc0
cmp rbx, rdi
je 0x180020cf9
lea r8, [rbx + 0x20]
lea rdx, [rbp - 0x21]
call fcn.18000c790
test al, al
je 0x180020d29
lea rax, [rbp - 0x21]
mov qword [rbp - 0x29], rax
lea r8, [rbp - 0x29]
mov rcx, r15
call fcn.1800156a0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp - 0x29]
mov rcx, r15
call fcn.180015710
mov rbx, qword [rbp - 0x29]
cmp byte [rbp + 7], 0
je 0x180020d4a
lea rax, [rbp + 7]
or r14, 0xffffffffffffffff
nop word [rax + rax]
inc r14
cmp byte [rax + r14], 0
jne 0x180020d40
lea rcx, [rbx + 0x40]
mov r8, r14
lea rdx, [rbp + 7]
call fcn.1800020b0
nop
mov rax, qword [rbp - 9]
cmp rax, 0x10
jb 0x180020db1
inc rax
mov rcx, qword [rbp - 0x21]
cmp rax, 0x1000
jb 0x180020dac
test cl, 0x1f
je 0x180020d7f
call fcn.18003835c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180020d8e
call fcn.18003835c
int3
sub rcx, rax
cmp rcx, 8
jae 0x180020d9d
call fcn.18003835c
int3
cmp rcx, 0x27
jbe 0x180020da9
call fcn.18003835c
int3
mov rcx, rax
call fcn.180033ed0
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.180033e70
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret