Function at 0x14000ec90
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x78
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
mov rax, qword [rsp + 0xc8]
mov rbx, r9
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
movups xmmword [rsp + 0x38], xmm0
cmp qword [rsp + 0xc0], r8
jae 0x14000ecd8
mov eax, 0xffffffea
jmp 0x14000f11c
mov qword [rax], rbp
test rbp, rbp
jne 0x14000ece7
xor eax, eax
jmp 0x14000f11c
cmp rbx, rsi
jbe 0x14000ecfb
mov rax, rbx
sub rax, rsi
cmp rax, rbp
jb 0x14000f18c
mov rax, qword [rcx + 0x160]
lea rcx, [rax + r8]
cmp rcx, rax
jb 0x14000f18c
movabs rdx, 0xfffffffe0
cmp rcx, rdx
ja 0x14000f18c
mov qword [rsp + 0x68], r13
test rax, rax
jne 0x14000ed47
test byte [rdi + 0x168], 0xf
je 0x14000ed47
lea rdx, [rdi + 0x190]
mov rcx, rdi
mov r8, rdx
call fcn.14000e580
mov rax, qword [rdi + 0x160]
mov qword [rsp + 0x70], r12
mov r13, rax
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x58], r15
lea r15, [rdi + 0x180]
and r13d, 0xf
je 0x14000ee3b
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], 0
mov r14d, 0x10
mov qword [rsp + 0x20], rax
sub r14, r13
lea r9, [rsp + 0x38]
cmp r14, rbp
mov r8d, 0x10
mov rdx, r15
mov rcx, rdi
cmova r14, rbp
call fcn.14000f3c0
mov edx, eax
test eax, eax
jne 0x14000f0f8
lea r12, [rdi + 0x190]
add r12, r13
cmp dword [rdi + 0x1a0], eax
jne 0x14000edd7
mov r9, r14
mov r8, rsi
mov rdx, r12
mov rcx, r12
call fcn.14000e100
lea rdx, [rsp + 0x38]
mov r9, r14
add rdx, r13
mov r8, rsi
mov rcx, rbx
call fcn.14000e100
cmp dword [rdi + 0x1a0], 1
jne 0x14000ee07
mov r9, r14
mov r8, rbx
mov rdx, r12
mov rcx, r12
call fcn.14000e100
lea rax, [r14 + r13]
lea r12, [rdi + 0x190]
cmp rax, 0x10
jne 0x14000ee26
mov r8, r12
mov rdx, r12
mov rcx, rdi
call fcn.14000e580
mov rax, qword [rdi + 0x160]
sub rbp, r14
add rsi, r14
add rbx, r14
add rax, r14
jmp 0x14000ee42
lea r12, [rdi + 0x190]
add rax, rbp
mov r14d, 1
mov qword [rdi + 0x160], rax
cmp rbp, 0x10
jb 0x14000f0a7
nop dword [rax]
mov rdx, r14
lea rax, [r15 + 0xf]
sub rdx, r15
nop word [rax + rax]
add byte [rax], r14b
jne 0x14000ee82
dec rax
lea rcx, [rdx + rax]
cmp rcx, 0xc
ja 0x14000ee70
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], 0
lea r9, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r8d, 0x10
mov rdx, r15
mov rcx, rdi
call fcn.14000f3c0
mov edx, eax
test eax, eax
jne 0x14000f0f8
cmp dword [rdi + 0x1a0], eax
jne 0x14000ef65
movzx eax, byte [rsi]
lea rcx, [rsi + 0xf]
xor byte [rdi + 0x190], al
movzx eax, byte [rsi + 1]
xor byte [rdi + 0x191], al
movzx eax, byte [rsi + 2]
xor byte [rdi + 0x192], al
movzx eax, byte [rsi + 3]
xor byte [rdi + 0x193], al
movzx eax, byte [rsi + 4]
xor byte [rdi + 0x194], al
movzx eax, byte [rsi + 5]
xor byte [rdi + 0x195], al
movzx eax, byte [rsi + 6]
xor byte [rdi + 0x196], al
movzx eax, byte [rsi + 7]
xor byte [rdi + 0x197], al
movzx eax, byte [rsi + 8]
xor byte [rdi + 0x198], al
movzx eax, byte [rsi + 9]
xor byte [rdi + 0x199], al
movzx eax, byte [rsi + 0xa]
xor byte [rdi + 0x19a], al
movzx eax, byte [rsi + 0xb]
xor byte [rdi + 0x19b], al
movzx eax, byte [rsi + 0xc]
xor byte [rdi + 0x19c], al
movzx eax, byte [rsi + 0xd]
xor byte [rdi + 0x19d], al
movzx eax, byte [rsi + 0xe]
xor byte [rdi + 0x19e], al
movzx eax, byte [rcx]
xor byte [rdi + 0x19f], al
jmp 0x14000ef69
lea rcx, [rsi + 0xf]
xor r8d, r8d
cmp rbx, rcx
lea rcx, [rbx + 0xf]
ja 0x14000ef7a
cmp rcx, rsi
jae 0x14000ef90
lea rax, [rsp + 0x47]
cmp rbx, rax
ja 0x14000efc5
lea rax, [rsp + 0x38]
cmp rcx, rax
jb 0x14000efc5
nop
lea rcx, [rsp + 0x3a]
lea rdx, [rsp + 0x38]
add rdx, r8
inc r8
mov rax, rdx
sub rax, rcx
movzx ecx, byte [rax + rsi + 2]
lea rax, [rsp + 0x39]
xor cl, byte [rdx]
sub rdx, rax
mov byte [rdx + rbx + 1], cl
cmp r8, 0x10
jb 0x14000ef90
lea rcx, [rbx + 0xf]
jmp 0x14000efd6
movdqu xmm0, xmmword [rsi]
movdqu xmm1, xmmword [rsp + 0x38]
xorps xmm1, xmm0
movdqu xmmword [rbx], xmm1
lea rdx, [rdi + 0x190]
cmp dword [rdi + 0x1a0], r14d
jne 0x14000f086
movzx eax, byte [rdx]
xor al, byte [rbx]
mov byte [rdx], al
movzx eax, byte [rbx + 1]
xor byte [rdi + 0x191], al
movzx eax, byte [rbx + 2]
xor byte [rdi + 0x192], al
movzx eax, byte [rbx + 3]
xor byte [rdi + 0x193], al
movzx eax, byte [rbx + 4]
xor byte [rdi + 0x194], al
movzx eax, byte [rbx + 5]
xor byte [rdi + 0x195], al
movzx eax, byte [rbx + 6]
xor byte [rdi + 0x196], al
movzx eax, byte [rbx + 7]
xor byte [rdi + 0x197], al
movzx eax, byte [rbx + 8]
xor byte [rdi + 0x198], al
movzx eax, byte [rbx + 9]
xor byte [rdi + 0x199], al
movzx eax, byte [rbx + 0xa]
xor byte [rdi + 0x19a], al
movzx eax, byte [rbx + 0xb]
xor byte [rdi + 0x19b], al
movzx eax, byte [rbx + 0xc]
xor byte [rdi + 0x19c], al
movzx eax, byte [rbx + 0xd]
xor byte [rdi + 0x19d], al
movzx eax, byte [rbx + 0xe]
xor byte [rdi + 0x19e], al
movzx eax, byte [rcx]
xor byte [rdi + 0x19f], al
mov r8, rdx
mov rcx, rdi
call fcn.14000e580
sub rbp, 0x10
add rsi, 0x10
add rbx, 0x10
cmp rbp, 0x10
jae 0x14000ee60
test rbp, rbp
je 0x14000f179
lea rcx, [r15 + 0xf]
sub r14, r15
add byte [rcx], 1
jne 0x14000f0c9
dec rcx
lea rax, [r14 + rcx]
cmp rax, 0xc
ja 0x14000f0b7
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], 0
lea r9, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r8d, 0x10
mov rdx, r15
mov rcx, rdi
call fcn.14000f3c0
mov edx, eax
test eax, eax
je 0x14000f132
xor eax, eax
lea rdi, [rsp + 0x38]
mov ecx, 0x10
rep stosb byte [rdi], al
mov eax, edx
mov r14, qword [rsp + 0x60]
mov r12, qword [rsp + 0x70]
mov r15, qword [rsp + 0x58]
mov r13, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001c430
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp dword [rdi + 0x1a0], 0
jne 0x14000f14c
mov r9, rbp
mov r8, rsi
mov rdx, r12
mov rcx, r12
call fcn.14000e100
mov r9, rbp
lea rdx, [rsp + 0x38]
mov r8, rsi
mov rcx, rbx
call fcn.14000e100
cmp dword [rdi + 0x1a0], 1
jne 0x14000f179
mov r9, rbp
mov r8, rbx
mov rdx, r12
mov rcx, r12
call fcn.14000e100
lea rdi, [rsp + 0x38]
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
jmp 0x14000f108
mov eax, 0xffffffec
jmp 0x14000f11c