Function at 0x140061a18
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x28
mov edx, dword [rcx + 0x14]
mov rbx, rcx
mov eax, 4
imul edx, dword [rcx + 0x1c]
mov rcx, 0xffffffffffffffff
mul rdx
cmovo rax, rcx
mov rcx, rax
call fcn.1400e9a7c
mov r8d, dword [rbx + 0x14]
xor edx, edx
mov rcx, rax
mov rdi, rax
mov qword [rsp + 0x80], rax
imul r8d, dword [rbx + 0x1c]
shl r8, 2
call fcn.1400eada0
xor r11d, r11d
mov edx, r11d
mov ecx, r11d
cmp dword [rbx + 0x1c], r11d
jbe 0x140061aab
mov r8, qword [rbx + 0x20]
mov eax, ecx
cmp byte [rax + r8], r11b
je 0x140061a93
inc ecx
cmp byte [rcx + r8], r11b
jne 0x140061a8b
mov eax, dword [rbx + 0x14]
imul eax, edx
inc edx
add eax, ecx
inc ecx
mov dword [rdi + rax*4], 1
cmp edx, dword [rbx + 0x1c]
jb 0x140061a7f
mov esi, r11d
mov r8d, r11d
mov r10, r11
cmp dword [rbx + 0x14], r11d
jbe 0x140061c68
mov rax, qword [rbx + 0x20]
mov ecx, r8d
cmp byte [rcx + rax], r11b
je 0x140061b0b
mov edx, dword [rbx + 0x1c]
cmp r8d, dword [rbx + 0x14]
jae 0x140061b0f
mov r9d, r11d
cmp edx, r11d
jbe 0x140061afb
mov edx, dword [rbx + 0x14]
mov rax, qword [rbx + 0x28]
imul edx, r9d
add edx, r8d
inc r9d
mov ecx, dword [rax + rdx*4]
xor dword [rdi + rdx*4], ecx
mov edx, dword [rbx + 0x1c]
cmp r9d, edx
jb 0x140061adc
mov rax, qword [rbx + 0x20]
inc r8d
inc r10
cmp byte [r8 + rax], r11b
jne 0x140061ace
cmp r8d, dword [rbx + 0x14]
je 0x140061c68
mov ecx, dword [rbx + 0x14]
mov rax, qword [rbx + 0x28]
imul ecx, esi
lea r14, [rax + rcx*4]
lea r15, [rdi + rcx*4]
mov qword [rsp + 0x88], r14
cmp dword [r14 + r10*4], r11d
jne 0x140061b3a
mov eax, r11d
jmp 0x140061b50
mov rax, qword [rbx + 8]
mov edx, dword [r14 + r10*4]
mov ecx, 0xffff
sub ecx, dword [rax + rdx*4]
mov rax, qword [rbx]
mov eax, dword [rax + rcx*4]
mov r12d, r11d
movsxd r13, eax
cmp dword [rbx + 0x14], r11d
jbe 0x140061ba2
mov r9, r14
mov rbp, r15
sub r9, r15
mov rdx, qword [rbx + 8]
mov eax, dword [r9 + rbp]
inc r12d
mov ecx, dword [rdx + rax*4]
mov rax, qword [rbx]
add ecx, dword [rdx + r13*4]
mov ecx, dword [rax + rcx*4]
mov dword [r9 + rbp], ecx
mov eax, dword [rbp]
mov rdx, qword [rbx + 8]
mov ecx, dword [rdx + rax*4]
mov rax, qword [rbx]
add ecx, dword [rdx + r13*4]
mov ecx, dword [rax + rcx*4]
mov dword [rbp], ecx
add rbp, 4
cmp r12d, dword [rbx + 0x14]
jb 0x140061b65
mov r9d, r11d
cmp dword [rbx + 0x1c], r11d
jbe 0x140061c56
mov edx, dword [rbx + 0x14]
cmp r9d, esi
je 0x140061c49
mov ecx, dword [rbx + 0x14]
mov rax, qword [rbx + 0x28]
mov r13d, r11d
imul ecx, r9d
lea rbp, [rax + rcx*4]
lea r12, [rdi + rcx*4]
movsxd rax, dword [rbp + r10*4]
mov qword [rsp + 0x70], rax
cmp edx, r11d
jbe 0x140061c49
mov rdi, qword [rsp + 0x70]
mov rax, rbp
neg rax
lea r11, [rax + r14]
add rax, r15
sub r12, rbp
mov r14, rax
mov rdx, qword [rbx + 8]
mov eax, dword [r11 + rbp]
inc r13d
mov ecx, dword [rdx + rax*4]
mov rax, qword [rbx]
add ecx, dword [rdx + rdi*4]
mov ecx, dword [rax + rcx*4]
xor dword [rbp], ecx
mov rdx, qword [rbx + 8]
mov eax, dword [r14 + rbp]
mov ecx, dword [rdx + rax*4]
mov rax, qword [rbx]
add ecx, dword [rdx + rdi*4]
mov ecx, dword [rax + rcx*4]
xor dword [r12 + rbp], ecx
mov edx, dword [rbx + 0x14]
add rbp, 4
cmp r13d, edx
jb 0x140061bf8
mov rdi, qword [rsp + 0x80]
mov r14, qword [rsp + 0x88]
xor r11d, r11d
inc r9d
cmp r9d, dword [rbx + 0x1c]
jb 0x140061bb2
inc r8d
inc esi
inc r10
cmp r8d, dword [rbx + 0x14]
jb 0x140061abe
mov eax, dword [rbx + 0x14]
imul eax, dword [rbx + 0x1c]
cmp eax, r11d
jbe 0x140061c94
mov rdx, r11
mov eax, dword [rdx + rdi]
mov rcx, qword [rbx + 0x28]
inc r11d
mov dword [rdx + rcx], eax
mov eax, dword [rbx + 0x14]
add rdx, 4
imul eax, dword [rbx + 0x1c]
cmp r11d, eax
jb 0x140061c77
mov rcx, rdi
add rsp, 0x28
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.1400e9b08