Function at 0x140077080
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push r14
sub rsp, 0x290
mov rax, qword [0x1403e3c28]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov qword [r11 - 0x10], rbx
mov eax, r9d
mov ebx, dword [rsp + 0x2c8]
and r9d, 1
mov qword [r11 - 0x18], rbp
mov r14, rcx
mov qword [r11 - 0x20], rsi
lea rcx, [r11 - 0x158]
mov rsi, qword [rsp + 0x2c0]
mov rbp, r8
mov qword [r11 - 0x28], rdi
mov qword [r11 - 0x40], r15
movsxd r15, edx
cdq
sub eax, edx
mov dword [rsp + 0x30], 2
sar eax, 1
mov edx, r15d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rsi
lea edi, [r9 + rax]
mov r9d, edi
call fcn.140076f30
mov dword [rsp + 0x30], 3
lea rcx, [rsp + 0x40]
movsxd r8, edi
mov r9d, edi
add r8, rbp
mov dword [rsp + 0x28], ebx
mov edx, r15d
mov qword [rsp + 0x20], rsi
call fcn.140076f30
xor edx, edx
test r15d, r15d
jle 0x1400772e4
cmp r15d, 8
jb 0x1400772e4
lea ecx, [r15 - 1]
movsxd r8, ecx
movsxd rax, ecx
add r8, r14
lea rcx, [rsp + 0x140]
add rcx, rax
cmp r14, rcx
ja 0x140077167
lea rax, [rsp + 0x140]
cmp r8, rax
jae 0x1400772e4
lea ecx, [r15 - 1]
movsxd r8, ecx
movsxd rax, ecx
add r8, r14
lea rcx, [rsp + 0x40]
add rcx, rax
cmp r14, rcx
ja 0x14007718f
lea rax, [rsp + 0x40]
cmp r8, rax
jae 0x1400772e4
cmp r15d, 0x40
jb 0x14007729f
mov ecx, r15d
mov qword [rsp + 0x268], r12
mov qword [rsp + 0x260], r13
and ecx, 0x8000003f
jge 0x1400771bb
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, r15d
sub eax, ecx
lea rsi, [rsp + 0x40]
movsxd rdi, eax
lea rbp, [rsp + 0x140]
sub rsi, r14
lea r12, [rsp + 0x150]
sub rbp, r14
lea r13, [rsp + 0x50]
sub r12, r14
lea r8, [rsp + 0x140]
sub r13, r14
lea r9, [rsp + 0x40]
sub r8, r14
lea r10, [rsp + 0x150]
sub r9, r14
lea r11, [rsp + 0x50]
sub r10, r14
sub r11, r14
lea rcx, [r14 + 0x20]
mov rbx, 0xffffffffffffffe0
sub rbx, r14
nop dword [rax]
movdqu xmm0, xmmword [rsi + rcx - 0x20]
add edx, 0x40
movdqu xmm1, xmmword [rcx + rbp - 0x20]
movdqu xmm2, xmmword [rcx + r13 - 0x20]
lea rcx, [rcx + 0x40]
xorps xmm1, xmm0
lea rax, [rbx + rcx]
movdqu xmm0, xmmword [r12 + rcx - 0x60]
movdqu xmmword [rcx - 0x60], xmm1
xorps xmm2, xmm0
movdqu xmm0, xmmword [r9 + rcx - 0x40]
movdqu xmm1, xmmword [r8 + rcx - 0x40]
movdqu xmmword [rcx - 0x50], xmm2
xorps xmm1, xmm0
movdqu xmm0, xmmword [r10 + rcx - 0x40]
movdqu xmm2, xmmword [r11 + rcx - 0x40]
movdqu xmmword [rcx - 0x40], xmm1
xorps xmm2, xmm0
movdqu xmmword [rcx - 0x30], xmm2
cmp rax, rdi
jl 0x140077220
mov r13, qword [rsp + 0x260]
mov r12, qword [rsp + 0x268]
mov eax, r15d
and al, 0x3f
cmp al, 8
jb 0x1400772e4
mov ecx, r15d
and ecx, 0x80000007
jge 0x1400772b1
dec ecx
or ecx, 0xfffffff8
inc ecx
mov eax, r15d
sub eax, ecx
movsxd rcx, edx
movsxd r8, eax
nop dword [rax]
movq xmm1, qword [rsp + rcx + 0x40]
add edx, 8
movq xmm0, qword [rsp + rcx + 0x140]
xorps xmm1, xmm0
movq qword [rcx + r14], xmm1
add rcx, 8
cmp rcx, r8
jl 0x1400772c0
mov rdi, qword [rsp + 0x270]
mov rsi, qword [rsp + 0x278]
mov rbp, qword [rsp + 0x280]
mov rbx, qword [rsp + 0x288]
movsxd rax, edx
mov rdx, r15
mov r15, qword [rsp + 0x258]
cmp rax, rdx
jge 0x140077338
nop word [rax + rax]
movzx ecx, byte [rsp + rax + 0x40]
xor cl, byte [rsp + rax + 0x140]
mov byte [rax + r14], cl
inc rax
cmp rax, rdx
jl 0x140077320
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401f11e0
add rsp, 0x290
pop r14
ret