Function at 0x1400492d4
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.14005caec
mov r8d, dword [rbx + 0x14]
xor edx, edx
imul r8d, dword [rbx + 0x1c]
mov rcx, rax
mov rsi, rax
mov qword [rsp + 0x70], rax
shl r8, 2
call fcn.14005f2f0
mov edx, dword [rbx + 0x1c]
xor r9d, r9d
mov r8d, r9d
mov ecx, r9d
test edx, edx
je 0x14004936d
mov rdx, qword [rbx + 0x20]
mov eax, ecx
cmp byte [rax + rdx], r9b
je 0x140049350
inc ecx
cmp byte [rcx + rdx], r9b
jne 0x140049348
mov eax, r8d
inc r8d
imul eax, dword [rbx + 0x14]
add eax, ecx
inc ecx
mov dword [rsi + rax*4], 1
mov edx, dword [rbx + 0x1c]
cmp r8d, edx
jb 0x14004933c
mov r8d, dword [rbx + 0x14]
mov r15, rbx
mov r14d, r9d
mov r10d, r9d
test r8d, r8d
je 0x140049515
mov r11d, r8d
mov edi, edx
mov rax, qword [r15 + 0x20]
mov r8d, r11d
mov ecx, r10d
mov edx, edi
cmp byte [rcx + rax], r9b
je 0x1400493dd
mov r8d, r11d
mov edx, edi
cmp r10d, r11d
jae 0x1400493dd
mov ebp, r9d
test edi, edi
je 0x1400493cb
mov rax, qword [rbx + 0x28]
mov edx, ebp
imul edx, dword [rbx + 0x14]
inc ebp
add edx, r10d
mov ecx, dword [rax + rdx*4]
xor dword [rsi + rdx*4], ecx
mov edx, dword [rbx + 0x1c]
cmp ebp, edx
jb 0x1400493ab
mov r8d, dword [rbx + 0x14]
mov rax, qword [r15 + 0x20]
inc r10d
mov r11d, r8d
mov edi, edx
cmp byte [r10 + rax], r9b
jne 0x14004939a
cmp r10d, r8d
je 0x140049515
mov rax, qword [rbx + 0x28]
mov ecx, r8d
imul ecx, r14d
lea r13, [rax + rcx*4]
mov eax, r10d
lea r12, [rsi + rcx*4]
mov qword [rsp + 0x68], r12
cmp dword [r13 + rax*4], r9d
jne 0x14004940d
mov eax, r9d
jmp 0x140049424
mov edx, dword [r13 + rax*4]
mov ecx, 0xffff
mov rax, qword [rbx + 8]
sub ecx, dword [rax + rdx*4]
mov rax, qword [rbx]
mov eax, dword [rax + rcx*4]
mov r11d, r9d
test r8d, r8d
je 0x14004946c
mov edi, eax
mov rdx, qword [rbx + 8]
mov r8d, r11d
inc r11d
mov eax, dword [r13 + r8*4]
mov ecx, dword [rdx + rax*4]
add ecx, dword [rdx + rdi*4]
mov rax, qword [rbx]
mov ecx, dword [rax + rcx*4]
mov dword [r13 + r8*4], ecx
mov rdx, qword [rbx + 8]
mov eax, dword [r12 + r8*4]
mov ecx, dword [rdx + rax*4]
add ecx, dword [rdx + rdi*4]
mov rax, qword [rbx]
mov ecx, dword [rax + rcx*4]
mov dword [r12 + r8*4], ecx
cmp r11d, dword [rbx + 0x14]
jb 0x14004942e
mov edx, dword [rbx + 0x1c]
mov r11d, r9d
test edx, edx
je 0x1400494fd
mov r15d, r10d
cmp r11d, r14d
je 0x1400494ef
mov ecx, dword [rbx + 0x14]
mov ebp, r9d
mov rax, qword [rbx + 0x28]
imul ecx, r11d
lea rdi, [rax + rcx*4]
lea rax, [rsi + rcx*4]
cmp dword [rbx + 0x14], r9d
jbe 0x1400494ef
mov r12d, dword [rdi + r15*4]
mov rsi, rax
mov r15, qword [rsp + 0x68]
mov rdx, qword [rbx + 8]
mov r8d, ebp
inc ebp
mov eax, dword [r13 + 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 [rdi + r8*4], ecx
mov rdx, qword [rbx + 8]
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 [rsi + r8*4], ecx
cmp ebp, dword [rbx + 0x14]
jb 0x1400494aa
mov rsi, qword [rsp + 0x70]
mov r15d, r10d
mov edx, dword [rbx + 0x1c]
inc r11d
cmp r11d, edx
jb 0x14004947d
mov r15, rbx
mov r8d, dword [rbx + 0x14]
inc r14d
inc r10d
mov r11d, r8d
mov edi, edx
cmp r10d, r8d
jb 0x140049388
imul r8d, edx
test r8d, r8d
je 0x140049539
mov eax, dword [rsi + r9*4]
mov rcx, qword [rbx + 0x28]
mov dword [rcx + r9*4], eax
inc r9d
mov eax, dword [rbx + 0x14]
imul eax, dword [rbx + 0x1c]
cmp r9d, eax
jb 0x14004951e
mov rcx, rsi
mov rbx, qword [rsp + 0x78]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.14005cae4