Function at 0x1003af20
Capabilities:
Encode data using xor

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