Function at 0x140008700
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x78
mov rax, qword [0x14004e010]
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 0x140008748
mov eax, 0xffffffea
jmp 0x140008b8c
mov qword [rax], rbp
test rbp, rbp
jne 0x140008757
xor eax, eax
jmp 0x140008b8c
cmp rbx, rsi
jbe 0x14000876b
mov rax, rbx
sub rax, rsi
cmp rax, rbp
jb 0x140008bfc
mov rax, qword [rcx + 0x160]
lea rcx, [rax + r8]
cmp rcx, rax
jb 0x140008bfc
movabs rdx, 0xfffffffe0
cmp rcx, rdx
ja 0x140008bfc
mov qword [rsp + 0x68], r13
test rax, rax
jne 0x1400087b7
test byte [rdi + 0x168], 0xf
je 0x1400087b7
lea rdx, [rdi + 0x190]
mov rcx, rdi
mov r8, rdx
call fcn.140007ff0
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 0x1400088ab
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.140008e30
mov edx, eax
test eax, eax
jne 0x140008b68
lea r12, [rdi + 0x190]
add r12, r13
cmp dword [rdi + 0x1a0], eax
jne 0x140008847
mov r9, r14
mov r8, rsi
mov rdx, r12
mov rcx, r12
call fcn.140007b70
lea rdx, [rsp + 0x38]
mov r9, r14
add rdx, r13
mov r8, rsi
mov rcx, rbx
call fcn.140007b70
cmp dword [rdi + 0x1a0], 1
jne 0x140008877
mov r9, r14
mov r8, rbx
mov rdx, r12
mov rcx, r12
call fcn.140007b70
lea rax, [r14 + r13]
lea r12, [rdi + 0x190]
cmp rax, 0x10
jne 0x140008896
mov r8, r12
mov rdx, r12
mov rcx, rdi
call fcn.140007ff0
mov rax, qword [rdi + 0x160]
sub rbp, r14
add rsi, r14
add rbx, r14
add rax, r14
jmp 0x1400088b2
lea r12, [rdi + 0x190]
add rax, rbp
mov r14d, 1
mov qword [rdi + 0x160], rax
cmp rbp, 0x10
jb 0x140008b17
nop dword [rax]
mov rdx, r14
lea rax, [r15 + 0xf]
sub rdx, r15
nop word [rax + rax]
add byte [rax], r14b
jne 0x1400088f2
dec rax
lea rcx, [rdx + rax]
cmp rcx, 0xc
ja 0x1400088e0
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.140008e30
mov edx, eax
test eax, eax
jne 0x140008b68
cmp dword [rdi + 0x1a0], eax
jne 0x1400089d5
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 0x1400089d9
lea rcx, [rsi + 0xf]
xor r8d, r8d
cmp rbx, rcx
lea rcx, [rbx + 0xf]
ja 0x1400089ea
cmp rcx, rsi
jae 0x140008a00
lea rax, [rsp + 0x47]
cmp rbx, rax
ja 0x140008a35
lea rax, [rsp + 0x38]
cmp rcx, rax
jb 0x140008a35
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 0x140008a00
lea rcx, [rbx + 0xf]
jmp 0x140008a46
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 0x140008af6
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.140007ff0
sub rbp, 0x10
add rsi, 0x10
add rbx, 0x10
cmp rbp, 0x10
jae 0x1400088d0
test rbp, rbp
je 0x140008be9
lea rcx, [r15 + 0xf]
sub r14, r15
add byte [rcx], 1
jne 0x140008b39
dec rcx
lea rax, [r14 + rcx]
cmp rax, 0xc
ja 0x140008b27
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.140008e30
mov edx, eax
test eax, eax
je 0x140008ba2
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.140016280
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp dword [rdi + 0x1a0], 0
jne 0x140008bbc
mov r9, rbp
mov r8, rsi
mov rdx, r12
mov rcx, r12
call fcn.140007b70
mov r9, rbp
lea rdx, [rsp + 0x38]
mov r8, rsi
mov rcx, rbx
call fcn.140007b70
cmp dword [rdi + 0x1a0], 1
jne 0x140008be9
mov r9, rbp
mov r8, rbx
mov rdx, r12
mov rcx, r12
call fcn.140007b70
lea rdi, [rsp + 0x38]
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
jmp 0x140008b78
mov eax, 0xffffffec
jmp 0x140008b8c