Function at 0x14021e400
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r14
mov eax, 0x68
call fcn.1402cdb60
sub rsp, rax
mov rax, qword [rcx + 0x178]
mov rbx, rcx
mov r10, qword [rcx + 0x168]
mov rsi, r9
mov qword [rsp + 0x40], rax
mov rdi, r8
mov rax, qword [rcx + 0x180]
mov r14, rdx
mov rcx, qword [rcx + 0x38]
mov qword [rsp + 0x38], rax
add rcx, r9
movabs rax, 0xfffffffe0
mov qword [rsp + 0x30], r10
cmp rcx, rax
ja 0x14021e7ae
cmp rcx, r9
jb 0x14021e7ae
mov qword [rsp + 0x98], rbp
mov ebp, dword [rbx + 0x170]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], r13
xor r13d, r13d
mov qword [rsp + 0x50], r15
mov qword [rbx + 0x38], rcx
mov dword [rsp + 0x90], ebp
cmp dword [rbx + 0x174], r13d
je 0x14021e523
lea rcx, [rbx + 0x40]
mov qword [rsp + 0x28], rcx
test r9, r9
jne 0x14021e4e0
lea rdx, [rbx + 0x60]
call qword [rbx + 0x160]
mov dword [rbx + 0x174], r13d
mov r13, qword [rsp + 0x58]
xor eax, eax
mov r12, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x98]
mov r15, qword [rsp + 0x50]
add rsp, 0x68
pop r14
pop rdi
pop rsi
pop rbx
ret
movups xmm0, xmmword [rcx]
lea rax, [rbx + 0x188]
mov dword [rsp + 0x20], r13d
mov ebp, reloc.WS2_32.dll_recv
mov qword [rsp + 0xa8], rax
movups xmmword [rax], xmm0
mov qword [rcx], r13
mov r15d, r13d
mov qword [rbx + 0x48], r13
mov r12d, dword [rbx + 0xc]
bswap r12d
mov dword [rsp + 0x90], ebp
mov dword [rbx + 0x174], r13d
jmp 0x14021e5b2
mov r12d, dword [rbx + 0xc]
lea r8, [rbx + 0x188]
mov r15d, ebp
mov qword [rsp + 0xa8], r8
and r15d, 0xf
lea rax, [rbx + 0x40]
mov dword [rsp + 0x20], r15d
mov qword [rsp + 0x28], rax
bswap r12d
je 0x14021e5b2
test rsi, rsi
je 0x14021e58b
movzx ecx, byte [r15 + rbx + 0x10]
dec rsi
xor cl, byte [r14]
inc r14
mov byte [rdi], cl
inc rdi
mov eax, ebp
inc ebp
inc r15d
and r15d, 0xf
mov dword [rsp + 0x20], r15d
mov byte [rax + rbx + 0x188], cl
jne 0x14021e550
lea r8, [rbx + 0x188]
jmp 0x14021e594
test r15d, r15d
jne 0x14021e7a3
lea rdx, [rbx + 0x60]
mov r9d, ebp
lea rcx, [rbx + 0x40]
call r10
mov r10, qword [rsp + 0x30]
mov ebp, r13d
mov dword [rsp + 0x90], r13d
lea rax, [rbx + 0x60]
cmp rsi, 0x10
jb 0x14021e5e1
test ebp, ebp
je 0x14021e5e1
mov r8, qword [rsp + 0xa8]
mov rdx, rax
mov rcx, qword [rsp + 0x28]
mov r9d, ebp
call r10
mov ebp, r13d
mov dword [rsp + 0x90], r13d
lea r13, [rbx + 0x10]
cmp rsi, 0xc00
jb 0x14021e6b5
mov rbp, qword [rsp + 0x38]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rsi
mov rcx, rdx
shr rcx, 0xb
imul rax, rcx, 0xfffffffffffff400
mov qword [rsp + 0x48], rcx
add rsi, rax
mov qword [rsp + 0xa8], rsi
mov rsi, qword [rsp + 0x40]
nop word [rax + rax]
mov r13d, 0xc0
nop word [rax + rax]
mov r8, rbp
lea rdx, [rbx + 0x10]
mov rcx, rbx
call rsi
inc r12d
mov eax, r12d
bswap eax
mov dword [rbx + 0xc], eax
mov rax, qword [r14]
xor rax, qword [rbx + 0x10]
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 r13, 1
jne 0x14021e640
mov rcx, qword [rsp + 0x28]
lea r8, [rdi - 0xc00]
mov r9d, 0xc00
lea rdx, [rbx + 0x60]
call qword [rsp + gethostbyaddr]
sub qword [rsp + 0x48], 1
jne 0x14021e630
mov rsi, qword [rsp + 0xa8]
lea r13, [rbx + 0x10]
mov ebp, dword [rsp + 0x90]
mov r15d, dword [rsp + 0x20]
mov rax, rsi
and rax, 0xfffffffffffffff0
mov qword [rsp + 0x48], rax
je 0x14021e759
cmp rsi, 0x10
jb 0x14021e743
mov rbp, qword [rsp + 0x38]
mov r15, rsi
shr r15, 4
imul rax, r15, 0xfffffffffffffff0
add rsi, rax
mov qword [rsp + 0xa8], rsi
mov rsi, qword [rsp + 0x40]
nop dword [rax]
mov r8, rbp
mov rdx, r13
mov rcx, rbx
call rsi
inc r12d
mov eax, r12d
bswap eax
mov dword [rbx + 0xc], eax
mov rax, qword [r14]
xor rax, qword [r13]
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 r15, 1
jne 0x14021e6f0
mov rsi, qword [rsp + 0xa8]
mov ebp, dword [rsp + 0x90]
mov r15d, dword [rsp + 0x20]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
lea rdx, [rbx + 0x60]
mov r8, rdi
mov r9, rax
sub r8, rax
call qword [rsp + gethostbyaddr]
test rsi, rsi
je 0x14021e7a3
mov r8, qword [rsp + 0x38]
mov rdx, r13
mov rcx, rbx
call qword [rsp + 0x40]
inc r12d
bswap r12d
mov dword [rbx + 0xc], r12d
nop word [rax + rax]
mov eax, r15d
inc r15d
movzx ecx, byte [rax + rbx + 0x10]
xor cl, byte [rax + r14]
mov byte [rax + rdi], cl
mov eax, ebp
inc ebp
mov byte [rax + rbx + 0x188], cl
sub rsi, 1
jne 0x14021e780
mov dword [rbx + 0x170], ebp
jmp 0x14021e4bd
mov eax, 0xffffffff
add rsp, 0x68
pop r14
pop rdi
pop rsi
pop rbx
ret