Function at 0x5795c0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x238
movdqu xmm0, xmmword [0x00631050]
mov r13d, 0x10
mov eax, dword [rcx]
movdqu xmm1, xmmword [rdx]
pshufb xmm1, xmm0
movd r10d, xmm1
mov dword [rsp], eax
mov eax, dword [rcx + 4]
mov r12d, r10d
movups xmmword [rsp + 0x120], xmm1
movdqu xmm1, xmmword [rdx + 0x10]
mov qword [rsp + 0x280], rcx
mov edi, dword [rsp + 0x124]
pshufb xmm1, xmm0
movups xmmword [rsp + 0x130], xmm1
movdqu xmm1, xmmword [rdx + 0x20]
mov dword [rsp + 4], eax
mov eax, dword [rcx + 8]
pshufb xmm1, xmm0
movups xmmword [rsp + 0x140], xmm1
movd r9d, xmm1
movdqu xmm1, xmmword [rdx + 0x30]
mov ebx, dword [rsp + 0x13c]
mov ebp, r9d
mov esi, dword [rsp + 0x144]
pshufb xmm1, xmm0
movups xmmword [rsp + 0x150], xmm1
lea rdx, [rsp + 0x12c]
mov dword [rsp + 8], eax
mov eax, dword [rcx + 0xc]
mov r8d, dword [rsp + 0x158]
mov dword [rsp + 0xc], eax
mov eax, dword [rcx + 0x10]
mov dword [rsp + 0x10], eax
mov eax, dword [rcx + 0x14]
mov dword [rsp + 0x14], eax
mov eax, dword [rcx + 0x18]
mov dword [rsp + 0x18], eax
mov eax, dword [rcx + 0x1c]
mov ecx, dword [rsp + 0x15c]
mov dword [rsp + 0x1c], eax
mov eax, dword [rsp + 0x154]
mov r10d, dword [rsp + 0x128]
xor r12d, ebx
rol eax, 0xf
mov ebx, dword [rdx + 0x1c]
xor ebp, edi
mov r9d, r12d
mov r12d, dword [rdx]
rol r8d, 0xf
xor esi, r10d
xor r9d, eax
mov edi, dword [rdx + 4]
rol ecx, 0xf
add r13d, 3
mov eax, r9d
mov r11d, r9d
xor ecx, esi
mov r10d, dword [rdx + 8]
ror r11d, 9
rol eax, 0xf
mov esi, dword [rdx + 0x24]
add rdx, 0xc
xor eax, r11d
xor eax, r9d
mov r9d, r12d
rol r9d, 7
xor eax, ebx
xor eax, r9d
mov r9d, r8d
xor r9d, ebp
mov ebp, dword [rdx + 0x14]
mov dword [rdx + 0x28], eax
mov r8d, r9d
mov r11d, r9d
rol r11d, 0xf
ror r8d, 9
xor r8d, r11d
xor r8d, r9d
mov r9d, edi
rol r9d, 7
xor r8d, ebp
xor r8d, r9d
mov r9d, ecx
ror ecx, 9
mov r11d, r9d
mov dword [rdx + 0x2c], r8d
rol r11d, 0xf
xor ecx, r11d
xor ecx, r9d
mov r9d, r10d
xor ecx, esi
rol r9d, 7
xor ecx, r9d
mov dword [rdx + 0x30], ecx
cmp r13d, 0x43
jne 0x5796b1
movdqu xmm0, xmmword [rsp + 0x130]
lea r15, [rsp + 0x20]
mov eax, dword [rsp + 0x220]
lea rbp, [rsp + 0x120]
movdqu xmm1, xmmword [rsp + 0x120]
mov edx, dword [rsp + 0x1ec]
pxor xmm1, xmm0
movups xmmword [rsp + 0x20], xmm1
xor edx, dword [rsp + 0x208]
movdqu xmm1, xmmword [rsp + 0x140]
rol eax, 0xf
pxor xmm0, xmm1
movups xmmword [rsp + 0x30], xmm0
movdqu xmm0, xmmword [rsp + 0x150]
xor edx, eax
mov eax, dword [rsp + 0x1f8]
pxor xmm1, xmm0
movups xmmword [rsp + 0x40], xmm1
mov ecx, edx
movdqu xmm1, xmmword [rsp + 0x160]
rol ecx, 0xf
pxor xmm0, xmm1
movups xmmword [rsp + 0x50], xmm0
movdqu xmm0, xmmword [rsp + 0x170]
rol eax, 7
xor eax, dword [rsp + 0x214]
pxor xmm1, xmm0
movups xmmword [rsp + 0x60], xmm1
movdqu xmm1, xmmword [rsp + 0x180]
pxor xmm0, xmm1
movups xmmword [rsp + 0x70], xmm0
movdqu xmm0, xmmword [rsp + 0x190]
xor eax, edx
ror edx, 9
pxor xmm1, xmm0
movups xmmword [rsp + 0x80], xmm1
xor eax, ecx
xor ecx, ecx
movdqu xmm1, xmmword [rsp + 0x1a0]
xor eax, edx
mov dword [rsp + 0x22c], eax
pxor xmm0, xmm1
movups xmmword [rsp + 0x90], xmm0
movdqu xmm0, xmmword [rsp + 0x1b0]
pxor xmm1, xmm0
movups xmmword [rsp + 0xa0], xmm1
movdqu xmm1, xmmword [rsp + 0x1c0]
pxor xmm0, xmm1
movups xmmword [rsp + 0xb0], xmm0
movdqu xmm0, xmmword [rsp + 0x1d0]
pxor xmm1, xmm0
movups xmmword [rsp + 0xc0], xmm1
movdqu xmm1, xmmword [rsp + 0x1e0]
pxor xmm0, xmm1
movups xmmword [rsp + 0xd0], xmm0
movdqu xmm0, xmmword [rsp + 0x1f0]
pxor xmm1, xmm0
movups xmmword [rsp + 0xe0], xmm1
mov eax, dword [rsp + 0x18]
movdqu xmm1, xmmword [rsp + 0x200]
mov r10d, dword [rsp + 0x1c]
pxor xmm0, xmm1
movups xmmword [rsp + 0xf0], xmm0
mov r13d, dword [rsp + 0x14]
movdqu xmm0, xmmword [rsp + 0x210]
mov r11d, dword [rsp + 0x10]
pxor xmm1, xmm0
mov r14d, dword [rsp + 0xc]
pxor xmm0, xmmword [rsp + 0x220]
movups xmmword [rsp + 0x100], xmm1
mov edi, dword [rsp + 8]
movups xmmword [rsp + 0x110], xmm0
mov r12d, dword [rsp + 4]
mov r8d, dword [rsp]
jmp 0x57992a
mov eax, ebx
mov r11d, r9d
mov edi, esi
mov r8d, edx
mov esi, r8d
mov r9d, 0x79cc4519
mov edx, r8d
rol esi, 0xc
rol r9d, cl
xor edx, r12d
lea ebx, [rsi + r11]
xor edx, edi
add edx, dword [r15 + rcx*4]
add r9d, ebx
mov ebx, r9d
mov r9d, r11d
xor r9d, r13d
rol ebx, 7
xor r9d, eax
add r9d, dword [rbp + rcx*4]
xor esi, ebx
add rcx, 1
lea edx, [rdx + rsi]
mov esi, r12d
add edx, r14d
rol esi, 9
mov r14d, edi
add r9d, ebx
mov ebx, r13d
mov r13d, r11d
add r10d, r9d
ror ebx, 0xd
mov r9d, r10d
mov r12d, r10d
ror r12d, 0xf
rol r9d, 9
xor r9d, r12d
mov r12d, r8d
xor r9d, r10d
mov r10d, eax
cmp rcx, 0x10
jne 0x579920
mov r13d, edi
mov edi, eax
jmp 0x5799bc
mov ebx, r12d
mov r9d, eax
mov esi, r14d
mov edx, r10d
mov r14d, edx
mov eax, 0x7a879d8a
mov r10d, r8d
rol r14d, 0xc
rol eax, cl
or r10d, esi
lea r12d, [r14 + r9]
and r10d, edx
add eax, r12d
rol eax, 7
mov r12d, eax
mov eax, r8d
rol r8d, 9
and eax, esi
xor r14d, r12d
or r10d, eax
mov eax, dword [r15 + rcx*4]
add eax, r10d
lea r10d, [rax + r14]
mov eax, r11d
mov r14d, r8d
xor eax, ebx
add r10d, r13d
ror r11d, 0xd
and eax, r9d
xor eax, ebx
add eax, dword [rbp + rcx*4]
add rcx, 1
add eax, r12d
mov r12d, r11d
mov r11d, r9d
add eax, edi
mov edi, ebx
mov r13d, eax
mov r8d, eax
ror r8d, 0xf
rol r13d, 9
xor r13d, r8d
mov r8d, edx
xor eax, r13d
mov r13d, esi
cmp rcx, 0x40
jne 0x5799b0
mov r13d, eax
mov rax, qword [rsp + 0x280]
movd xmm0, dword [rsp]
pinsrd xmm0, dword [rsp + 4], 1
movdqu xmm2, xmm0
movd xmm0, r10d
movd xmm1, dword [rsp + 8]
pinsrd xmm1, dword [rsp + 0xc], 1
punpcklqdq xmm2, xmm1
movd xmm1, r14d
pinsrd xmm1, esi, 1
pinsrd xmm0, edx, 1
punpcklqdq xmm0, xmm1
pxor xmm0, xmm2
movups xmmword [rax], xmm0
movd xmm0, dword [rsp + 0x10]
pinsrd xmm0, dword [rsp + 0x14], 1
movdqu xmm2, xmm0
movd xmm1, dword [rsp + 0x18]
movd xmm0, r13d
pinsrd xmm1, dword [rsp + 0x1c], 1
punpcklqdq xmm2, xmm1
movd xmm1, r12d
pinsrd xmm0, r9d, 1
pinsrd xmm1, ebx, 1
punpcklqdq xmm0, xmm1
pxor xmm0, xmm2
movups xmmword [rax + 0x10], xmm0
add rsp, 0x238
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret