Function at 0x644510
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, [0x007779a0]
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, [0x00777a00]
lea r9, [0x0077aa00]
lea r8, [0x0077a200]
lea rcx, [0x00779a00]
nop word [rax + rax]
mov rax, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x80]
shr rax, 0x38
mov rbx, rax
movzx r11d, dil
lea rax, [0x0077b200]
mov r11, qword [rax + r11*8]
mov r13, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x18]
xor r11, qword [r10 + rbx*8]
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
xor r11, qword [rsi]
mov rsi, r13
shr rsi, 0x10
movzx ebx, bh
mov r15d, r12d
xor r11, qword [r9 + rbx*8]
shr r15d, 0x18
movzx ebx, sil
mov rsi, rbp
xor r11, qword [r8 + rbx*8]
shr rsi, 0x20
mov ebx, r15d
xor r11, qword [rcx + rbx*8]
movzx ebx, sil
mov rsi, qword [rsp + 0x40]
lea r14, [0x00779200]
mov r15, qword [rsp + 0x58]
shr rsi, 0x28
xor r11, qword [r14 + rbx*8]
lea rdx, [0x00778a00]
movzx ebx, sil
xor r11, qword [rdx + rbx*8]
mov rbx, r15
shr rbx, 0x30
lea rdx, [0x00778200]
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]
shr r15, 0x38
mov rsi, r15
mov r15, rax
mov rax, rdi
xor r11, qword [r10 + rsi*8]
movzx esi, ah
mov rax, qword [rsp + 8]
xor r11, qword [r9 + rsi*8]
mov rsi, rax
shr rsi, 0x10
movzx esi, sil
xor r11, qword [r8 + rsi*8]
mov esi, r13d
shr esi, 0x18
xor r11, qword [rcx + rsi*8]
mov rsi, r12
shr rsi, 0x20
movzx esi, sil
xor r11, qword [r14 + rsi*8]
mov rsi, rbp
shr rsi, 0x28
movzx esi, sil
lea rbp, [0x00778a00]
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 rsi, qword [rsp + 0x58]
mov qword [rsp + 0x68], r11
movzx r11d, sil
mov r11, qword [r15 + r11*8]
shr rbp, 0x38
xor r11, qword [r10 + rbp*8]
movzx ebp, bh
xor r11, qword [r9 + rbp*8]
mov rbp, rdi
shr rbp, 0x10
movzx ebp, bpl
xor r11, qword [r8 + rbp*8]
shr eax, 0x18
mov ebp, eax
mov rax, r13
shr rax, 0x20
xor r11, qword [rcx + rbp*8]
movzx ebp, al
xor r11, qword [r14 + rbp*8]
mov rbp, r12
shr rbp, 0x28
movzx ebp, bpl
lea rax, [0x00778a00]
xor r11, qword [rax + rbp*8]
mov rax, qword [rsp + 0x10]
mov rbp, rax
shr rbp, 0x30
movzx ebp, bpl
mov r12, qword [rdx + rbp*8]
mov rbp, qword [rsp + 0x40]
xor r12, r11
movzx r11d, bpl
mov r11, qword [r15 + r11*8]
mov qword [rsp + 0x58], r12
mov r12, rax
shr r12, 0x38
mov rax, rsi
xor r11, qword [r10 + r12*8]
movzx eax, ah
xor r11, qword [r9 + rax*8]
mov rax, rbx
shr rax, 0x10
movzx r12d, al
mov eax, edi
shr eax, 0x18
xor r11, qword [r8 + r12*8]
mov r12d, eax
xor r11, qword [rcx + r12*8]
mov r12, qword [rsp + 8]
lea rax, [0x00778a00]
shr r12, 0x20
movzx r12d, r12b
xor r11, qword [r14 + 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
mov rax, qword [rdx + r12*8]
mov r12, qword [rsp + 0x10]
xor rax, r11
movzx r11d, r12b
mov r11, qword [r15 + r11*8]
mov qword [rsp + 0x40], rax
mov rax, r13
shr rax, 0x38
xor r11, qword [r10 + rax*8]
mov r13, rsi
mov rax, rbp
movzx eax, ah
shr r13, 0x10
xor r11, qword [r9 + rax*8]
movzx r13d, r13b
xor r11, qword [r8 + r13*8]
mov r13d, ebx
shr r13d, 0x18
xor r11, qword [rcx + r13*8]
mov r13, rdi
shr r13, 0x20
movzx r13d, r13b
xor r11, qword [r14 + r13*8]
mov r13, qword [rsp + 8]
lea rax, [0x00778a00]
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 [r15 + r11*8]
shr rax, 0x38
xor r11, qword [r10 + rax*8]
mov qword [rsp + 0x10], r14
mov rax, r12
mov r14, rbp
movzx eax, ah
shr r14, 0x10
xor r11, qword [r9 + rax*8]
movzx r14d, r14b
xor r11, qword [r8 + r14*8]
mov r14d, esi
shr r14d, 0x18
xor r11, qword [rcx + r14*8]
mov r14, rbx
shr r14, 0x20
movzx r14d, r14b
lea rax, [0x00779200]
xor r11, qword [rax + r14*8]
mov r14, rdi
mov r15, qword [rsp + 8]
shr r14, 0x28
movzx r14d, r14b
lea rax, [0x00778a00]
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
lea rax, [0x0077b200]
movzx r11d, r14b
mov r11, qword [rax + r11*8]
shr r15, 0x38
xor r11, qword [r10 + r15*8]
mov rax, r13
mov r15, r12
movzx eax, ah
shr r15, 0x10
xor r11, qword [r9 + rax*8]
movzx r15d, r15b
xor r11, qword [r8 + r15*8]
mov r15d, ebp
shr r15d, 0x18
xor r11, qword [rcx + r15*8]
mov r15, rsi
shr r15, 0x20
movzx r15d, r15b
lea rax, [0x00779200]
xor r11, qword [rax + r15*8]
mov r15, rbx
shr r15, 0x28
movzx r15d, r15b
lea rax, [0x00778a00]
xor r11, qword [rax + r15*8]
mov r15, rdi
shr r15, 0x30
movzx r15d, r15b
mov rax, qword [rdx + r15*8]
lea r15, [0x0077b200]
xor rax, r11
movzx r11d, byte [rsp + 8]
shr rdi, 0x38
mov r11, qword [r15 + r11*8]
mov qword [rsp + 0x20], rax
mov rax, r14
xor r11, qword [r10 + rdi*8]
movzx eax, ah
shr r13, 0x10
xor r11, qword [r9 + rax*8]
movzx r13d, r13b
xor r11, qword [r8 + r13*8]
shr r12d, 0x18
shr rbp, 0x20
shr rbx, 0x30
lea r14, [0x00779200]
xor r11, qword [rcx + r12*8]
movzx ebp, bpl
shr rsi, 0x28
movzx ebx, bl
xor r11, qword [r14 + rbp*8]
mov rdi, qword [rdx + rbx*8]
movzx esi, sil
lea rax, [0x00778a00]
xor r11, qword [rax + rsi*8]
xor rdi, r11
mov qword [rsp + 8], rdi
mov rdi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x78]
movzx r11d, dil
mov r11, qword [r15 + r11*8]
mov r13, qword [rsp + 0x38]
shr rbx, 0x38
mov rbp, qword [rsp + 0x30]
xor r11, qword [r10 + rbx*8]
mov rbx, qword [rsp + 0x50]
mov rsi, r13
mov rax, r15
shr rsi, 0x10
movzx ebx, bh
mov r15d, ebp
xor r11, qword [r9 + rbx*8]
shr r15d, 0x18
movzx ebx, sil
mov rsi, qword [rsp + 0x28]
xor r11, qword [r8 + rbx*8]
mov ebx, r15d
mov r15, qword [rsp + 0x48]
shr rsi, 0x20
xor r11, qword [rcx + rbx*8]
mov r12, qword [rsp + 0x60]
movzx ebx, sil
shr r15, 0x28
xor r11, qword [r14 + rbx*8]
lea rsi, [0x00778a00]
movzx ebx, r15b
xor r11, qword [rsi + rbx*8]
mov rbx, r12
shr rbx, 0x30
movzx ebx, bl
xor r11, qword [rdx + rbx*8]
mov r15, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
xor r15, r11
movzx r11d, bl
mov r11, qword [rax + r11*8]
mov qword [rsp + 0x88], r15
mov r15, rax
mov rax, rdi
shr r12, 0x38
movzx esi, ah
mov rax, qword [rsp + 0x50]
xor r11, qword [r10 + r12*8]
xor r11, qword [r9 + rsi*8]
mov rsi, rax
shr rsi, 0x10
movzx esi, sil
xor r11, qword [r8 + rsi*8]
mov esi, r13d
shr esi, 0x18
xor r11, qword [rcx + rsi*8]
mov rsi, rbp
mov r12, rbp
shr rsi, 0x20
mov rbp, qword [rsp + 0x28]
movzx esi, sil
xor r11, qword [r14 + rsi*8]
shr rbp, 0x28
movzx esi, bpl
lea rbp, [0x00778a00]
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 [r15 + r11*8]
xor r11, qword [r10 + rbp*8]
movzx ebp, bh
xor r11, qword [r9 + rbp*8]
mov rbp, rdi
shr rbp, 0x10
movzx ebp, bpl
xor r11, qword [r8 + rbp*8]
mov ebp, eax
mov rax, r13
shr ebp, 0x18
shr rax, 0x20
xor r11, qword [rcx + rbp*8]
movzx ebp, al
xor r11, qword [r14 + rbp*8]
mov rbp, r12
shr rbp, 0x28
movzx ebp, bpl
lea rax, [0x00778a00]
xor r11, qword [rax + rbp*8]
mov rax, qword [rsp + 0x28]
lea r12, [0x00778200]
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]
xor r12, r11
movzx r11d, bpl
mov r11, qword [r15 + r11*8]
mov qword [rsp + 0x60], r12
mov r12, rax
shr r12, 0x38
xor r11, qword [r10 + r12*8]
mov rax, rsi
mov r12, rbx
movzx eax, ah
shr r12, 0x10
xor r11, qword [r9 + rax*8]
movzx r12d, r12b
xor r11, qword [r8 + r12*8]
mov r12d, edi
shr r12d, 0x18
xor r11, qword [rcx + r12*8]
mov r12, rdx
shr r12, 0x20
movzx r12d, r12b
xor r11, qword [r14 + r12*8]
mov r12, r13
shr r12, 0x28
mov r13, qword [rsp + 0x30]
movzx r12d, r12b
lea rax, [0x00778a00]
xor r11, qword [rax + r12*8]
mov r12, r13
shr r12, 0x30
movzx r12d, r12b
lea rax, [0x00778200]
xor r11, qword [rax + r12*8]
mov r12, qword [rsp + 0x40]
mov rax, r13
xor r12, r11
mov qword [rsp + 0x48], r12
mov r12, qword [rsp + 0x28]
shr rax, 0x38
movzx r11d, r12b
mov r11, qword [r15 + r11*8]
mov r13, rsi
xor r11, qword [r10 + rax*8]
mov rax, rbp
movzx eax, ah
shr r13, 0x10
xor r11, qword [r9 + rax*8]
movzx r13d, r13b
xor r11, qword [r8 + r13*8]
mov r13d, ebx
shr r13d, 0x18
xor r11, qword [rcx + r13*8]
mov r13, rdi
shr r13, 0x20
movzx r13d, r13b
xor r11, qword [r14 + r13*8]
mov r13, rdx
shr r13, 0x28
movzx r13d, r13b
lea rax, [0x00778a00]
xor r11, qword [rax + r13*8]
mov rax, qword [rsp + 0x38]
lea r14, [0x00778200]
mov r13, rax
shr r13, 0x30
movzx r13d, r13b
xor r11, qword [r14 + r13*8]
mov r13, qword [rsp + 0x30]
mov r14, qword [rsp + 0x10]
shr rax, 0x38
xor r14, r11
movzx r11d, r13b
mov r11, qword [r15 + r11*8]
mov qword [rsp + 0x28], r14
xor r11, qword [r10 + rax*8]
mov r14, rbp
mov rax, r12
movzx eax, ah
shr r14, 0x10
xor r11, qword [r9 + rax*8]
movzx r14d, r14b
xor r11, qword [r8 + r14*8]
mov r14d, esi
shr r14d, 0x18
xor r11, qword [rcx + r14*8]
mov r14, rbx
shr r14, 0x20
movzx r14d, r14b
lea rax, [0x00779200]
xor r11, qword [rax + r14*8]
mov r14, rdi
shr r14, 0x28
movzx r14d, r14b
lea rax, [0x00778a00]
xor r11, qword [rax + r14*8]
mov r14, rdx
shr r14, 0x30
movzx r14d, r14b
lea rax, [0x00778200]
xor r11, qword [rax + r14*8]
mov r14, qword [rsp + 0x18]
lea rax, [0x0077b200]
xor r14, r11
mov qword [rsp + 0x30], r14
mov r14, qword [rsp + 0x38]
mov r15, rdx
movzx r11d, r14b
mov r11, qword [rax + r11*8]
shr r15, 0x38
mov rax, r13
xor r11, qword [r10 + r15*8]
movzx eax, ah
mov r15, r12
xor r11, qword [r9 + rax*8]
shr r15, 0x10
movzx r15d, r15b
xor r11, qword [r8 + r15*8]
mov r15d, ebp
shr r15d, 0x18
xor r11, qword [rcx + r15*8]
mov r15, rsi
shr r15, 0x20
movzx r15d, r15b
lea rax, [0x00779200]
xor r11, qword [rax + r15*8]
mov r15, rbx
shr r15, 0x28
movzx r15d, r15b
lea rax, [0x00778a00]
xor r11, qword [rax + r15*8]
mov r15, rdi
shr r15, 0x30
movzx r15d, r15b
lea rax, [0x00778200]
xor r11, qword [rax + r15*8]
mov r15, qword [rsp + 0x20]
lea rax, [0x0077b200]
xor r15, r11
movzx r11d, byte [rsp + 0x50]
shr rdi, 0x38
mov r11, qword [rax + r11*8]
mov rax, r14
xor r11, qword [r10 + rdi*8]
movzx eax, ah
shr r13, 0x10
xor r11, qword [r9 + rax*8]
movzx r13d, r13b
xor r11, qword [r8 + r13*8]
shr r12d, 0x18
shr rbp, 0x20
lea rax, [0x00779200]
xor r11, qword [rcx + r12*8]
movzx ebp, bpl
mov qword [rsp + 0x38], r15
xor r11, qword [rax + rbp*8]
add qword [rsp + 0x70], 8
shr rsi, 0x28
movzx esi, sil
lea rax, [0x00778a00]
shr rbx, 0x30
xor r11, qword [rax + rsi*8]
movzx ebx, bl
lea rax, [0x00778200]
xor r11, qword [rax + rbx*8]
mov rsi, qword [rsp + 0x70]
xor r11, qword [rsp + 8]
lea rax, [0x007779f0]
mov qword [rsp + 0x50], r11
cmp rax, rsi
jne 0x644658
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, 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