Function at 0x180088030
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rax, qword [0x1801772b8]
xor rax, rsp
mov qword [rsp + 0x60], rax
movzx edi, byte [rcx]
mov rsi, r9
mov r10, qword [rsp + 0xe0]
mov r14, r8
mov rax, qword [rcx + 0x28]
mov rbp, rdx
mov r13, qword [rcx + 0x30]
mov rbx, rcx
mov qword [rsp + 0x48], r10
mov byte [rsp + 0x30], dil
mov qword [rsp + 0x38], rax
test dil, 0x40
jne 0x180088099
lea rdx, [rcx + 0x10]
mov r8, r13
call rax
inc qword [rbx + 0x20]
mov r9, rsi
mov r10, qword [rsp + 0x48]
xor r15d, r15d
mov r8d, edi
and r8d, 7
mov r12d, reloc.WS2_32.dll_ntohs
sub r12d, r8d
mov byte [rbx], r8b
mov ecx, r15d
cmp r12d, 0xf
jae 0x1800880d7
mov edx, r12d
add rdx, rbx
nop
movzx eax, byte [rdx]
mov byte [rdx], r15b
lea rdx, [rdx + 1]
or rcx, rax
shl rcx, 8
sub r8, 1
jne 0x1800880c0
movzx eax, byte [rbx + 0xf]
or rcx, rax
mov byte [rbx + 0xf], 1
cmp rcx, rsi
je 0x1800880f1
mov eax, 0xffffffff
jmp 0x180088320
lea rax, [rsi + 0xf]
or rax, 8
shr rax, 3
add qword [rbx + 0x20], rax
movabs rax, 0x2000000000000000
cmp qword [rbx + 0x20], rax
jbe 0x18008811b
mov eax, 0xfffffffe
jmp 0x180088320
mov rdi, rsi
shr rdi, 4
test rdi, rdi
je 0x1800881a3
lea rax, [rbx + 0x10]
mov r9, r13
mov qword [rsp + 0x28], rax
mov r8, rdi
mov rdx, r14
mov qword [rsp + 0x20], rbx
mov rcx, rbp
call r10
shl rdi, 4
add rbp, rdi
add r14, rdi
sub rsi, rdi
je 0x1800882d7
shr rdi, 4
lea r8, [rbx + 0x10]
mov r9, 0xfffffffffffffff8
mov rdx, r15
sub r9, rbx
movzx eax, byte [r8 - 1]
lea r8, [r8 - 1]
add rdx, rax
movzx ecx, dil
add rdx, rcx
shr rdi, 8
mov byte [r8], dl
lea rax, [r9 + r8]
shr rdx, 8
test rax, rax
je 0x1800881af
test rdi, rdi
jne 0x180088170
test rdx, rdx
jne 0x180088170
jmp 0x1800881af
mov rsi, r9
test r9, r9
je 0x1800882d7
mov edx, r15d
test rsi, rsi
je 0x1800881d1
mov rcx, r15
nop word [rax + rax]
movzx eax, byte [rcx + rbp]
inc edx
xor byte [rcx + rbx + 0x10], al
mov ecx, edx
cmp rcx, rsi
jb 0x1800881c0
mov rdi, qword [rsp + 0x38]
lea rcx, [rbx + 0x10]
mov rdx, rcx
mov r8, r13
call rdi
mov r8, r13
lea rdx, [rsp + 0x50]
mov rcx, rbx
call rdi
mov edx, r15d
cmp rsi, 0x40
jb 0x1800882b0
lea eax, [rsi - 1]
mov ecx, eax
lea r8, [rax + r14]
lea rax, [rsp + 0x50]
add rax, rcx
cmp r14, rax
ja 0x180088220
lea rax, [rsp + 0x50]
cmp r8, rax
jae 0x1800882b0
lea rax, [rcx + rbp]
cmp r14, rax
ja 0x180088232
cmp r8, rbp
jae 0x1800882b0
mov r8, rsi
and r8, 0xffffffffffffffc0
mov r9d, 0x20
nop
movdqu xmm0, xmmword [rsp + r15 + 0x50]
lea eax, [r9 - 0x10]
add edx, 0x40
movdqu xmm1, xmmword [r15 + rbp]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rsp + rax + 0x50]
movdqu xmmword [r15 + r14], xmm1
mov r15d, edx
movdqu xmm1, xmmword [rax + rbp]
pxor xmm1, xmm0
movdqu xmmword [rax + r14], xmm1
mov eax, r9d
movdqu xmm0, xmmword [rsp + rax + 0x50]
movdqu xmm1, xmmword [rax + rbp]
pxor xmm1, xmm0
movdqu xmmword [rax + r14], xmm1
lea eax, [r9 + 0x10]
add r9d, 0x40
movdqu xmm1, xmmword [rax + rbp]
movdqu xmm0, xmmword [rsp + rax + 0x50]
pxor xmm1, xmm0
movdqu xmmword [rax + r14], xmm1
cmp r15, r8
jb 0x180088240
mov ecx, edx
cmp rcx, rsi
jae 0x1800882dc
nop word [rax + rax]
movzx eax, byte [rcx + rbp]
inc edx
xor al, byte [rsp + rcx + 0x50]
mov byte [rcx + r14], al
mov ecx, edx
cmp rcx, rsi
jb 0x1800882c0
jmp 0x1800882dc
mov rdi, qword [rsp + 0x38]
cmp r12d, 0x10
jae 0x1800882f8
mov r8d, reloc.WS2_32.dll_recv
mov ecx, r12d
sub r8d, r12d
add rcx, rbx
xor edx, edx
call fcn.1800d7430
mov r8, r13
lea rdx, [rsp + 0x50]
mov rcx, rbx
call rdi
mov rax, qword [rsp + 0x50]
xor qword [rbx + 0x10], rax
mov rax, qword [rsp + 0x58]
xor qword [rbx + 0x18], rax
movzx eax, byte [rsp + 0x30]
mov byte [rbx], al
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800d61c0
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret