Function at 0x5b8c30
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 r15, 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 [r15 + 0x10]
mov qword [rsp + 0x60], rdi
mov rdi, rbx
xor rbx, qword [r15 + 0x18]
mov qword [rsp + 0x48], rbx
mov rbx, rsi
xor rsi, qword [r15 + 0x20]
mov qword [rsp + 0x28], rsi
mov rsi, qword [r15 + 0x28]
mov qword [rsp + 0x90], rdx
xor rsi, r8
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0x30], rsi
mov rsi, qword [r15 + 0x30]
xor rsi, r9
mov qword [rsp + 0x38], rsi
mov rsi, qword [r15 + 0x38]
mov qword [rsp + 0x10], rbx
xor rsi, r10
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], rsi
lea rsi, [0x006c27e0]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x88], rax
mov qword [rsp + 8], r10
lea r10, [0x006c6040]
mov qword [rsp + 0x20], r9
lea r9, [0x006c2840]
mov qword [rsp + 0x18], r8
lea r8, [0x006c4840]
mov qword [rsp + 0x58], rcx
lea rcx, [0x006c4040]
nop word [rax + rax]
mov rdi, qword [rsp + 0x80]
mov rax, qword [rsp + 0x68]
lea r14, [0x006c5840]
lea r15, [0x006c5040]
mov rbp, qword [rsp + 0x20]
mov r12, qword [rsp + 0x18]
lea rdx, [0x006c3040]
shr rax, 0x38
movzx r11d, dil
mov rbx, qword [rsp + 8]
mov r13, qword [rsp + 0x40]
mov r11, qword [r10 + r11*8]
xor r11, qword [r9 + rax*8]
mov esi, r12d
mov rax, qword [rsp + 0x70]
shr esi, 0x18
movzx ebx, bh
shr r13, 0x28
xor r11, qword [rax]
mov rax, rbp
xor r11, qword [r14 + rbx*8]
shr rax, 0x10
movzx ebx, al
lea rax, [0x006c3840]
xor r11, qword [r15 + rbx*8]
mov ebx, esi
mov rsi, qword [rsp + 0x10]
xor r11, qword [r8 + rbx*8]
shr rsi, 0x20
movzx ebx, sil
mov rsi, qword [rsp + 0x58]
xor r11, qword [rcx + rbx*8]
movzx ebx, r13b
xor r11, qword [rax + rbx*8]
mov rbx, rsi
mov rax, rdi
mov r13, rsi
shr rbx, 0x30
movzx esi, ah
mov rax, qword [rsp + 8]
shr r13, 0x38
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 [r10 + r11*8]
xor r11, qword [r9 + r13*8]
mov r13, rbp
shr ebp, 0x18
xor r11, qword [r14 + rsi*8]
mov rsi, rax
shr rsi, 0x10
movzx esi, sil
xor r11, qword [r15 + 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, [0x006c3840]
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 [r10 + r11*8]
xor r11, qword [r9 + rbp*8]
movzx ebp, bh
xor r11, qword [r14 + rbp*8]
mov rbp, rdi
shr rbp, 0x10
movzx ebp, bpl
xor r11, qword [r15 + rbp*8]
mov ebp, eax
lea rax, [0x006c3840]
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
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 [r10 + r11*8]
shr r12, 0x10
xor r11, qword [r9 + rax*8]
mov rax, rsi
movzx eax, ah
movzx r12d, r12b
xor r11, qword [r14 + rax*8]
xor r11, qword [r15 + r12*8]
mov r15d, edi
shr r15d, 0x18
lea rax, [0x006c3840]
mov r12d, r15d
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
mov rax, r13
shr r12, 0x30
shr rax, 0x38
movzx r12d, r12b
mov r15, qword [rdx + r12*8]
mov r12, qword [rsp + 0x10]
xor r15, r11
movzx r11d, r12b
mov r11, qword [r10 + r11*8]
xor r11, qword [r9 + rax*8]
mov rax, rbp
mov qword [rsp + 0x40], r15
movzx eax, ah
mov r15, r14
xor r11, qword [r14 + rax*8]
mov r14, rsi
lea rax, [0x006c5040]
shr r14, 0x10
movzx r13d, r14b
mov r14d, ebx
shr r14d, 0x18
xor r11, qword [rax + r13*8]
lea rax, [0x006c3840]
mov r13d, r14d
mov r14, rdi
shr r14, 0x20
xor r11, qword [r8 + r13*8]
movzx r13d, r14b
mov r14, qword [rsp + 8]
xor r11, qword [rcx + r13*8]
shr r14, 0x28
movzx r13d, r14b
xor r11, qword [rax + r13*8]
mov r14, qword [rsp + 0x20]
mov r13, r14
shr r13, 0x30
shr r14, 0x38
movzx r13d, r13b
mov rax, qword [rdx + r13*8]
mov r13, qword [rsp + 0x18]
xor rax, r11
movzx r11d, r13b
mov qword [rsp + 0x10], rax
mov r11, qword [r10 + r11*8]
mov rax, r12
xor r11, qword [r9 + r14*8]
mov r14, rbp
movzx eax, ah
shr r14, 0x10
xor r11, qword [r15 + rax*8]
lea rax, [0x006c5040]
mov r15, qword [rsp + 8]
movzx r14d, r14b
xor r11, qword [rax + r14*8]
mov r14d, esi
lea rax, [0x006c3840]
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
mov rax, r13
shr r15, 0x38
shr r14, 0x30
movzx eax, ah
shr r13, 0x10
movzx r14d, r14b
movzx r13d, r13b
xor r11, qword [rdx + r14*8]
mov r14, qword [rsp + 0x20]
mov qword [rsp + 0x18], r11
movzx r11d, r14b
mov r11, qword [r10 + r11*8]
xor r11, qword [r9 + r15*8]
mov r15, rax
lea rax, [0x006c5840]
xor r11, qword [rax + r15*8]
mov r15, r12
lea rax, [0x006c5040]
shr r15, 0x10
movzx r15d, r15b
xor r11, qword [rax + r15*8]
mov r15d, ebp
lea rax, [0x006c3840]
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, [0x006c5840]
xor rax, r11
movzx r11d, byte [rsp + 8]
mov qword [rsp + 0x20], rax
mov rax, r14
lea r14, [0x006c5040]
movzx eax, ah
mov r11, qword [r10 + r11*8]
xor r11, qword [r9 + rdi*8]
xor r11, qword [r15 + rax*8]
xor r11, qword [r14 + r13*8]
shr rbp, 0x20
lea rax, [0x006c3840]
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 rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x38]
xor rdi, r11
mov r12, qword [rsp + 0x30]
mov r13, qword [rsp + 0x48]
mov qword [rsp + 8], rdi
mov rdi, qword [rsp + 0x88]
shr rbx, 0x38
mov rax, rbp
shr rax, 0x10
mov esi, r12d
shr r13, 0x28
movzx r11d, dil
shr esi, 0x18
mov r11, qword [r10 + r11*8]
xor r11, qword [r9 + rbx*8]
mov rbx, qword [rsp + 0x50]
movzx ebx, bh
xor r11, qword [r15 + rbx*8]
movzx ebx, al
lea rax, [0x006c3840]
xor r11, qword [r14 + rbx*8]
mov ebx, esi
mov rsi, qword [rsp + 0x28]
xor r11, qword [r8 + rbx*8]
shr rsi, 0x20
movzx ebx, sil
mov rsi, qword [rsp + 0x60]
xor r11, qword [rcx + rbx*8]
movzx ebx, r13b
mov r13, qword [rsp + 0x80]
xor r11, qword [rax + rbx*8]
mov rbx, rsi
mov rax, rdi
shr rbx, 0x30
movzx ebx, bl
xor r11, qword [rdx + rbx*8]
mov rbx, qword [rsp + 0x78]
xor r13, r11
mov qword [rsp + 0x88], r13
mov r13, rsi
movzx esi, ah
mov rax, qword [rsp + 0x50]
shr r13, 0x38
movzx r11d, bl
mov r11, qword [r10 + r11*8]
xor r11, qword [r9 + r13*8]
mov r13, rbp
shr ebp, 0x18
xor r11, qword [r15 + rsi*8]
mov rsi, rax
shr rsi, 0x10
movzx esi, sil
xor r11, qword [r14 + 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, [0x006c3840]
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 [r10 + r11*8]
xor r11, qword [r9 + rbp*8]
movzx ebp, bh
xor r11, qword [r15 + rbp*8]
mov rbp, rdi
shr rbp, 0x10
movzx ebp, bpl
xor r11, qword [r14 + rbp*8]
mov ebp, eax
lea rax, [0x006c3840]
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, [0x006c3040]
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 [r10 + r11*8]
shr r12, 0x10
xor r11, qword [r9 + rax*8]
mov rax, rsi
movzx eax, ah
movzx r12d, r12b
xor r11, qword [r15 + rax*8]
xor r11, qword [r14 + r12*8]
mov r12d, edi
shr r12d, 0x18
lea rax, [0x006c3840]
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, [0x006c3040]
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 [r10 + r11*8]
xor r11, qword [r9 + rax*8]
mov rax, rbp
movzx eax, ah
xor r11, qword [r15 + rax*8]
xor r11, qword [r14 + r13*8]
mov r14d, ebx
shr r14d, 0x18
lea rax, [0x006c3840]
mov r13d, r14d
mov r14, rdi
shr r14, 0x20
xor r11, qword [r8 + r13*8]
movzx r13d, r14b
lea r14, [0x006c3040]
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 r13, qword [rsp + 0x30]
mov r14, qword [rsp + 0x10]
xor r14, r11
movzx r11d, r13b
mov qword [rsp + 0x28], r14
mov r11, qword [r10 + r11*8]
mov r14, rbp
xor r11, qword [r9 + rax*8]
mov rax, r12
shr r14, 0x10
movzx eax, ah
movzx r14d, r14b
xor r11, qword [r15 + rax*8]
lea rax, [0x006c5040]
mov r15, rdx
xor r11, qword [rax + r14*8]
mov r14d, esi
lea rax, [0x006c3840]
shr r15, 0x38
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, [0x006c3040]
shr r14, 0x30
movzx r14d, r14b
xor r11, qword [rax + r14*8]
mov r14, qword [rsp + 0x18]
mov rax, r13
movzx eax, ah
xor r14, r11
mov qword [rsp + 0x30], r14
mov r14, qword [rsp + 0x38]
movzx r11d, r14b
mov r11, qword [r10 + r11*8]
xor r11, qword [r9 + r15*8]
mov r15, rax
lea rax, [0x006c5840]
xor r11, qword [rax + r15*8]
mov r15, r12
lea rax, [0x006c5040]
shr r15, 0x10
shr r13, 0x10
movzx r15d, r15b
movzx r13d, r13b
shr r12d, 0x18
xor r11, qword [rax + r15*8]
mov r15d, ebp
lea rax, [0x006c3840]
shr rbp, 0x20
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, [0x006c3040]
shr rdi, 0x38
shr r15, 0x30
movzx r15d, r15b
xor r11, qword [rax + r15*8]
mov r15, qword [rsp + 0x20]
mov rax, r14
movzx eax, ah
xor r15, r11
movzx r11d, byte [rsp + 0x50]
mov r14, rax
lea rax, [0x006c5840]
mov qword [rsp + 0x38], r15
mov r11, qword [r10 + r11*8]
xor r11, qword [r9 + rdi*8]
lea rdi, [0x006c2830]
xor r11, qword [rax + r14*8]
lea rax, [0x006c5040]
xor r11, qword [rax + r13*8]
lea rax, [0x006c3840]
xor r11, qword [r8 + r12*8]
xor r11, qword [rcx + rbp*8]
xor r11, qword [rax + rsi*8]
lea rax, [0x006c3040]
xor r11, qword [rax + rbx*8]
add qword [rsp + 0x70], 8
mov rax, qword [rsp + 0x70]
xor r11, qword [rsp + 8]
mov qword [rsp + 0x50], r11
cmp rdi, rax
jne 0x5b8d78
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