Function at 0x1400e99e0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x198
mov rax, qword [0x1401f0010]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov r15, qword [rcx + 8]
mov r10, rcx
mov eax, dword [rcx + 0x34]
mov r13d, edx
mov rsi, qword [rcx + 0x38]
sub r13d, r15d
mov dword [rsp + 0x28], eax
mov r12, r8
mov qword [rsp + 0x58], r8
mov ebp, 1
mov r8d, edx
mov qword [rsp + 0x48], rdx
sub r8d, r15d
mov qword [rsp + 0x70], r9
mov r9, qword [rcx + 0x70]
mov r14, rdx
mov ecx, dword [rcx + 0x100]
mov edx, ebp
shl edx, cl
mov eax, r8d
mov ecx, dword [r10 + 0x1c]
mov r11d, r8d
sub eax, ecx
mov qword [rsp + 0x38], r9
sub r11d, edx
mov qword [rsp + 0x50], rsi
cmp eax, edx
mov qword [rsp + 0x60], r15
mov eax, dword [r10 + 0x10c]
mov edi, 3
cmovbe r11d, ecx
mov dword [rsp + 0x24], r13d
cmp dword [r10 + 0x28], 0
mov dword [rsp + 0x30], r8d
cmovne r11d, ecx
mov dword [rsp + 0x2c], 0x3f
mov ecx, 6
mov dword [rsp + 0x44], r11d
cmp eax, ecx
cmovb ecx, eax
mov rax, qword [r10 + 0x60]
shl ebp, cl
xor ebx, ebx
lea ecx, [rdi + 0x35]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x20], ebp
cmp dword [r10 + 0x12c], ebx
jne 0x1400e9da0
mov r11d, dword [r10 + 0x2c]
mov eax, r13d
mov r8, qword [rsp + 0x50]
sub eax, r11d
mov edx, dword [rsp + 0x28]
mov rsi, r9
mov r12, r8
movabs r13, 0xcf1bbcdcbf9b0000
cmp eax, 0x180
jbe 0x1400e9c77
lea eax, [r11 + 0x60]
mov r8d, edx
cmp r11d, eax
jae 0x1400e9bc8
mov rdi, qword [rsp + 0x50]
lea r12, [r15 + 8]
mov r14d, ecx
mov esi, r11d
sub r14d, edx
mov ebp, eax
add r12, r11
mov r15, r9
nop
mov rdx, qword [r12]
mov ecx, r14d
imul rdx, r13
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r15 + rax*4]
prefetcht0 byte [r15 + rax*4 + 0x40]
prefetcht0 byte [rdi + rax]
prefetcht0 byte [rdi + rax + 0x20]
mov rax, rsi
lea r12, [r12 + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r10 + rax*4 + 0x40], edx
mov eax, ebx
shr r8, 2
and r8d, 0x3fffffc0
movzx ecx, byte [r8 + rdi]
lea rdx, [r8 + rdi]
dec ecx
and ecx, 0x3f
cmove eax, dword [rsp + 0x2c]
inc rsi
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [r15 + rax*4], r11d
inc r11d
cmp r11d, ebp
jb 0x1400e9b20
mov rsi, qword [r10 + 0x70]
mov edi, 3
mov r12, qword [r10 + 0x38]
mov edx, dword [r10 + 0x34]
mov r14, qword [rsp + 0x48]
mov ebp, dword [rsp + 0x20]
mov r15, qword [rsp + 0x60]
mov r11d, dword [rsp + 0x24]
lea rax, [r14 + 1]
add r11d, 0xffffffe0
mov ecx, eax
sub ecx, r11d
mov r8d, r11d
sub ecx, r15d
inc ecx
lea r9, [r11 + r15]
cmp r9, rax
mov eax, 8
cmova ecx, ebx
cmp ecx, eax
cmova ecx, eax
lea eax, [r11 + rcx]
cmp r11d, eax
jae 0x1400e9c6d
mov r14d, gethostname
mov ebp, ecx
sub r14d, edx
nop word [rax + rax]
mov rdx, qword [r9]
mov ecx, r14d
imul rdx, r13
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [rsi + rax*4]
prefetcht0 byte [rsi + rax*4 + 0x40]
prefetcht0 byte [r12 + rax]
prefetcht0 byte [r12 + rax + 0x20]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [r10 + rax*4 + 0x40], edx
sub rbp, 1
jne 0x1400e9c10
mov rsi, qword [r10 + 0x70]
mov r12, qword [r10 + 0x38]
mov edx, dword [r10 + 0x34]
mov r14, qword [rsp + 0x48]
mov ebp, dword [rsp + 0x20]
mov r9, qword [rsp + 0x38]
mov ecx, gethostname
mov eax, dword [rsp + 0x24]
mov r8, qword [r10 + 8]
cmp r11d, eax
jae 0x1400e9d44
mov r14d, ecx
mov edi, r11d
sub r14d, edx
lea rbp, [r8 + 8]
add rbp, rdi
mov r15d, eax
nop dword [rax + rax]
mov rdx, qword [rbp]
mov ecx, r14d
imul rdx, r13
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [rsi + rax*4]
prefetcht0 byte [rsi + rax*4 + 0x40]
prefetcht0 byte [rax + r12]
prefetcht0 byte [rax + r12 + 0x20]
mov rax, rdi
lea rbp, [rbp + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r10 + rax*4 + 0x40], edx
mov eax, ebx
shr r8, 2
and r8d, 0x3fffffc0
movzx ecx, byte [r8 + r12]
lea rdx, [r8 + r12]
dec ecx
and ecx, 0x3f
cmove eax, dword [rsp + 0x2c]
inc rdi
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [rsi + rax*4], r11d
inc r11d
cmp r11d, r15d
jb 0x1400e9ca0
mov r14, qword [rsp + 0x48]
mov edi, 3
mov ebp, dword [rsp + 0x20]
mov r15, qword [rsp + 0x60]
mov eax, dword [rsp + 0x24]
mov r9, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x30]
mov ecx, gethostname
sub ecx, dword [rsp + 0x28]
mov dword [r10 + 0x2c], eax
mov rdx, qword [r8 + r15 + 8]
imul rdx, r13
xor rdx, qword [rsp + 0x68]
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r9 + rax*4]
prefetcht0 byte [r9 + rax*4 + 0x40]
mov rsi, qword [rsp + 0x50]
prefetcht0 byte [rax + rsi]
prefetcht0 byte [rax + rsi + 0x20]
mov r12, qword [rsp + 0x58]
and r8d, 7
mov r11d, dword [r10 + r8*4 + 0x40]
mov dword [r10 + r8*4 + 0x40], edx
jmp 0x1400e9dbf
mov r11, qword [r14]
movabs r13, 0xcf1bbcdcbf9b0000
sub ecx, dword [rsp + 0x28]
imul r11, r13
mov dword [r10 + 0x2c], r8d
xor r11, rax
shr r11, cl
add dword [r10 + 0x68], r11d
mov eax, r11d
shr rax, 2
and eax, 0x3fffffc0
movdqu xmm0, xmmword [rax + rsi]
lea r13, [r9 + rax*4]
lea r9, [rax + rsi]
mov rsi, rbx
movzx eax, byte [r9]
mov qword [rsp + 0x58], r9
mov dword [rsp + 0x20], eax
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
mov edx, dword [rsp + 0x20]
shl r9, 0x10
and edx, 0x3f
or r9, rax
mov ecx, edx
movsxd rax, r8d
neg ecx
shl r9, 0x10
and ecx, 0x3f
or r9, rax
mov r8, r9
shl r8, cl
mov ecx, edx
shr r9, cl
or r8, r9
jbe 0x1400e9eb3
mov edx, dword [rsp + 0x20]
mov r9d, dword [rsp + 0x44]
test ebp, ebp
je 0x1400e9eb3
bsf rcx, r8
add ecx, edx
and ecx, 0x3f
je 0x1400e9eaa
mov ecx, dword [r13 + rcx*4]
cmp ecx, r9d
jb 0x1400e9eb3
prefetcht0 byte [rcx + r15]
mov dword [rsp + rsi*4 + 0x80], ecx
inc rsi
dec ebp
lea rax, [r8 - 1]
and r8, rax
ja 0x1400e9e80
mov ecx, dword [rsp + 0x20]
mov eax, ebx
dec ecx
mov edx, 0x3f
and ecx, 0x3f
cmove eax, edx
add ecx, eax
mov rax, qword [rsp + 0x58]
mov byte [rax], cl
mov byte [rcx + rax], r11b
mov eax, dword [r10 + 0x2c]
mov dword [r13 + rcx*4], eax
inc dword [r10 + 0x2c]
test rsi, rsi
je 0x1400e9f3a
mov r13, qword [rsp + 0x70]
nop word [rax + rax]
mov ebp, dword [rsp + rbx*4 + 0x80]
mov eax, dword [rdi + r14 - 3]
lea rdx, [r15 + rbp]
cmp dword [rdx + rdi - 3], eax
jne 0x1400e9f32
mov r8, r12
mov rcx, r14
call fcn.1400e5d10
mov rcx, rax
cmp rax, rdi
jbe 0x1400e9f32
mov rdi, rax
mov eax, dword [rsp + 0x30]
sub eax, ebp
add eax, 3
mov qword [r13], rax
lea rax, [rcx + r14]
cmp rax, r12
je 0x1400e9f3a
inc rbx
cmp rbx, rsi
jb 0x1400e9ef0
mov rax, rdi
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140131ef0
add rsp, 0x198
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret