Function at 0x140074c30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [rcx + 0x28]
mov rsi, r8
mov r14, rdx
mov rdi, rcx
cmp qword [rcx + 0x20], rax
jne 0x140074c67
call fcn.140041540
mov r9, qword [rsp + 0x98]
test r9, r9
je 0x14007516b
mov qword [rsp + 0x58], rbx
sub r14, rsi
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x88], r14
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rdi + 0x20]
mov r10d, 3
mov r11d, dword [r14 + rsi]
mov ebx, dword [r14 + rsi + 4]
mov rax, qword [rdi + 8]
mov edx, dword [rcx + 0x10]
mov r15d, dword [rcx]
mov r12d, dword [rcx + 4]
mov ebp, dword [rcx + 8]
mov r13d, dword [rcx + 0xc]
mov esi, dword [rcx + 0x18]
mov dword [rsp + 0x20], edx
mov edx, dword [rcx + 0x14]
mov r14d, edx
mov ecx, dword [rcx + 0x1c]
mov edi, dword [rsp + 0x20]
mov dword [rsp + 0x2c], ecx
mov dword [rsp + 0x24], edx
nop dword [rax]
nop dword [rax + rax]
lea r9d, [r15 + r11]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor ebx, r8d
lea r9d, [r12 + rbx]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor r11d, r8d
lea r9d, [r11 + rbp]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor ebx, r8d
lea r9d, [rbx + r13]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor r11d, r8d
lea r9d, [rdi + r11]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor ebx, r8d
lea r9d, [r14 + rbx]
mov ecx, r9d
mov edx, r9d
shr rdx, 0x18
shr ecx, 0x10
movzx ecx, cl
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor r11d, r8d
lea r9d, [rsi + r11]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
mov r9d, dword [rsp + 0x2c]
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor ebx, r8d
add r9d, ebx
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor r11d, r8d
sub r10, 1
jne 0x140074cf0
mov rdi, qword [rsp + 0x80]
mov r10, qword [rdi + 8]
mov r9, qword [rdi + 0x20]
mov r8d, dword [r9 + 0x1c]
add r8d, r11d
mov eax, r8d
mov ecx, r8d
shr eax, 0x10
movzx eax, al
shr rcx, 0x18
mov edx, dword [r10 + rcx*4 + 0xc00]
or edx, dword [r10 + rax*4 + 0x800]
mov eax, r8d
shr eax, 8
movzx ecx, al
movzx eax, r8b
mov r8d, dword [r9 + 0x18]
or edx, dword [r10 + rcx*4 + 0x400]
or edx, dword [r10 + rax*4]
xor ebx, edx
add r8d, ebx
mov eax, r8d
mov ecx, r8d
shr eax, 0x10
movzx eax, al
shr rcx, 0x18
mov edx, dword [r10 + rcx*4 + 0xc00]
or edx, dword [r10 + rax*4 + 0x800]
mov eax, r8d
shr eax, 8
movzx ecx, al
movzx eax, r8b
mov r8d, dword [r9 + 0x14]
or edx, dword [r10 + rcx*4 + 0x400]
or edx, dword [r10 + rax*4]
xor r11d, edx
add r8d, r11d
mov eax, r8d
mov ecx, r8d
shr eax, 0x10
movzx eax, al
shr rcx, 0x18
mov edx, dword [r10 + rcx*4 + 0xc00]
or edx, dword [r10 + rax*4 + 0x800]
mov eax, r8d
shr eax, 8
movzx ecx, al
movzx eax, r8b
mov r8d, dword [r9 + 0x10]
or edx, dword [r10 + rcx*4 + 0x400]
or edx, dword [r10 + rax*4]
xor ebx, edx
add r8d, ebx
mov eax, r8d
mov ecx, r8d
shr eax, 0x10
movzx eax, al
shr rcx, 0x18
mov edx, dword [r10 + rcx*4 + 0xc00]
or edx, dword [r10 + rax*4 + 0x800]
mov eax, r8d
shr eax, 8
movzx ecx, al
movzx eax, r8b
mov r8d, dword [r9 + 0xc]
or edx, dword [r10 + rcx*4 + 0x400]
or edx, dword [r10 + rax*4]
xor r11d, edx
add r8d, r11d
mov eax, r8d
mov ecx, r8d
shr eax, 0x10
movzx eax, al
shr rcx, 0x18
mov edx, dword [r10 + rcx*4 + 0xc00]
or edx, dword [r10 + rax*4 + 0x800]
mov eax, r8d
shr eax, 8
movzx ecx, al
movzx eax, r8b
or edx, dword [r10 + rcx*4 + 0x400]
or edx, dword [r10 + rax*4]
mov r8d, dword [r9 + 8]
xor ebx, edx
mov rsi, qword [rsp + 0x90]
add r8d, ebx
mov r14, qword [rsp + 0x88]
mov eax, r8d
shr eax, 0x10
movzx eax, al
mov ecx, r8d
shr rcx, 0x18
mov edx, dword [r10 + rcx*4 + 0xc00]
or edx, dword [r10 + rax*4 + 0x800]
mov eax, r8d
shr eax, 8
movzx ecx, al
movzx eax, r8b
mov r8d, dword [r9 + 4]
or edx, dword [r10 + rcx*4 + 0x400]
or edx, dword [r10 + rax*4]
xor r11d, edx
add r8d, r11d
mov eax, r8d
mov ecx, r8d
shr eax, 0x10
movzx eax, al
shr rcx, 0x18
mov edx, dword [r10 + rcx*4 + 0xc00]
or edx, dword [r10 + rax*4 + 0x800]
mov eax, r8d
shr eax, 8
movzx ecx, al
movzx eax, r8b
mov r8d, dword [r9]
or edx, dword [r10 + rcx*4 + 0x400]
or edx, dword [r10 + rax*4]
xor ebx, edx
add r8d, ebx
mov eax, r8d
mov ecx, r8d
shr eax, 0x10
movzx eax, al
shr rcx, 0x18
mov edx, dword [r10 + rcx*4 + 0xc00]
or edx, dword [r10 + rax*4 + 0x800]
mov eax, r8d
shr eax, 8
movzx ecx, al
movzx eax, r8b
or edx, dword [r10 + rcx*4 + 0x400]
or edx, dword [r10 + rax*4]
xor r11d, edx
mov dword [rsi], ebx
mov dword [rsi + 4], r11d
add rsi, 8
sub qword [rsp + 0x98], 1
mov qword [rsp + 0x90], rsi
jne 0x140074ca0
mov r15, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x60
pop r14
pop rdi
pop rsi
ret