Function at 0x581c10
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x348
mov r9, qword [rcx + 8]
mov rsi, qword [rcx + 0x20]
mov rdi, qword [rcx + 0x28]
mov r12, qword [rcx + 0x10]
mov r13, qword [rcx + 0x18]
mov r10, qword [rcx + 0x30]
mov r11, qword [rcx + 0x38]
mov rbx, qword [rcx + 0x48]
mov qword [rsp + 0x3a0], r8
mov r8, qword [rcx]
mov rcx, qword [rcx + 0x40]
mov qword [rsp + 0xc0], r8
mov qword [rsp + 0xc8], r9
mov qword [rsp + 0xe0], rsi
mov qword [rsp + 0xe8], rdi
mov qword [rsp + 0x100], rcx
mov qword [rsp + 0x108], rbx
mov qword [rsp + 0x110], r8
mov qword [rsp + 0x118], r9
mov qword [rsp + 0x130], rsi
mov qword [rsp + 0x138], rdi
mov qword [rsp + 0x150], rcx
mov qword [rsp + 0x158], rbx
mov qword [rsp + 0x160], r8
mov qword [rsp + 0xd0], r12
mov qword [rsp + 0xd8], r13
mov qword [rsp + 0xf0], r10
mov qword [rsp + 0xf8], r11
mov qword [rsp + 0x120], r12
mov qword [rsp + 0x128], r13
mov qword [rsp + 0x140], r10
mov qword [rsp + 0x148], r11
mov qword [rsp + 0x168], r9
vmovdqu xmm5, xmmword [rdx + 0x30]
vmovdqu xmm3, xmmword [rdx + 0x40]
mov qword [rsp + 0x1a0], rcx
mov qword [rsp + 0x1a8], rbx
mov rcx, qword [rdx + 0x10]
mov rbx, qword [rdx + 0x18]
mov qword [rsp + 0x1b0], r8
mov qword [rsp + 0x1b8], r9
mov qword [rsp + 0x1c0], r8
mov qword [rsp + 0x1c8], r9
mov r8, qword [rdx]
mov r9, qword [rdx + 8]
vmovdqu xmm4, xmmword [rdx + 0x20]
mov qword [rsp + 0x180], rsi
mov qword [rsp + 0x188], rdi
mov qword [rsp + 0x1e0], rsi
mov qword [rsp + 0x1e8], rdi
vmovdqu xmmword [rsp + 0x230], xmm5
vmovdqu xmmword [rsp + 0x240], xmm3
mov qword [rsp + 0x170], r12
mov qword [rsp + 0x178], r13
mov qword [rsp + 0x190], r10
mov qword [rsp + 0x198], r11
mov qword [rsp + 0x1d0], r12
mov qword [rsp + 0x1d8], r13
mov qword [rsp + 0x1f0], r10
mov qword [rsp + 0x1f8], r11
mov qword [rsp + 0x200], r8
mov qword [rsp + 0x208], r9
mov qword [rsp + 0x210], rcx
mov qword [rsp + 0x218], rbx
vmovdqu xmmword [rsp + 0x220], xmm4
vmovdqu xmm4, xmmword [rdx + 0x50]
vmovdqu xmm5, xmmword [rdx + 0x60]
vmovdqu xmm3, xmmword [rdx + 0x70]
vmovdqu xmmword [rsp + 0x250], xmm4
vmovdqu xmmword [rsp + 0x260], xmm5
vmovdqu xmm4, xmmword [rdx + 0x80]
vmovdqu xmm5, xmmword [rdx + 0x90]
vmovdqu xmmword [rsp + 0x270], xmm3
vmovdqu xmmword [rsp + 0x280], xmm4
vmovdqu xmm3, xmmword [rdx + 0xa0]
vmovdqu xmm4, xmmword [rdx + 0xb0]
vmovdqu xmmword [rsp + 0x290], xmm5
vmovdqu xmm5, xmmword [rdx + 0xc0]
lea rax, [rsp + 0x320]
vmovdqu xmmword [rsp + 0x2a0], xmm3
vmovdqu xmmword [rsp + 0x2b0], xmm4
vmovdqu xmm3, xmmword [rdx + 0xd0]
vmovdqu xmm4, xmmword [rdx + 0xe0]
vmovdqu xmmword [rsp + 0x2c0], xmm5
vmovdqu xmm5, xmmword [rdx + 0xf0]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x300], r8
mov qword [rsp + 0x308], r9
mov qword [rsp + 0x310], rcx
mov qword [rsp + 0x318], rbx
mov dword [rsp + 0x28], 0x20
mov qword [rsp + 0x30], rax
vmovdqu xmmword [rsp + 0x2d0], xmm3
vmovdqu xmmword [rsp + 0x2e0], xmm4
vmovdqu xmmword [rsp + 0x2f0], xmm5
xor edi, edi
lea rsi, [rsp + 0x200]
jmp 0x581efd
dec dword [rsp + 0x28]
je 0x58217a
vzeroupper
mov rax, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
lea rcx, [rax + rdi]
lea rdx, [rsi + rdi]
call fcn.005819f0
vmovdqu8 ymm0, ymmword [rsp + 0x320]
mov edx, dword [rsp + 0x320]
vpmovzxbw ymm2, xmm0
vpmovzxwd ymm1, xmm2
vextracti128 xmm0, ymm0, 1
vextracti128 xmm2, ymm2, 1
vpmovzxbw ymm0, xmm0
vpmovzxwd ymm2, xmm2
vpaddd ymm1, ymm1, ymm2
vpmovzxwd ymm2, xmm0
vextracti128 xmm0, ymm0, 1
vpmovzxwd ymm0, xmm0
vpaddd ymm0, ymm2, ymm0
vpaddd ymm0, ymm1, ymm0
vmovdqu xmm1, xmm0
vextracti128 xmm0, ymm0, 1
vpaddd xmm0, xmm1, xmm0
vpsrldq xmm1, xmm0, 8
vpaddd xmm0, xmm0, xmm1
vpsrldq xmm1, xmm0, 4
vpaddd xmm0, xmm0, xmm1
vmovd eax, xmm0
movzx edi, al
lea rbp, [rsi + rdi]
xor dword [rbp], edx
lea edx, [rdi + 4]
lea rcx, [rsi + rdx]
mov qword [rsp + 0x40], rcx
mov edx, dword [rsp + 0x324]
lea r12d, [rdi + 0x10]
xor dword [rcx], edx
lea edx, [rdi + 8]
lea rcx, [rsi + rdx]
add r12, rsi
mov edx, dword [rsp + 0x328]
lea r15d, [rdi + 0x14]
xor dword [rcx], edx
lea edx, [rdi + 0xc]
lea r11, [rsi + rdx]
add r15, rsi
mov edx, dword [rsp + 0x32c]
lea r14d, [rdi + 0x18]
xor dword [r11], edx
add r14, rsi
mov qword [rsp + 0x48], rcx
mov rbx, rdi
mov edx, dword [rsp + 0x330]
xor dword [r12], edx
mov edx, dword [rsp + 0x334]
xor dword [r15], edx
mov edx, dword [rsp + 0x338]
xor dword [r14], edx
lea edx, [rdi + 0x1c]
lea rcx, [rsi + rdx]
mov qword [rsp + 0x50], rcx
mov edx, dword [rsp + 0x33c]
xor dword [rcx], edx
and eax, 0xe0
mov r13d, eax
jne 0x5820d4
lea eax, [rdi + 0x100]
lea r10, [rsi + rax]
cmp edi, 0x20
ja 0x5821ef
mov eax, 0x20
sub eax, edi
mov r13d, eax
mov dword [rsp + 0x58], eax
and r13d, 3
shr eax, 2
mov edx, eax
je 0x5820a0
mov eax, edx
shl rax, 2
mov ecx, 4
test edx, edx
cmove rax, rcx
mov edx, eax
cmp eax, 0x20
jae 0x582201
test al, 0x10
jne 0x5829b4
test dl, 8
jne 0x5829d6
test dl, 4
jne 0x5829ec
test edx, edx
je 0x5820a0
movzx eax, byte [rbp]
mov byte [r10], al
test dl, 2
jne 0x582ab3
nop dword [rax + rax]
test r13d, r13d
je 0x5820d4
mov ecx, dword [rsp + 0x58]
mov eax, ecx
sub eax, r13d
cmp eax, ecx
jae 0x5820d4
lea r8d, [r13 - 1]
lea rcx, [r10 + rax]
lea rdx, [rbp + rax]
inc r8
mov qword [rsp + 0x58], r11
vzeroupper
call sub.msvcrt.dll_memcpy
mov r11, qword [rsp + 0x58]
mov r13d, 0x100
sub r13d, ebx
cmp r13d, 0x1f
ja 0x581ef0
lea r9d, [rbx - 0xe0]
mov eax, r9d
shr eax, 2
je 0x582127
mov eax, eax
lea rdx, [rsp + 0x300]
lea r8, [rax*4]
mov rcx, rsi
mov qword [rsp + 0x60], r11
mov dword [rsp + 0x58], r9d
vzeroupper
call sub.msvcrt.dll_memmove
mov r9d, dword [rsp + 0x58]
mov r11, qword [rsp + 0x60]
mov eax, r9d
and eax, 3
je 0x581ef0
mov edx, r9d
sub edx, eax
cmp r9d, edx
jbe 0x581ef0
sub eax, r9d
lea eax, [rbx + rax - 0xe1]
lea r9, [rsp + rdx + 0x300]
lea rcx, [rsi + rdx]
lea r8, [rax + 1]
mov rdx, r9
mov qword [rsp + 0x58], r11
vzeroupper
call sub.msvcrt.dll_memmove
dec dword [rsp + 0x28]
mov r11, qword [rsp + 0x58]
jne 0x581efa
cmp r13d, 0x1f
jbe 0x5822b5
lea rdx, [rsp + 0xc4]
mov rax, rbp
sub rax, rdx
cmp rax, 0x18
jbe 0x58293f
vmovdqu ymm5, ymmword [rbp]
vpxor ymm0, ymm5, ymmword [rsp + 0xc0]
vmovdqu ymmword [rbp], ymm0
mov rax, qword [rsp + 0x3a0]
vmovdqu xmm5, xmmword [rbp]
mov rdi, qword [rsp + 0x3a0]
vmovdqu xmmword [rax], xmm5
mov rdx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x10]
mov qword [rdi + 0x18], rdx
mov qword [rdi + 0x10], rax
vzeroupper
add rsp, 0x348
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov dword [rsp + 0x58], 0x20
mov edx, 8
jmp 0x58204e
mov rdx, qword [rbp]
mov ecx, eax
mov qword [r10], rdx
lea rdx, [r10 + rcx + 8]
lea rcx, [rbp + rcx + 8]
mov r8, qword [rcx - 0x28]
mov qword [rdx - 0x28], r8
mov r8, qword [rcx - 0x20]
mov qword [rdx - 0x20], r8
mov r8, qword [rcx - 0x18]
mov qword [rdx - 0x18], r8
mov r8, rbp
mov rcx, qword [rcx - 0x10]
mov qword [rdx - 0x10], rcx
lea rcx, [r10 + 8]
and rcx, 0xfffffffffffffff8
mov rdx, r10
sub rdx, rcx
sub r8, rdx
add edx, eax
and edx, 0xffffffe0
cmp edx, 0x20
jb 0x5820a0
and edx, 0xffffffe0
mov dword [rsp + 0x60], edx
mov qword [rsp + 0x68], r12
mov dword [rsp + 0x74], ebx
mov qword [rsp + 0x78], r10
xor r9d, r9d
mov eax, r9d
mov r12, qword [r8 + rax + 8]
mov rbx, qword [r8 + rax + 0x10]
mov rdx, qword [r8 + rax + 0x18]
mov r10, qword [r8 + rax]
mov qword [rcx + rax + 8], r12
mov qword [rcx + rax], r10
mov qword [rcx + rax + 0x10], rbx
mov qword [rcx + rax + 0x18], rdx
add r9d, 0x20
cmp r9d, dword [rsp + 0x60]
jb 0x58226e
mov r12, qword [rsp + 0x68]
mov ebx, dword [rsp + 0x74]
mov r10, qword [rsp + 0x78]
jmp 0x5820a0
mov eax, r13d
shr eax, 2
je 0x582321
lea edx, [rax - 1]
cmp edx, 2
jbe 0x582a00
lea rcx, [rsp + 0xc4]
mov rdx, rbp
sub rdx, rcx
cmp rdx, 8
jbe 0x582a00
vmovdqu xmm5, xmmword [rbp]
vpxor xmm0, xmm5, xmmword [rsp + 0xc0]
vmovdqu xmmword [rbp], xmm0
cmp eax, 4
je 0x582321
mov edx, dword [rsp + 0xd0]
xor dword [rbp + 0x10], edx
cmp eax, 5
je 0x582321
mov edx, dword [rsp + 0xd4]
xor dword [rbp + 0x14], edx
cmp eax, 7
jne 0x582321
mov edx, dword [rsp + 0xd8]
xor dword [rbp + 0x18], edx
mov edi, r13d
and edi, 3
mov dword [rsp + 0x38], edi
je 0x5828c6
mov edx, r13d
sub edx, dword [rsp + 0x38]
cmp r13d, edx
jbe 0x5828c6
mov ecx, edx
lea r10, [rbp + rcx]
lea r8d, [rbx + rdi - 0x100]
lea r9d, [rdi - 1]
mov r11, r10
lea rdi, [rsp + rcx + 0xc1]
sub r11, rdi
lea r12, [rsp + 0x80]
cmp r11, 0xe
jbe 0x582888
cmp r9d, 6
jbe 0x582888
add r8d, r13d
cmp r9d, 0xe
jbe 0x582ac3
vmovdqu8 xmm4, xmmword [rsp + rcx + 0xc0]
vpxor xmm0, xmm4, xmmword [r10]
vmovdqu8 xmmword [r10], xmm0
mov r10d, r8d
and r10d, 0xfffffff0
add edx, r10d
cmp r10d, r8d
je 0x58248d
sub r9d, r10d
sub r8d, r10d
cmp r9d, 6
jbe 0x5823fb
mov r9d, r10d
lea r10, [rcx + r9]
lea rdi, [rsp + 0x340]
add r10, rbp
add rcx, rdi
vmovq xmm0, qword [r9 + rcx - 0x280]
vmovq xmm1, qword [r10]
mov ecx, r8d
vpxor xmm0, xmm0, xmm1
and ecx, 0xfffffff8
vmovq qword [r10], xmm0
add edx, ecx
cmp ecx, r8d
je 0x58248d
mov ecx, edx
movzx r8d, byte [rsp + rcx + 0xc0]
xor byte [rbp + rcx], r8b
lea ecx, [rdx + 1]
cmp r13d, ecx
jbe 0x58248d
movzx r8d, byte [rsp + rcx + 0xc0]
xor byte [rbp + rcx], r8b
lea ecx, [rdx + 2]
cmp r13d, ecx
jbe 0x58248d
movzx r8d, byte [rsp + rcx + 0xc0]
xor byte [rbp + rcx], r8b
lea ecx, [rdx + 3]
cmp r13d, ecx
jbe 0x58248d
movzx r8d, byte [rsp + rcx + 0xc0]
xor byte [rbp + rcx], r8b
lea ecx, [rdx + 4]
cmp r13d, ecx
jbe 0x58248d
movzx r8d, byte [rsp + rcx + 0xc0]
xor byte [rbp + rcx], r8b
lea ecx, [rdx + 5]
cmp r13d, ecx
jbe 0x58248d
movzx r8d, byte [rsp + rcx + 0xc0]
add edx, 6
xor byte [rbp + rcx], r8b
cmp r13d, edx
jbe 0x58248d
movzx ecx, byte [rsp + rdx + 0xc0]
xor byte [rbp + rdx], cl
mov rdx, qword [rsp + 0x30]
lea edi, [rbx - 0xe0]
mov ecx, r13d
mov r15d, edi
add rdx, rcx
shr r15d, 2
mov qword [rsp + 0x40], rcx
je 0x58258e
lea r11d, [r15 - 1]
cmp r11d, 2
jbe 0x582a8a
cmp r11d, 6
jbe 0x582b01
mov r10d, edi
shr r10d, 5
mov r8d, 0x140
lea r9d, [r10 - 1]
sub r8d, ebx
shl r9, 5
mov rcx, rsi
add r8, r12
lea r9, [rsp + r9 + 0x220]
vmovdqu ymm3, ymmword [r8]
add rcx, 0x20
vpxor ymm0, ymm3, ymmword [rcx - 0x20]
add r8, 0x20
vmovdqu ymmword [rcx - 0x20], ymm0
cmp rcx, r9
jne 0x5824ee
lea ecx, [r10*8]
cmp ecx, r15d
je 0x58258e
mov r10d, r15d
sub r11d, ecx
sub r10d, ecx
cmp r11d, 2
jbe 0x582562
lea r9d, [rcx + 0x10]
mov r11, qword [rsp + 0x40]
lea r9, [rsp + r9*4 + 0x340]
vmovdqu xmm0, xmmword [r11 + r9 - 0x2c0]
lea r8d, [rcx + 0x60]
lea r8, [r12 + r8*4]
vpxor xmm0, xmm0, xmmword [r8]
vmovdqu xmmword [r8], xmm0
mov r8d, r10d
and r8d, 0xfffffffc
add ecx, r8d
cmp r10d, r8d
je 0x58258e
mov r8d, ecx
mov r9d, dword [rdx + r8*4]
xor dword [rsi + r8*4], r9d
lea r8d, [rcx + 1]
cmp r15d, r8d
jbe 0x58258e
mov r9d, dword [rdx + r8*4]
add ecx, 2
xor dword [rsi + r8*4], r9d
cmp r15d, ecx
jbe 0x58258e
mov r8d, dword [rdx + rcx*4]
xor dword [rsi + rcx*4], r8d
mov r14d, edi
and r14d, 3
je 0x5827d2
mov ecx, edi
sub ecx, r14d
cmp edi, ecx
jbe 0x5827d2
mov r8d, r14d
sub r8d, edi
lea r11d, [rbx + r8 - 0xe1]
mov dword [rsp + 0x48], r11d
mov r9d, ecx
cmp r11d, 0xe
jbe 0x5828a2
cmp r11d, 0x1e
jbe 0x582acb
mov r10d, 0x140
sub r10d, ebx
mov qword [rsp + 0x50], rdx
lea r11, [r9 + 0x180]
mov dword [rsp + 0x58], eax
add r10, r9
mov eax, dword [rsp + 0x28]
mov qword [rsp + 0x30], r11
add r10, r12
add r11, r12
xor r8d, r8d
vmovdqu8 ymm4, ymmword [r11 + r8]
inc eax
vpxor ymm0, ymm4, ymmword [r10 + r8]
mov edx, 0x8000000
vmovdqu8 ymmword [r11 + r8], ymm0
add r8, 0x20
cmp edx, eax
ja 0x582600
mov r10d, 0x8000000
shl r10d, 5
mov dword [rsp + 0x28], r10d
mov rdx, qword [rsp + 0x50]
mov eax, dword [rsp + 0x58]
test r14d, r14d
je 0x5827d2
mov r8d, dword [rsp + 0x48]
mov r11d, r14d
sub r8d, r10d
sub r11d, r10d
cmp r8d, 0xe
jbe 0x5826b2
mov r8d, dword [rsp + 0x28]
mov r10, qword [rsp + 0x30]
add r10, r8
add r10, r12
mov qword [rsp + 0x28], r10
mov r10d, 0x140
mov r12d, r10d
lea r10, [rsp + 0x340]
add r8, r10
add r8, r9
sub r12d, ebx
vmovdqu8 xmm5, xmmword [r12 + r8 - 0x2c0]
mov r10, qword [rsp + 0x28]
mov r8d, r11d
vpxor xmm0, xmm5, xmmword [r10]
and r8d, 0xfffffff0
vmovdqu8 xmmword [r10], xmm0
add ecx, r8d
cmp r8d, r11d
je 0x5827d2
mov r8d, ecx
movzx r9d, byte [rdx + r8]
xor byte [rsi + r8], r9b
lea r8d, [rcx + 1]
cmp edi, r8d
jbe 0x5827d2
movzx r9d, byte [rdx + r8]
xor byte [rsi + r8], r9b
lea r8d, [rcx + 2]
cmp edi, r8d
jbe 0x5827d2
movzx r9d, byte [rdx + r8]
xor byte [rsi + r8], r9b
lea r8d, [rcx + 3]
cmp edi, r8d
jbe 0x5827d2
movzx r9d, byte [rdx + r8]
xor byte [rsi + r8], r9b
lea r8d, [rcx + 4]
cmp edi, r8d
jbe 0x5827d2
movzx r9d, byte [rdx + r8]
xor byte [rsi + r8], r9b
lea r8d, [rcx + 5]
cmp edi, r8d
jbe 0x5827d2
movzx r9d, byte [rdx + r8]
xor byte [rsi + r8], r9b
lea r8d, [rcx + 6]
cmp edi, r8d
jbe 0x5827d2
movzx r9d, byte [rdx + r8]
xor byte [rsi + r8], r9b
lea r8d, [rcx + 7]
cmp edi, r8d
jbe 0x5827d2
movzx r9d, byte [rdx + r8]
xor byte [rsi + r8], r9b
lea r8d, [rcx + 8]
cmp edi, r8d
jbe 0x5827d2
movzx r9d, byte [rdx + r8]
xor byte [rsi + r8], r9b
lea r8d, [rcx + 9]
cmp edi, r8d
jbe 0x5827d2
movzx r9d, byte [rdx + r8]
xor byte [rsi + r8], r9b
lea r8d, [rcx + 0xa]
cmp edi, r8d
jbe 0x5827d2
movzx r9d, byte [rdx + r8]
xor byte [rsi + r8], r9b
lea r8d, [rcx + 0xb]
cmp edi, r8d
jbe 0x5827d2
movzx r9d, byte [rdx + r8]
xor byte [rsi + r8], r9b
lea r8d, [rcx + 0xc]
cmp edi, r8d
jbe 0x5827d2
movzx r9d, byte [rdx + r8]
xor byte [rsi + r8], r9b
lea r8d, [rcx + 0xd]
cmp edi, r8d
jbe 0x5827d2
movzx r9d, byte [rdx + r8]
add ecx, 0xe
xor byte [rsi + r8], r9b
cmp edi, ecx
jbe 0x5827d2
movzx edx, byte [rdx + rcx]
xor byte [rsi + rcx], dl
test eax, eax
je 0x5827f5
mov eax, eax
shl rax, 2
cmp eax, 8
jae 0x5828d3
test al, 4
jne 0x582adf
test eax, eax
jne 0x5829a1
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x5828be
mov eax, dword [rsp + 0x38]
mov edx, r13d
sub edx, eax
cmp r13d, edx
jbe 0x5828be
mov rcx, qword [rsp + 0x3a0]
dec eax
add rcx, rdx
lea r8, [rax + 1]
add rdx, rbp
vzeroupper
call sub.msvcrt.dll_memcpy
mov rcx, qword [rsp + 0x40]
add rcx, qword [rsp + 0x3a0]
test r15d, r15d
je 0x582853
mov r8d, r15d
shl r8, 2
mov rdx, rsi
call sub.msvcrt.dll_memcpy
mov rcx, rax
test r14d, r14d
je 0x5821db
mov edx, edi
sub edx, r14d
cmp edi, edx
jbe 0x5821db
sub r14d, edi
lea eax, [rbx + r14 - 0xe1]
add rcx, rdx
lea r8, [rax + 1]
add rdx, rsi
call sub.msvcrt.dll_memcpy
jmp 0x5821db
mov rdi, qword [rsp + 0x30]
movzx edx, byte [rdi + rcx]
xor byte [rbp + rcx], dl
inc rcx
cmp r13d, ecx
ja 0x582888
jmp 0x58248d
lea r8, [rsi + r9]
movzx ecx, byte [r8]
xor cl, byte [rdx + r9]
inc r9
mov byte [r8], cl
cmp edi, r9d
ja 0x5828a2
jmp 0x5827d2
vzeroupper
jmp 0x58282f
lea r12, [rsp + 0x80]
jmp 0x58248d
mov rdx, qword [rbp]
mov rcx, qword [rsp + 0x3a0]
mov r9, rbp
mov qword [rcx], rdx
mov rdx, qword [rbp + rax - 8]
mov rcx, qword [rsp + 0x3a0]
mov qword [rcx + rax - 8], rdx
mov rcx, qword [rsp + 0x3a0]
mov rdx, qword [rsp + 0x3a0]
add rcx, 8
and rcx, 0xfffffffffffffff8
sub rdx, rcx
add eax, edx
and eax, 0xfffffff8
sub r9, rdx
cmp eax, 8
jb 0x5827f5
and eax, 0xfffffff8
xor edx, edx
mov r8d, edx
mov r10, qword [r9 + r8]
add edx, 8
mov qword [rcx + r8], r10
cmp edx, eax
jb 0x582928
jmp 0x5827f5
mov eax, dword [rsp + 0xc0]
mov rdi, qword [rsp + 0x40]
xor dword [rbp], eax
mov eax, dword [rsp + 0xc4]
xor dword [rdi], eax
mov rdi, qword [rsp + 0x48]
mov eax, dword [rsp + 0xc8]
xor dword [rdi], eax
mov rdi, qword [rsp + 0x50]
mov eax, dword [rsp + 0xcc]
xor dword [r11], eax
mov eax, dword [rsp + 0xd0]
xor dword [r12], eax
mov eax, dword [rsp + 0xd4]
xor dword [r15], eax
mov eax, dword [rsp + 0xd8]
xor dword [r14], eax
mov eax, dword [rsp + 0xdc]
xor dword [rdi], eax
jmp 0x5821af
movzx eax, byte [rbp]
mov rcx, qword [rsp + 0x3a0]
mov byte [rcx], al
jmp 0x5827f5
vmovdqu8 xmm3, xmmword [rbp]
vmovdqu8 xmmword [r10], xmm3
vmovdqu8 xmm4, xmmword [rbp + rdx - 0x10]
vmovdqu8 xmmword [r10 + rdx - 0x10], xmm4
jmp 0x5820a0
mov rax, qword [rbp]
mov qword [r10], rax
mov rax, qword [rbp + rdx - 8]
mov qword [r10 + rdx - 8], rax
jmp 0x5820a0
mov eax, dword [rbp]
mov dword [r10], eax
mov eax, dword [rbp + rdx - 4]
mov dword [r10 + rdx - 4], eax
jmp 0x5820a0
mov edx, dword [rsp + 0xc0]
xor dword [rbp], edx
cmp eax, 1
je 0x582321
mov edx, dword [rsp + 0xc4]
mov rdi, qword [rsp + 0x40]
xor dword [rdi], edx
cmp eax, 2
je 0x582321
mov edx, dword [rsp + 0xc8]
mov rdi, qword [rsp + 0x48]
xor dword [rdi], edx
cmp eax, 3
je 0x582321
mov edx, dword [rsp + 0xcc]
xor dword [r11], edx
cmp eax, 4
je 0x582321
mov edx, dword [rsp + 0xd0]
xor dword [r12], edx
cmp eax, 5
je 0x582321
mov edx, dword [rsp + 0xd4]
xor dword [r15], edx
cmp eax, 7
jne 0x582321
mov edx, dword [rsp + 0xd8]
xor dword [r14], edx
jmp 0x582321
mov r9d, r11d
mov rcx, rsi
mov r8, rdx
lea r9, [rsp + r9*4 + 0x204]
mov r10d, dword [r8]
add r8, 4
xor dword [rcx], r10d
add rcx, 4
cmp rcx, r9
jne 0x582a9b
jmp 0x58258e
movzx eax, word [rbp + rdx - 2]
mov word [r10 + rdx - 2], ax
jmp 0x5820a0
xor r10d, r10d
jmp 0x5823bd
lea r10, [r9 + 0x180]
mov qword [rsp + 0x30], r10
mov r11d, r14d
jmp 0x582658
mov edx, dword [rbp]
mov rcx, qword [rsp + 0x3a0]
mov dword [rcx], edx
mov edx, dword [rbp + rax - 4]
mov rcx, qword [rsp + 0x3a0]
mov dword [rcx + rax - 4], edx
jmp 0x5827f5
xor ecx, ecx
mov r10d, r15d
jmp 0x582526