Function at 0x609ad0
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 qword [rsp + 0x120], rcx
mov rcx, rdx
mov r8, qword [rcx + 0x28]
mov r9, qword [rcx + 0x30]
mov r10, qword [rcx + 0x38]
mov rdi, qword [rcx + 0x10]
mov rbx, qword [rcx + 0x18]
mov rsi, qword [rcx + 0x20]
mov rax, qword [rdx]
mov rcx, qword [rsp + 0x120]
mov qword [rsp + 0x128], rdx
mov r14, rcx
mov rdx, qword [rdx + 8]
mov qword [rsp + 0x80], rax
xor rax, qword [rcx]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x98], rdi
xor rcx, rdx
mov qword [rsp + 0x78], rcx
mov rcx, rdi
xor rdi, qword [r14 + 0x10]
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0x60], rdi
mov rdi, rbx
xor rbx, qword [r14 + 0x18]
mov qword [rsp + 0xa8], rsi
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 + 0xb0], r8
xor rsi, r8
mov qword [rsp + 0x30], rsi
mov rsi, qword [r14 + 0x30]
mov qword [rsp + 0xb8], r9
xor rsi, r9
mov qword [rsp + 0xc0], r10
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0x38], rsi
mov rsi, qword [r14 + 0x38]
mov qword [rsp + 0x10], rbx
xor rsi, r10
mov qword [rsp + 0x50], rsi
lea rsi, [0x007908c0]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x88], rax
mov qword [rsp + 8], r10
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x58], rcx
lea r10, [0x00794120]
lea r9, [0x00790920]
lea r8, [0x00792920]
lea rcx, [0x00792120]
nop word [rax + rax]
mov rdi, qword [rsp + 0x80]
mov rax, qword [rsp + 0x68]
movzx r11d, dil
mov r11, qword [r10 + r11*8]
shr rax, 0x38
mov rbp, qword [rsp + 0x20]
xor r11, qword [r9 + rax*8]
mov rax, qword [rsp + 0x70]
mov r12, qword [rsp + 0x18]
mov rbx, qword [rsp + 8]
xor r11, qword [rax]
mov rax, rbp
lea r15, [0x00793920]
shr rax, 0x10
movzx ebx, bh
mov esi, r12d
lea r14, [0x00793120]
xor r11, qword [r15 + rbx*8]
shr esi, 0x18
movzx ebx, al
xor r11, qword [r14 + rbx*8]
mov ebx, esi
mov rsi, qword [rsp + 0x10]
mov r13, qword [rsp + 0x40]
shr rsi, 0x20
xor r11, qword [r8 + rbx*8]
shr r13, 0x28
movzx ebx, sil
mov rsi, qword [rsp + 0x58]
xor r11, qword [rcx + rbx*8]
lea rax, [0x00791920]
movzx ebx, r13b
xor r11, qword [rax + rbx*8]
mov rbx, rsi
shr rbx, 0x30
lea rdx, [0x00791120]
movzx ebx, bl
xor r11, qword [rdx + rbx*8]
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x80], r11
movzx r11d, bl
mov rax, rdi
mov r11, qword [r10 + r11*8]
mov r13, rsi
shr r13, 0x38
movzx esi, ah
mov rax, qword [rsp + 8]
xor r11, qword [r9 + r13*8]
xor r11, qword [r15 + rsi*8]
mov rsi, rax
shr rsi, 0x10
mov r13, rbp
movzx esi, sil
shr ebp, 0x18
xor r11, qword [r14 + rsi*8]
mov esi, ebp
xor r11, qword [r8 + rsi*8]
mov rbp, qword [rsp + 0x10]
mov rsi, r12
shr rsi, 0x20
shr rbp, 0x28
movzx esi, sil
xor r11, qword [rcx + rsi*8]
movzx esi, bpl
lea rbp, [0x00791920]
xor r11, qword [rbp + rsi*8]
mov rbp, qword [rsp + 0x40]
mov rsi, rbp
shr rsi, 0x30
movzx esi, sil
xor r11, qword [rdx + rsi*8]
mov qword [rsp + 0x68], r11
mov rsi, qword [rsp + 0x58]
shr rbp, 0x38
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]
mov rbp, r13
shr rbp, 0x20
movzx ebp, bpl
xor r11, qword [rcx + rbp*8]
mov rbp, r12
shr rbp, 0x28
movzx ebp, bpl
lea rax, [0x00791920]
xor r11, qword [rax + rbp*8]
mov rax, qword [rsp + 0x10]
mov r12, rbx
mov rbp, rax
shr rbp, 0x30
movzx ebp, bpl
xor r11, qword [rdx + rbp*8]
mov rbp, qword [rsp + 0x40]
mov qword [rsp + 0x58], r11
movzx r11d, bpl
mov r11, qword [r10 + r11*8]
shr rax, 0x38
xor r11, qword [r9 + rax*8]
mov rax, rsi
movzx eax, ah
shr r12, 0x10
xor r11, qword [r15 + rax*8]
movzx r12d, r12b
xor r11, qword [r14 + r12*8]
mov r12d, edi
shr r12d, 0x18
xor r11, qword [r8 + r12*8]
mov r12, qword [rsp + 8]
lea rax, [0x00791920]
shr r12, 0x20
movzx r12d, r12b
xor r11, qword [rcx + r12*8]
mov r12, r13
shr r12, 0x28
mov r13, qword [rsp + 0x18]
movzx r12d, r12b
xor r11, qword [rax + r12*8]
mov r12, r13
shr r12, 0x30
movzx r12d, r12b
xor r11, qword [rdx + r12*8]
mov r12, qword [rsp + 0x10]
mov qword [rsp + 0x40], r11
movzx r11d, r12b
mov r11, qword [r10 + r11*8]
mov rax, r13
shr rax, 0x38
xor r11, qword [r9 + rax*8]
mov r13, rsi
mov rax, rbp
movzx eax, ah
shr r13, 0x10
xor r11, qword [r15 + rax*8]
movzx r13d, r13b
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]
mov r13, qword [rsp + 8]
lea rax, [0x00791920]
shr r13, 0x28
movzx r13d, r13b
xor r11, qword [rax + r13*8]
mov rax, qword [rsp + 0x20]
mov r13, rax
shr r13, 0x30
movzx r13d, r13b
mov r14, qword [rdx + r13*8]
mov r13, qword [rsp + 0x18]
xor r14, r11
movzx r11d, r13b
mov r11, qword [r10 + r11*8]
shr rax, 0x38
xor r11, qword [r9 + rax*8]
mov qword [rsp + 0x10], r14
mov rax, r12
mov r14, rbp
movzx eax, ah
shr r14, 0x10
xor r11, qword [r15 + rax*8]
movzx r14d, r14b
lea rax, [0x00793120]
xor r11, qword [rax + 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
mov r15, qword [rsp + 8]
shr r14, 0x28
movzx r14d, r14b
lea rax, [0x00791920]
xor r11, qword [rax + r14*8]
mov r14, r15
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 [r10 + r11*8]
mov rax, r13
shr r15, 0x38
movzx eax, ah
xor r11, qword [r9 + r15*8]
mov r15, rax
lea rax, [0x00793920]
xor r11, qword [rax + r15*8]
mov r15, r12
shr r15, 0x10
movzx r15d, r15b
lea rax, [0x00793120]
xor r11, qword [rax + 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
lea rax, [0x00791920]
xor r11, qword [rax + r15*8]
mov r15, rdi
shr r15, 0x30
movzx r15d, r15b
xor r11, qword [rdx + r15*8]
mov qword [rsp + 0x20], r11
movzx r11d, byte [rsp + 8]
shr rdi, 0x38
mov r11, qword [r10 + r11*8]
mov rax, r14
lea r15, [0x00793920]
xor r11, qword [r9 + rdi*8]
movzx eax, ah
shr r13, 0x10
lea r14, [0x00793120]
xor r11, qword [r15 + rax*8]
movzx r13d, r13b
xor r11, qword [r14 + r13*8]
shr r12d, 0x18
shr rbp, 0x20
xor r11, qword [r8 + r12*8]
movzx ebp, bpl
shr rsi, 0x28
shr rbx, 0x30
xor r11, qword [rcx + rbp*8]
movzx esi, sil
lea rax, [0x00791920]
movzx ebx, bl
xor r11, qword [rax + rsi*8]
mov rdi, qword [rdx + rbx*8]
mov rbx, qword [rsp + 0x78]
xor rdi, r11
mov qword [rsp + 8], rdi
mov rdi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x38]
movzx r11d, dil
mov r11, qword [r10 + r11*8]
shr rbx, 0x38
mov r12, qword [rsp + 0x30]
xor r11, qword [r9 + rbx*8]
mov rbx, qword [rsp + 0x50]
mov rax, rbp
shr rax, 0x10
movzx ebx, bh
mov esi, r12d
xor r11, qword [r15 + rbx*8]
shr esi, 0x18
movzx ebx, al
xor r11, qword [r14 + rbx*8]
mov ebx, esi
mov rsi, qword [rsp + 0x28]
mov r13, qword [rsp + 0x48]
shr rsi, 0x20
xor r11, qword [r8 + rbx*8]
shr r13, 0x28
movzx ebx, sil
mov rsi, qword [rsp + 0x60]
xor r11, qword [rcx + rbx*8]
lea rax, [0x00791920]
movzx ebx, r13b
xor r11, qword [rax + rbx*8]
mov rbx, rsi
shr rbx, 0x30
movzx ebx, bl
xor r11, qword [rdx + rbx*8]
mov r13, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
xor r13, r11
movzx r11d, bl
mov rax, rdi
mov qword [rsp + 0x88], r13
mov r11, qword [r10 + r11*8]
mov r13, rsi
shr r13, 0x38
movzx esi, ah
mov rax, qword [rsp + 0x50]
xor r11, qword [r9 + r13*8]
xor r11, qword [r15 + rsi*8]
mov rsi, rax
shr rsi, 0x10
mov r13, rbp
movzx esi, sil
shr ebp, 0x18
xor r11, qword [r14 + rsi*8]
mov esi, ebp
xor r11, qword [r8 + rsi*8]
mov rsi, r12
mov rbp, qword [rsp + 0x28]
shr rsi, 0x20
movzx esi, sil
xor r11, qword [rcx + rsi*8]
shr rbp, 0x28
movzx esi, bpl
lea rbp, [0x00791920]
xor r11, qword [rbp + rsi*8]
mov rbp, qword [rsp + 0x48]
mov rsi, rbp
shr rsi, 0x30
movzx esi, sil
xor r11, qword [rdx + rsi*8]
mov rsi, qword [rsp + 0x68]
shr rbp, 0x38
xor rsi, r11
mov qword [rsp + 0x78], rsi
mov rsi, qword [rsp + 0x60]
mov rdx, rax
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]
mov rbp, r13
shr rbp, 0x20
movzx ebp, bpl
xor r11, qword [rcx + rbp*8]
mov rbp, r12
shr rbp, 0x28
movzx ebp, bpl
lea rax, [0x00791920]
xor r11, qword [rax + rbp*8]
mov rax, qword [rsp + 0x28]
lea r12, [0x00791120]
mov rbp, rax
shr rbp, 0x30
movzx ebp, bpl
xor r11, qword [r12 + rbp*8]
mov rbp, qword [rsp + 0x48]
mov r12, qword [rsp + 0x58]
shr rax, 0x38
xor r12, r11
movzx r11d, bpl
mov r11, qword [r10 + r11*8]
mov qword [rsp + 0x60], r12
xor r11, qword [r9 + rax*8]
mov r12, rbx
mov rax, rsi
movzx eax, ah
shr r12, 0x10
xor r11, qword [r15 + rax*8]
movzx r12d, r12b
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
shr r12, 0x28
mov r13, qword [rsp + 0x30]
movzx r12d, r12b
lea rax, [0x00791920]
xor r11, qword [rax + r12*8]
mov r12, r13
shr r12, 0x30
movzx r12d, r12b
lea rax, [0x00791120]
xor r11, qword [rax + r12*8]
mov r12, qword [rsp + 0x28]
xor r11, qword [rsp + 0x40]
mov qword [rsp + 0x48], r11
movzx r11d, r12b
mov r11, qword [r10 + r11*8]
mov rax, r13
shr rax, 0x38
xor r11, qword [r9 + rax*8]
mov r13, rsi
mov rax, rbp
movzx eax, ah
shr r13, 0x10
xor r11, qword [r15 + rax*8]
movzx r13d, r13b
xor r11, qword [r14 + r13*8]
mov r13d, ebx
shr r13d, 0x18
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
lea rax, [0x00791920]
xor r11, qword [rax + r13*8]
mov rax, qword [rsp + 0x38]
lea r14, [0x00791120]
mov r13, rax
shr r13, 0x30
movzx r13d, r13b
xor r11, qword [r14 + r13*8]
mov r13, qword [rsp + 0x30]
xor r11, qword [rsp + 0x10]
mov qword [rsp + 0x28], r11
movzx r11d, r13b
mov r11, qword [r10 + r11*8]
shr rax, 0x38
xor r11, qword [r9 + rax*8]
mov r14, rbp
mov rax, r12
movzx eax, ah
shr r14, 0x10
xor r11, qword [r15 + rax*8]
movzx r14d, r14b
lea rax, [0x00793120]
xor r11, qword [rax + 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
lea rax, [0x00791920]
xor r11, qword [rax + r14*8]
mov r14, rdx
shr r14, 0x30
movzx r14d, r14b
lea rax, [0x00791120]
xor r11, qword [rax + r14*8]
mov r14, qword [rsp + 0x38]
xor r11, qword [rsp + 0x18]
mov qword [rsp + 0x30], r11
movzx r11d, r14b
mov r11, qword [r10 + r11*8]
mov r15, rdx
mov rax, r13
shr r15, 0x38
movzx eax, ah
xor r11, qword [r9 + r15*8]
mov r15, rax
lea rax, [0x00793920]
xor r11, qword [rax + r15*8]
mov r15, r12
shr r15, 0x10
lea rax, [0x00793120]
movzx r15d, r15b
xor r11, qword [rax + 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
mov rdx, rax
movzx r15d, r15b
lea rax, [0x00791920]
xor r11, qword [rax + r15*8]
mov r15, rdi
shr r15, 0x30
lea rax, [0x00791120]
movzx r15d, r15b
xor r11, qword [rax + r15*8]
xor r11, qword [rsp + 0x20]
mov qword [rsp + 0x38], r11
movzx r11d, byte [rsp + 0x50]
mov rax, r14
mov r11, qword [r10 + r11*8]
shr rdi, 0x38
movzx eax, ah
xor r11, qword [r9 + rdi*8]
mov r14, rax
shr r13, 0x10
lea rax, [0x00793920]
xor r11, qword [rax + r14*8]
movzx r13d, r13b
xor r11, qword [rdx + r13*8]
shr r12d, 0x18
add qword [rsp + 0x70], 8
shr rbp, 0x20
xor r11, qword [r8 + r12*8]
movzx ebp, bpl
shr rsi, 0x28
lea rax, [0x00791920]
xor r11, qword [rcx + rbp*8]
movzx esi, sil
shr rbx, 0x30
xor r11, qword [rax + rsi*8]
movzx ebx, bl
lea rax, [0x00791120]
xor r11, qword [rax + rbx*8]
mov rax, qword [rsp + 0x70]
xor r11, qword [rsp + 8]
lea rdi, [0x00790910]
mov qword [rsp + 0x50], r11
cmp rdi, rax
jne 0x609c18
mov r11, qword [rsp + 0xc8]
mov rax, qword [rsp + 0x128]
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, qword [rsp + 0x38]
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