Function at 0x14023e5f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x20], r9d
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, gethostbyname
call fcn.1400be950
sub rsp, rax
mov eax, dword [rcx + 0x18]
mov r12, r8
mov r8d, dword [rcx + 0x1c]
mov ebp, eax
mov r10d, dword [rcx + 0x20]
mov r14d, r8d
mov ebx, dword [rcx + 0xc]
mov r15d, r10d
mov r9d, dword [rcx]
mov r11, rdx
mov edx, dword [rcx + 0x14]
mov esi, dword [rcx + 4]
mov edi, dword [rcx + 8]
mov r13d, dword [rcx + 0x10]
shr r14d, 2
shr ebp, 2
add r14d, r8d
shr r15d, 2
add ebp, eax
add r15d, r10d
mov dword [rsp + 4], edx
mov dword [rsp + 0x80], ebx
cmp r12, 0x10
jb 0x14023e8dd
mov ecx, r14d
mov qword [rsp + 0x20], rcx
lea rcx, [r11 + 6]
mov qword [rsp + 0x28], r10
mov r10d, r9d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rax
mov qword [rsp + 0x18], r8
shr r12, 4
movzx eax, byte [rcx - 4]
movzx ebx, byte [rcx - 3]
movzx r9d, byte [rcx + 1]
movzx r8d, byte [rcx + 5]
movzx edx, byte [rcx + 9]
shl r9, 8
shl rbx, 8
or rbx, rax
shl r8, 8
movzx eax, byte [rcx - 5]
shl rdx, 8
shl rbx, 8
or rbx, rax
movzx eax, byte [rcx - 6]
shl rbx, 8
or rbx, rax
mov eax, r10d
add rbx, rax
movzx eax, byte [rcx]
or r9, rax
movzx eax, byte [rcx - 1]
shl r9, 8
or r9, rax
movzx eax, byte [rcx - 2]
shl r9, 8
or r9, rax
mov rax, rbx
shr rax, 0x20
add r9, rax
mov eax, esi
add r9, rax
movzx eax, byte [rcx + 4]
or r8, rax
mov r11d, r9d
movzx eax, byte [rcx + 3]
shl r8, 8
or r8, rax
movzx eax, byte [rcx + 2]
shl r8, 8
or r8, rax
mov rax, r9
mov r9, qword [rsp + 0x10]
shr rax, 0x20
mov rsi, r9
add r8, rax
mov eax, edi
add r8, rax
movzx eax, byte [rcx + 8]
or rdx, rax
mov r10d, r8d
movzx eax, byte [rcx + 7]
shl rdx, 8
or rdx, rax
movzx eax, byte [rcx + 6]
shl rdx, 8
or rdx, rax
mov rax, r8
shr rax, 0x20
add rdx, rax
mov eax, dword [rsp + 0x80]
add rdx, rax
mov rax, rdx
mov r8d, edx
shr rax, 0x20
add eax, dword [rsp + 0x88]
add r13d, eax
mov edx, ebx
imul rsi, rdx
mov eax, ebp
mov edi, r13d
imul rax, r8
mov ebx, r15d
add rsi, rax
mov eax, r14d
imul rax, r10
add rsi, rax
mov eax, r15d
imul rax, r11
add rsi, rax
mov rax, qword [rsp + 8]
imul edi, ebp
imul rax, rdx
add rdi, rax
mov eax, r8d
imul rax, qword [rsp + 0x20]
add rdi, rax
mov rax, r9
imul rax, r11
add rdi, rax
mov eax, r10d
imul rax, rbx
mov ebx, r13d
add rdi, rax
imul ebx, r14d
mov rax, rsi
shr rax, 0x20
add rdi, rax
mov rax, r9
imul rax, r10
mov r9d, r15d
add rbx, rax
mov eax, r8d
imul rax, r9
mov r9d, r13d
imul r13d, dword [rsp + 4]
add rbx, rax
imul r9d, r15d
mov rax, qword [rsp + 0x18]
imul rax, rdx
add rbx, rax
mov rax, qword [rsp + 8]
imul rax, r11
add rbx, rax
mov rax, rdi
shr rax, 0x20
add rbx, rax
mov rax, qword [rsp + 0x10]
imul rax, r8
add r9, rax
mov rax, qword [rsp + 8]
imul rax, r10
add r9, rax
mov rax, qword [rsp + 0x28]
imul rax, rdx
add r9, rax
mov rax, qword [rsp + 0x18]
imul rax, r11
add r9, rax
mov rax, rbx
shr rax, 0x20
add r9, rax
mov rax, r9
shr rax, 0x20
add r13d, eax
mov edx, r13d
mov eax, r13d
and eax, 0xfffffffc
shr edx, 2
add edx, eax
mov r8d, r13d
mov eax, edx
lea r10d, [rsi + rdx]
xor esi, edx
xor eax, r10d
or esi, eax
xor esi, r10d
shr esi, 0x1f
add esi, edi
or edi, esi
xor edi, esi
shr edi, 0x1f
add edi, ebx
or ebx, edi
xor ebx, edi
shr ebx, 0x1f
add ebx, r9d
mov r13d, ebx
mov dword [rsp + 0x80], ebx
or r13d, r9d
xor r13d, ebx
shr r13d, 0x1f
and r8d, 3
add r13d, r8d
lea rcx, [rcx + 0x10]
sub r12, 1
jne 0x14023e692
mov rcx, qword [rsp + 0x70]
jmp 0x14023e8e0
mov r10d, r9d
mov dword [rcx + 0xc], ebx
mov rbx, qword [rsp + 0x78]
mov dword [rcx], r10d
mov dword [rcx + 4], esi
mov dword [rcx + 8], edi
mov dword [rcx + 0x10], r13d
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret