Function at 0x14008c6c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x188
mov rax, qword [0x14011f7a8]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov r13, qword [rcx + 8]
mov rdi, rcx
mov rax, qword [rcx + 0x70]
mov rbx, r8
mov qword [rsp + 0x40], rax
mov r8d, edx
mov rax, qword [rcx + 0x38]
sub r8d, r13d
mov qword [rsp + 0x48], rax
mov ebp, edx
mov eax, r8d
mov dword [rsp + 8], r8d
sub ebp, r13d
mov qword [rsp + 0x30], rdx
mov r15d, 1
mov qword [rsp + 0x60], r9
mov r9d, dword [rcx + 0x34]
mov r10, rdx
mov ecx, dword [rcx + 0x100]
mov edx, r15d
shl edx, cl
mov esi, 3
mov ecx, dword [rdi + 0x1c]
sub r8d, edx
sub eax, ecx
mov qword [rsp + 0x38], rbx
cmp eax, edx
mov dword [rsp + 0xc], r9d
mov eax, dword [rdi + 0x10c]
cmovbe r8d, ecx
mov qword [rsp + 0x20], r13
cmp dword [rdi + 0x28], 0
mov dword [rsp], ebp
cmovne r8d, ecx
mov dword [rsp + 0x10], reloc.WS2_32.dll_ntohs
mov ecx, 4
mov dword [rsp + 0x28], r8d
cmp eax, ecx
cmovb ecx, eax
mov rax, qword [rdi + 0x60]
shl r15d, cl
xor r11d, r11d
mov qword [rsp + 0x58], rax
mov dword [rsp + 4], r15d
cmp dword [rdi + 0x12c], r11d
jne 0x14008ca68
mov r14d, dword [rdi + 0x2c]
lea r12d, [rsi + 0x35]
mov eax, ebp
movabs rbp, 0xcf1bbcdcbb000000
sub eax, r14d
cmp eax, 0x180
jbe 0x14008c93b
lea eax, [r14 + 0x60]
cmp r14d, eax
jae 0x14008c885
mov rsi, qword [rsp + 0x40]
lea r15, [r13 + 8]
mov r10d, r12d
mov ebx, r14d
mov r12, qword [rsp + 0x48]
sub r10d, r9d
add r15, r14
mov r13d, eax
nop
mov rdx, qword [r15]
mov ecx, r10d
imul rdx, rbp
xor rdx, qword [rdi + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [rsi + rax*4]
prefetcht0 byte [rax + r12]
mov rax, rbx
lea r15, [r15 + 1]
and eax, 7
mov r9d, dword [rdi + rax*4 + 0x40]
mov r8d, r9d
mov dword [rdi + rax*4 + 0x40], edx
mov eax, r11d
shr r8, 4
and r8d, 0xffffff0
movzx ecx, byte [r8 + r12]
lea rdx, [r8 + r12]
dec ecx
and ecx, 0xf
cmove eax, dword [rsp + 0x10]
inc rbx
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rcx + rdx], r9b
mov dword [rsi + rax*4], r14d
inc r14d
cmp r14d, r13d
jb 0x14008c7f0
mov r10, qword [rsp + 0x30]
mov esi, 3
mov rbx, qword [rsp + 0x38]
mov r15d, dword [rsp + 4]
mov r13, qword [rsp + 0x20]
lea r12d, [rsi + 0x35]
mov rcx, qword [rdi + 0x70]
lea rax, [r10 + 1]
mov r14d, dword [rsp]
mov qword [rsp + 0x18], rcx
add r14d, 0xffffffe0
mov rcx, qword [rdi + 0x38]
mov qword [rsp + 0x50], rcx
mov ecx, eax
sub ecx, r13d
mov r8d, r14d
sub ecx, r14d
lea r9, [r14 + r13]
inc ecx
cmp r9, rax
mov eax, 8
cmova ecx, r11d
cmp ecx, eax
cmova ecx, eax
lea eax, [r14 + rcx]
cmp r14d, eax
jae 0x14008c93b
mov r15, qword [rsp + 0x18]
mov ebx, r12d
sub ebx, dword [rdi + 0x34]
mov r10, qword [rsp + 0x50]
mov r13d, ecx
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [r9]
mov ecx, ebx
imul rdx, rbp
xor rdx, qword [rdi + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [r15 + rax*4]
prefetcht0 byte [r10 + rax]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [rdi + rax*4 + 0x40], edx
sub r13, 1
jne 0x14008c8f0
mov r10, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov r15d, dword [rsp + 4]
mov rax, qword [rdi + 0x70]
mov rcx, qword [rdi + 0x38]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp]
mov qword [rsp + 0x18], rcx
mov rcx, qword [rdi + 8]
cmp r14d, eax
jae 0x14008ca13
mov r15, qword [rsp + 0x50]
lea rbx, [rcx + 8]
mov r10, qword [rsp + 0x18]
mov esi, r12d
sub esi, dword [rdi + 0x34]
mov r12d, eax
mov r13d, r14d
add rbx, r13
nop word [rax + rax]
mov rdx, qword [rbx]
mov ecx, esi
imul rdx, rbp
xor rdx, qword [rdi + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [r15 + rax*4]
prefetcht0 byte [r10 + rax]
mov rax, r13
lea rbx, [rbx + 1]
and eax, 7
mov r9d, dword [rdi + rax*4 + 0x40]
mov r8d, r9d
mov dword [rdi + rax*4 + 0x40], edx
mov eax, r11d
shr r8, 4
and r8d, 0xffffff0
movzx ecx, byte [r10 + r8]
lea rdx, [r10 + r8]
dec ecx
and ecx, 0xf
cmove eax, dword [rsp + 0x10]
inc r13
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [r15 + rax*4], r14d
inc r14d
cmp r14d, r12d
jb 0x14008c980
mov r10, qword [rsp + 0x30]
mov esi, 3
mov rbx, qword [rsp + 0x38]
mov r15d, dword [rsp + 4]
mov eax, dword [rsp]
lea r12d, [rsi + 0x35]
sub r12d, dword [rsp + 0xc]
mov r8d, dword [rsp + 8]
movzx ecx, r12b
mov dword [rdi + 0x2c], eax
mov rax, qword [rsp + 0x20]
mov rdx, qword [r8 + rax + 8]
imul rdx, rbp
xor rdx, qword [rsp + 0x58]
shr rdx, cl
mov rcx, qword [rsp + 0x40]
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [rcx + rax*4]
mov r9, qword [rsp + 0x48]
prefetcht0 byte [rax + r9]
and r8d, 7
mov r14d, dword [rdi + r8*4 + 0x40]
mov dword [rdi + r8*4 + 0x40], edx
jmp 0x14008ca98
mov r14, qword [r10]
mov ecx, gethostname
sub ecx, r9d
movabs rbp, 0xcf1bbcdcbb000000
mov r9, qword [rsp + 0x48]
imul r14, rbp
xor r14, rax
mov eax, dword [rsp + 8]
shr r14, cl
mov rcx, qword [rsp + 0x40]
mov dword [rdi + 0x2c], eax
add dword [rdi + 0x68], r14d
mov eax, r14d
shr rax, 4
mov rbp, r11
and eax, 0xffffff0
movdqu xmm0, xmmword [rax + r9]
lea r13, [rcx + rax*4]
lea rcx, [rax + r9]
movzx eax, byte [rax + r9]
mov r12d, eax
mov dword [rsp + 0xc], eax
mov qword [rsp + 0x58], rcx
and r12d, 0xf
movsx eax, r14b
mov ecx, r12d
neg ecx
and ecx, 0xf
movd xmm1, eax
punpcklbw xmm1, xmm1
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
pcmpeqb xmm1, xmm0
pmovmskb edx, xmm1
movzx eax, dx
shl ax, cl
movzx ecx, r12b
movzx r9d, ax
movzx eax, dx
shr rax, cl
or r9, rax
jbe 0x14008cb48
mov rdx, qword [rsp + 0x20]
mov r8d, dword [rsp + 0x28]
test r15d, r15d
je 0x14008cb48
bsf rcx, r9
add ecx, r12d
and ecx, 0xf
je 0x14008cb3f
mov ecx, dword [r13 + rcx*4]
cmp ecx, r8d
jb 0x14008cb48
prefetcht0 byte [rcx + rdx]
mov dword [rsp + rbp*4 + 0x70], ecx
inc rbp
dec r15d
lea rax, [r9 - 1]
and r9, rax
ja 0x14008cb16
mov ecx, dword [rsp + 0xc]
mov eax, r11d
dec ecx
mov edx, reloc.WS2_32.dll_ntohs
and ecx, 0xf
cmove eax, edx
add ecx, eax
mov rax, qword [rsp + 0x58]
mov byte [rax], cl
mov byte [rcx + rax], r14b
mov eax, dword [rdi + 0x2c]
mov dword [r13 + rcx*4], eax
inc dword [rdi + 0x2c]
test rbp, rbp
je 0x14008cc58
mov rdi, qword [rsp + 0x60]
mov r9d, dword [rsp + r11*4 + 0x70]
mov eax, dword [rsi + r10 - 3]
mov edx, r9d
add rdx, qword [rsp + 0x20]
cmp dword [rdx + rsi - 3], eax
jne 0x14008cc4c
lea r8, [rbx - 7]
mov rax, r10
cmp r10, r8
jae 0x14008cbe9
mov rcx, qword [rdx]
xor rcx, qword [r10]
je 0x14008cbbc
bsf rcx, rcx
shr rcx, 3
jmp 0x14008cc2e
add rax, 8
add rdx, 8
cmp rax, r8
jae 0x14008cbe9
nop dword [rax]
mov rcx, qword [rax]
xor rcx, qword [rdx]
jne 0x14008cc7f
add rax, 8
add rdx, 8
cmp rax, r8
jb 0x14008cbd0
lea rcx, [rbx - 3]
cmp rax, rcx
jae 0x14008cc00
mov ecx, dword [rax]
cmp dword [rdx], ecx
jne 0x14008cc00
add rax, 4
add rdx, 4
lea rcx, [rbx - 1]
cmp rax, rcx
jae 0x14008cc19
movzx ecx, word [rax]
cmp word [rdx], cx
jne 0x14008cc19
add rax, 2
add rdx, 2
cmp rax, rbx
jae 0x14008cc28
movzx ecx, byte [rax]
cmp byte [rdx], cl
jne 0x14008cc28
inc rax
mov rcx, rax
sub rcx, r10
cmp rcx, rsi
jbe 0x14008cc4c
mov eax, dword [rsp + 8]
mov rsi, rcx
sub eax, r9d
add eax, 3
mov qword [rdi], rax
lea rax, [rcx + r10]
cmp rax, rbx
je 0x14008cc58
inc r11
cmp r11, rbp
jb 0x14008cb82
mov rax, rsi
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400c8a50
add rsp, 0x188
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
bsf rcx, rcx
shr rcx, 3
sub rcx, r10
add rcx, rax
jmp 0x14008cc2e