Function at 0x1400ec3a0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b8
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rsi, qword [rcx + 8]
mov r10, rcx
mov edi, dword [rcx + 0x34]
mov r14, rdx
mov qword [rsp + 0x68], rdx
mov ebx, 1
mov qword [rsp + 0x90], r9
mov r13, r8
mov r9, qword [rcx + 0x70]
mov r11d, r14d
mov eax, dword [r10 + 0x18]
sub r11d, esi
mov dword [rsp + 0x4c], eax
mov r12d, r14d
sub r12d, esi
mov dword [rsp + 0x30], r11d
mov qword [rsp + 0x50], r8
mov r8, qword [rcx + 0x38]
lea rdx, [rax + rsi]
mov rcx, qword [rcx + 0x10]
add rax, rcx
mov qword [rsp + 0x78], rcx
mov ecx, dword [r10 + 0x100]
mov qword [rsp + 0x80], rax
mov eax, r11d
mov qword [rsp + 0x88], rdx
mov edx, ebx
shl edx, cl
mov ecx, dword [r10 + 0x1c]
sub r11d, edx
sub eax, ecx
mov qword [rsp + 0x38], r9
cmp eax, edx
mov qword [rsp + 0x40], r8
mov eax, dword [r10 + 0x10c]
cmovbe r11d, ecx
mov dword [rsp + 0x2c], edi
cmp dword [r10 + 0x28], 0
mov qword [rsp + 0x58], rsi
cmovne r11d, ecx
mov dword [rsp + 0x20], r12d
mov ecx, 6
mov dword [rsp + 0x64], r11d
cmp eax, ecx
mov dword [rsp + 0x48], 0x3f
cmovb ecx, eax
mov rax, qword [r10 + 0x60]
xor ebp, ebp
shl ebx, cl
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x28], ebx
lea r15d, [rbp + 3]
lea ecx, [rbp + 0x38]
cmp dword [r10 + 0x12c], ebp
jne 0x1400ec79e
mov r11d, dword [r10 + 0x2c]
mov eax, r12d
mov edx, dword [rsp + 0x2c]
sub eax, r11d
mov rdi, r9
mov rsi, r8
movabs r12, 0xcf1bbcdcbf9b0000
cmp eax, 0x180
jbe 0x1400ec67a
lea eax, [r11 + 0x60]
mov dword [rsp + 0x24], edx
cmp r11d, eax
jae 0x1400ec5bb
mov rsi, qword [rsp + 0x58]
mov r13d, ecx
sub r13d, edx
add rsi, 8
add rsi, r11
mov edi, r11d
mov r14d, eax
mov rbx, r9
mov r15, r8
nop word [rax + rax]
mov rdx, qword [rsi]
mov ecx, r13d
imul rdx, r12
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [rbx + rax*4]
prefetcht0 byte [rbx + rax*4 + 0x40]
prefetcht0 byte [r15 + rax]
prefetcht0 byte [r15 + rax + 0x20]
mov rax, rdi
lea rsi, [rsi + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r10 + rax*4 + 0x40], edx
mov eax, ebp
shr r8, 2
and r8d, 0x3fffffc0
movzx ecx, byte [r8 + r15]
lea rdx, [r8 + r15]
dec ecx
and ecx, 0x3f
cmove eax, dword [rsp + 0x48]
inc rdi
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [rbx + rax*4], r11d
inc r11d
cmp r11d, r14d
jb 0x1400ec510
mov eax, dword [r10 + 0x34]
mov r15d, 3
mov rdi, qword [r10 + 0x70]
mov rsi, qword [r10 + 0x38]
mov r14, qword [rsp + 0x68]
mov r13, qword [rsp + 0x50]
mov ebx, dword [rsp + 0x28]
mov dword [rsp + 0x24], eax
mov r11d, dword [rsp + 0x20]
lea rax, [r14 + 1]
mov rdx, qword [rsp + 0x58]
add r11d, 0xffffffe0
mov ecx, eax
mov r8d, r11d
sub ecx, r11d
sub ecx, edx
inc ecx
lea r9, [r11 + rdx]
cmp r9, rax
mov eax, 8
cmova ecx, ebp
cmp ecx, eax
cmova ecx, eax
lea eax, [r11 + rcx]
cmp r11d, eax
jae 0x1400ec66c
mov ebx, gethostname
mov r13d, ecx
sub ebx, dword [rsp + 0x24]
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [r9]
mov ecx, ebx
imul rdx, r12
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [rdi + rax*4]
prefetcht0 byte [rdi + rax*4 + 0x40]
prefetcht0 byte [rsi + rax]
prefetcht0 byte [rsi + rax + 0x20]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [r10 + rax*4 + 0x40], edx
sub r13, 1
jne 0x1400ec610
mov rdi, qword [r10 + 0x70]
mov rsi, qword [r10 + 0x38]
mov edx, dword [r10 + 0x34]
mov r13, qword [rsp + 0x50]
mov ebx, dword [rsp + 0x28]
jmp 0x1400ec670
mov edx, dword [rsp + 0x24]
mov r9, qword [rsp + 0x38]
mov ecx, gethostname
mov eax, dword [rsp + 0x20]
mov r8, qword [r10 + 8]
cmp r11d, eax
jae 0x1400ec73d
mov ebx, ecx
mov r13d, r11d
sub ebx, edx
lea r15, [r8 + 8]
add r15, r13
mov r14d, eax
nop dword [rax]
mov rdx, qword [r15]
mov ecx, ebx
imul rdx, r12
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [rdi + rax*4]
prefetcht0 byte [rdi + rax*4 + 0x40]
prefetcht0 byte [rax + rsi]
prefetcht0 byte [rax + rsi + 0x20]
mov rax, r13
lea r15, [r15 + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r10 + rax*4 + 0x40], edx
mov eax, ebp
shr r8, 2
and r8d, 0x3fffffc0
movzx ecx, byte [rsi + r8]
lea rdx, [rsi + r8]
dec ecx
and ecx, 0x3f
cmove eax, dword [rsp + 0x48]
inc r13
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [rdi + rax*4], r11d
inc r11d
cmp r11d, r14d
jb 0x1400ec6a0
mov r14, qword [rsp + 0x68]
mov r15d, 3
mov r13, qword [rsp + 0x50]
mov ebx, dword [rsp + 0x28]
mov eax, dword [rsp + 0x20]
mov r9, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x58]
mov ecx, gethostname
sub ecx, dword [rsp + 0x2c]
mov dword [r10 + 0x2c], eax
mov eax, dword [rsp + 0x30]
mov r8d, eax
mov rdx, qword [rax + rsi + 8]
imul rdx, r12
xor rdx, qword [rsp + 0x70]
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r9 + rax*4]
prefetcht0 byte [r9 + rax*4 + 0x40]
mov rcx, qword [rsp + 0x40]
prefetcht0 byte [rax + rcx]
prefetcht0 byte [rax + rcx + 0x20]
and r8d, 7
mov r11d, dword [r10 + r8*4 + 0x40]
mov dword [r10 + r8*4 + 0x40], edx
mov r8, rcx
jmp 0x1400ec7bf
mov r11, qword [r14]
movabs r12, 0xcf1bbcdcbf9b0000
imul r11, r12
sub ecx, edi
xor r11, rax
mov eax, dword [rsp + 0x30]
shr r11, cl
mov dword [r10 + 0x2c], eax
add dword [r10 + 0x68], r11d
mov eax, r11d
shr rax, 2
mov rdi, rbp
and eax, 0x3fffffc0
mov qword [rsp + 0x38], rbp
movdqu xmm0, xmmword [rax + r8]
movzx r12d, byte [rax + r8]
lea rcx, [r9 + rax*4]
lea r9, [rax + r8]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x70], r9
movsx eax, r11b
movd xmm2, eax
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
movdqa xmm1, xmm2
pcmpeqb xmm1, xmm0
movdqu xmm0, xmmword [r9 + 0x10]
pmovmskb r8d, xmm1
movdqu xmm1, xmmword [r9 + 0x20]
pcmpeqb xmm0, xmm2
pmovmskb edx, xmm0
pcmpeqb xmm1, xmm2
movdqu xmm0, xmmword [r9 + 0x30]
pmovmskb ecx, xmm1
pcmpeqb xmm0, xmm2
pmovmskb eax, xmm0
movsxd r9, eax
shl r9, 0x10
movsxd rax, ecx
or r9, rax
movsxd rax, edx
shl r9, 0x10
mov edx, r12d
or r9, rax
and edx, 0x3f
movsxd rax, r8d
mov ecx, edx
shl r9, 0x10
neg ecx
or r9, rax
and ecx, 0x3f
mov r8, r9
shl r8, cl
mov ecx, edx
mov rdx, qword [rsp + 0x40]
shr r9, cl
or r8, r9
jbe 0x1400ec8de
mov r9d, dword [rsp + 0x4c]
mov r13, qword [rsp + 0x78]
mov r14d, dword [rsp + 0x64]
test ebx, ebx
je 0x1400ec8cf
bsf rcx, r8
add ecx, r12d
and ecx, 0x3f
mov ecx, dword [rdx + rcx*4]
je 0x1400ec8c6
cmp ecx, r14d
jb 0x1400ec8cf
cmp ecx, r9d
jb 0x1400ec8b5
prefetcht0 byte [rcx + rsi]
jmp 0x1400ec8ba
prefetcht0 byte [rcx + r13]
mov dword [rsp + rdi*4 + 0xa0], ecx
inc rdi
dec ebx
lea rax, [r8 - 1]
and r8, rax
ja 0x1400ec892
mov r14, qword [rsp + 0x68]
mov r13, qword [rsp + 0x50]
mov qword [rsp + 0x38], rdi
lea ecx, [r12 - 1]
mov eax, ebp
and ecx, 0x3f
mov r8d, 0x3f
cmove eax, r8d
add ecx, eax
mov rax, qword [rsp + 0x70]
mov byte [rax], cl
mov byte [rcx + rax], r11b
mov eax, dword [r10 + 0x2c]
mov dword [rdx + rcx*4], eax
inc dword [r10 + 0x2c]
test rdi, rdi
je 0x1400ec9f9
nop dword [rax]
nop word [rax + rax]
mov esi, dword [rsp + rbp*4 + 0xa0]
mov eax, esi
cmp esi, dword [rsp + 0x4c]
jb 0x1400ec957
mov rdx, qword [rsp + 0x58]
add rdx, rax
mov eax, dword [r15 + r14 - 3]
cmp dword [rdx + r15 - 3], eax
jne 0x1400ec9ed
mov r8, r13
mov rcx, r14
call fcn.1400e5100
mov rbx, rax
jmp 0x1400ec9c8
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov eax, dword [r14]
cmp dword [rcx], eax
jne 0x1400ec9ed
lea rdi, [rcx + 4]
mov r8, r13
mov rcx, qword [rsp + 0x80]
lea r12, [r14 + 4]
mov rax, r12
mov rdx, rdi
sub rax, rdi
add rcx, rax
cmp rcx, r13
cmovb r8, rcx
mov rcx, r12
call fcn.1400e5100
mov rbx, rax
add rax, rdi
cmp rax, qword [rsp + 0x80]
jne 0x1400ec9bf
mov rdx, qword [rsp + 0x88]
lea rcx, [r12 + rbx]
mov r8, r13
call fcn.1400e5100
add rbx, rax
mov rdi, qword [rsp + 0x38]
add rbx, 4
cmp rbx, r15
jbe 0x1400ec9ed
mov eax, dword [rsp + 0x30]
mov r15, rbx
mov rcx, qword [rsp + 0x90]
sub eax, esi
add eax, 3
mov qword [rcx], rax
lea rax, [rbx + r14]
cmp rax, r13
je 0x1400ec9f9
inc rbp
cmp rbp, rdi
jb 0x1400ec920
mov rax, r15
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1401312e0
add rsp, 0x1b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret