Function at 0x14047c190
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rax, rcx
mov r12d, dword [r8]
mov ebp, dword [r8 + 4]
xor r12d, dword [rcx]
xor ebp, dword [rcx + 4]
mov dword [rsp], ebp
mov ebx, dword [r8 + 0xc]
xor ebx, dword [rcx + 0xc]
mov r11, rdx
mov edi, ebx
movzx esi, bh
movzx r15d, bl
mov qword [rsp + 0x18], r8
mov edx, dword [r8 + 8]
xor edx, dword [rcx + 8]
mov eax, edx
shr eax, 0x10
movzx ebp, r12b
lea r13, [0x140650df0]
mov ecx, dword [rsp]
movzx ecx, ch
lea r10, [0x1406511f0]
mov ecx, dword [r10 + rcx*4]
xor ecx, dword [r13 + rbp*4]
movzx eax, al
lea r8, [0x1406515f0]
xor ecx, dword [r8 + rax*4]
shr ebx, 0x18
lea rbp, [0x1406519f0]
xor ecx, dword [rbp + rbx*4]
movzx eax, dh
mov r14d, ecx
mov dword [r11], ecx
movzx ecx, byte [rsp]
mov eax, dword [r10 + rax*4]
xor eax, dword [r13 + rcx*4]
shr edi, 0x10
movzx ecx, dil
xor eax, dword [r8 + rcx*4]
mov ecx, r12d
shr ecx, 0x18
xor eax, dword [rbp + rcx*4]
movzx ecx, dl
mov dword [r11 + 4], eax
mov ebx, dword [r10 + rsi*4]
xor ebx, dword [r13 + rcx*4]
mov ecx, r12d
shr ecx, 0x10
movzx ecx, cl
xor ebx, dword [r8 + rcx*4]
mov ecx, r12d
movzx ecx, ch
mov edi, dword [rsp]
mov esi, edi
shr esi, 0x18
xor ebx, dword [rbp + rsi*4]
mov dword [r11 + 8], ebx
mov ecx, dword [r10 + rcx*4]
mov r12, r13
xor ecx, dword [r13 + r15*4]
shr edi, 0x10
movzx esi, dil
xor ecx, dword [r8 + rsi*4]
shr edx, 0x18
xor ecx, dword [rbp + rdx*4]
mov dword [r11 + 0xc], ecx
mov rdx, r9
mov qword [rsp + 0x20], r9
lea edx, [r9 - 1]
cmp edx, 2
mov dword [rsp + 0xc], edx
mov qword [rsp + 0x10], r11
jge 0x14047c2b6
mov edx, r14d
jmp 0x14047c3d0
mov edx, edx
mov qword [rsp + 0x28], rdx
mov r8d, 1
mov rdx, r8
shl rdx, 4
mov rbp, qword [rsp + 0x18]
xor eax, dword [rbp + rdx + 4]
mov edi, eax
mov qword [rsp + 0x30], rdi
movzx esi, ah
mov r11, rsi
movzx esi, al
mov qword [rsp], rsi
mov r9d, eax
mov r10d, r14d
xor r10d, dword [rbp + rdx]
xor ebx, dword [rbp + rdx + 8]
mov r15d, ebx
movzx eax, bh
movzx edi, bl
xor ecx, dword [rbp + rdx + 0xc]
mov rbp, r12
movzx r13d, r10b
lea r12, [0x1406511f0]
mov edx, dword [r12 + r11*4]
xor edx, dword [rbp + r13*4]
shr ebx, 0x10
movzx esi, bl
lea r11, [0x1406515f0]
xor edx, dword [r11 + rsi*4]
mov esi, ecx
shr esi, 0x18
lea r14, [0x1406519f0]
xor edx, dword [r14 + rsi*4]
mov esi, ecx
mov r13, qword [rsp + 0x10]
mov dword [r13], edx
mov eax, dword [r12 + rax*4]
mov rbx, qword [rsp]
xor eax, dword [rbp + rbx*4]
movzx ebx, ch
shr esi, 0x10
movzx esi, sil
xor eax, dword [r11 + rsi*4]
movzx esi, cl
mov ecx, r10d
shr ecx, 0x18
xor eax, dword [r14 + rcx*4]
mov dword [r13 + 4], eax
mov ebx, dword [r12 + rbx*4]
xor ebx, dword [rbp + rdi*4]
mov ecx, r10d
shr ecx, 0x10
movzx ecx, cl
xor ebx, dword [r11 + rcx*4]
mov ecx, r10d
movzx ecx, ch
mov rdi, qword [rsp + 0x30]
shr edi, 0x18
xor ebx, dword [r14 + rdi*4]
mov dword [r13 + 8], ebx
mov ecx, dword [r12 + rcx*4]
mov r12, rbp
xor ecx, dword [rbp + rsi*4]
shr r9d, 0x10
movzx edi, r9b
xor ecx, dword [r11 + rdi*4]
shr r15d, 0x18
xor ecx, dword [r14 + r15*4]
mov dword [r13 + 0xc], ecx
inc r8
mov r14d, edx
cmp r8, qword [rsp + 0x28]
jne 0x14047c2c3
movsxd rbp, dword [rsp + 0xc]
shl rbp, 4
mov r13, qword [rsp + 0x18]
xor eax, dword [r13 + rbp + 4]
mov r8d, eax
mov r10d, eax
movzx edi, ah
movzx r9d, al
xor ebx, dword [r13 + rbp + 8]
mov esi, ebx
mov r15d, ebx
movzx eax, bh
movzx r14d, bl
xor edx, dword [r13 + rbp]
shr esi, 0x10
xor ecx, dword [r13 + rbp + 0xc]
movzx ebx, dl
mov bl, byte [r12 + rbx*4 + 1]
mov rbp, qword [rsp + 0x10]
mov byte [rbp], bl
mov bl, byte [r12 + rdi*4 + 1]
mov byte [rbp + 1], bl
movzx esi, sil
mov bl, byte [r12 + rsi*4 + 1]
mov byte [rbp + 2], bl
mov esi, ecx
mov r11d, ecx
movzx edi, ch
movzx ecx, cl
shr esi, 0x18
mov bl, byte [r12 + rsi*4 + 1]
mov byte [rbp + 3], bl
mov esi, edx
shr esi, 0x10
mov bl, byte [r12 + r9*4 + 1]
mov byte [rbp + 4], bl
mov ebx, edx
shr ebx, 0x18
shr r8d, 0x10
shr r10d, 0x18
shr r15d, 0x18
mov al, byte [r12 + rax*4 + 1]
mov byte [rbp + 5], al
shr r11d, 0x10
movzx eax, r11b
mov al, byte [r12 + rax*4 + 1]
mov byte [rbp + 6], al
mov al, byte [r12 + rbx*4 + 1]
mov byte [rbp + 7], al
mov al, byte [r12 + r14*4 + 1]
mov byte [rbp + 8], al
mov al, byte [r12 + rdi*4 + 1]
mov byte [rbp + 9], al
movzx eax, sil
mov al, byte [r12 + rax*4 + 1]
mov byte [rbp + 0xa], al
mov al, byte [r12 + r10*4 + 1]
mov byte [rbp + 0xb], al
mov al, byte [r12 + rcx*4 + 1]
mov byte [rbp + 0xc], al
movzx eax, dh
mov al, byte [r12 + rax*4 + 1]
mov byte [rbp + 0xd], al
movzx eax, r8b
mov al, byte [r12 + rax*4 + 1]
mov byte [rbp + 0xe], al
mov al, byte [r12 + r15*4 + 1]
mov byte [rbp + 0xf], al
movsxd rax, dword [rsp + 0x20]
shl rax, 4
mov ecx, dword [r13 + rax]
xor dword [rbp], ecx
mov ecx, dword [r13 + rax + 4]
xor dword [rbp + 4], ecx
mov ecx, dword [r13 + rax + 8]
xor dword [rbp + 8], ecx
mov eax, dword [r13 + rax + 0xc]
xor dword [rbp + 0xc], eax
xor eax, eax
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret