Function at 0x140091d64
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.1400fc574
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.1400fd6e0
xor r9d, r9d
mov edx, r9d
mov ecx, r9d
lea r12d, [r9 + 1]
cmp dword [rbx + 0x1c], r9d
jbe 0x140091dfb
mov r8, qword [rbx + 0x20]
mov eax, ecx
cmp byte [rax + r8], r9b
je 0x140091de4
add ecx, r12d
cmp byte [rcx + r8], r9b
jne 0x140091ddb
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 0x140091dcf
mov esi, r9d
mov r10d, r9d
cmp dword [rbx + 0x14], r9d
jbe 0x140091f82
mov rax, qword [rbx + 0x20]
mov ecx, r10d
cmp byte [rcx + rax], r9b
je 0x140091e54
mov edx, dword [rbx + 0x1c]
cmp r10d, dword [rbx + 0x14]
jae 0x140091e58
mov r8d, r9d
test edx, edx
je 0x140091e47
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 0x140091e28
mov rax, qword [rbx + 0x20]
add r10d, r12d
cmp byte [r10 + rax], r9b
jne 0x140091e1b
cmp r10d, dword [rbx + 0x14]
je 0x140091f82
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 0x140091e83
mov eax, r9d
jmp 0x140091e99
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 0x140091ee0
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 0x140091ea4
mov r11d, r9d
cmp dword [rbx + 0x1c], r9d
jbe 0x140091f72
cmp r11d, esi
je 0x140091f65
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 0x140091f65
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 0x140091f1a
mov rdi, qword [rsp + 0x70]
mov r12d, 1
mov r13d, r10d
add r11d, r12d
cmp r11d, dword [rbx + 0x1c]
jb 0x140091eed
add esi, r12d
add r10d, r12d
cmp r10d, dword [rbx + 0x14]
jb 0x140091e0b
mov eax, dword [rbx + 0x14]
imul eax, dword [rbx + 0x1c]
test eax, eax
je 0x140091fa8
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 0x140091f8d
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.1400fc57c