Function at 0x5828a0
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 qword [rsp + 0x128], rdx
mov r9, qword [rcx + 0x30]
mov qword [rsp + 0x80], rax
mov r10, qword [rcx + 0x38]
mov rdi, qword [rcx + 0x10]
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0xb0], r8
mov rsi, qword [rcx + 0x20]
mov qword [rsp + 0xb8], r9
mov rcx, qword [rsp + 0x120]
mov qword [rsp + 0xc0], r10
mov rdx, qword [rdx + 8]
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], rsi
mov r15, rcx
xor rax, qword [rcx]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0xc8], rax
xor rcx, rdx
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]
xor rsi, r8
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 + 8], r10
mov qword [rsp + 0x20], r9
lea r9, [0x00641760]
mov qword [rsp + 0x18], r8
lea r8, [0x00643760]
xor rsi, r10
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rsi
lea rsi, [0x00641700]
mov qword [rsp + 0x70], rsi
lea r10, [0x00644f60]
mov qword [rsp + 0x10], rbx
lea rcx, [0x00642f60]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x88], rax
nop word [rax + rax]
mov rdi, qword [rsp + 0x80]
lea r14, [0x00644760]
mov rax, qword [rsp + 0x68]
lea r15, [0x00643f60]
mov rbp, qword [rsp + 0x20]
lea rdx, [0x00641f60]
mov r12, qword [rsp + 0x18]
movzx r11d, dil
mov rbx, qword [rsp + 8]
shr rax, 0x38
mov r11, qword [r10 + r11*8]
xor r11, qword [r9 + rax*8]
mov rax, qword [rsp + 0x70]
mov esi, r12d
movzx ebx, bh
shr esi, 0x18
mov r13, qword [rsp + 0x40]
xor r11, qword [rax]
mov rax, rbp
shr rax, 0x10
xor r11, qword [r14 + rbx*8]
movzx ebx, al
shr r13, 0x28
xor r11, qword [r15 + rbx*8]
lea rax, [0x00642760]
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 rax, rdi
mov rbx, rsi
mov r13, rsi
movzx esi, ah
mov rax, qword [rsp + 8]
shr rbx, 0x30
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
movzx esi, sil
shr rbp, 0x28
xor r11, qword [rcx + rsi*8]
movzx esi, bpl
lea rbp, [0x00642760]
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
shr ebp, 0x18
xor r11, qword [r8 + rbp*8]
lea rax, [0x00642760]
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
mov qword [rsp + 0x58], 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 r12d, r12b
movzx eax, ah
xor r11, qword [r14 + rax*8]
lea rax, [0x00642760]
xor r11, qword [r15 + r12*8]
mov r15d, edi
shr r15d, 0x18
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 qword [rsp + 0x40], r15
mov r15, r14
mov r11, qword [r10 + r11*8]
xor r11, qword [r9 + rax*8]
mov rax, rbp
movzx eax, ah
xor r11, qword [r14 + rax*8]
lea rax, [0x00643f60]
mov r14, rsi
shr r14, 0x10
movzx r13d, r14b
mov r14d, ebx
shr r14d, 0x18
xor r11, qword [rax + r13*8]
mov r13d, r14d
mov r14, rdi
xor r11, qword [r8 + r13*8]
lea rax, [0x00642760]
shr r14, 0x20
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 rax, r12
mov r11, qword [r10 + r11*8]
movzx eax, ah
xor r11, qword [r9 + r14*8]
mov r14, rbp
shr r14, 0x10
xor r11, qword [r15 + rax*8]
movzx r14d, r14b
mov r15, qword [rsp + 8]
lea rax, [0x00643f60]
xor r11, qword [rax + r14*8]
lea rax, [0x00642760]
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
mov rax, r13
shr r15, 0x38
shr r14, 0x30
movzx eax, ah
movzx r14d, r14b
shr r13, 0x10
xor r11, qword [rdx + r14*8]
movzx r13d, r13b
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, [0x00644760]
xor r11, qword [rax + r15*8]
lea rax, [0x00643f60]
mov r15, r12
shr r15, 0x10
movzx r15d, r15b
xor r11, qword [rax + r15*8]
lea rax, [0x00642760]
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, [0x00644760]
xor rax, r11
movzx r11d, byte [rsp + 8]
mov qword [rsp + 0x20], rax
mov rax, r14
lea r14, [0x00643f60]
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
shr rsi, 0x28
movzx ebp, bpl
shr rbx, 0x30
shr r12d, 0x18
movzx esi, sil
lea rax, [0x00642760]
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]
mov r12, qword [rsp + 0x30]
xor rdi, r11
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 esi, 0x18
shr r13, 0x28
movzx r11d, dil
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
xor r11, qword [r14 + rbx*8]
mov ebx, esi
mov rsi, qword [rsp + 0x28]
xor r11, qword [r8 + rbx*8]
lea rax, [0x00642760]
shr rsi, 0x20
movzx ebx, sil
mov rsi, qword [rsp + 0x60]
xor r11, qword [rcx + rbx*8]
movzx ebx, r13b
xor r11, qword [rax + rbx*8]
mov rax, rdi
mov r13, qword [rsp + 0x80]
mov rbx, rsi
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, [0x00642760]
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 rdx, rax
mov rsi, qword [rsp + 0x68]
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
shr ebp, 0x18
xor r11, qword [r8 + rbp*8]
lea rax, [0x00642760]
mov rbp, r13
shr rbp, 0x20
movzx ebp, bpl
xor r11, qword [rcx + rbp*8]
mov rbp, r12
shr rbp, 0x28
lea r12, [0x00641f60]
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 r12d, r12b
movzx eax, ah
xor r11, qword [r15 + rax*8]
lea rax, [0x00642760]
xor r11, qword [r14 + r12*8]
mov r12d, edi
shr r12d, 0x18
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]
lea rax, [0x00641f60]
mov r12, r13
shr r12, 0x30
movzx r12d, r12b
xor r11, qword [rax + r12*8]
mov rax, r13
mov r13, rsi
mov r12, qword [rsp + 0x40]
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]
lea rax, [0x00642760]
xor r11, qword [r14 + r13*8]
mov r14d, ebx
shr r14d, 0x18
mov r13d, r14d
mov r14, rdi
shr r14, 0x20
xor r11, qword [r8 + r13*8]
movzx r13d, r14b
xor r11, qword [rcx + r13*8]
lea r14, [0x00641f60]
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 r11, qword [r10 + r11*8]
mov qword [rsp + 0x28], r14
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, [0x00643f60]
mov r15, rdx
xor r11, qword [rax + r14*8]
mov r14d, esi
shr r15, 0x38
shr r14d, 0x18
xor r11, qword [r8 + r14*8]
lea rax, [0x00642760]
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]
lea rax, [0x00641f60]
mov r14, rdx
shr r14, 0x30
movzx r14d, r14b
xor r11, qword [rax + r14*8]
mov rax, r13
mov r14, qword [rsp + 0x18]
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, [0x00644760]
xor r11, qword [rax + r15*8]
lea rax, [0x00643f60]
mov r15, r12
shr r15, 0x10
shr r13, 0x10
movzx r15d, r15b
shr r12d, 0x18
xor r11, qword [rax + r15*8]
mov r15d, ebp
movzx r13d, r13b
shr rbp, 0x20
shr r15d, 0x18
movzx ebp, bpl
xor r11, qword [r8 + r15*8]
lea rax, [0x00642760]
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]
lea rax, [0x00641f60]
mov r15, rdi
shr rdi, 0x38
shr r15, 0x30
movzx r15d, r15b
xor r11, qword [rax + r15*8]
mov rax, r14
mov r15, qword [rsp + 0x20]
movzx eax, ah
mov r14, rax
lea rax, [0x00644760]
xor r15, r11
movzx r11d, byte [rsp + 0x50]
mov qword [rsp + 0x38], r15
mov r11, qword [r10 + r11*8]
xor r11, qword [r9 + rdi*8]
lea rdi, [0x00641750]
xor r11, qword [rax + r14*8]
lea rax, [0x00643f60]
xor r11, qword [rax + r13*8]
lea rax, [0x00642760]
xor r11, qword [r8 + r12*8]
xor r11, qword [rcx + rbp*8]
xor r11, qword [rax + rsi*8]
add qword [rsp + 0x70], 8
lea rax, [0x00641f60]
xor r11, qword [rax + rbx*8]
mov rax, qword [rsp + 0x70]
xor r11, qword [rsp + 8]
mov qword [rsp + 0x50], r11
cmp rdi, rax
jne 0x5829e8
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