Function at 0x1400037a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
inc dword [rcx + 0x80c]
lea rbx, [rcx + 0x404]
mov r8d, dword [rcx + 0x80c]
lea rsi, [rcx + 0x604]
add r8d, dword [rcx + 0x808]
lea r14, [rcx + 4]
mov r9d, dword [rcx + 0x804]
mov r11, rcx
mov rdi, rbx
mov rbp, rsi
cmp rbx, rsi
jae 0x1400039ef
mov r15d, 4
mov r12d, 0x3fc
mov edx, dword [rdi]
mov r10d, r9d
mov eax, edx
shl r10d, 0xd
and rax, r12
xor r10d, r9d
add r10d, dword [rsi]
add rsi, r15
mov r9d, r10d
shr r9d, 6
mov ecx, dword [rax + rbx]
xor r9d, r10d
add ecx, r8d
add ecx, r10d
mov dword [rdi], ecx
mov eax, ecx
shr rax, 8
add rdi, r15
and rax, r12
mov eax, dword [rax + rbx]
add edx, eax
mov dword [r14], edx
add r14, r15
add r9d, dword [rsi]
add rsi, r15
mov r8d, dword [rdi]
mov eax, r8d
and rax, r12
lea r10d, [r9*4]
xor r10d, r9d
mov ecx, dword [rax + rbx]
add ecx, edx
add ecx, r9d
mov dword [rdi], ecx
mov eax, ecx
shr rax, 8
add rdi, r15
and rax, r12
mov edx, dword [rax + rbx]
add edx, r8d
mov dword [r14], edx
add r14, r15
add r10d, dword [rsi]
add rsi, r15
mov r8d, dword [rdi]
mov r9d, r10d
mov eax, r8d
shr r9d, 0x10
and rax, r12
xor r9d, r10d
mov ecx, dword [rax + rbx]
add ecx, edx
add ecx, r10d
mov dword [rdi], ecx
mov eax, ecx
shr rax, 8
add rdi, r15
and rax, r12
mov edx, dword [rax + rbx]
add edx, r8d
mov dword [r14], edx
add r14, r15
mov r8d, dword [rdi]
mov eax, r8d
add r9d, dword [rsi]
and rax, r12
add rsi, r15
mov ecx, dword [rax + rbx]
add ecx, edx
add ecx, r9d
mov dword [rdi], ecx
mov eax, ecx
shr rax, 8
add rdi, r15
and rax, r12
mov eax, dword [rax + rbx]
add r8d, eax
mov dword [r14], r8d
add r14, r15
cmp rdi, rbp
jb 0x140003804
mov rsi, rbx
mov edx, dword [rdi]
mov r10d, r9d
mov eax, edx
shl r10d, 0xd
and rax, r12
xor r10d, r9d
add r10d, dword [rsi]
add rsi, r15
mov r9d, r10d
shr r9d, 6
mov ecx, dword [rax + rbx]
xor r9d, r10d
add ecx, r8d
add ecx, r10d
mov dword [rdi], ecx
mov eax, ecx
shr rax, 8
add rdi, r15
and rax, r12
mov eax, dword [rax + rbx]
add edx, eax
mov dword [r14], edx
add r14, r15
add r9d, dword [rsi]
add rsi, r15
mov r8d, dword [rdi]
mov eax, r8d
and rax, r12
lea r10d, [r9*4]
xor r10d, r9d
mov ecx, dword [rax + rbx]
add ecx, edx
add ecx, r9d
mov dword [rdi], ecx
mov eax, ecx
shr rax, 8
add rdi, r15
and rax, r12
mov edx, dword [rax + rbx]
add edx, r8d
mov dword [r14], edx
add r14, r15
add r10d, dword [rsi]
add rsi, r15
mov r8d, dword [rdi]
mov r9d, r10d
mov eax, r8d
shr r9d, 0x10
and rax, r12
xor r9d, r10d
mov ecx, dword [rax + rbx]
add ecx, edx
add ecx, r10d
mov dword [rdi], ecx
mov eax, ecx
shr rax, 8
add rdi, r15
and rax, r12
mov edx, dword [rax + rbx]
add edx, r8d
mov dword [r14], edx
add r14, r15
mov r8d, dword [rdi]
mov eax, r8d
add r9d, dword [rsi]
and rax, r12
add rsi, r15
mov ecx, dword [rax + rbx]
add ecx, edx
add ecx, r9d
mov dword [rdi], ecx
mov eax, ecx
shr rax, 8
add rdi, r15
and rax, r12
mov eax, dword [rax + rbx]
add r8d, eax
mov dword [r14], r8d
add r14, r15
cmp rsi, rbp
jb 0x1400038fb
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov dword [r11 + 0x808], r8d
mov dword [r11 + 0x804], r9d
pop r15
pop r14
pop r12
ret