Function at 0x1800570b0
Capabilities:
Encode data using xor

Disassembly:
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
cmp qword [0x180070668], 0
je 0x1800570ea
cmp qword [0x180070670], 0
je 0x1800570ea
cmp qword [0x180070678], 0
je 0x1800570ea
cmp qword [0x180070680], 0
jne 0x180057b5c
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x180057b5c
mov eax, dword [0x180070770]
xor r9d, r9d
mov qword [rsp + 0x190], rbx
xor r8d, r8d
xor ebx, ebx
xor edx, edx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], eax
call fcn.180062f80
mov qword [rbp + 0x40], rax
test eax, eax
jns 0x180057b54
movzx ecx, word [0x180069cf0]
lea rax, [rsp + 0x53]
movaps xmm0, xmmword [0x180069cb0]
mov r10d, 1
movaps xmm1, xmmword [0x180069cc0]
sub r10, rax
mov word [rbp - 0x6d], cx
lea rax, [rsp + 0x53]
mov qword [rsp + 0x178], rsi
lea rcx, [rsp + 0x53]
mov qword [rsp + 0x170], rdi
mov r11d, 2
sub r11, rax
mov qword [rsp + 0x168], r12
mov qword [rsp + 0x160], r13
lea rax, [rsp + 0x53]
mov qword [rsp + 0x158], r14
mov edi, 3
sub rdi, rax
mov qword [rsp + 0x150], r15
lea rax, [rsp + 0x53]
mov esi, 4
sub rsi, rax
mov r14d, 5
lea rax, [rsp + 0x53]
mov r15d, 6
sub r14, rax
mov r12d, 7
lea rax, [rsp + 0x53]
mov r13d, 8
sub r15, rax
lea rax, [rsp + 0x53]
sub r12, rax
lea rax, [rsp + 0x53]
sub r13, rax
mov eax, 9
sub rax, rcx
lea rcx, [rsp + 0x53]
mov qword [rbp + 0x98], rax
mov eax, 0xa
sub rax, rcx
lea rcx, [rsp + 0x53]
mov qword [rbp + 0xa0], rax
mov eax, 0xb
sub rax, rcx
lea rcx, [rsp + 0x53]
mov qword [rbp + 0xa8], rax
mov eax, 0xc
sub rax, rcx
lea rcx, [rsp + 0x53]
mov qword [rbp - 0x68], rax
mov eax, 0xd
sub rax, rcx
lea rcx, [rsp + 0x53]
mov qword [rbp - 0x60], rax
mov eax, 0xe
sub rax, rcx
lea rcx, [rsp + 0x53]
mov qword [rbp - 0x58], rax
mov eax, 0xf
sub rax, rcx
lea rcx, [rsp + 0x53]
mov qword [rbp - 0x50], rax
mov eax, 0x10
sub rax, rcx
lea rcx, [rsp + 0x53]
mov qword [rbp - 0x48], rax
mov eax, 0x11
sub rax, rcx
lea rcx, [rsp + 0x53]
mov qword [rbp - 0x40], rax
mov eax, 0x12
sub rax, rcx
lea rcx, [rsp + 0x53]
movups xmmword [rsp + 0x53], xmm0
mov qword [rbp - 0x38], rax
movaps xmm0, xmmword [0x180069cd0]
movups xmmword [rsp + 0x63], xmm1
movaps xmm1, xmmword [0x180069ce0]
movups xmmword [rsp + 0x73], xmm0
movups xmmword [rbp - 0x7d], xmm1
mov r9, qword [rbp + 0x98]
mov eax, 0x13
sub rax, rcx
lea rcx, [rsp + 0x53]
mov qword [rbp - 0x30], rax
mov eax, 0x14
sub rax, rcx
lea rcx, [rsp + 0x53]
mov qword [rbp - 0x28], rax
mov eax, 0x15
sub rax, rcx
lea rcx, [rsp + 0x53]
mov qword [rbp - 0x20], rax
mov eax, 0x16
sub rax, rcx
lea rcx, [rsp + 0x53]
mov qword [rbp - 0x18], rax
mov eax, 0x17
sub rax, rcx
lea rcx, [rsp + 0x53]
mov qword [rbp - 0x10], rax
mov eax, 0x18
sub rax, rcx
lea rcx, [rsp + 0x53]
mov qword [rbp - 8], rax
mov eax, 0x19
sub rax, rcx
lea rcx, [rsp + 0x53]
mov qword [rbp], rax
mov eax, 0x1a
sub rax, rcx
lea rcx, [rsp + 0x53]
mov qword [rbp + 8], rax
mov eax, 0x1b
sub rax, rcx
lea rcx, [rsp + 0x53]
mov qword [rbp + 0x10], rax
mov eax, 0x1c
sub rax, rcx
lea rcx, [rsp + 0x53]
mov qword [rbp + 0x18], rax
mov eax, 0x1d
sub rax, rcx
lea rcx, [rsp + 0x53]
mov qword [rbp + 0x20], rax
mov eax, 0x1e
sub rax, rcx
lea rcx, [rsp + 0x53]
mov qword [rbp + 0x28], rax
mov eax, 0x1f
sub rax, rcx
lea rcx, [rsp + 0x53]
mov qword [rbp + 0x30], rax
mov eax, 0x20
sub rax, rcx
mov qword [rbp + 0x38], rax
movabs rax, 0x4e5e0a72f0539783
nop dword [rax]
nop word [rax + rax]
mul rbx
mov rax, rbx
lea r8, [rsp + 0x53]
sub rax, rdx
add r8, rbx
shr rax, 1
add rax, rdx
shr rax, 5
movsx eax, al
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
lea rcx, [r8 + r10]
add al, 0x31
xor byte [r8], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
lea rcx, [r8 + r11]
add al, 0x32
xor byte [r8 + 1], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
lea rcx, [r8 + rdi]
add al, 0x33
xor byte [r8 + 2], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
lea rcx, [r8 + rsi]
add al, 0x34
xor byte [r8 + 3], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
lea rcx, [r8 + r14]
add al, 0x35
xor byte [r8 + 4], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
lea rcx, [r8 + r15]
add al, 0x36
xor byte [r8 + 5], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
lea rcx, [r8 + r12]
add al, 0x37
xor byte [r8 + 6], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
lea rcx, [r8 + r13]
add al, 0x38
xor byte [r8 + 7], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
lea rcx, [r8 + r9]
add al, 0x39
xor byte [r8 + 8], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
mov rcx, qword [rbp + 0xa0]
add al, 0x3a
add rcx, r8
xor byte [r8 + 9], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
mov rcx, qword [rbp + 0xa8]
add al, 0x3b
add rcx, r8
xor byte [r8 + 0xa], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
mov rcx, qword [rbp - 0x68]
add al, 0x3c
xor byte [r8 + 0xb], al
movabs rax, 0x4e5e0a72f0539783
add rcx, r8
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
mov rcx, qword [rbp - 0x60]
add rcx, r8
add al, 0x3d
xor byte [r8 + 0xc], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
mov rcx, qword [rbp - 0x58]
add rcx, r8
add al, 0x3e
xor byte [r8 + 0xd], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
mov rcx, qword [rbp - 0x50]
add rcx, r8
add al, 0x3f
xor byte [r8 + 0xe], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
mov rcx, qword [rbp - 0x48]
add al, 0x40
add rcx, r8
xor byte [r8 + 0xf], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
mov rcx, qword [rbp - 0x40]
add al, 0x41
add rcx, r8
xor byte [r8 + 0x10], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
add al, 0x42
xor byte [r8 + 0x11], al
mov rcx, qword [rbp - 0x38]
movabs rax, 0x4e5e0a72f0539783
add rcx, r8
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
mov rcx, qword [rbp - 0x30]
add rcx, r8
add al, 0x43
xor byte [r8 + 0x12], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
mov rcx, qword [rbp - 0x28]
add rcx, r8
add al, 0x44
xor byte [r8 + 0x13], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
mov rcx, qword [rbp - 0x20]
add rcx, r8
add al, 0x45
xor byte [r8 + 0x14], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
mov rcx, qword [rbp - 0x18]
add rcx, r8
add al, 0x46
xor byte [r8 + 0x15], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
mov rcx, qword [rbp - 0x10]
add al, 0x47
add rcx, r8
xor byte [r8 + 0x16], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
mov rcx, qword [rbp - 8]
add rcx, r8
add al, 0x48
xor byte [r8 + 0x17], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
mov rcx, qword [rbp]
add rcx, r8
add al, 0x49
xor byte [r8 + 0x18], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
mov rcx, qword [rbp + 8]
add rcx, r8
add al, 0x4a
xor byte [r8 + 0x19], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
mov rcx, qword [rbp + 0x10]
add rcx, r8
add al, 0x4b
xor byte [r8 + 0x1a], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
mov rcx, qword [rbp + 0x18]
add rcx, r8
add al, 0x4c
xor byte [r8 + 0x1b], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
mov rcx, qword [rbp + 0x20]
add rcx, r8
add al, 0x4d
xor byte [r8 + 0x1c], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
mov rcx, qword [rbp + 0x28]
add al, 0x4e
add rcx, r8
xor byte [r8 + 0x1d], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
mov rcx, qword [rbp + 0x30]
add al, 0x4f
add rcx, r8
xor byte [r8 + 0x1e], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
mov rcx, qword [rbp + 0x38]
add al, 0x50
add rcx, r8
xor byte [r8 + 0x1f], al
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, bl
add rbx, 0x21
sub al, cl
add al, 0x51
xor byte [r8 + 0x20], al
movabs rax, 0x4e5e0a72f0539783
cmp rbx, 0x42
jb 0x1800573c0
movzx ecx, word [0x180069ca8]
movups xmm1, xmmword [0x180069c98]
movzx edx, byte [0x180069caa]
movups xmm0, xmmword [0x180069c88]
mov r8, qword [rbp + 0x40]
xor dl, 0x53
movups xmmword [rsp + 0x40], xmm1
xor byte [rsp + 0x41], 0x42
xor byte [rsp + 0x42], 0x43
xor byte [rsp + 0x43], 0x44
xor byte [rsp + 0x44], 0x45
xor byte [rsp + 0x45], 0x46
xor byte [rsp + 0x46], 0x47
xor byte [rsp + 0x47], 0x48
xor byte [rsp + 0x48], 0x49
xor byte [rsp + 0x49], 0x4a
xor byte [rsp + 0x4a], 0x4b
xor byte [rsp + 0x4b], 0x4c
xor byte [rsp + 0x4c], 0x4d
xor byte [rsp + 0x4d], 0x4e
xor byte [rsp + 0x4e], 0x4f
xor byte [rsp + 0x4f], 0x50
movups xmmword [rsp + 0x30], xmm0
xor byte [rsp + 0x31], 0x32
xor byte [rsp + 0x32], 0x33
xor byte [rsp + 0x33], 0x34
xor byte [rsp + 0x34], 0x35
xor byte [rsp + 0x35], 0x36
xor byte [rsp + 0x36], 0x37
xor byte [rsp + 0x37], 0x38
xor byte [rsp + 0x38], 0x39
xor byte [rsp + 0x39], 0x3a
xor byte [rsp + 0x3a], 0x3b
xor byte [rsp + 0x3b], 0x3c
xor byte [rsp + 0x3c], 0x3d
xor byte [rsp + 0x3d], 0x3e
xor byte [rsp + 0x3e], 0x3f
xor byte [rsp + 0x3f], 0x40
mov word [rsp + 0x50], cx
xor cl, 0x51
xor byte [rsp + 0x51], 0x52
movd eax, xmm1
mov byte [rsp + 0x50], cl
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x52], dl
lea rdx, [rsp + 0x53]
xor al, 0x41
mov byte [rsp + 0x30], 0x25
mov byte [rsp + 0x40], al
call fcn.180001140
mov r15, qword [rsp + 0x150]
mov r14, qword [rsp + 0x158]
mov r13, qword [rsp + 0x160]
mov r12, qword [rsp + 0x168]
mov rdi, qword [rsp + 0x170]
mov rsi, qword [rsp + 0x178]
mov rbx, qword [rsp + 0x190]
add rsp, 0x180
pop rbp
ret