Function at 0x1400051c0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x908
mov ebx, r9d
mov rsi, r8
mov rdi, rcx
lea rcx, [rsp + 0x100]
mov r8d, 0x400
call sub.msvcrt.dll_memcpy
mov eax, 6
nop word cs:[rax + rax]
movups xmm0, xmmword [rdi + rax*8 - 0x30]
movups xmm1, xmmword [rdi + rax*8 - 0x20]
movups xmm2, xmmword [rsp + rax*8 + 0xd0]
xorps xmm2, xmm0
movups xmm0, xmmword [rsp + rax*8 + 0xe0]
xorps xmm0, xmm1
movups xmm1, xmmword [rsp + rax*8 + 0xf0]
movups xmm3, xmmword [rsp + rax*8 + 0x100]
movups xmmword [rsp + rax*8 + 0xd0], xmm2
movups xmmword [rsp + rax*8 + 0xe0], xmm0
movups xmm0, xmmword [rdi + rax*8 - 0x10]
xorps xmm0, xmm1
movups xmm1, xmmword [rdi + rax*8]
xorps xmm1, xmm3
movups xmmword [rsp + rax*8 + 0xf0], xmm0
movups xmmword [rsp + rax*8 + 0x100], xmm1
add rax, 8
cmp rax, 0x86
jne 0x140005200
lea rcx, [rsp + 0x500]
lea rdx, [rsp + 0x100]
mov r8d, 0x400
call sub.msvcrt.dll_memcpy
test bl, bl
je 0x1400052ef
xor eax, eax
nop dword [rax]
movups xmm0, xmmword [rsi + rax*8]
movups xmm1, xmmword [rsi + rax*8 + 0x10]
xorps xmm0, xmmword [rsp + rax*8 + 0x500]
xorps xmm1, xmmword [rsp + rax*8 + 0x510]
movaps xmmword [rsp + rax*8 + 0x500], xmm0
movaps xmmword [rsp + rax*8 + 0x510], xmm1
movups xmm0, xmmword [rsi + rax*8 + 0x20]
movups xmm1, xmmword [rsi + rax*8 + 0x30]
xorps xmm0, xmmword [rsp + rax*8 + 0x520]
xorps xmm1, xmmword [rsp + rax*8 + 0x530]
movaps xmmword [rsp + rax*8 + 0x520], xmm0
movaps xmmword [rsp + rax*8 + 0x530], xmm1
add rax, 8
cmp rax, 0x80
jne 0x140005290
mov r12d, 0x78
lea rdx, [rsp + 0xf8]
lea r8, [rsp + 0xf0]
lea r9, [rsp + 0xe8]
lea r10, [rsp + 0xe0]
lea r11, [rsp + 0xd8]
lea rbx, [rsp + 0xd0]
nop word cs:[rax + rax]
mov rax, qword [rsp + r12 + 0x88]
mov rcx, qword [rsp + r12 + 0x90]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rcx
mov rax, qword [rsp + r12 + 0x98]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + r12 + 0xa0]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + r12 + 0xa8]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + r12 + 0xb0]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + r12 + 0xb8]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + r12 + 0xc0]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + r12 + 0xc8]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + r12 + 0xd0]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + r12 + 0xd8]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + r12 + 0xe0]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + r12 + 0xe8]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + r12 + 0xf0]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + r12 + 0xf8]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + r12 + 0x100]
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x60], r10
mov qword [rsp + 0x58], r11
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea rcx, [rsp + 0x80]
mov r14, rdx
lea rdx, [rsp + 0x88]
mov r13, r8
lea r8, [rsp + 0x90]
mov rbp, r9
lea r9, [rsp + 0x98]
mov r15, r10
mov rdi, r11
call fcn.140005cd0
mov r11, rdi
mov r10, r15
mov r9, rbp
mov r8, r13
mov rdx, r14
mov rax, qword [rsp + 0x80]
mov qword [rsp + r12 + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + r12 + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + r12 + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + r12 + 0xa0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + r12 + 0xa8], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + r12 + 0xb0], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + r12 + 0xb8], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + r12 + 0xc0], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + r12 + 0xc8], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + r12 + 0xd0], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + r12 + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + r12 + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + r12 + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + r12 + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + r12 + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + r12 + 0x100], rax
sub r12, 0xffffffffffffff80
cmp r12, 0x478
jne 0x140005330
mov r12d, 0x388
nop word cs:[rax + rax]
mov rax, qword [rsp + r12 - 0x288]
mov rcx, qword [rsp + r12 - 0x280]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rcx
mov rax, qword [rsp + r12 - 0x208]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + r12 - 0x200]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + r12 - 0x188]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + r12 - 0x180]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + r12 - 0x108]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + r12 - 0x100]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + r12 - 0x88]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + r12 - 0x80]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + r12 - 8]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + r12]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + r12 + 0x78]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + r12 + 0x80]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + r12 + 0xf8]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + r12 + 0x100]
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x60], r10
mov qword [rsp + 0x58], r11
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x88]
lea r8, [rsp + 0x90]
lea r9, [rsp + 0x98]
call fcn.140005cd0
mov r11, rdi
mov r10, r15
mov r9, rbp
mov r8, r13
mov rdx, r14
mov rax, qword [rsp + 0x80]
mov qword [rsp + r12 - 0x288], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + r12 - 0x280], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + r12 - 0x208], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + r12 - 0x200], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + r12 - 0x188], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + r12 - 0x180], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + r12 - 0x108], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + r12 - 0x100], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + r12 - 0x88], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + r12 - 0x80], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + r12 - 8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + r12], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + r12 + 0x78], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + r12 + 0x80], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + r12 + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + r12 + 0x100], rax
add r12, 0x10
cmp r12, 0x408
jne 0x140005600
movaps xmm0, xmmword [rsp + 0x500]
movaps xmm1, xmmword [rsp + 0x510]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
movaps xmm0, xmmword [rsp + 0x520]
movaps xmm1, xmmword [rsp + 0x530]
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x30], xmm1
movaps xmm0, xmmword [rsp + 0x540]
movaps xmm1, xmmword [rsp + 0x550]
movups xmmword [rsi + 0x40], xmm0
movups xmmword [rsi + 0x50], xmm1
movaps xmm0, xmmword [rsp + 0x560]
movaps xmm1, xmmword [rsp + 0x570]
movups xmmword [rsi + 0x60], xmm0
movups xmmword [rsi + 0x70], xmm1
movaps xmm0, xmmword [rsp + 0x580]
movaps xmm1, xmmword [rsp + 0x590]
movups xmmword [rsi + 0x80], xmm0
movups xmmword [rsi + 0x90], xmm1
movaps xmm0, xmmword [rsp + 0x5a0]
movaps xmm1, xmmword [rsp + 0x5b0]
movups xmmword [rsi + 0xa0], xmm0
movups xmmword [rsi + 0xb0], xmm1
movaps xmm0, xmmword [rsp + 0x5c0]
movaps xmm1, xmmword [rsp + 0x5d0]
movups xmmword [rsi + 0xc0], xmm0
movups xmmword [rsi + 0xd0], xmm1
movaps xmm0, xmmword [rsp + 0x5e0]
movaps xmm1, xmmword [rsp + 0x5f0]
movups xmmword [rsi + 0xe0], xmm0
movups xmmword [rsi + 0xf0], xmm1
movaps xmm0, xmmword [rsp + 0x600]
movaps xmm1, xmmword [rsp + 0x610]
movups xmmword [rsi + 0x100], xmm0
movups xmmword [rsi + 0x110], xmm1
movaps xmm0, xmmword [rsp + 0x620]
movaps xmm1, xmmword [rsp + 0x630]
movups xmmword [rsi + 0x120], xmm0
movups xmmword [rsi + 0x130], xmm1
movaps xmm0, xmmword [rsp + 0x640]
movaps xmm1, xmmword [rsp + 0x650]
movups xmmword [rsi + 0x140], xmm0
movups xmmword [rsi + 0x150], xmm1
movaps xmm0, xmmword [rsp + 0x660]
movaps xmm1, xmmword [rsp + 0x670]
movups xmmword [rsi + 0x160], xmm0
movups xmmword [rsi + 0x170], xmm1
movaps xmm0, xmmword [rsp + 0x680]
movaps xmm1, xmmword [rsp + 0x690]
movups xmmword [rsi + 0x180], xmm0
movups xmmword [rsi + 0x190], xmm1
movaps xmm0, xmmword [rsp + 0x6a0]
movaps xmm1, xmmword [rsp + 0x6b0]
movups xmmword [rsi + 0x1a0], xmm0
movups xmmword [rsi + 0x1b0], xmm1
movaps xmm0, xmmword [rsp + 0x6c0]
movaps xmm1, xmmword [rsp + 0x6d0]
movups xmmword [rsi + 0x1c0], xmm0
movups xmmword [rsi + 0x1d0], xmm1
movaps xmm0, xmmword [rsp + 0x6e0]
movaps xmm1, xmmword [rsp + 0x6f0]
movups xmmword [rsi + 0x1e0], xmm0
movups xmmword [rsi + 0x1f0], xmm1
movaps xmm0, xmmword [rsp + 0x700]
movaps xmm1, xmmword [rsp + 0x710]
movups xmmword [rsi + 0x200], xmm0
movups xmmword [rsi + 0x210], xmm1
movaps xmm0, xmmword [rsp + 0x720]
movaps xmm1, xmmword [rsp + 0x730]
movups xmmword [rsi + 0x220], xmm0
movups xmmword [rsi + 0x230], xmm1
movaps xmm0, xmmword [rsp + 0x740]
movaps xmm1, xmmword [rsp + 0x750]
movups xmmword [rsi + 0x240], xmm0
movups xmmword [rsi + 0x250], xmm1
movaps xmm0, xmmword [rsp + 0x760]
movaps xmm1, xmmword [rsp + 0x770]
movups xmmword [rsi + 0x260], xmm0
movups xmmword [rsi + 0x270], xmm1
movaps xmm0, xmmword [rsp + 0x780]
movaps xmm1, xmmword [rsp + 0x790]
movups xmmword [rsi + 0x280], xmm0
movups xmmword [rsi + 0x290], xmm1
movaps xmm0, xmmword [rsp + 0x7a0]
movaps xmm1, xmmword [rsp + 0x7b0]
movups xmmword [rsi + 0x2a0], xmm0
movups xmmword [rsi + 0x2b0], xmm1
movaps xmm0, xmmword [rsp + 0x7c0]
movaps xmm1, xmmword [rsp + 0x7d0]
movups xmmword [rsi + 0x2c0], xmm0
movups xmmword [rsi + 0x2d0], xmm1
movaps xmm0, xmmword [rsp + 0x7e0]
movaps xmm1, xmmword [rsp + 0x7f0]
movups xmmword [rsi + 0x2e0], xmm0
movups xmmword [rsi + 0x2f0], xmm1
movaps xmm0, xmmword [rsp + 0x800]
movaps xmm1, xmmword [rsp + 0x810]
movups xmmword [rsi + 0x300], xmm0
movups xmmword [rsi + 0x310], xmm1
movaps xmm0, xmmword [rsp + 0x820]
movaps xmm1, xmmword [rsp + 0x830]
movups xmmword [rsi + 0x320], xmm0
movups xmmword [rsi + 0x330], xmm1
movaps xmm0, xmmword [rsp + 0x840]
movaps xmm1, xmmword [rsp + 0x850]
movups xmmword [rsi + 0x340], xmm0
movups xmmword [rsi + 0x350], xmm1
movaps xmm0, xmmword [rsp + 0x860]
movaps xmm1, xmmword [rsp + 0x870]
movups xmmword [rsi + 0x360], xmm0
movups xmmword [rsi + 0x370], xmm1
movaps xmm0, xmmword [rsp + 0x880]
movaps xmm1, xmmword [rsp + 0x890]
movups xmmword [rsi + 0x380], xmm0
movups xmmword [rsi + 0x390], xmm1
movaps xmm0, xmmword [rsp + 0x8a0]
movaps xmm1, xmmword [rsp + 0x8b0]
movups xmmword [rsi + 0x3a0], xmm0
movups xmmword [rsi + 0x3b0], xmm1
movaps xmm0, xmmword [rsp + 0x8c0]
movaps xmm1, xmmword [rsp + 0x8d0]
movups xmmword [rsi + 0x3c0], xmm0
movups xmmword [rsi + 0x3d0], xmm1
movaps xmm0, xmmword [rsp + 0x8e0]
movaps xmm1, xmmword [rsp + 0x8f0]
movups xmmword [rsi + 0x3e0], xmm0
movups xmmword [rsi + 0x3f0], xmm1
mov eax, 6
nop word cs:[rax + rax]
movups xmm0, xmmword [rsp + rax*8 + 0xd0]
movups xmm1, xmmword [rsp + rax*8 + 0xe0]
movups xmm2, xmmword [rsi + rax*8 - 0x30]
xorps xmm2, xmm0
movups xmm0, xmmword [rsi + rax*8 - 0x20]
xorps xmm0, xmm1
movups xmm1, xmmword [rsi + rax*8 - 0x10]
movups xmm3, xmmword [rsi + rax*8]
movups xmmword [rsi + rax*8 - 0x30], xmm2
movups xmmword [rsi + rax*8 - 0x20], xmm0
movups xmm0, xmmword [rsp + rax*8 + 0xf0]
xorps xmm0, xmm1
movups xmm1, xmmword [rsp + rax*8 + 0x100]
xorps xmm1, xmm3
movups xmmword [rsi + rax*8 - 0x10], xmm0
movups xmmword [rsi + rax*8], xmm1
add rax, 8
cmp rax, 0x86
jne 0x140005c50
add rsp, 0x908
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret