Function at 0x1402a02c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push r14
mov eax, 0x68
call fcn.140344150
sub rsp, rax
mov rax, qword [rcx + 0x178]
mov rbx, rcx
mov qword [rsp + 0x38], rax
mov r14, r9
mov rax, qword [rcx + 0x180]
mov rsi, r8
mov rcx, qword [rcx + 0x38]
mov rbp, rdx
mov qword [rsp + 0x30], rax
add rcx, r9
movabs rax, 0xfffffffe0
cmp rcx, rax
ja 0x1402a068e
cmp rcx, r9
jb 0x1402a068e
mov qword [rsp + 0x60], r12
xor r12d, r12d
mov qword [rbx + 0x38], rcx
lea rcx, [rbx + 0x40]
mov qword [rsp + 0x50], r15
mov r15d, dword [rbx + 0x170]
mov dword [rsp + 0x90], r15d
mov qword [rsp + 0x28], rcx
cmp dword [rbx + 0x174], r12d
je 0x1402a0390
test r9, r9
jne 0x1402a0368
lea rdx, [rbx + 0x60]
call fcn.1402a11c0
xor eax, eax
mov dword [rbx + 0x174], r12d
jmp 0x1402a067a
movups xmm0, xmmword [rcx]
mov r15d, reloc.WS2_32.dll_recv
mov dword [rsp + 0x90], r15d
movups xmmword [rbx + 0x188], xmm0
mov qword [rcx], r12
mov qword [rbx + 0x48], r12
mov dword [rbx + 0x174], r12d
jmp 0x1402a0395
mov qword [rsp + 0x28], rcx
movzx eax, byte [rbx + 0xd]
mov qword [rsp + 0x98], rdi
movzx edi, byte [rbx + 0xc]
shl edi, 8
or edi, eax
mov qword [rsp + 0x58], r13
movzx eax, byte [rbx + 0xe]
mov r13d, r15d
shl edi, 8
or edi, eax
movzx eax, byte [rbx + 0xf]
shl edi, 8
or edi, eax
and r13d, 0xf
mov dword [rsp + 0x20], r13d
je 0x1402a0436
nop
test r14, r14
je 0x1402a0406
movzx ecx, byte [r13 + rbx + 0x10]
dec r14
xor cl, byte [rbp]
inc rbp
mov byte [rsi], cl
inc rsi
mov eax, r15d
inc r15d
inc r13d
and r13d, 0xf
mov dword [rsp + 0x20], r13d
mov byte [rax + rbx + 0x188], cl
jne 0x1402a03d0
jmp 0x1402a040f
test r13d, r13d
jne 0x1402a0664
lea r8, [rbx + 0x188]
mov r9d, r15d
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call fcn.1402a0fe0
mov rcx, qword [rsp + 0x28]
mov r15d, r12d
mov dword [rsp + 0x90], r12d
lea rax, [rbx + 0x60]
cmp r14, 0x10
jb 0x1402a0462
test r15d, r15d
je 0x1402a0462
mov r9d, r15d
lea r8, [rbx + 0x188]
mov rdx, rax
call fcn.1402a0fe0
mov r15d, r12d
mov dword [rsp + 0x90], r12d
cmp r14, 0xc00
jb 0x1402a053c
mov r15, qword [rsp + 0x30]
movabs rax, 0xaaaaaaaaaaaaaaab
mul r14
mov rcx, rdx
shr rcx, 0xb
imul rax, rcx, 0xfffffffffffff400
mov qword [rsp + 0x40], rcx
add r14, rax
mov qword [rsp + 0xa8], r14
nop
mov r14, qword [rsp + 0x38]
mov r12d, 0xc0
nop dword [rax + rax]
mov r8, r15
lea rdx, [rbx + 0x10]
mov rcx, rbx
call r14
inc edi
mov byte [rbx + 0xf], dil
mov eax, edi
shr eax, 0x18
mov byte [rbx + 0xc], al
mov eax, edi
shr eax, 0x10
mov byte [rbx + 0xd], al
mov eax, edi
shr eax, 8
mov byte [rbx + 0xe], al
mov rax, qword [rbx + 0x10]
xor rax, qword [rbp]
mov qword [rsi], rax
mov rax, qword [rbp + 8]
add rbp, 0x10
xor rax, qword [rbx + 0x18]
mov qword [rsi + 8], rax
add rsi, 0x10
sub r12, 1
jne 0x1402a04b0
mov rcx, qword [rsp + 0x28]
lea r8, [rsi - 0xc00]
mov r9d, 0xc00
lea rdx, [rbx + 0x60]
call fcn.1402a0fe0
sub qword [rsp + 0x40], 1
jne 0x1402a04a0
mov r14, qword [rsp + 0xa8]
mov r15d, dword [rsp + 0x90]
mov r13d, dword [rsp + 0x20]
mov rax, r14
and rax, 0xfffffffffffffff0
mov qword [rsp + 0x40], rax
je 0x1402a0601
cmp r14, 0x10
jb 0x1402a05ea
mov r15, qword [rsp + 0x30]
mov r12, r14
shr r12, 4
imul rax, r12, 0xfffffffffffffff0
add r14, rax
mov qword [rsp + 0xa8], r14
mov r14, qword [rsp + 0x38]
nop dword [rax + rax]
mov r8, r15
lea rdx, [rbx + 0x10]
mov rcx, rbx
call r14
inc edi
mov byte [rbx + 0xf], dil
mov eax, edi
shr eax, 0x18
mov byte [rbx + 0xc], al
mov eax, edi
shr eax, 0x10
mov byte [rbx + 0xd], al
mov eax, edi
shr eax, 8
mov byte [rbx + 0xe], al
mov rax, qword [rbx + 0x10]
xor rax, qword [rbp]
mov qword [rsi], rax
mov rax, qword [rbp + 8]
add rbp, 0x10
xor rax, qword [rbx + 0x18]
mov qword [rsi + 8], rax
add rsi, 0x10
sub r12, 1
jne 0x1402a0580
mov r14, qword [rsp + 0xa8]
mov r15d, dword [rsp + 0x90]
mov r13d, dword [rsp + 0x20]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
lea rdx, [rbx + 0x60]
mov r8, rsi
mov r9, rax
sub r8, rax
call fcn.1402a0fe0
test r14, r14
je 0x1402a0664
mov r8, qword [rsp + 0x30]
lea rdx, [rbx + 0x10]
mov rcx, rbx
call qword [rsp + gethostname]
inc edi
mov eax, edi
mov byte [rbx + 0xf], dil
shr eax, 0x18
mov byte [rbx + 0xc], al
mov eax, edi
shr eax, 0x10
mov byte [rbx + 0xd], al
mov eax, edi
shr eax, 8
mov byte [rbx + 0xe], al
nop dword [rax]
nop dword [rax + rax]
mov eax, r13d
inc r13d
movzx ecx, byte [rbx + rax + 0x10]
xor cl, byte [rax + rbp]
mov byte [rax + rsi], cl
mov eax, r15d
inc r15d
mov byte [rax + rbx + 0x188], cl
sub r14, 1
jne 0x1402a0640
mov r13, qword [rsp + 0x58]
xor eax, eax
mov rdi, qword [rsp + 0x98]
mov dword [rbx + 0x170], r15d
mov r12, qword [rsp + 0x60]
mov r15, qword [rsp + 0x50]
add rsp, 0x68
pop r14
pop rsi
pop rbp
pop rbx
ret
mov eax, 0xffffffff
add rsp, 0x68
pop r14
pop rsi
pop rbp
pop rbx
ret