Function at 0x464c70
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov ebx, dword [r8 + 4]
mov rax, rdx
mov qword [rsp + 0xa0], r8
mov rdi, qword [rsp + 0xa0]
and rax, 0xfffffffffffffffc
add rax, rcx
mov rsi, rax
mov qword [rsp + 0x38], rax
mov eax, dword [r8]
mov dword [rsp + 0x30], eax
mov eax, dword [r8 + 8]
mov dword [rsp + 0x28], eax
mov eax, dword [r8 + 0xc]
mov dword [rsp + 0x2c], eax
mov rax, r8
mov r8d, edx
add r8d, dword [rax + 0x10]
mov dword [rax + 0x10], r8d
mov rax, rdx
shr rax, 0x20
add eax, dword [rdi + 0x14]
cmp rdx, r8
seta dl
movzx edx, dl
add eax, edx
cmp rcx, rsi
mov dword [rdi + 0x14], eax
jae 0x4654b9
mov rsi, rcx
nop
mov r14d, dword [rsi]
mov edi, dword [rsp + 0x28]
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x2c]
mov r10d, dword [rsi + 8]
mov r11d, dword [rsi + 0x10]
mov ebp, dword [rsi + 0x14]
mov r12d, dword [rsi + 0x18]
lea edx, [r14 + rax - 0x28955b88]
mov eax, edi
xor eax, ecx
lea r8d, [r10 + rdi + 0x242070db]
mov dword [rsp + 0x10], r10d
and eax, ebx
mov r10d, dword [rsi + 0x20]
mov dword [rsp + 0x18], r11d
xor eax, ecx
mov dword [rsp + 0x1c], r12d
add eax, edx
mov edx, dword [rsi + 4]
rol eax, 7
mov dword [rsp + 0x20], r10d
add eax, ebx
mov dword [rsp + 0xc], edx
lea ecx, [rdx + rcx - 0x173848aa]
mov edx, edi
xor edx, ebx
mov r15d, eax
and edx, eax
xor r15d, ebx
xor edx, edi
mov edi, dword [rsi + 0x28]
add edx, ecx
mov ecx, r15d
mov r15d, dword [rsi + 0xc]
rol edx, 0xc
add edx, eax
and ecx, edx
lea r9d, [r15 + rbx - 0x3e423112]
mov dword [rsp + 0x14], r15d
xor ecx, ebx
mov r15d, dword [rsi + 0x24]
add ecx, r8d
mov r8d, eax
ror ecx, 0xf
xor r8d, edx
add ecx, edx
and r8d, ecx
mov r13d, ecx
xor r8d, eax
add r8d, r9d
lea r9d, [rax + r11 - 0xa83f051]
mov eax, edx
ror r8d, 0xa
xor eax, ecx
add r8d, ecx
and eax, r8d
xor r13d, r8d
xor eax, edx
add eax, r9d
lea r9d, [rdx + rbp + 0x4787c62a]
mov edx, r13d
rol eax, 7
mov r13d, r8d
add eax, r8d
and edx, eax
xor edx, ecx
xor r13d, eax
add edx, r9d
lea r9d, [rcx + r12 - 0x57cfb9ed]
mov ecx, r13d
rol edx, 0xc
mov r13d, dword [rsi + 0x1c]
mov r12d, dword [rsi + 0x38]
add edx, eax
and ecx, edx
xor ecx, r8d
add ecx, r9d
lea r9d, [r8 + r13 - 0x2b96aff]
mov r8d, eax
ror ecx, 0xf
xor r8d, edx
add ecx, edx
and r8d, ecx
xor r8d, eax
add r8d, r9d
lea r9d, [rax + r10 + 0x698098d8]
mov eax, edx
ror r8d, 0xa
xor eax, ecx
mov r10d, dword [rsi + 0x30]
add r8d, ecx
and eax, r8d
mov r11d, r8d
xor eax, edx
add eax, r9d
lea r9d, [rdx + r15 - 0x74bb0851]
mov edx, ecx
rol eax, 7
xor edx, r8d
add eax, r8d
and edx, eax
xor r11d, eax
xor edx, ecx
add edx, r9d
lea r9d, [rcx + rdi - 0xa44f]
mov ecx, r11d
rol edx, 0xc
mov r11d, dword [rsi + 0x2c]
add edx, eax
and ecx, edx
xor ecx, r8d
mov dword [rsp + 0x24], r11d
add ecx, r9d
lea r9d, [r8 + r11 - 0x76a32842]
mov r8d, eax
ror ecx, 0xf
xor r8d, edx
mov r11d, dword [rsi + 0x34]
add ecx, edx
add rsi, 0x40
and r8d, ecx
xor r8d, eax
mov dword [rsp + 8], r11d
add r8d, r9d
lea r9d, [rax + r10 + 0x6b901122]
mov eax, edx
ror r8d, 0xa
xor eax, ecx
add r8d, ecx
and eax, r8d
xor eax, edx
add eax, r9d
lea r9d, [rdx + r11 - 0x2678e6d]
mov edx, ecx
rol eax, 7
xor edx, r8d
mov r11d, dword [rsi - 4]
add eax, r8d
and edx, eax
xor edx, ecx
add edx, r9d
lea r9d, [rcx + r12 - 0x5986bc72]
mov ecx, r8d
rol edx, 0xc
xor ecx, eax
add edx, eax
and ecx, edx
xor ecx, r8d
add ecx, r9d
lea r9d, [r8 + r11 + 0x49b40821]
mov r8d, eax
ror ecx, 0xf
xor r8d, edx
add ecx, edx
and r8d, ecx
xor r8d, eax
add r8d, r9d
mov r9d, dword [rsp + 0xc]
ror r8d, 0xa
add r8d, ecx
lea r9d, [r9 + rax - 0x9e1da9e]
mov eax, ecx
xor eax, r8d
and eax, edx
xor eax, ecx
add eax, r9d
mov r9d, dword [rsp + 0x1c]
rol eax, 5
add eax, r8d
lea r9d, [r9 + rdx - 0x3fbf4cc0]
mov edx, r8d
xor edx, eax
and edx, ecx
xor edx, r8d
add edx, r9d
mov r9d, dword [rsp + 0x24]
rol edx, 9
add edx, eax
lea r9d, [r9 + rcx + 0x265e5a51]
mov ecx, eax
xor ecx, edx
and ecx, r8d
xor ecx, eax
add ecx, r9d
lea r9d, [r14 + r8 - 0x16493856]
mov r8d, edx
rol ecx, 0xe
add ecx, edx
xor r8d, ecx
and r8d, eax
xor r8d, edx
add r8d, r9d
lea r9d, [rbp + rax - 0x29d0efa3]
mov eax, ecx
ror r8d, 0xc
add r8d, ecx
xor eax, r8d
and eax, edx
xor eax, ecx
add eax, r9d
lea r9d, [rdi + rdx + 0x2441453]
mov edx, r8d
rol eax, 5
add eax, r8d
xor edx, eax
and edx, ecx
xor edx, r8d
add edx, r9d
lea r9d, [r11 + rcx - 0x275e197f]
mov ecx, eax
rol edx, 9
add edx, eax
xor ecx, edx
and ecx, r8d
xor ecx, eax
add ecx, r9d
mov r9d, dword [rsp + 0x18]
rol ecx, 0xe
add ecx, edx
lea r9d, [r9 + r8 - 0x182c0438]
mov r8d, edx
xor r8d, ecx
and r8d, eax
xor r8d, edx
add r8d, r9d
lea r9d, [r15 + rax + 0x21e1cde6]
mov eax, ecx
ror r8d, 0xc
add r8d, ecx
xor eax, r8d
and eax, edx
xor eax, ecx
add eax, r9d
lea r9d, [r12 + rdx - 0x3cc8f82a]
mov edx, r8d
rol eax, 5
add eax, r8d
xor edx, eax
and edx, ecx
xor edx, r8d
add edx, r9d
mov r9d, dword [rsp + 0x14]
rol edx, 9
add edx, eax
lea r9d, [r9 + rcx - 0xb2af279]
mov ecx, eax
xor ecx, edx
and ecx, r8d
xor ecx, eax
add ecx, r9d
mov r9d, dword [rsp + 0x20]
rol ecx, 0xe
add ecx, edx
lea r8d, [r9 + r8 + 0x455a14ed]
mov r9d, edx
xor r9d, ecx
and r9d, eax
xor r9d, edx
add r9d, r8d
mov r8d, dword [rsp + 8]
ror r9d, 0xc
add r9d, ecx
lea r8d, [r8 + rax - 0x561c16fb]
mov eax, ecx
xor eax, r9d
and eax, edx
xor eax, ecx
add eax, r8d
mov r8d, dword [rsp + 0x10]
rol eax, 5
add eax, r9d
lea r8d, [r8 + rdx - 0x3105c08]
mov edx, r9d
xor edx, eax
and edx, ecx
lea ecx, [r13 + rcx + 0x676f02d9]
xor edx, r9d
add edx, r8d
mov r8d, eax
rol edx, 9
add edx, eax
xor r8d, edx
and r8d, r9d
lea r9d, [r10 + r9 - 0x72d5b376]
xor r8d, eax
add r8d, ecx
mov ecx, edx
mov dword [rsp + 0x34], r9d
rol r8d, 0xe
mov r9d, eax
lea eax, [rbp + rax - 0x5c6be]
add r8d, edx
xor ecx, r8d
and r9d, ecx
xor r9d, edx
add r9d, dword [rsp + 0x34]
ror r9d, 0xc
add r9d, r8d
xor ecx, r9d
add ecx, eax
mov eax, dword [rsp + 0x20]
rol ecx, 4
add ecx, r9d
lea eax, [rax + rdx - 0x788e097f]
mov edx, r8d
xor edx, r9d
xor edx, ecx
add edx, eax
mov eax, dword [rsp + 0x24]
rol edx, 0xb
add edx, ecx
lea eax, [rax + r8 + 0x6d9d6122]
mov r8d, r9d
lea r9d, [r12 + r9 - 0x21ac7f4]
xor r8d, ecx
xor r8d, edx
add r8d, eax
mov eax, ecx
rol r8d, 0x10
xor eax, edx
add r8d, edx
xor eax, r8d
add eax, r9d
mov r9d, dword [rsp + 0xc]
ror eax, 9
add eax, r8d
lea r9d, [r9 + rcx - 0x5b4115bc]
mov ecx, edx
xor ecx, r8d
xor ecx, eax
add ecx, r9d
mov r9d, dword [rsp + 0x18]
rol ecx, 4
add ecx, eax
lea edx, [r9 + rdx + 0x4bdecfa9]
mov r9d, r8d
lea r8d, [r13 + r8 - 0x944b4a0]
xor r9d, eax
xor r9d, ecx
add r9d, edx
mov edx, eax
lea eax, [rdi + rax - 0x41404390]
rol r9d, 0xb
xor edx, ecx
add r9d, ecx
xor edx, r9d
add edx, r8d
mov r8d, ecx
rol edx, 0x10
xor r8d, r9d
add edx, r9d
xor r8d, edx
add r8d, eax
mov eax, dword [rsp + 8]
ror r8d, 9
add r8d, edx
lea eax, [rax + rcx + 0x289b7ec6]
mov ecx, r9d
lea r9d, [r14 + r9 - 0x155ed806]
xor ecx, edx
xor ecx, r8d
add ecx, eax
mov eax, edx
rol ecx, 4
xor eax, r8d
add ecx, r8d
xor eax, ecx
add eax, r9d
mov r9d, dword [rsp + 0x14]
rol eax, 0xb
add eax, ecx
lea edx, [r9 + rdx - 0x2b10cf7b]
mov r9d, r8d
xor r9d, ecx
xor r9d, eax
add r9d, edx
mov edx, dword [rsp + 0x1c]
rol r9d, 0x10
add r9d, eax
lea edx, [rdx + r8 + 0x4881d05]
mov r8d, ecx
lea ecx, [r15 + rcx - 0x262b2fc7]
xor r8d, eax
xor r8d, r9d
add r8d, edx
mov edx, eax
lea eax, [r10 + rax - 0x1924661b]
ror r8d, 9
xor edx, r9d
add r8d, r9d
xor edx, r8d
add edx, ecx
mov ecx, r9d
rol edx, 4
add edx, r8d
xor ecx, r8d
xor ecx, edx
add ecx, eax
lea eax, [r11 + r9 + 0x1fa27cf8]
mov r9d, r8d
rol ecx, 0xb
xor r9d, edx
add ecx, edx
xor r9d, ecx
add r9d, eax
mov eax, dword [rsp + 0x10]
rol r9d, 0x10
add r9d, ecx
lea r8d, [rax + r8 - 0x3b53a99b]
mov eax, edx
xor eax, ecx
xor eax, r9d
add eax, r8d
lea r8d, [r14 + rdx - 0xbd6ddbc]
mov edx, ecx
ror eax, 9
not edx
mov r14d, dword [rsp + 0x14]
add eax, r9d
or edx, eax
xor edx, r9d
add edx, r8d
lea r8d, [r13 + rcx + 0x432aff97]
mov r13d, r9d
rol edx, 6
not r13d
lea r9d, [r12 + r9 - 0x546bdc59]
add edx, eax
mov ecx, r13d
mov r13d, dword [rsp + 0x20]
or ecx, edx
mov r12d, edx
xor ecx, eax
not r12d
add ecx, r8d
mov r8d, eax
rol ecx, 0xa
not r8d
add ecx, edx
or r8d, ecx
xor r8d, edx
add r8d, r9d
lea r9d, [rbp + rax - 0x36c5fc7]
mov eax, r12d
rol r8d, 0xf
mov r12d, ecx
mov ebp, dword [rsp + 0x1c]
add r8d, ecx
not r12d
or eax, r8d
xor eax, ecx
add eax, r9d
lea r9d, [r10 + rdx + 0x655b59c3]
mov edx, r12d
ror eax, 0xb
mov r12d, r8d
add eax, r8d
not r12d
or edx, eax
xor edx, r8d
add edx, r9d
lea r9d, [r14 + rcx - 0x70f3336e]
mov ecx, r12d
rol edx, 6
mov r14d, dword [rsp + 0x18]
add edx, eax
or ecx, edx
mov r12d, edx
xor ecx, eax
not r12d
add ecx, r9d
lea r9d, [rdi + r8 - 0x100b83]
mov r8d, eax
rol ecx, 0xa
not r8d
mov edi, dword [rsp + 8]
add ecx, edx
or r8d, ecx
xor r8d, edx
add r8d, r9d
mov r9d, dword [rsp + 0xc]
rol r8d, 0xf
add r8d, ecx
lea r9d, [r9 + rax - 0x7a7ba22f]
mov eax, r12d
or eax, r8d
xor eax, ecx
add eax, r9d
lea r9d, [r13 + rdx + 0x6fa87e4f]
mov r13d, ecx
ror eax, 0xb
not r13d
add eax, r8d
mov edx, r13d
mov r13d, r8d
or edx, eax
not r13d
xor edx, r8d
add edx, r9d
lea r9d, [r11 + rcx - 0x1d31920]
mov ecx, r13d
rol edx, 6
mov r11d, dword [rsp + 0x10]
add edx, eax
or ecx, edx
mov r10d, edx
xor ecx, eax
not r10d
add ecx, r9d
lea r9d, [rbp + r8 - 0x5cfebcec]
mov r8d, eax
rol ecx, 0xa
not r8d
lea eax, [rdi + rax + 0x4e0811a1]
add ecx, edx
or r8d, ecx
xor r8d, edx
lea edx, [r14 + rdx - 0x8ac817e]
mov r14d, dword [rsp + 0x24]
add r8d, r9d
mov r9d, r10d
mov r10d, ecx
rol r8d, 0xf
not r10d
add r8d, ecx
or r9d, r8d
xor r9d, ecx
lea ecx, [r14 + rcx - 0x42c50dcb]
add r9d, eax
mov eax, r10d
ror r9d, 0xb
add r9d, r8d
or eax, r9d
xor eax, r8d
add eax, edx
mov edx, r8d
lea r8d, [r11 + r8 + 0x2ad7d2bb]
rol eax, 6
not edx
mov r11d, r9d
add eax, r9d
not r11d
or edx, eax
xor edx, r9d
lea r9d, [r15 + r9 - 0x14792c6f]
add edx, ecx
mov ecx, r11d
rol edx, 0xa
add edx, eax
or ecx, edx
xor ecx, eax
add ecx, r8d
mov r8d, eax
rol ecx, 0xf
not r8d
add ecx, edx
or r8d, ecx
xor r8d, edx
add r8d, r9d
ror r8d, 0xb
add r8d, ecx
add dword [rsp + 0x30], eax
add dword [rsp + 0x28], ecx
add ebx, r8d
add dword [rsp + 0x2c], edx
cmp qword [rsp + 0x38], rsi
ja 0x464cf0
mov rax, qword [rsp + 0xa0]
mov esi, dword [rsp + 0x30]
mov dword [rax + 4], ebx
mov ebx, dword [rsp + 0x28]
mov dword [rax], esi
mov dword [rax + 8], ebx
mov ebx, dword [rsp + 0x2c]
mov dword [rax + 0xc], ebx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret