Function at 0x401000
Capabilities:
Encode data using xor

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