Function at 0x140088510
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
mov rbx, rcx
imul edx, dword [rcx + 0x1c]
mov eax, 4
mov rcx, 0xffffffffffffffff
mul rdx
cmovo rax, rcx
mov rcx, rax
call fcn.1400ec2c4
mov r8d, dword [rbx + 0x14]
xor edx, edx
imul r8d, dword [rbx + 0x1c]
mov rcx, rax
mov rdi, rax
mov qword [rsp + 0x70], rax
shl r8, 2
call fcn.1400ed430
xor r9d, r9d
mov edx, r9d
mov ecx, r9d
lea r12d, [r9 + 1]
cmp dword [rbx + 0x1c], r9d
jbe 0x1400885a7
mov r8, qword [rbx + 0x20]
mov eax, ecx
cmp byte [rax + r8], r9b
je 0x140088590
add ecx, r12d
cmp byte [rcx + r8], r9b
jne 0x140088587
mov eax, dword [rbx + 0x14]
imul eax, edx
add edx, r12d
add eax, ecx
add ecx, r12d
mov dword [rdi + rax*4], r12d
cmp edx, dword [rbx + 0x1c]
jb 0x14008857b
mov esi, r9d
mov r10d, r9d
cmp dword [rbx + 0x14], r9d
jbe 0x14008872e
mov rax, qword [rbx + 0x20]
mov ecx, r10d
cmp byte [rcx + rax], r9b
je 0x140088600
mov edx, dword [rbx + 0x1c]
cmp r10d, dword [rbx + 0x14]
jae 0x140088604
mov r8d, r9d
test edx, edx
je 0x1400885f3
mov edx, dword [rbx + 0x14]
mov rax, qword [rbx + 0x28]
imul edx, r8d
add r8d, r12d
add edx, r10d
mov ecx, dword [rax + rdx*4]
xor dword [rdi + rdx*4], ecx
mov edx, dword [rbx + 0x1c]
cmp r8d, edx
jb 0x1400885d4
mov rax, qword [rbx + 0x20]
add r10d, r12d
cmp byte [r10 + rax], r9b
jne 0x1400885c7
cmp r10d, dword [rbx + 0x14]
je 0x14008872e
mov ecx, dword [rbx + 0x14]
mov rax, qword [rbx + 0x28]
imul ecx, esi
mov r13d, r10d
lea r15, [rax + rcx*4]
lea r14, [rdi + rcx*4]
mov qword [rsp + 0x68], r14
cmp dword [r15 + r13*4], r9d
jne 0x14008862f
mov eax, r9d
jmp 0x140088645
mov rax, qword [rbx + 8]
mov ecx, 0xffff
mov edx, dword [r15 + r13*4]
sub ecx, dword [rax + rdx*4]
mov rax, qword [rbx]
mov eax, dword [rax + rcx*4]
mov r11d, r9d
cmp dword [rbx + 0x14], r9d
jbe 0x14008868c
mov ebp, eax
mov rdx, qword [rbx + 8]
mov r8d, r11d
add r11d, r12d
mov eax, dword [r15 + r8*4]
mov ecx, dword [rdx + rax*4]
add ecx, dword [rdx + rbp*4]
mov rax, qword [rbx]
mov ecx, dword [rax + rcx*4]
mov dword [r15 + r8*4], ecx
mov rdx, qword [rbx + 8]
mov eax, dword [r14 + r8*4]
mov ecx, dword [rdx + rax*4]
add ecx, dword [rdx + rbp*4]
mov rax, qword [rbx]
mov ecx, dword [rax + rcx*4]
mov dword [r14 + r8*4], ecx
cmp r11d, dword [rbx + 0x14]
jb 0x140088650
mov r11d, r9d
cmp dword [rbx + 0x1c], r9d
jbe 0x14008871e
cmp r11d, esi
je 0x140088711
mov ecx, dword [rbx + 0x14]
mov ebp, r9d
mov rax, qword [rbx + 0x28]
imul ecx, r11d
lea r14, [rax + rcx*4]
lea rax, [rdi + rcx*4]
cmp dword [rbx + 0x14], r9d
jbe 0x140088711
mov r12d, dword [r14 + r13*4]
mov r13, rax
mov rdi, qword [rsp + 0x68]
mov rdx, qword [rbx + 8]
mov r8d, ebp
inc ebp
mov eax, dword [r15 + r8*4]
mov ecx, dword [rdx + rax*4]
add ecx, dword [rdx + r12*4]
mov rax, qword [rbx]
mov ecx, dword [rax + rcx*4]
xor dword [r14 + r8*4], ecx
mov rdx, qword [rbx + 8]
mov eax, dword [rdi + r8*4]
mov ecx, dword [rdx + rax*4]
add ecx, dword [rdx + r12*4]
mov rax, qword [rbx]
mov ecx, dword [rax + rcx*4]
xor dword [r13 + r8*4], ecx
cmp ebp, dword [rbx + 0x14]
jb 0x1400886c6
mov rdi, qword [rsp + 0x70]
mov r12d, 1
mov r13d, r10d
add r11d, r12d
cmp r11d, dword [rbx + 0x1c]
jb 0x140088699
add esi, r12d
add r10d, r12d
cmp r10d, dword [rbx + 0x14]
jb 0x1400885b7
mov eax, dword [rbx + 0x14]
imul eax, dword [rbx + 0x1c]
test eax, eax
je 0x140088754
mov eax, dword [rdi + r9*4]
mov rcx, qword [rbx + 0x28]
mov dword [rcx + r9*4], eax
add r9d, r12d
mov eax, dword [rbx + 0x14]
imul eax, dword [rbx + 0x1c]
cmp r9d, eax
jb 0x140088739
mov rcx, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.1400ec2cc