Function at 0x14020bc10
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push r12
push r15
mov eax, 0x68
call fcn.140283930
sub rsp, rax
mov rax, qword [rcx + 0x180]
mov rbx, rcx
mov rcx, qword [rcx + 0x38]
mov rsi, r9
mov qword [rsp + 0x40], rax
add rcx, r9
movabs rax, 0xfffffffe0
mov r12, r8
mov r15, rdx
cmp rcx, rax
ja 0x14020bf61
cmp rcx, r9
jb 0x14020bf61
mov qword [rsp + 0x98], rbp
mov ebp, dword [rbx + 0x170]
mov qword [rsp + 0x60], rdi
xor edi, edi
mov qword [rbx + 0x38], rcx
lea rcx, [rbx + 0x40]
mov dword [rsp + 0x90], ebp
mov qword [rsp + 0x38], rcx
cmp dword [rbx + 0x174], edi
je 0x14020bcd0
test r9, r9
jne 0x14020bcab
lea rdx, [rbx + 0x60]
call fcn.14020ce80
xor eax, eax
mov dword [rbx + 0x174], edi
jmp 0x14020bf49
movups xmm0, xmmword [rcx]
mov ebp, reloc.WS2_32.dll_recv
mov dword [rsp + 0x90], ebp
movups xmmword [rbx + 0x188], xmm0
mov qword [rcx], rdi
mov qword [rbx + 0x48], rdi
mov dword [rbx + 0x174], edi
jmp 0x14020bcd5
mov qword [rsp + 0x38], rcx
movzx eax, byte [rbx + 0xd]
mov qword [rsp + 0x58], r13
movzx r13d, byte [rbx + 0xc]
shl r13d, 8
or r13d, eax
mov qword [rsp + 0x50], r14
movzx eax, byte [rbx + 0xe]
mov r14d, ebp
shl r13d, 8
or r13d, eax
movzx eax, byte [rbx + 0xf]
shl r13d, 8
or r13d, eax
and r14d, 0xf
mov dword [rsp + 0x30], r14d
je 0x14020bd7a
test rsi, rsi
je 0x14020bd4c
movzx edx, byte [r15]
dec rsi
mov eax, ebp
inc r15
inc ebp
mov byte [rax + rbx + 0x188], dl
movzx ecx, byte [r14 + rbx + 0x10]
xor cl, dl
mov byte [r12], cl
inc r12
inc r14d
and r14d, 0xf
mov dword [rsp + 0x30], r14d
jne 0x14020bd13
jmp 0x14020bd55
test r14d, r14d
jne 0x14020bf37
lea r8, [rbx + 0x188]
mov r9d, ebp
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call fcn.14020cca0
mov rcx, qword [rsp + 0x38]
mov ebp, edi
mov dword [rsp + 0x90], edi
lea rax, [rbx + 0x60]
cmp rsi, 0x10
jb 0x14020bda3
test ebp, ebp
je 0x14020bda3
mov r9d, ebp
lea r8, [rbx + 0x188]
mov rdx, rax
call fcn.14020cca0
mov ebp, edi
mov dword [rsp + 0x90], edi
cmp rsi, 0xc00
jb 0x14020be56
mov rdi, qword [rsp + 0x38]
movabs rax, 0xaaaaaaaaaaaaaaab
mov rbp, qword [rsp + 0x40]
mul rsi
mov r14, rdx
shr r14, 0xb
imul rax, r14, 0xfffffffffffff400
add rsi, rax
nop dword [rax + rax]
mov r9d, 0xc00
lea rdx, [rbx + 0x60]
mov r8, r15
mov rcx, rdi
call fcn.14020cca0
mov r9, rbp
mov qword [rsp + 0x20], rbx
mov r8d, 0xc0
mov rdx, r12
mov rcx, r15
call qword [rsp + 0xb0]
add r13d, 0xc0
add r12, 0xc00
mov eax, r13d
mov byte [rbx + 0xf], r13b
shr eax, 0x18
add r15, 0xc00
mov byte [rbx + 0xc], al
mov eax, r13d
shr eax, 0x10
mov byte [rbx + 0xd], al
mov eax, r13d
shr eax, 8
mov byte [rbx + 0xe], al
sub r14, 1
jne 0x14020bde0
mov ebp, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x30]
mov rax, rsi
and rax, 0xfffffffffffffff0
mov qword [rsp + 0xa8], rax
je 0x14020becf
mov rcx, qword [rsp + 0x38]
lea rdx, [rbx + 0x60]
mov rdi, rax
mov r9, rax
mov r8, r15
shr rdi, 4
call fcn.14020cca0
mov r9, qword [rsp + 0x40]
mov r8, rdi
mov rdx, r12
mov qword [rsp + 0x20], rbx
mov rcx, r15
call qword [rsp + 0xb0]
add r13d, edi
mov eax, r13d
mov byte [rbx + 0xf], r13b
shr eax, 0x18
mov byte [rbx + 0xc], al
mov eax, r13d
shr eax, 0x10
mov byte [rbx + 0xd], al
mov eax, r13d
shr eax, 8
mov byte [rbx + 0xe], al
mov rax, qword [rsp + 0xa8]
add r12, rax
add r15, rax
sub rsi, rax
test rsi, rsi
je 0x14020bf37
mov r8, qword [rsp + 0x40]
lea rdx, [rbx + 0x10]
mov rcx, rbx
call qword [rbx + 0x178]
inc r13d
mov eax, r13d
mov byte [rbx + 0xf], r13b
shr eax, 0x18
mov byte [rbx + 0xc], al
mov eax, r13d
shr eax, 0x10
mov byte [rbx + 0xd], al
mov eax, r13d
shr eax, 8
mov byte [rbx + 0xe], al
nop dword [rax + rax]
mov edx, r14d
inc r14d
mov eax, ebp
inc ebp
movzx ecx, byte [rdx + r15]
mov byte [rax + rbx + 0x188], cl
movzx eax, byte [rdx + rbx + 0x10]
xor al, cl
mov byte [rdx + r12], al
sub rsi, 1
jne 0x14020bf10
mov r13, qword [rsp + 0x58]
xor eax, eax
mov r14, qword [rsp + 0x50]
mov dword [rbx + 0x170], ebp
mov rbp, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x60]
add rsp, 0x68
pop r15
pop r12
pop rsi
pop rbx
ret
mov eax, 0xffffffff
add rsp, 0x68
pop r15
pop r12
pop rsi
pop rbx
ret