Function at 0x14009f6a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
sub rsp, 0x88
mov rax, qword [rcx + 0x10]
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
cmp qword [rcx + 8], rax
jne 0x14009f6d6
call fcn.140041540
mov rcx, qword [rdi + 8]
mov rax, r12
shr rax, 2
and r12d, 3
mov qword [rsp + 0x50], rax
mov qword [rsp + 0xc8], r12
test rax, rax
je 0x14009faee
lea rdx, [rcx + 0xf0]
mov qword [rsp + 0x80], rbp
add rcx, 0xf4
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x28], rcx
lea r8, [rbx + 8]
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], r15
mov r15, rsi
sub r15, rbx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x20], rax
lea rcx, [r15 - 4]
mov qword [rsp + 0x38], rcx
lea rcx, [r15 - 8]
mov qword [rsp + 0x30], rcx
mov r9d, dword [r8 - 8]
mov r12, rdx
mov r10d, dword [r8 - 4]
mov r13d, 8
mov r11d, dword [r8]
mov ebx, dword [r8 + 4]
mov edi, dword [r8 + 8]
mov esi, dword [r8 + 0xc]
mov ebp, dword [r8 + 0x10]
mov r14d, dword [r8 + 0x14]
mov r15, qword [rsp + 0x28]
bswap r9d
bswap r10d
bswap r11d
bswap ebx
bswap edi
bswap esi
bswap ebp
bswap r14d
nop dword [rax]
nop word [rax + rax]
mov edx, dword [r15 + 8]
mov ecx, r9d
shr ecx, 5
mov eax, r9d
shl eax, 4
xor ecx, eax
mov eax, r11d
add ecx, r9d
shl eax, 4
xor ecx, edx
sub r10d, ecx
mov ecx, r11d
shr ecx, 5
xor ecx, eax
mov eax, edi
add ecx, r11d
shl eax, 4
xor ecx, edx
sub ebx, ecx
mov ecx, edi
shr ecx, 5
xor ecx, eax
mov eax, ebp
add ecx, edi
shl eax, 4
xor ecx, edx
sub esi, ecx
mov ecx, ebp
shr ecx, 5
xor ecx, eax
mov eax, r10d
add ecx, ebp
shl eax, 4
xor ecx, edx
mov edx, dword [r12 + 8]
sub r14d, ecx
mov ecx, r10d
shr ecx, 5
xor ecx, eax
mov eax, ebx
add ecx, r10d
shl eax, 4
xor ecx, edx
sub r9d, ecx
mov ecx, ebx
shr ecx, 5
xor ecx, eax
mov eax, esi
add ecx, ebx
shl eax, 4
xor ecx, edx
sub r11d, ecx
mov ecx, esi
shr ecx, 5
xor ecx, eax
mov eax, r14d
add ecx, esi
shl eax, 4
xor ecx, edx
sub edi, ecx
mov ecx, r14d
shr ecx, 5
xor ecx, eax
mov eax, r9d
add ecx, r14d
shl eax, 4
xor ecx, edx
mov edx, dword [r15]
sub ebp, ecx
mov ecx, r9d
shr ecx, 5
xor ecx, eax
mov eax, r11d
add ecx, r9d
shl eax, 4
xor ecx, edx
sub r10d, ecx
mov ecx, r11d
shr ecx, 5
xor ecx, eax
add ecx, r11d
xor ecx, edx
mov eax, edi
sub ebx, ecx
shl eax, 4
mov ecx, edi
shr ecx, 5
xor ecx, eax
mov eax, ebp
add ecx, edi
shl eax, 4
xor ecx, edx
sub esi, ecx
mov ecx, ebp
shr ecx, 5
xor ecx, eax
mov eax, r10d
add ecx, ebp
shl eax, 4
xor ecx, edx
mov edx, dword [r12]
sub r14d, ecx
mov ecx, r10d
shr ecx, 5
xor ecx, eax
mov eax, ebx
add ecx, r10d
shl eax, 4
xor ecx, edx
sub r9d, ecx
mov ecx, ebx
shr ecx, 5
xor ecx, eax
mov eax, esi
add ecx, ebx
shl eax, 4
xor ecx, edx
sub r11d, ecx
mov ecx, esi
shr ecx, 5
xor ecx, eax
mov eax, r14d
add ecx, esi
shl eax, 4
xor ecx, edx
sub edi, ecx
mov ecx, r14d
shr ecx, 5
xor ecx, eax
mov eax, r9d
add ecx, r14d
shl eax, 4
xor ecx, edx
mov edx, dword [r15 - 8]
sub ebp, ecx
mov ecx, r9d
shr ecx, 5
xor ecx, eax
mov eax, r11d
add ecx, r9d
shl eax, 4
xor ecx, edx
sub r10d, ecx
mov ecx, r11d
shr ecx, 5
xor ecx, eax
mov eax, edi
add ecx, r11d
shl eax, 4
xor ecx, edx
sub ebx, ecx
mov ecx, edi
shr ecx, 5
xor ecx, eax
mov eax, ebp
add ecx, edi
shl eax, 4
xor ecx, edx
sub esi, ecx
mov ecx, ebp
shr ecx, 5
xor ecx, eax
add ecx, ebp
mov eax, r10d
xor ecx, edx
shl eax, 4
sub r14d, ecx
mov edx, dword [r12 - 8]
mov ecx, r10d
shr ecx, 5
xor ecx, eax
mov eax, ebx
add ecx, r10d
shl eax, 4
xor ecx, edx
sub r9d, ecx
mov ecx, ebx
shr ecx, 5
xor ecx, eax
mov eax, esi
add ecx, ebx
shl eax, 4
xor ecx, edx
sub r11d, ecx
mov ecx, esi
shr ecx, 5
xor ecx, eax
mov eax, r14d
add ecx, esi
shl eax, 4
xor ecx, edx
sub edi, ecx
mov ecx, r14d
shr ecx, 5
xor ecx, eax
mov eax, r9d
add ecx, r14d
shl eax, 4
xor ecx, edx
mov edx, dword [r15 - 0x10]
sub ebp, ecx
mov ecx, r9d
shr ecx, 5
xor ecx, eax
mov eax, r11d
add ecx, r9d
shl eax, 4
xor ecx, edx
sub r10d, ecx
mov ecx, r11d
shr ecx, 5
xor ecx, eax
mov eax, edi
add ecx, r11d
shl eax, 4
xor ecx, edx
sub ebx, ecx
mov ecx, edi
shr ecx, 5
xor ecx, eax
mov eax, ebp
add ecx, edi
shl eax, 4
xor ecx, edx
sub esi, ecx
mov ecx, ebp
shr ecx, 5
xor ecx, eax
mov eax, r10d
add ecx, ebp
shl eax, 4
xor ecx, edx
mov edx, dword [r12 - 0x10]
sub r14d, ecx
mov ecx, r10d
shr ecx, 5
xor ecx, eax
mov eax, ebx
add ecx, r10d
xor ecx, edx
sub r9d, ecx
mov ecx, ebx
shr ecx, 5
shl eax, 4
lea r15, [r15 - 0x20]
xor ecx, eax
lea r12, [r12 - 0x20]
add ecx, ebx
mov eax, esi
xor ecx, edx
shl eax, 4
sub r11d, ecx
mov ecx, esi
shr ecx, 5
xor ecx, eax
mov eax, r14d
add ecx, esi
shl eax, 4
xor ecx, edx
sub edi, ecx
mov ecx, r14d
shr ecx, 5
xor ecx, eax
add ecx, r14d
xor ecx, edx
sub ebp, ecx
sub r13, 1
jne 0x14009f7a0
mov r15, qword [rsp + 0x40]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
bswap r9d
bswap r10d
bswap r11d
bswap ebx
bswap edi
bswap esi
bswap ebp
bswap r14d
mov dword [rax + r8], r9d
mov dword [rcx + r8], r10d
mov dword [r8 + r15], r11d
mov dword [r15 + r8 + 4], ebx
mov dword [r15 + r8 + 8], edi
mov dword [r15 + r8 + 0xc], esi
mov dword [r15 + r8 + 0x10], ebp
mov dword [r15 + r8 + 0x14], r14d
add r8, 0x20
sub qword [rsp + 0x20], 1
jne 0x14009f750
mov r12, qword [rsp + 0xc8]
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xc0]
mov r15, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
test r12, r12
je 0x14009fe32
shl rax, 5
lea r11, [rax + 4]
add r11, rsi
sub rbx, rsi
mov qword [rsp + 0xb8], rbx
nop dword [rax]
mov rcx, qword [rdi + 8]
mov r8d, dword [rbx + r11 - 4]
mov eax, dword [rbx + r11]
mov ebx, 2
bswap r8d
lea r9, [rcx + 0xf0]
lea r10, [rcx + 0xf4]
bswap eax
nop word [rax + rax]
mov edx, r8d
mov ecx, r8d
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, r8d
xor edx, dword [r10 + 8]
sub eax, edx
mov edx, eax
mov ecx, eax
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, eax
xor edx, dword [r9 + 8]
sub r8d, edx
mov edx, r8d
mov ecx, r8d
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, r8d
xor edx, dword [r10]
sub eax, edx
mov edx, eax
mov ecx, eax
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, eax
xor edx, dword [r9]
sub r8d, edx
mov edx, r8d
mov ecx, r8d
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, r8d
xor edx, dword [r10 - 8]
sub eax, edx
mov edx, eax
mov ecx, eax
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, eax
xor edx, dword [r9 - 8]
sub r8d, edx
mov edx, r8d
mov ecx, r8d
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, r8d
xor edx, dword [r10 - 0x10]
sub eax, edx
mov edx, eax
mov ecx, eax
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, eax
xor edx, dword [r9 - 0x10]
sub r8d, edx
mov edx, r8d
mov ecx, r8d
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, r8d
xor edx, dword [r10 - 0x18]
sub eax, edx
mov edx, eax
mov ecx, eax
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, eax
xor edx, dword [r9 - 0x18]
sub r8d, edx
mov edx, r8d
shr edx, 5
mov ecx, r8d
shl ecx, 4
xor edx, ecx
add edx, r8d
xor edx, dword [r10 - 0x20]
sub eax, edx
mov edx, eax
mov ecx, eax
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, eax
xor edx, dword [r9 - 0x20]
sub r8d, edx
mov edx, r8d
mov ecx, r8d
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, r8d
xor edx, dword [r10 - 0x28]
sub eax, edx
mov edx, eax
mov ecx, eax
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, eax
xor edx, dword [r9 - 0x28]
sub r8d, edx
mov edx, r8d
mov ecx, r8d
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, r8d
xor edx, dword [r10 - 0x30]
sub eax, edx
mov edx, eax
mov ecx, eax
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, eax
xor edx, dword [r9 - 0x30]
sub r8d, edx
mov edx, r8d
mov ecx, r8d
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, r8d
xor edx, dword [r10 - 0x38]
sub eax, edx
mov edx, eax
mov ecx, eax
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, eax
xor edx, dword [r9 - 0x38]
sub r8d, edx
mov edx, r8d
mov ecx, r8d
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, r8d
xor edx, dword [r10 - 0x40]
sub eax, edx
mov edx, eax
mov ecx, eax
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, eax
xor edx, dword [r9 - 0x40]
sub r8d, edx
mov edx, r8d
shr edx, 5
mov ecx, r8d
shl ecx, 4
xor edx, ecx
add edx, r8d
xor edx, dword [r10 - 0x48]
sub eax, edx
mov edx, eax
mov ecx, eax
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, eax
xor edx, dword [r9 - 0x48]
sub r8d, edx
mov edx, r8d
mov ecx, r8d
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, r8d
xor edx, dword [r10 - 0x50]
sub eax, edx
mov edx, eax
mov ecx, eax
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, eax
xor edx, dword [r9 - 0x50]
sub r8d, edx
mov edx, r8d
mov ecx, r8d
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, r8d
xor edx, dword [r10 - 0x58]
sub eax, edx
mov edx, eax
mov ecx, eax
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, eax
xor edx, dword [r9 - 0x58]
sub r8d, edx
mov edx, r8d
mov ecx, r8d
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, r8d
xor edx, dword [r10 - 0x60]
sub eax, edx
mov edx, eax
mov ecx, eax
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, eax
xor edx, dword [r9 - 0x60]
sub r8d, edx
mov edx, r8d
mov ecx, r8d
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, r8d
xor edx, dword [r10 - 0x68]
sub eax, edx
mov edx, eax
mov ecx, eax
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, eax
xor edx, dword [r9 - 0x68]
sub r8d, edx
mov edx, r8d
mov ecx, r8d
shr edx, 5
shl ecx, 4
lea r10, [r10 - 0x80]
xor edx, ecx
lea r9, [r9 - 0x80]
add edx, r8d
xor edx, dword [r10 + 0x10]
sub eax, edx
mov edx, eax
mov ecx, eax
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, eax
xor edx, dword [r9 + 0x10]
sub r8d, edx
sub rbx, 1
jne 0x14009fb40
mov rbx, qword [rsp + 0xb8]
bswap r8d
bswap eax
mov dword [r11 - 4], r8d
mov dword [r11], eax
add r11, 8
sub r12, 1
jne 0x14009fb10
add rsp, 0x88
pop r12
pop rdi
pop rsi
pop rbx
ret