Function at 0x52c040
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xd8
mov rax, qword [rdx]
mov qword [rsp + 0x120], rcx
mov rcx, rdx
mov r8, qword [rcx + 0x28]
mov r9, qword [rcx + 0x30]
mov qword [rsp + 0x128], rdx
mov r10, qword [rcx + 0x38]
mov rdi, qword [rcx + 0x10]
mov qword [rsp + 0x80], rax
mov rbx, qword [rcx + 0x18]
mov rsi, qword [rcx + 0x20]
mov qword [rsp + 0xb0], r8
mov rcx, qword [rsp + 0x120]
mov rdx, qword [rdx + 8]
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0xa0], rbx
mov r14, rcx
xor rax, qword [rcx]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xb8], r9
xor rcx, rdx
mov qword [rsp + 0xc0], r10
mov qword [rsp + 0x78], rcx
mov rcx, rdi
xor rdi, qword [r14 + 0x10]
mov qword [rsp + 0x60], rdi
mov rdi, rbx
xor rbx, qword [r14 + 0x18]
mov qword [rsp + 0x48], rbx
mov rbx, rsi
xor rsi, qword [r14 + 0x20]
mov qword [rsp + 0x28], rsi
mov rsi, qword [r14 + 0x28]
mov qword [rsp + 0x90], rdx
xor rsi, r8
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0x30], rsi
mov rsi, qword [r14 + 0x30]
xor rsi, r9
mov qword [rsp + 0x38], rsi
mov rsi, qword [r14 + 0x38]
mov qword [rsp + 0x10], rbx
xor rsi, r10
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], rsi
lea rsi, [0x0060ae80]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x88], rax
mov qword [rsp + 8], r10
lea r10, [0x0060dee0]
mov qword [rsp + 0x20], r9
lea r9, [0x0060d6e0]
mov qword [rsp + 0x18], r8
lea r8, [0x0060cee0]
mov qword [rsp + 0x58], rcx
lea rcx, [0x0060c6e0]
nop word [rax + rax]
mov rax, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x80]
lea r14, [0x0060aee0]
lea rdx, [0x0060bee0]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x70]
shr rax, 0x38
movzx r11d, dil
mov r12, qword [rsp + 0x18]
mov r13, qword [rsp + 0x58]
mov rbx, rax
lea rax, [0x0060e6e0]
mov r11, qword [rax + r11*8]
xor r11, qword [r14 + rbx*8]
mov r15d, r12d
mov rbx, qword [rsp + 8]
xor r11, qword [rsi]
mov rsi, rbp
shr r15d, 0x18
shr rsi, 0x10
movzx ebx, bh
xor r11, qword [r10 + rbx*8]
movzx ebx, sil
mov rsi, qword [rsp + 0x10]
xor r11, qword [r9 + rbx*8]
mov ebx, r15d
mov r15, qword [rsp + 0x40]
shr rsi, 0x20
xor r11, qword [r8 + rbx*8]
shr r15, 0x28
movzx ebx, sil
xor r11, qword [rcx + rbx*8]
movzx ebx, r15b
mov r15, rax
xor r11, qword [rdx + rbx*8]
mov rbx, r13
lea rdx, [0x0060b6e0]
shr r13, 0x38
shr rbx, 0x30
movzx ebx, bl
xor r11, qword [rdx + rbx*8]
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x80], r11
movzx r11d, bl
mov r11, qword [rax + r11*8]
mov rax, rdi
xor r11, qword [r14 + r13*8]
mov r13, rbp
movzx esi, ah
mov rax, qword [rsp + 8]
shr ebp, 0x18
xor r11, qword [r10 + rsi*8]
mov rsi, rax
shr rsi, 0x10
movzx esi, sil
xor r11, qword [r9 + rsi*8]
mov esi, ebp
mov rbp, qword [rsp + 0x10]
xor r11, qword [r8 + rsi*8]
mov rsi, r12
shr rsi, 0x20
shr rbp, 0x28
movzx esi, sil
xor r11, qword [rcx + rsi*8]
movzx esi, bpl
lea rbp, [0x0060bee0]
xor r11, qword [rbp + rsi*8]
mov rbp, qword [rsp + 0x40]
mov rsi, rbp
shr rbp, 0x38
shr rsi, 0x30
movzx esi, sil
xor r11, qword [rdx + rsi*8]
mov qword [rsp + 0x68], r11
mov rsi, qword [rsp + 0x58]
movzx r11d, sil
mov r11, qword [r15 + r11*8]
xor r11, qword [r14 + rbp*8]
movzx ebp, bh
xor r11, qword [r10 + rbp*8]
mov rbp, rdi
shr rbp, 0x10
movzx ebp, bpl
xor r11, qword [r9 + rbp*8]
shr eax, 0x18
mov ebp, eax
lea rax, [0x0060bee0]
xor r11, qword [r8 + rbp*8]
mov rbp, r13
shr rbp, 0x20
movzx ebp, bpl
xor r11, qword [rcx + rbp*8]
mov rbp, r12
shr rbp, 0x28
movzx ebp, bpl
xor r11, qword [rax + rbp*8]
mov rax, qword [rsp + 0x10]
mov rbp, rax
shr rax, 0x38
shr rbp, 0x30
movzx ebp, bpl
mov r12, qword [rdx + rbp*8]
mov rbp, qword [rsp + 0x40]
xor r12, r11
movzx r11d, bpl
mov qword [rsp + 0x58], r12
mov r12, rbx
mov r11, qword [r15 + r11*8]
shr r12, 0x10
xor r11, qword [r14 + rax*8]
mov rax, rsi
movzx eax, ah
movzx r12d, r12b
xor r11, qword [r10 + rax*8]
xor r11, qword [r9 + r12*8]
mov r12d, edi
shr r12d, 0x18
lea rax, [0x0060bee0]
xor r11, qword [r8 + r12*8]
mov r12, qword [rsp + 8]
shr r12, 0x20
movzx r12d, r12b
xor r11, qword [rcx + r12*8]
mov r12, r13
mov r13, qword [rsp + 0x18]
shr r12, 0x28
movzx r12d, r12b
xor r11, qword [rax + r12*8]
mov r12, r13
shr r12, 0x30
movzx r12d, r12b
mov rax, qword [rdx + r12*8]
mov r12, qword [rsp + 0x10]
xor rax, r11
movzx r11d, r12b
mov qword [rsp + 0x40], rax
mov rax, r13
mov r11, qword [r15 + r11*8]
shr rax, 0x38
xor r11, qword [r14 + rax*8]
mov r14, rsi
mov rax, rbp
shr r14, 0x10
movzx eax, ah
movzx r13d, r14b
mov r14d, ebx
xor r11, qword [r10 + rax*8]
shr r14d, 0x18
xor r11, qword [r9 + r13*8]
lea rax, [0x0060bee0]
mov r13d, r14d
mov r14, rdi
shr r14, 0x20
xor r11, qword [r8 + r13*8]
movzx r13d, r14b
xor r11, qword [rcx + r13*8]
mov r13, qword [rsp + 8]
shr r13, 0x28
movzx r13d, r13b
xor r11, qword [rax + r13*8]
mov rax, qword [rsp + 0x20]
mov r13, rax
shr r13, 0x30
shr rax, 0x38
movzx r13d, r13b
mov r14, qword [rdx + r13*8]
mov r13, qword [rsp + 0x18]
xor r14, r11
movzx r11d, r13b
mov qword [rsp + 0x10], r14
mov r14, rax
lea rax, [0x0060aee0]
mov r11, qword [r15 + r11*8]
xor r11, qword [rax + r14*8]
mov r14, rbp
mov rax, r12
mov r15, qword [rsp + 8]
shr r14, 0x10
movzx eax, ah
movzx r14d, r14b
xor r11, qword [r10 + rax*8]
lea rax, [0x0060bee0]
xor r11, qword [r9 + r14*8]
mov r14d, esi
shr r14d, 0x18
xor r11, qword [r8 + r14*8]
mov r14, rbx
shr r14, 0x20
movzx r14d, r14b
xor r11, qword [rcx + r14*8]
mov r14, rdi
shr r14, 0x28
movzx r14d, r14b
xor r11, qword [rax + r14*8]
mov r14, r15
lea rax, [0x0060e6e0]
shr r15, 0x38
shr r14, 0x30
movzx r14d, r14b
xor r11, qword [rdx + r14*8]
mov r14, qword [rsp + 0x20]
mov qword [rsp + 0x18], r11
movzx r11d, r14b
mov r11, qword [rax + r11*8]
lea rax, [0x0060aee0]
xor r11, qword [rax + r15*8]
mov r15, r12
mov rax, r13
shr r13, 0x10
shr r15, 0x10
movzx eax, ah
movzx r13d, r13b
movzx r15d, r15b
xor r11, qword [r10 + rax*8]
lea rax, [0x0060bee0]
xor r11, qword [r9 + r15*8]
mov r15d, ebp
shr r15d, 0x18
xor r11, qword [r8 + r15*8]
mov r15, rsi
shr r15, 0x20
movzx r15d, r15b
xor r11, qword [rcx + r15*8]
mov r15, rbx
shr r15, 0x28
movzx r15d, r15b
xor r11, qword [rax + r15*8]
mov r15, rdi
shr rdi, 0x38
shr r15, 0x30
movzx r15d, r15b
mov rax, qword [rdx + r15*8]
lea r15, [0x0060e6e0]
xor rax, r11
movzx r11d, byte [rsp + 8]
mov qword [rsp + 0x20], rax
lea rax, [0x0060aee0]
mov r11, qword [r15 + r11*8]
xor r11, qword [rax + rdi*8]
mov rax, r14
lea r14, [0x0060aee0]
movzx eax, ah
xor r11, qword [r10 + rax*8]
xor r11, qword [r9 + r13*8]
shr rbp, 0x20
lea rax, [0x0060bee0]
shr rsi, 0x28
shr rbx, 0x30
movzx ebp, bpl
shr r12d, 0x18
movzx esi, sil
movzx ebx, bl
xor r11, qword [r8 + r12*8]
xor r11, qword [rcx + rbp*8]
xor r11, qword [rax + rsi*8]
mov rdi, qword [rdx + rbx*8]
mov rax, r15
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x38]
xor rdi, r11
mov r12, qword [rsp + 0x30]
mov r13, qword [rsp + 0x60]
mov qword [rsp + 8], rdi
mov rdi, qword [rsp + 0x88]
shr rbx, 0x38
mov rsi, rbp
shr rsi, 0x10
movzx r11d, dil
mov r11, qword [r15 + r11*8]
xor r11, qword [r14 + rbx*8]
mov r15d, r12d
mov rbx, qword [rsp + 0x50]
shr r15d, 0x18
movzx ebx, bh
xor r11, qword [r10 + rbx*8]
movzx ebx, sil
mov rsi, qword [rsp + 0x28]
xor r11, qword [r9 + rbx*8]
mov ebx, r15d
mov r15, qword [rsp + 0x48]
shr rsi, 0x20
xor r11, qword [r8 + rbx*8]
shr r15, 0x28
movzx ebx, sil
lea rsi, [0x0060bee0]
xor r11, qword [rcx + rbx*8]
movzx ebx, r15b
mov r15, qword [rsp + 0x80]
xor r11, qword [rsi + rbx*8]
mov rbx, r13
shr r13, 0x38
shr rbx, 0x30
movzx ebx, bl
xor r11, qword [rdx + rbx*8]
mov rbx, qword [rsp + 0x78]
xor r15, r11
movzx r11d, bl
mov qword [rsp + 0x88], r15
mov r15, rax
mov r11, qword [rax + r11*8]
mov rax, rdi
xor r11, qword [r14 + r13*8]
mov r13, rbp
movzx esi, ah
mov rax, qword [rsp + 0x50]
shr ebp, 0x18
xor r11, qword [r10 + rsi*8]
mov rsi, rax
shr rsi, 0x10
movzx esi, sil
xor r11, qword [r9 + rsi*8]
mov esi, ebp
mov rbp, qword [rsp + 0x28]
xor r11, qword [r8 + rsi*8]
mov rsi, r12
shr rsi, 0x20
movzx esi, sil
xor r11, qword [rcx + rsi*8]
shr rbp, 0x28
movzx esi, bpl
lea rbp, [0x0060bee0]
xor r11, qword [rbp + rsi*8]
mov rbp, qword [rsp + 0x48]
mov rsi, rbp
shr rbp, 0x38
shr rsi, 0x30
movzx esi, sil
xor r11, qword [rdx + rsi*8]
mov rsi, qword [rsp + 0x68]
mov rdx, rax
xor rsi, r11
mov qword [rsp + 0x78], rsi
mov rsi, qword [rsp + 0x60]
movzx r11d, sil
mov r11, qword [r15 + r11*8]
xor r11, qword [r14 + rbp*8]
movzx ebp, bh
xor r11, qword [r10 + rbp*8]
mov rbp, rdi
shr rbp, 0x10
movzx ebp, bpl
xor r11, qword [r9 + rbp*8]
mov ebp, eax
lea rax, [0x0060bee0]
shr ebp, 0x18
xor r11, qword [r8 + rbp*8]
mov rbp, r13
shr rbp, 0x20
movzx ebp, bpl
xor r11, qword [rcx + rbp*8]
mov rbp, r12
lea r12, [0x0060b6e0]
shr rbp, 0x28
movzx ebp, bpl
xor r11, qword [rax + rbp*8]
mov rax, qword [rsp + 0x28]
mov rbp, rax
shr rax, 0x38
shr rbp, 0x30
movzx ebp, bpl
xor r11, qword [r12 + rbp*8]
mov r12, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
xor r12, r11
mov qword [rsp + 0x60], r12
movzx r11d, bpl
mov r12, rbx
mov r11, qword [r15 + r11*8]
shr r12, 0x10
xor r11, qword [r14 + rax*8]
mov rax, rsi
movzx eax, ah
movzx r12d, r12b
xor r11, qword [r10 + rax*8]
xor r11, qword [r9 + r12*8]
mov r12d, edi
shr r12d, 0x18
lea rax, [0x0060bee0]
xor r11, qword [r8 + r12*8]
mov r12, rdx
shr r12, 0x20
movzx r12d, r12b
xor r11, qword [rcx + r12*8]
mov r12, r13
mov r13, qword [rsp + 0x30]
shr r12, 0x28
movzx r12d, r12b
xor r11, qword [rax + r12*8]
mov r12, r13
lea rax, [0x0060b6e0]
shr r12, 0x30
movzx r12d, r12b
xor r11, qword [rax + r12*8]
mov r12, qword [rsp + 0x40]
mov rax, r13
mov r13, rsi
xor r12, r11
shr rax, 0x38
mov qword [rsp + 0x48], r12
mov r12, qword [rsp + 0x28]
shr r13, 0x10
movzx r13d, r13b
movzx r11d, r12b
mov r11, qword [r15 + r11*8]
xor r11, qword [r14 + rax*8]
mov rax, rbp
lea r14, [0x0060b6e0]
movzx eax, ah
xor r11, qword [r10 + rax*8]
xor r11, qword [r9 + r13*8]
mov r13d, ebx
shr r13d, 0x18
lea rax, [0x0060bee0]
xor r11, qword [r8 + r13*8]
mov r13, rdi
shr r13, 0x20
movzx r13d, r13b
xor r11, qword [rcx + r13*8]
mov r13, rdx
shr r13, 0x28
movzx r13d, r13b
xor r11, qword [rax + r13*8]
mov rax, qword [rsp + 0x38]
mov r13, rax
shr rax, 0x38
shr r13, 0x30
movzx r13d, r13b
xor r11, qword [r14 + r13*8]
mov r14, qword [rsp + 0x10]
mov r13, qword [rsp + 0x30]
xor r14, r11
mov qword [rsp + 0x28], r14
movzx r11d, r13b
mov r14, rax
lea rax, [0x0060aee0]
mov r11, qword [r15 + r11*8]
xor r11, qword [rax + r14*8]
mov r14, rbp
mov rax, r12
shr r14, 0x10
movzx eax, ah
mov r15, rdx
movzx r14d, r14b
xor r11, qword [r10 + rax*8]
lea rax, [0x0060bee0]
shr r15, 0x38
xor r11, qword [r9 + r14*8]
mov r14d, esi
shr r14d, 0x18
xor r11, qword [r8 + r14*8]
mov r14, rbx
shr r14, 0x20
movzx r14d, r14b
xor r11, qword [rcx + r14*8]
mov r14, rdi
shr r14, 0x28
movzx r14d, r14b
xor r11, qword [rax + r14*8]
mov r14, rdx
lea rax, [0x0060b6e0]
shr r14, 0x30
movzx r14d, r14b
xor r11, qword [rax + r14*8]
mov r14, qword [rsp + 0x18]
lea rax, [0x0060e6e0]
xor r14, r11
mov qword [rsp + 0x30], r14
mov r14, qword [rsp + 0x38]
movzx r11d, r14b
mov r11, qword [rax + r11*8]
lea rax, [0x0060aee0]
xor r11, qword [rax + r15*8]
mov rax, r13
mov r15, r12
movzx eax, ah
xor r11, qword [r10 + rax*8]
shr r15, 0x10
lea rax, [0x0060bee0]
shr r13, 0x10
movzx r15d, r15b
shr r12d, 0x18
xor r11, qword [r9 + r15*8]
mov r15d, ebp
shr rbp, 0x20
movzx r13d, r13b
shr r15d, 0x18
movzx ebp, bpl
xor r11, qword [r8 + r15*8]
mov r15, rsi
shr rsi, 0x28
shr r15, 0x20
movzx esi, sil
movzx r15d, r15b
xor r11, qword [rcx + r15*8]
mov r15, rbx
shr rbx, 0x30
shr r15, 0x28
movzx ebx, bl
movzx r15d, r15b
xor r11, qword [rax + r15*8]
mov r15, rdi
lea rax, [0x0060b6e0]
shr rdi, 0x38
shr r15, 0x30
movzx r15d, r15b
xor r11, qword [rax + r15*8]
mov r15, qword [rsp + 0x20]
lea rax, [0x0060e6e0]
xor r15, r11
movzx r11d, byte [rsp + 0x50]
mov qword [rsp + 0x38], r15
mov r11, qword [rax + r11*8]
lea rax, [0x0060aee0]
xor r11, qword [rax + rdi*8]
mov rax, r14
movzx eax, ah
xor r11, qword [r10 + rax*8]
lea rax, [0x0060bee0]
xor r11, qword [r9 + r13*8]
add qword [rsp + 0x70], 8
xor r11, qword [r8 + r12*8]
xor r11, qword [rcx + rbp*8]
xor r11, qword [rax + rsi*8]
lea rax, [0x0060b6e0]
mov rsi, qword [rsp + 0x70]
xor r11, qword [rax + rbx*8]
lea rax, [0x0060aed0]
xor r11, qword [rsp + 8]
mov qword [rsp + 0x50], r11
cmp rax, rsi
jne 0x52c188
mov rax, qword [rsp + 0x128]
mov r11, qword [rsp + 0xc8]
xor r11, qword [rsp + 0x88]
mov qword [rax], r11
mov rax, qword [rsp + 0x120]
mov r11, qword [rsp + 0x90]
xor r11, qword [rax + 8]
mov rax, qword [rsp + 0x128]
xor r11, qword [rsp + 0x78]
mov qword [rax + 8], r11
mov rax, qword [rsp + 0x120]
mov r11, qword [rsp + 0x98]
xor r11, qword [rax + 0x10]
mov rax, qword [rsp + 0x128]
xor r11, qword [rsp + 0x60]
mov qword [rax + 0x10], r11
mov rax, qword [rsp + 0x120]
mov r11, qword [rsp + 0xa0]
xor r11, qword [rax + 0x18]
mov rax, qword [rsp + 0x128]
xor r11, qword [rsp + 0x48]
mov qword [rax + 0x18], r11
mov rax, qword [rsp + 0x120]
mov r11, qword [rsp + 0xa8]
xor r11, qword [rax + 0x20]
mov rax, qword [rsp + 0x128]
xor r11, qword [rsp + 0x28]
mov qword [rax + 0x20], r11
mov rax, qword [rsp + 0x120]
mov r11, qword [rsp + 0xb0]
xor r11, qword [rax + 0x28]
xor r11, qword [rsp + 0x30]
mov rax, qword [rsp + 0x128]
mov qword [rax + 0x28], r11
mov rax, qword [rsp + 0x120]
mov r11, qword [rsp + 0xb8]
xor r11, qword [rax + 0x30]
mov rax, qword [rsp + 0x128]
xor r11, r15
mov qword [rax + 0x30], r11
mov rax, qword [rsp + 0x120]
mov r11, qword [rsp + 0xc0]
xor r11, qword [rax + 0x38]
mov rax, qword [rsp + 0x128]
xor r11, qword [rsp + 0x50]
mov qword [rax + 0x38], r11
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret