Function at 0x14029fb80
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push r14
push r15
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 r15, r8
mov rcx, qword [rcx + 0x38]
mov rsi, rdx
mov qword [rsp + 0x30], rax
add rcx, r9
movabs rax, 0xfffffffe0
cmp rcx, rax
ja 0x14029ff40
cmp rcx, r9
jb 0x14029ff40
mov qword [rsp + 0x98], rbp
mov ebp, dword [rbx + 0x170]
mov qword [rsp + 0x58], r12
xor r12d, r12d
mov qword [rbx + 0x38], rcx
lea rcx, [rbx + 0x40]
mov dword [rsp + 0x90], ebp
mov qword [rsp + 0x28], rcx
cmp dword [rbx + 0x174], r12d
je 0x14029fc50
test r9, r9
jne 0x14029fc2a
lea rdx, [rbx + 0x60]
call fcn.1402a11c0
xor eax, eax
mov dword [rbx + 0x174], r12d
jmp 0x14029ff28
movups xmm0, xmmword [rcx]
mov ebp, reloc.WS2_32.dll_recv
mov dword [rsp + 0x90], ebp
movups xmmword [rbx + 0x188], xmm0
mov qword [rcx], r12
mov qword [rbx + 0x48], r12
mov dword [rbx + 0x174], r12d
jmp 0x14029fc55
mov qword [rsp + 0x28], rcx
movzx eax, byte [rbx + 0xd]
mov qword [rsp + 0x60], rdi
movzx edi, byte [rbx + 0xc]
shl edi, 8
or edi, eax
mov qword [rsp + 0x50], r13
movzx eax, byte [rbx + 0xe]
mov r13d, ebp
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 0x14029fcf7
nop dword [rax]
test r14, r14
je 0x14029fcc7
movzx edx, byte [rsi]
dec r14
mov eax, ebp
inc rsi
inc ebp
mov byte [rax + rbx + 0x188], dl
movzx ecx, byte [r13 + rbx + 0x10]
xor cl, dl
mov byte [r15], cl
inc r15
inc r13d
and r13d, 0xf
mov dword [rsp + 0x20], r13d
jne 0x14029fc90
jmp 0x14029fcd0
test r13d, r13d
jne 0x14029ff16
lea r8, [rbx + 0x188]
mov r9d, ebp
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call fcn.1402a0fe0
mov rcx, qword [rsp + 0x28]
mov ebp, r12d
mov dword [rsp + 0x90], r12d
lea rax, [rbx + 0x60]
cmp r14, 0x10
jb 0x14029fd22
test ebp, ebp
je 0x14029fd22
mov r9d, ebp
lea r8, [rbx + 0x188]
mov rdx, rax
call fcn.1402a0fe0
mov ebp, r12d
mov dword [rsp + 0x90], r12d
cmp r14, 0xc00
jb 0x14029fe03
mov rbp, qword [rsp + 0x28]
movabs rax, 0xaaaaaaaaaaaaaaab
mul r14
shr rdx, 0xb
imul rax, rdx, 0xfffffffffffff400
mov qword [rsp + 0x40], rdx
add r14, rax
mov qword [rsp + 0xa8], r14
nop dword [rax]
mov r9d, 0xc00
lea rdx, [rbx + 0x60]
mov r8, rsi
mov rcx, rbp
call fcn.1402a0fe0
mov rbp, qword [rsp + 0x38]
mov r12d, 0xc0
mov r14, qword [rsp + 0x30]
nop word [rax + rax]
mov r8, r14
lea rdx, [rbx + 0x10]
mov rcx, rbx
call rbp
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 [rsi]
mov qword [r15], rax
mov rax, qword [rsi + 8]
add rsi, 0x10
xor rax, qword [rbx + 0x18]
mov qword [r15 + 8], rax
add r15, 0x10
sub r12, 1
jne 0x14029fd90
sub qword [rsp + 0x40], 1
mov rbp, qword [rsp + 0x28]
jne 0x14029fd60
mov r14, qword [rsp + 0xa8]
mov ebp, dword [rsp + 0x90]
mov r13d, dword [rsp + 0x20]
mov r9, r14
and r9, 0xfffffffffffffff0
je 0x14029feb2
mov rcx, qword [rsp + 0x28]
lea rdx, [rbx + 0x60]
mov r8, rsi
call fcn.1402a0fe0
cmp r14, 0x10
jb 0x14029feb2
mov rbp, qword [rsp + 0x38]
mov r12, r14
shr r12, 4
imul rax, r12, 0xfffffffffffffff0
add r14, rax
mov qword [rsp + 0xa8], r14
mov r14, qword [rsp + 0x30]
nop dword [rax + rax]
mov r8, r14
lea rdx, [rbx + 0x10]
mov rcx, rbx
call rbp
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 [rsi]
mov qword [r15], rax
mov rax, qword [rsi + 8]
add rsi, 0x10
xor rax, qword [rbx + 0x18]
mov qword [r15 + 8], rax
add r15, 0x10
sub r12, 1
jne 0x14029fe50
mov r14, qword [rsp + 0xa8]
mov ebp, dword [rsp + 0x90]
mov r13d, dword [rsp + 0x20]
test r14, r14
je 0x14029ff16
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 word [rax + rax]
mov edx, r13d
inc r13d
mov eax, ebp
inc ebp
movzx ecx, byte [rdx + rsi]
mov byte [rax + rbx + 0x188], cl
movzx eax, byte [rbx + rdx + 0x10]
xor al, cl
mov byte [rdx + r15], al
sub r14, 1
jne 0x14029fef0
mov rdi, qword [rsp + 0x60]
xor eax, eax
mov r13, qword [rsp + 0x50]
mov dword [rbx + 0x170], ebp
mov rbp, qword [rsp + 0x98]
mov r12, qword [rsp + 0x58]
add rsp, 0x68
pop r15
pop r14
pop rsi
pop rbx
ret
mov eax, 0xffffffff
add rsp, 0x68
pop r15
pop r14
pop rsi
pop rbx
ret