Function at 0x1401b6e80
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
push r14
push r15
mov eax, 0x88
call fcn.1401e6580
sub rsp, rax
mov rax, qword [rcx + 0x178]
mov rbx, rcx
mov qword [rsp + 0x58], rax
mov r15, r9
mov rax, qword [rcx + 0x180]
mov rdi, r8
mov rcx, qword [rcx + 0x38]
mov r14, rdx
mov qword [rsp + 0x50], rax
add rcx, r9
movabs rax, 0xfffffffe0
cmp rcx, rax
ja 0x1401b72f3
cmp rcx, r9
jb 0x1401b72f3
mov qword [rsp + 0xb8], rbp
mov ebp, dword [rbx + 0x170]
mov qword [rsp + 0x80], rsi
xor esi, esi
mov qword [rbx + 0x38], rcx
mov dword [rsp + 0xb0], ebp
cmp dword [rbx + 0x174], esi
je 0x1401b6f53
lea r9, [rbx + 0x40]
mov qword [rsp + 0x30], r9
test r15, r15
jne 0x1401b6f2d
lea rdx, [rbx + 0x60]
mov rcx, r9
call fcn.1401b7e10
xor eax, eax
mov dword [rbx + 0x174], esi
jmp 0x1401b72d5
movups xmm0, xmmword [r9]
mov ebp, reloc.WS2_32.dll_recv
mov dword [rsp + 0xb0], ebp
movups xmmword [rbx + 0x188], xmm0
mov qword [r9], rsi
mov qword [rbx + 0x48], rsi
mov dword [rbx + 0x174], esi
jmp 0x1401b6f5c
lea rax, [rbx + 0x40]
mov qword [rsp + 0x30], rax
movzx eax, byte [rbx + 0xd]
lea rcx, [rbx + 0xd]
movzx esi, byte [rbx + 0xc]
lea rdx, [rbx + 0xe]
shl esi, 8
lea r8, [rbx + 0xf]
or esi, eax
mov qword [rsp + 0x78], r12
movzx eax, byte [rdx]
lea r12, [rbx + 0xc]
shl esi, 8
lea r10, [rbx + 0x188]
or esi, eax
mov qword [rsp + 0x70], r13
movzx eax, byte [r8]
mov r13d, ebp
shl esi, 8
or esi, eax
mov qword [rsp + 0x40], rcx
and r13d, 0xf
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x20], r13d
mov qword [rsp + 0x28], r8
je 0x1401b704f
nop dword [rax]
test r15, r15
je 0x1401b72c3
movzx ecx, byte [r13 + rbx + 0x10]
dec r15
xor cl, byte [r14]
inc r14
mov byte [rdi], cl
inc rdi
mov eax, ebp
inc ebp
inc r13d
mov byte [rax + rbx + 0x188], cl
and r13d, 0xf
jne 0x1401b6fc0
lea rax, [rbx + 0x40]
mov r9d, ebp
lea rdx, [rbx + 0x60]
mov qword [rsp + 0x30], rax
mov rcx, rax
mov qword [rsp + 0x38], rdx
lea r8, [rbx + 0x188]
call fcn.1401b7c50
lea rax, [rbx + 0xd]
mov dword [rsp + 0x20], r13d
mov qword [rsp + 0x40], rax
lea r12, [rbx + 0xc]
lea rax, [rbx + 0xe]
xor ebp, ebp
mov qword [rsp + 0x48], rax
lea r10, [rbx + 0x188]
lea rax, [rbx + 0xf]
mov dword [rsp + 0xb0], ebp
mov qword [rsp + 0x28], rax
lea rax, [rbx + 0x60]
jmp 0x1401b7058
lea rax, [rbx + 0x60]
mov qword [rsp + 0x38], rax
cmp r15, 0x10
jb 0x1401b707d
test ebp, ebp
je 0x1401b707d
mov r9d, ebp
lea rcx, [rbx + 0x40]
mov r8, r10
mov rdx, rax
call fcn.1401b7c50
xor ebp, ebp
mov dword [rsp + 0xb0], ebp
cmp r15, 0xc00
jb 0x1401b717b
lea rax, [rbx + 0x60]
mov qword [rsp + 0x38], rax
lea rcx, [rbx + 0x10]
lea rax, [rbx + 0x40]
mov qword [rsp + 0x30], rax
movabs rax, 0xaaaaaaaaaaaaaaab
mul r15
shr rdx, 0xb
imul rax, rdx, 0xfffffffffffff400
mov qword [rsp + 0x28], rdx
add r15, rax
mov r12d, 0xc0
nop word [rax + rax]
mov r8, qword [rsp + 0x50]
mov rdx, rcx
mov rcx, rbx
call qword [rsp + 0x58]
inc esi
lea rcx, [rbx + 0x10]
mov byte [rbx + 0xf], sil
mov eax, esi
shr eax, 0x18
mov byte [rbx + 0xc], al
mov eax, esi
shr eax, 0x10
mov byte [rbx + 0xd], al
mov eax, esi
shr eax, 8
mov byte [rbx + 0xe], al
mov rax, qword [rcx]
xor rax, qword [r14]
mov qword [rdi], rax
mov rax, qword [r14 + 8]
add r14, 0x10
xor rax, qword [rbx + 0x18]
mov qword [rdi + 8], rax
add rdi, 0x10
sub r12, 1
jne 0x1401b70d0
mov rdx, qword [rsp + 0x38]
lea r8, [rdi - 0xc00]
mov rcx, qword [rsp + 0x30]
mov r9d, 0xc00
call fcn.1401b7c50
sub qword [rsp + 0x28], 1
lea rcx, [rbx + 0x10]
jne 0x1401b70c0
mov ebp, dword [rsp + 0xb0]
lea rax, [rbx + 0xd]
mov r13d, dword [rsp + 0x20]
lea r12, [rbx + 0xc]
mov qword [rsp + 0x40], rax
lea rax, [rbx + 0xe]
mov qword [rsp + 0x48], rax
lea rax, [rbx + 0xf]
mov qword [rsp + 0x28], rax
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov qword [rsp + 0x60], rcx
je 0x1401b725e
cmp r15, 0x10
jb 0x1401b7228
mov r12, r15
lea rcx, [rbx + 0x10]
shr r12, 4
imul rax, r12, 0xfffffffffffffff0
add r15, rax
nop dword [rax]
mov r8, qword [rsp + 0x50]
mov rdx, rcx
mov rcx, rbx
call qword [rsp + 0x58]
inc esi
lea rcx, [rbx + 0x10]
mov byte [rbx + 0xf], sil
mov eax, esi
shr eax, 0x18
mov byte [rbx + 0xc], al
mov eax, esi
shr eax, 0x10
mov byte [rbx + 0xd], al
mov eax, esi
shr eax, 8
mov byte [rbx + 0xe], al
mov rax, qword [rcx]
xor rax, qword [r14]
mov qword [rdi], rax
mov rax, qword [r14 + 8]
add r14, 0x10
xor rax, qword [rbx + 0x18]
mov qword [rdi + 8], rax
add rdi, 0x10
sub r12, 1
jne 0x1401b71b0
mov ebp, dword [rsp + 0xb0]
lea rax, [rbx + 0x60]
mov r13d, dword [rsp + 0x20]
lea r12, [rbx + 0xc]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [rbx + 0x40]
jmp 0x1401b722d
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov r9, rcx
mov r8, rdi
sub r8, rcx
mov rcx, rax
call fcn.1401b7c50
lea rax, [rbx + 0xd]
mov qword [rsp + 0x40], rax
lea rax, [rbx + 0xe]
mov qword [rsp + 0x48], rax
lea rax, [rbx + 0xf]
mov qword [rsp + 0x28], rax
test r15, r15
je 0x1401b72c3
mov r8, qword [rsp + 0x50]
lea rdx, [rbx + 0x10]
mov rcx, rbx
call qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
inc esi
mov eax, esi
shr eax, 0x18
mov byte [r12], al
mov eax, esi
shr eax, 0x10
mov byte [rcx], al
mov eax, esi
mov rcx, qword [rsp + 0x48]
shr eax, 8
mov byte [rcx], al
mov rax, qword [rsp + 0x28]
mov byte [rax], sil
nop
mov eax, r13d
inc r13d
movzx ecx, byte [r14 + rax]
xor cl, byte [rax + rbx + 0x10]
mov byte [rdi + rax], cl
mov eax, ebp
inc ebp
mov byte [rax + rbx + 0x188], cl
sub r15, 1
jne 0x1401b72a0
mov r12, qword [rsp + 0x78]
xor eax, eax
mov r13, qword [rsp + 0x70]
mov dword [rbx + 0x170], ebp
mov rbp, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0x80]
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rbx
ret
mov eax, 0xffffffff
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rbx
ret