Function at 0x4c2370
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
mov rax, rsp
sub rsp, 0x198
mov qword [rax + 0x20], rbx
mov qword [rax - 8], rbp
mov qword [rax - 0x10], rsi
mov qword [rax - 0x18], rdi
mov qword [rax - 0x20], r12
mov qword [rax - 0x28], r13
mov qword [rax - 0x30], r14
mov rax, rcx
mov ecx, dword [rcx]
mov edi, dword [rax + 4]
mov esi, dword [rax + 8]
mov ebp, dword [rax + 0xc]
mov r9d, dword [rax + 0x10]
lea r12, [rsp + 0x20]
lea r13, [rsp + 0x24]
lea r14, [rsp + 0x28]
xor r10d, r10d
sub r12, rdx
sub r13, rdx
mov dword [rsp + 0x1a8], ecx
mov ebx, ecx
mov r11, rdx
lea r8, [rdx + 8]
sub r14, rdx
nop
mov edx, dword [r8 - 8]
mov ecx, ebp
mov eax, ebx
xor ecx, esi
rol eax, 5
mov dword [rsp + r10*4 + 0x20], edx
and ecx, edi
add eax, edx
mov edx, dword [r8 - 4]
xor ecx, ebp
mov dword [rsp + r10*4 + 0x24], edx
add r10, 5
add ecx, eax
rol edi, 0x1e
add r8, 0x14
lea r9d, [r9 + rcx + 0x5a827999]
mov ecx, esi
xor ecx, edi
mov eax, r9d
and ecx, ebx
rol eax, 5
xor ecx, esi
add eax, edx
mov edx, dword [r8 - 0x14]
add ecx, eax
rol ebx, 0x1e
mov dword [r12 + r8 - 0x14], edx
lea ebp, [rbp + rcx + 0x5a827999]
mov ecx, edi
xor ecx, ebx
mov eax, ebp
and ecx, r9d
rol eax, 5
xor ecx, edi
add eax, edx
mov edx, dword [r8 - 0x10]
add ecx, eax
rol r9d, 0x1e
mov dword [r13 + r8 - 0x14], edx
lea esi, [rsi + rcx + 0x5a827999]
mov ecx, r9d
xor ecx, ebx
mov eax, esi
and ecx, ebp
rol eax, 5
xor ecx, ebx
add eax, edx
mov edx, dword [r8 - 0xc]
add ecx, eax
rol ebp, 0x1e
mov dword [r14 + r8 - 0x14], edx
lea edi, [rdi + rcx + 0x5a827999]
mov ecx, r9d
xor ecx, ebp
mov eax, edi
and ecx, esi
rol eax, 5
add eax, edx
xor ecx, r9d
add ecx, eax
rol esi, 0x1e
cmp r10, 0xf
lea ebx, [rbx + rcx + 0x5a827999]
jb 0x4c23e0
mov r10d, dword [r11 + 0x3c]
mov r8d, dword [rsp + 0x2c]
mov r11d, dword [rsp + 0x20]
mov edx, dword [rsp + 0x24]
mov ecx, ebp
mov eax, ebx
xor ecx, esi
rol eax, 5
xor edx, r8d
xor edx, dword [rsp + 0x44]
and ecx, edi
add eax, r10d
xor edx, dword [rsp + 0x58]
xor ecx, ebp
mov qword [rsp + 0x160], r15
add ecx, eax
rol edi, 0x1e
mov dword [rsp + 0x5c], r10d
lea r12d, [r9 + rcx + 0x5a827999]
mov r9d, dword [rsp + 0x28]
mov ecx, esi
xor ecx, edi
xor r11d, r9d
mov eax, r12d
xor r11d, dword [rsp + 0x40]
and ecx, ebx
xor r11d, dword [rsp + 0x54]
xor ecx, esi
rol r11d, 1
rol eax, 5
add eax, r11d
mov dword [rsp + 0x60], r11d
add ecx, eax
rol ebx, 0x1e
rol edx, 1
lea ebp, [rbp + rcx + 0x5a827999]
mov dword [rsp + 0x64], edx
mov ecx, edi
xor ecx, ebx
mov eax, ebp
and ecx, r12d
rol eax, 5
add eax, edx
mov edx, dword [rsp + 0x30]
xor ecx, edi
xor edx, dword [rsp + 0x48]
add ecx, eax
rol r12d, 0x1e
lea r13d, [rsi + rcx + 0x5a827999]
xor edx, r9d
mov ecx, r12d
xor ecx, ebx
xor edx, r10d
mov eax, r13d
rol edx, 1
and ecx, ebp
rol eax, 5
add eax, edx
xor ecx, ebx
mov dword [rsp + 0x68], edx
mov edx, dword [rsp + 0x34]
add ecx, eax
rol ebp, 0x1e
xor edx, dword [rsp + 0x4c]
lea r14d, [rdi + rcx + 0x5a827999]
mov ecx, r12d
xor edx, r8d
xor ecx, ebp
mov eax, r14d
xor edx, r11d
and ecx, r13d
lea rsi, [rsp + 0x50]
rol edx, 1
rol eax, 5
xor ecx, r12d
add eax, edx
mov dword [rsp + 0x6c], edx
add ecx, eax
rol r13d, 0x1e
mov eax, 4
lea r15d, [rbx + rcx + 0x5a827999]
mov qword [rsp + 0x10], rax
mov qword [rsp], rax
nop
nop
mov r10d, dword [rsi - 0x18]
mov r9d, dword [rsi - 0x14]
mov ebx, dword [rsi - 0x20]
xor ebx, dword [rsi + 0x14]
mov r8d, dword [rsi - 0x10]
mov r11d, dword [rsi - 0x1c]
xor r11d, dword [rsi + 0x18]
mov edx, dword [rsi + 0x1c]
xor ebx, r10d
xor edx, dword [rsi + 8]
xor ebx, dword [rsi]
xor r11d, dword [rsi + 4]
xor edx, r8d
rol ebx, 1
xor r11d, r9d
xor edx, r10d
mov eax, r15d
mov ecx, ebp
xor ecx, r13d
rol eax, 5
mov dword [rsi + 0x20], ebx
xor ecx, r14d
add eax, ebx
add rsi, 0x14
add ecx, eax
rol r14d, 0x1e
rol r11d, 1
lea r12d, [r12 + rcx + 0x6ed9eba1]
mov ecx, r13d
mov dword [rsi + 0x10], r11d
xor ecx, r14d
mov eax, r12d
xor ecx, r15d
rol eax, 5
add eax, r11d
add ecx, eax
rol r15d, 0x1e
rol edx, 1
lea ebp, [rbp + rcx + 0x6ed9eba1]
mov dword [rsi + 0x14], edx
mov ecx, r12d
xor ecx, r14d
mov eax, ebp
xor ecx, r15d
rol eax, 5
add eax, edx
mov edx, dword [rsi - 0x20]
xor edx, dword [rsi - 8]
add ecx, eax
rol r12d, 0x1e
xor edx, ebx
lea r13d, [r13 + rcx + 0x6ed9eba1]
mov ecx, r12d
xor edx, r9d
xor ecx, ebp
mov eax, r13d
rol edx, 1
xor ecx, r15d
rol eax, 5
add eax, edx
mov dword [rsi + 0x18], edx
mov edx, dword [rsi - 4]
xor edx, dword [rsi - 0x1c]
add ecx, eax
rol ebp, 0x1e
lea r14d, [r14 + rcx + 0x6ed9eba1]
xor edx, r11d
mov ecx, r12d
xor edx, r8d
xor ecx, ebp
mov eax, r14d
rol edx, 1
rol eax, 5
xor ecx, r13d
add eax, edx
mov dword [rsi + 0x1c], edx
add ecx, eax
rol r13d, 0x1e
dec qword [rsp]
lea r15d, [r15 + rcx + 0x6ed9eba1]
jne 0x4c25d0
lea r8, [rsp + 0xa0]
mov qword [rsp + 8], 4
mov qword [rsp], r8
nop
mov r11d, dword [r8 - 0x18]
mov edi, dword [r8 - 0x20]
mov ebx, dword [r8 - 0x1c]
xor edi, dword [r8]
xor ebx, dword [r8 + 0x18]
mov r10d, dword [r8 - 0x14]
xor ebx, dword [r8 + 4]
xor edi, dword [r8 + 0x14]
mov r9d, dword [r8 - 0x10]
lea rsi, [r8 + 0x14]
xor edi, r11d
xor ebx, r10d
rol edi, 1
mov eax, r13d
mov ecx, r13d
or ecx, r14d
and eax, r14d
mov dword [r8 + 0x20], edi
and ecx, ebp
mov edx, r15d
or ecx, eax
rol edx, 5
add ecx, edi
add ecx, r12d
rol r14d, 0x1e
rol ebx, 1
lea r12d, [rcx + rdx - 0x70e44324]
mov dword [r8 + 0x24], ebx
mov r8d, dword [r8 + 0x1c]
mov eax, r14d
mov ecx, r14d
mov edx, r12d
or ecx, r15d
and eax, r15d
rol edx, 5
and ecx, r13d
or ecx, eax
mov rax, qword [rsp]
xor r8d, dword [rax + 8]
add ecx, ebx
add ecx, ebp
xor r8d, r9d
rol r15d, 0x1e
lea ebp, [rcx + rdx - 0x70e44324]
xor r8d, r11d
mov r11, rax
rol r8d, 1
mov ecx, r12d
mov edx, ebp
or ecx, r15d
mov dword [rax + 0x28], r8d
rol edx, 5
and ecx, r14d
mov eax, r12d
and eax, r15d
or ecx, eax
add ecx, r8d
mov r8d, dword [r11 - 0xc]
xor r8d, dword [r11 + 0xc]
add ecx, r13d
rol r12d, 0x1e
lea r13d, [rcx + rdx - 0x70e44324]
xor r8d, edi
mov ecx, r12d
or ecx, ebp
xor r8d, r10d
mov eax, r12d
rol r8d, 1
and ecx, r15d
and eax, ebp
or ecx, eax
mov dword [r11 + 0x2c], r8d
mov edx, r13d
add ecx, r8d
mov r8d, dword [r11 + 0x10]
rol edx, 5
xor r8d, dword [r11 - 8]
add ecx, r14d
rol ebp, 0x1e
xor r8d, ebx
lea r14d, [rcx + rdx - 0x70e44324]
xor r8d, r9d
mov ecx, ebp
mov eax, ebp
or ecx, r13d
rol r8d, 1
and eax, r13d
and ecx, r12d
mov edx, r14d
mov dword [r11 + 0x30], r8d
or ecx, eax
rol edx, 5
mov qword [rsp], rsi
add ecx, r8d
mov r8, rsi
add ecx, r15d
rol r13d, 0x1e
dec qword [rsp + 8]
lea r15d, [rcx + rdx - 0x70e44324]
jne 0x4c26f0
lea rsi, [rsp + 0xf0]
nop
nop
mov r10d, dword [rsi - 0x18]
mov r9d, dword [rsi - 0x14]
mov ebx, dword [rsi - 0x20]
xor ebx, dword [rsi]
mov r8d, dword [rsi - 0x10]
mov r11d, dword [rsi - 0x1c]
xor ebx, dword [rsi + 0x14]
xor r11d, dword [rsi + 0x18]
mov edx, dword [rsi + 0x1c]
xor edx, dword [rsi + 8]
xor r11d, dword [rsi + 4]
xor ebx, r10d
xor edx, r8d
rol ebx, 1
xor r11d, r9d
xor edx, r10d
mov eax, ebp
mov ecx, r15d
xor eax, r13d
rol ecx, 5
mov dword [rsi + 0x20], ebx
xor eax, r14d
add rsi, 0x14
add eax, ebx
add eax, r12d
rol r14d, 0x1e
rol r11d, 1
lea r12d, [rax + rcx - 0x359d3e2a]
mov eax, r13d
mov dword [rsi + 0x10], r11d
xor eax, r14d
mov ecx, r12d
xor eax, r15d
rol ecx, 5
add eax, r11d
add eax, ebp
rol r15d, 0x1e
rol edx, 1
lea ebp, [rax + rcx - 0x359d3e2a]
mov dword [rsi + 0x14], edx
mov eax, r12d
xor eax, r14d
mov ecx, ebp
xor eax, r15d
rol ecx, 5
add eax, edx
mov edx, dword [rsi - 0x20]
xor edx, dword [rsi - 8]
add eax, r13d
rol r12d, 0x1e
lea r13d, [rax + rcx - 0x359d3e2a]
xor edx, ebx
mov eax, r12d
xor eax, ebp
xor edx, r9d
mov ecx, r13d
xor eax, r15d
rol edx, 1
rol ecx, 5
add eax, edx
mov dword [rsi + 0x18], edx
mov edx, dword [rsi - 4]
xor edx, dword [rsi - 0x1c]
add eax, r14d
rol ebp, 0x1e
lea r14d, [rax + rcx - 0x359d3e2a]
xor edx, r11d
mov eax, r12d
xor eax, ebp
xor edx, r8d
mov ecx, r14d
rol edx, 1
xor eax, r13d
rol ecx, 5
add eax, edx
mov dword [rsi + 0x1c], edx
add eax, r15d
rol r13d, 0x1e
dec qword [rsp + 0x10]
lea r15d, [rax + rcx - 0x359d3e2a]
jne 0x4c2850
mov r8, qword [rsp + 0x1b0]
mov rdx, qword [rsp + 0x1a0]
mov eax, dword [rsp + 0x1a8]
mov rdi, qword [rsp + 0x180]
mov rsi, qword [rsp + 0x188]
mov rbx, qword [rsp + 0x1b8]
add eax, r15d
mov r15, qword [rsp + 0x160]
mov dword [r8], eax
mov eax, dword [rdx + 4]
lea ecx, [r14 + rax]
mov r14, qword [rsp + 0x168]
mov dword [r8 + 4], ecx
mov eax, dword [rdx + 8]
lea ecx, [r13 + rax]
mov r13, qword [rsp + 0x170]
mov dword [r8 + 8], ecx
mov eax, dword [rdx + 0xc]
lea ecx, [rbp + rax]
mov rbp, qword [rsp + 0x190]
mov dword [r8 + 0xc], ecx
mov eax, dword [rdx + 0x10]
lea ecx, [r12 + rax]
mov r12, qword [rsp + 0x178]
mov dword [r8 + 0x10], ecx
add rsp, 0x198
ret