Function at 0x7a76e0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rax, qword [rcx + 0x168]
mov rsi, qword [rcx + 0x178]
mov rdi, qword [rcx + 0x180]
mov r15, rcx
mov r14, r8
mov qword [rsp + 0x98], rdx
mov rdx, r9
mov qword [rsp + 0xa8], r9
mov r8, qword [rcx + 0x160]
xor ecx, ecx
movabs r9, 0xfffffffe0
add rdx, qword [r15 + 0x38]
mov qword [rsp + 0x38], rax
setb cl
cmp rdx, r9
ja 0x7a7d50
test rcx, rcx
jne 0x7a7d50
mov eax, dword [r15 + 0x174]
mov qword [r15 + 0x38], rdx
test eax, eax
je 0x7a7b55
cmp qword [rsp + 0xa8], 0
je 0x7a7cfe
movdqu xmm1, xmmword [r15 + 0x40]
mov eax, dword [r15 + 0xc]
mov dword [r15 + 0x174], 0
pxor xmm0, xmm0
bswap eax
mov dword [rsp + 0x24], 0x10
mov ecx, 1
mov dword [rsp + 0x20], eax
movups xmmword [r15 + 0x188], xmm1
movups xmmword [r15 + 0x40], xmm0
cmp qword [rsp + 0xa8], 0xf
jbe 0x7a7bf8
test cl, cl
je 0x7a7bf8
lea rdx, [r15 + 0x60]
lea rcx, [r15 + 0x40]
mov r9d, dword [rsp + 0x24]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rdx
lea r8, [r15 + 0x188]
mov qword [rsp + 0x30], rcx
call rax
cmp qword [rsp + 0xa8], 0xbff
jbe 0x7a7d1b
mov dword [rsp + 0x24], 0
lea rbp, [r15 + 0x10]
lea rbx, [r14 + 0xc00]
mov r9d, 0xc00
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
lea r13, [rbx - 0xc00]
mov r8, qword [rsp + 0x98]
mov rax, qword [rsp + 0x38]
call rax
mov r12d, dword [rsp + 0x20]
mov r14, qword [rsp + 0x98]
nop
add r12d, 1
mov r8, rdi
mov rdx, rbp
mov rcx, r15
call rsi
mov eax, r12d
add r13, 0x10
add r14, 0x10
bswap eax
mov dword [r15 + 0xc], eax
mov rax, qword [r14 - 0x10]
xor rax, qword [r15 + 0x10]
mov qword [r13 - 0x10], rax
mov rax, qword [r14 - 8]
xor rax, qword [r15 + 0x18]
mov qword [r13 - 8], rax
cmp r13, rbx
jne 0x7a7840
add dword [rsp + 0x20], 0xc0
lea rbx, [r13 + 0xc00]
add qword [rsp + 0x98], 0xc00
sub qword [rsp + 0xa8], 0xc00
cmp qword [rsp + 0xa8], 0xbff
ja 0x7a780b
mov r14, r13
mov r9, qword [rsp + 0xa8]
and r9, 0xfffffffffffffff0
jne 0x7a7c32
cmp qword [rsp + 0xa8], 0
je 0x7a7b37
lea rdx, [r15 + 0x10]
mov r8, rdi
mov rcx, r15
call rsi
mov edx, dword [rsp + 0x20]
mov rbx, qword [rsp + 0x98]
mov r8d, dword [rsp + 0x24]
add edx, 1
bswap edx
mov dword [r15 + 0xc], edx
movzx edx, byte [rbx]
mov rax, r8
lea ecx, [r8 + 1]
mov byte [r15 + r8 + 0x188], dl
mov r8, qword [rsp + 0xa8]
xor dl, byte [r15 + 0x10]
mov byte [r14], dl
sub r8, 1
je 0x7a7b2f
movzx edx, byte [rbx + 1]
mov r11d, ecx
lea r9d, [rax + 2]
mov byte [r15 + r11 + 0x188], dl
xor dl, byte [r15 + 0x11]
cmp qword [rsp + 0xa8], 2
mov byte [r14 + 1], dl
je 0x7a7b2f
movzx edx, byte [rbx + 2]
lea r11d, [rax + 3]
mov byte [r15 + r9 + 0x188], dl
xor dl, byte [r15 + 0x12]
cmp qword [rsp + 0xa8], 3
mov byte [r14 + 2], dl
je 0x7a7b2f
movzx edx, byte [rbx + 3]
lea r9d, [rax + 4]
mov byte [r15 + r11 + 0x188], dl
xor dl, byte [r15 + 0x13]
cmp qword [rsp + 0xa8], 4
mov byte [r14 + 3], dl
je 0x7a7b2f
movzx edx, byte [rbx + 4]
lea r11d, [rax + 5]
mov byte [r15 + r9 + 0x188], dl
xor dl, byte [r15 + 0x14]
cmp qword [rsp + 0xa8], 5
mov byte [r14 + 4], dl
je 0x7a7b2f
movzx edx, byte [rbx + 5]
lea r9d, [rax + 6]
mov byte [r15 + r11 + 0x188], dl
xor dl, byte [r15 + 0x15]
cmp qword [rsp + 0xa8], 6
mov byte [r14 + 5], dl
je 0x7a7b2f
movzx edx, byte [rbx + 6]
lea r11d, [rax + 7]
mov byte [r15 + r9 + 0x188], dl
xor dl, byte [r15 + 0x16]
cmp qword [rsp + 0xa8], 7
mov byte [r14 + 6], dl
je 0x7a7b2f
movzx edx, byte [rbx + 7]
lea r9d, [rax + 8]
mov byte [r15 + r11 + 0x188], dl
xor dl, byte [r15 + 0x17]
cmp qword [rsp + 0xa8], 8
mov byte [r14 + 7], dl
je 0x7a7b2f
movzx edx, byte [rbx + 8]
lea r11d, [rax + 9]
mov byte [r15 + r9 + 0x188], dl
xor dl, byte [r15 + 0x18]
cmp qword [rsp + 0xa8], 9
mov byte [r14 + 8], dl
je 0x7a7b2f
movzx edx, byte [rbx + 9]
lea r9d, [rax + 0xa]
mov byte [r15 + r11 + 0x188], dl
xor dl, byte [r15 + 0x19]
cmp qword [rsp + 0xa8], 0xa
mov byte [r14 + 9], dl
je 0x7a7b2f
movzx edx, byte [rbx + 0xa]
lea r11d, [rax + 0xb]
mov byte [r15 + r9 + 0x188], dl
xor dl, byte [r15 + 0x1a]
cmp qword [rsp + 0xa8], 0xb
mov byte [r14 + 0xa], dl
je 0x7a7b2f
movzx edx, byte [rbx + 0xb]
lea r9d, [rax + 0xc]
mov byte [r15 + r11 + 0x188], dl
xor dl, byte [r15 + 0x1b]
cmp qword [rsp + 0xa8], 0xc
mov byte [r14 + 0xb], dl
je 0x7a7b2f
movzx edx, byte [rbx + 0xc]
lea r11d, [rax + 0xd]
mov byte [r15 + r9 + 0x188], dl
xor dl, byte [r15 + 0x1c]
cmp qword [rsp + 0xa8], 0xd
mov byte [r14 + 0xc], dl
je 0x7a7b2f
movzx edx, byte [rbx + 0xd]
add eax, 0xe
mov r9d, eax
mov byte [r15 + r11 + 0x188], dl
xor dl, byte [r15 + 0x1d]
cmp qword [rsp + 0xa8], 0xe
mov byte [r14 + 0xd], dl
je 0x7a7b2f
movzx edx, byte [rbx + 0xe]
mov byte [r15 + r9 + 0x188], dl
xor dl, byte [r15 + 0x1e]
mov byte [r14 + 0xe], dl
lea eax, [rcx + r8]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov dword [r15 + 0x170], eax
xor eax, eax
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov edx, dword [r15 + 0x170]
mov eax, dword [r15 + 0xc]
bswap eax
mov dword [rsp + 0x20], eax
mov eax, edx
and eax, 0xf
je 0x7a7d39
cmp qword [rsp + 0xa8], 0
je 0x7a7c21
mov r8, qword [rsp + 0x98]
mov r10, qword [rsp + 0xa8]
jmp 0x7a7b97
test r10, r10
je 0x7a7bca
add r8, 1
lea r9d, [rdx + 1]
add r14, 1
sub r10, 1
movzx ecx, byte [r8 - 1]
mov byte [r15 + rdx + 0x188], cl
mov edx, eax
add eax, 1
xor cl, byte [r15 + rdx + 0x10]
mov edx, r9d
mov byte [r14 - 1], cl
and eax, 0xf
jne 0x7a7b92
mov dword [rsp + 0x24], eax
mov qword [rsp + 0x98], r8
mov qword [rsp + 0xa8], r10
test eax, eax
jne 0x7a7c24
lea rdx, [r15 + 0x60]
lea rcx, [r15 + 0x40]
mov rax, qword [rsp + 0x38]
lea r8, [r15 + 0x188]
call rax
cmp qword [rsp + 0xa8], 0xbff
jbe 0x7a78b9
lea rax, [r15 + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [r15 + 0x40]
mov qword [rsp + 0x30], rax
jmp 0x7a7800
mov r9d, edx
mov dword [r15 + 0x170], r9d
xor eax, eax
jmp 0x7a7b44
lea rax, [r15 + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [r15 + 0x40]
mov qword [rsp + 0x30], rax
mov rcx, rax
mov rax, qword [rsp + 0x38]
mov r8, qword [rsp + 0x98]
mov r12, r14
mov rdx, qword [rsp + 0x28]
call rax
lea rax, [r15 + 0x10]
mov r11d, dword [rsp + 0x20]
mov rbp, qword [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xa8]
add r11d, 1
lea rbx, [rax - 0x10]
mov r13d, r11d
shr rbx, 4
lea eax, [r11 + rbx]
mov dword [rsp + 0x20], eax
jmp 0x7a7c99
add r13d, 1
mov r8, rdi
mov rdx, qword [rsp + 0x28]
mov rcx, r15
add r12, 0x10
call rsi
mov eax, r13d
add rbp, 0x10
bswap eax
mov dword [r15 + 0xc], eax
mov rax, qword [rbp - 0x10]
xor rax, qword [r15 + 0x10]
mov qword [r12 - 0x10], rax
mov rax, qword [rbp - 8]
xor rax, qword [r15 + 0x18]
mov qword [r12 - 8], rax
cmp r13d, dword [rsp + 0x20]
jne 0x7a7c95
lea rdx, [rbx + 1]
mov dword [rsp + 0x20], r13d
and qword [rsp + 0xa8], 0xf
shl rdx, 4
add r14, rdx
add qword [rsp + 0x98], rdx
jmp 0x7a78cb
lea rdx, [r15 + 0x60]
lea rcx, [r15 + 0x40]
call r8
xor eax, eax
mov dword [r15 + 0x174], 0
jmp 0x7a7b44
mov r9, qword [rsp + 0xa8]
mov dword [rsp + 0x24], 0
mov rcx, qword [rsp + 0x30]
and r9, 0xfffffffffffffff0
jmp 0x7a7c47
test edx, edx
mov dword [rsp + 0x24], edx
setne cl
jmp 0x7a77aa
mov eax, 0xffffffff
jmp 0x7a7b44