Function at 0x1400050a0
Capabilities:
Encode data using xor

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x160
mov ebp, dword [rdx]
mov edi, dword [rdx + 4]
mov esi, dword [rdx + 8]
mov ebx, dword [rdx + 0xc]
mov r12d, dword [rdx + 0x10]
lea r14, [rsp + 0x20]
mov r8, rcx
mov r13, rdx
mov edx, 0x10
mov rcx, r14
call fcn.140006300
mov rdx, r14
lea r8, [rsp + 0x120]
mov rcx, r14
mov eax, dword [rcx + 0x34]
xor eax, dword [rcx + 0x20]
add rcx, 4
xor eax, dword [rcx + 4]
xor eax, dword [rcx - 4]
rol eax, 1
mov dword [rcx + 0x3c], eax
cmp r8, rcx
jne 0x1400050e6
lea r8, [r14 + 0x50]
mov rax, r14
mov ecx, dword [rax]
mov r9d, ebp
mov r10d, dword [rax + 4]
rol r9d, 5
lea ecx, [r9 + rcx + 0x5a827999]
mov r9d, esi
lea r10d, [rbx + r10 + 0x5a827999]
xor r9d, ebx
and r9d, edi
ror edi, 2
xor r9d, ebx
add ecx, r9d
mov r9d, edi
xor r9d, esi
add ecx, r12d
and r9d, ebp
mov ebx, ecx
ror ebp, 2
xor r9d, esi
rol ebx, 5
add r9d, r10d
mov r10d, dword [rax + 8]
add ebx, r9d
mov r9d, edi
xor r9d, ebp
lea r10d, [rsi + r10 + 0x5a827999]
mov esi, ebx
and r9d, ecx
ror ecx, 2
xor r9d, edi
mov r12d, ecx
rol esi, 5
mov ecx, ebp
add r9d, r10d
xor ecx, r12d
add esi, r9d
mov r9d, dword [rax + 0xc]
and ecx, ebx
ror ebx, 2
xor ecx, ebp
lea r9d, [rdi + r9 + 0x5a827999]
mov edi, esi
add ecx, r9d
rol edi, 5
mov r9d, dword [rax + 0x10]
add edi, ecx
mov ecx, r12d
xor ecx, ebx
lea r9d, [rbp + r9 + 0x5a827999]
mov ebp, edi
and ecx, esi
xor ecx, r12d
add ecx, r9d
rol ebp, 5
add rax, 0x14
add ebp, ecx
ror esi, 2
cmp r8, rax
jne 0x140005107
mov rax, r14
mov ecx, edi
mov r9d, ebp
ror edi, 2
add rax, 0x14
xor ecx, esi
rol r9d, 5
mov r10d, edi
xor ecx, ebx
lea ecx, [rcx + r9 + 0x6ed9eba1]
mov r9d, ebp
add ecx, dword [rax + 0x3c]
ror ebp, 2
xor r9d, esi
add ecx, r12d
xor r10d, ebp
xor r9d, edi
xor r10d, ecx
lea r9d, [rbx + r9 + 0x6ed9eba1]
mov ebx, ecx
add r9d, dword [rax + 0x40]
ror ecx, 2
rol ebx, 5
mov r12d, ecx
mov ecx, dword [rax + 0x48]
add ebx, r9d
mov r9d, dword [rax + 0x44]
lea ecx, [rdi + rcx + 0x6ed9eba1]
lea r9d, [rsi + r9 + 0x6ed9eba1]
mov esi, ebx
add r9d, r10d
rol esi, 5
add esi, r9d
mov r9d, ebp
xor r9d, r12d
mov edi, esi
xor r9d, ebx
rol edi, 5
add ecx, r9d
ror ebx, 2
mov r9d, r12d
add edi, ecx
mov ecx, dword [rax + 0x4c]
xor r9d, ebx
xor r9d, esi
ror esi, 2
lea ecx, [rbp + rcx + 0x6ed9eba1]
mov ebp, edi
add ecx, r9d
rol ebp, 5
add ebp, ecx
cmp r8, rax
jne 0x1400051d1
mov rcx, r14
mov eax, esi
mov r9d, esi
mov r10d, ebp
or eax, ebx
and r9d, ebx
rol r10d, 5
and eax, edi
ror edi, 2
or eax, r9d
mov r9d, dword [rcx + 0xa0]
lea r9d, [r10 + r9 - 0x70e44324]
mov r10d, edi
add eax, r9d
mov r9d, edi
and r10d, esi
or r9d, esi
add eax, r12d
and r9d, ebp
ror ebp, 2
or r9d, r10d
mov r10d, dword [rcx + 0xa4]
lea r10d, [rbx + r10 - 0x70e44324]
mov ebx, eax
add r9d, r10d
rol ebx, 5
mov r10d, edi
add ebx, r9d
mov r9d, edi
and r10d, ebp
or r9d, ebp
and r9d, eax
ror eax, 2
or r9d, r10d
mov r10d, dword [rcx + 0xa8]
mov r12d, eax
mov eax, ebp
or eax, r12d
lea r10d, [rsi + r10 - 0x70e44324]
mov esi, ebx
and eax, ebx
ror ebx, 2
add r9d, r10d
rol esi, 5
add esi, r9d
mov r9d, ebp
and r9d, r12d
or eax, r9d
mov r9d, dword [rcx + 0xac]
lea r9d, [rdi + r9 - 0x70e44324]
mov edi, esi
add eax, r9d
rol edi, 5
mov r9d, r12d
add edi, eax
mov eax, r12d
or eax, ebx
and r9d, ebx
add rcx, 0x14
and eax, esi
ror esi, 2
or eax, r9d
mov r9d, dword [rcx + 0x9c]
lea r9d, [rbp + r9 - 0x70e44324]
mov ebp, edi
add eax, r9d
rol ebp, 5
add ebp, eax
cmp r8, rcx
jne 0x140005285
mov eax, edi
mov ecx, ebp
ror edi, 2
add rdx, 0x14
xor eax, esi
rol ecx, 5
mov r9d, edi
xor eax, ebx
lea eax, [rax + rcx - 0x359d3e2a]
mov ecx, ebp
add eax, dword [rdx + 0xdc]
ror ebp, 2
xor ecx, esi
add eax, r12d
xor r9d, ebp
xor ecx, edi
xor r9d, eax
lea ecx, [rbx + rcx - 0x359d3e2a]
mov ebx, eax
add ecx, dword [rdx + 0xe0]
ror eax, 2
rol ebx, 5
mov r12d, eax
mov eax, dword [rdx + 0xe8]
add ebx, ecx
mov ecx, dword [rdx + 0xe4]
lea eax, [rdi + rax - 0x359d3e2a]
lea ecx, [rsi + rcx - 0x359d3e2a]
mov esi, ebx
add ecx, r9d
rol esi, 5
add esi, ecx
mov ecx, ebp
xor ecx, r12d
mov edi, esi
xor ecx, ebx
rol edi, 5
add eax, ecx
ror ebx, 2
mov ecx, r12d
add edi, eax
mov eax, dword [rdx + 0xec]
xor ecx, ebx
xor ecx, esi
ror esi, 2
lea eax, [rbp + rax - 0x359d3e2a]
mov ebp, edi
add eax, ecx
rol ebp, 5
add ebp, eax
cmp r8, rdx
jne 0x140005379
add dword [r13], ebp
add dword [r13 + 4], edi
add dword [r13 + 8], esi
add dword [r13 + 0xc], ebx
add dword [r13 + 0x10], r12d
add rsp, 0x160
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret