Function at 0x36024
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2a0
mov rbx, rdx
xor r13d, r13d
mov r10, rcx
lea rcx, [rbx + 2]
mov r11d, r13d
lea rdx, [rsp + 0x20]
mov eax, r11d
inc r11d
shl eax, 3
movsxd r8, eax
movzx eax, byte [rcx - 1]
movzx r9d, byte [r8 + rbx]
shl r9, 8
or r9, rax
movzx eax, byte [rcx]
add rcx, 8
shl r9, 8
or r9, rax
movzx eax, byte [rcx - 7]
shl r9, 8
or r9, rax
movzx eax, byte [rcx - 6]
shl r9, 8
or r9, rax
movzx eax, byte [rcx - 5]
shl r9, 8
or r9, rax
movzx eax, byte [rcx - 4]
shl r9, 8
or r9, rax
movzx eax, byte [rcx - 3]
shl r9, 8
or r9, rax
mov qword [rdx], r9
add rdx, 8
cmp r11d, 0x10
jl 0x36050
movsxd rax, r11d
cmp rax, 0x50
jge 0x36124
mov r11d, 0x50
lea r9, [rsp + rax*8 + 0x10]
sub r11, rax
mov rcx, qword [r9]
mov rdx, qword [r9 - 0x68]
add r9, 8
mov r8, rcx
mov rax, rcx
shr rcx, 6
ror r8, 0x13
rol rax, 3
xor r8, rax
mov rax, rdx
xor r8, rcx
mov rcx, rdx
shr rdx, 7
ror rcx, 8
ror rax, 1
xor rcx, rax
xor rcx, rdx
add r8, rcx
add r8, qword [r9 - 0x78]
add r8, qword [r9 - 0x30]
sub r11, 1
mov qword [r9 + 8], r8
jne 0x360d5
mov r12, qword [r10 + 0x48]
mov r14, qword [r10 + 0x10]
mov r15, qword [r10 + 0x18]
mov r8, qword [r10 + 0x20]
mov r9, qword [r10 + 0x28]
mov r11, qword [r10 + 0x30]
mov rbx, qword [r10 + 0x38]
mov rdi, qword [r10 + 0x40]
mov rsi, r12
lea rbp, [0x0005ccd0]
movsxd rcx, r13d
inc r13d
mov rdx, r11
rol rdx, 0x17
mov rax, r11
ror rax, 0x12
xor rdx, rax
mov rax, r11
ror rax, 0xe
xor rdx, rax
mov rax, rdi
xor rax, rbx
and rax, r11
xor rax, rdi
add rdx, rax
mov rax, r14
add rdx, qword [rbp + rcx*8]
add rdx, qword [rsp + rcx*8 + 0x20]
mov rcx, r14
add rdx, rsi
mov rsi, r15
add r9, rdx
rol rcx, 0x1e
ror rax, 0x1c
xor rcx, rax
or rsi, r14
mov rax, r14
rol rax, 0x19
and rsi, r8
xor rcx, rax
mov rax, r15
and rax, r14
or rsi, rax
lea rax, [rdx + rcx]
movsxd rcx, r13d
add rsi, rax
inc r13d
mov rdx, r9
rol rdx, 0x17
mov rax, r9
ror rax, 0x12
xor rdx, rax
mov rax, r9
ror rax, 0xe
xor rdx, rax
mov rax, rbx
xor rax, r11
and rax, r9
xor rax, rbx
add rdx, rax
mov rax, rsi
add rdx, qword [rbp + rcx*8]
add rdx, qword [rsp + rcx*8 + 0x20]
mov rcx, rsi
add rdx, rdi
mov rdi, rsi
add r8, rdx
rol rcx, 0x1e
ror rax, 0x1c
xor rcx, rax
or rdi, r14
mov rax, rsi
rol rax, 0x19
and rdi, r15
xor rcx, rax
mov rax, rsi
and rax, r14
or rdi, rax
lea rax, [rdx + rcx]
mov rdx, r8
add rdi, rax
rol rdx, 0x17
mov rax, r8
ror rax, 0x12
movsxd rcx, r13d
xor rdx, rax
mov rax, r8
ror rax, 0xe
xor rdx, rax
mov rax, r11
xor rax, r9
and rax, r8
inc r13d
xor rax, r11
add rdx, rax
mov rax, rdi
add rdx, qword [rbp + rcx*8]
add rdx, qword [rsp + rcx*8 + 0x20]
mov rcx, rdi
add rdx, rbx
mov rbx, rsi
add r15, rdx
rol rcx, 0x1e
ror rax, 0x1c
xor rcx, rax
or rbx, rdi
mov rax, rdi
rol rax, 0x19
and rbx, r14
xor rcx, rax
mov rax, rsi
and rax, rdi
or rbx, rax
lea rax, [rdx + rcx]
movsxd rcx, r13d
add rbx, rax
inc r13d
mov rdx, r15
rol rdx, 0x17
mov rax, r15
ror rax, 0x12
xor rdx, rax
mov rax, r15
ror rax, 0xe
xor rdx, rax
mov rax, r9
xor rax, r8
and rax, r15
xor rax, r9
add rdx, rax
mov rax, rbx
add rdx, qword [rbp + rcx*8]
add rdx, qword [rsp + rcx*8 + 0x20]
mov rcx, rbx
add rdx, r11
mov r11, rdi
add r14, rdx
rol rcx, 0x1e
ror rax, 0x1c
xor rcx, rax
or r11, rbx
mov rax, rbx
rol rax, 0x19
and r11, rsi
xor rcx, rax
mov rax, rdi
and rax, rbx
or r11, rax
lea rax, [rdx + rcx]
movsxd rcx, r13d
add r11, rax
mov rdx, r14
mov rax, r14
rol rdx, 0x17
ror rax, 0x12
xor rdx, rax
mov rax, r14
ror rax, 0xe
xor rdx, rax
mov rax, r8
xor rax, r15
and rax, r14
xor rax, r8
add rdx, rax
mov rax, r11
add rdx, qword [rbp + rcx*8]
add rdx, qword [rsp + rcx*8 + 0x20]
mov rcx, r11
add rdx, r9
add rsi, rdx
rol rcx, 0x1e
ror rax, 0x1c
xor rcx, rax
inc r13d
mov r9, rbx
or r9, r11
mov rax, r11
rol rax, 0x19
and r9, rdi
xor rcx, rax
mov rax, rbx
and rax, r11
or r9, rax
lea rax, [rdx + rcx]
movsxd rcx, r13d
add r9, rax
inc r13d
mov rdx, rsi
rol rdx, 0x17
mov rax, rsi
ror rax, 0x12
xor rdx, rax
mov rax, rsi
ror rax, 0xe
xor rdx, rax
mov rax, r15
xor rax, r14
and rax, rsi
xor rax, r15
add rdx, rax
mov rax, r9
add rdx, qword [rbp + rcx*8]
add rdx, qword [rsp + rcx*8 + 0x20]
mov rcx, r9
add rdx, r8
mov r8, r11
add rdi, rdx
rol rcx, 0x1e
ror rax, 0x1c
xor rcx, rax
or r8, r9
mov rax, r9
rol rax, 0x19
and r8, rbx
xor rcx, rax
mov rax, r11
and rax, r9
or r8, rax
lea rax, [rdx + rcx]
movsxd rcx, r13d
add r8, rax
mov rdx, rdi
mov rax, rdi
rol rdx, 0x17
ror rax, 0x12
xor rdx, rax
mov rax, rdi
ror rax, 0xe
xor rdx, rax
mov rax, rsi
xor rax, r14
and rax, rdi
xor rax, r14
add rdx, rax
mov rax, r8
add rdx, qword [rbp + rcx*8]
add rdx, qword [rsp + rcx*8 + 0x20]
mov rcx, r8
add rdx, r15
mov r15, r9
add rbx, rdx
rol rcx, 0x1e
ror rax, 0x1c
xor rcx, rax
or r15, r8
mov rax, r8
rol rax, 0x19
and r15, r11
xor rcx, rax
mov rax, r9
and rax, r8
or r15, rax
lea rax, [rdx + rcx]
add r15, rax
inc r13d
mov rdx, rbx
rol rdx, 0x17
movsxd rcx, r13d
mov rax, rbx
ror rax, 0x12
inc r13d
xor rdx, rax
mov rax, rbx
ror rax, 0xe
xor rdx, rax
mov rax, rsi
xor rax, rdi
and rax, rbx
xor rax, rsi
add rdx, rax
mov rax, r15
add rdx, qword [rbp + rcx*8]
add rdx, qword [rsp + rcx*8 + 0x20]
mov rcx, r15
add rdx, r14
mov r14, r8
add r11, rdx
rol rcx, 0x1e
ror rax, 0x1c
xor rcx, rax
or r14, r15
mov rax, r15
rol rax, 0x19
and r14, r9
xor rcx, rax
mov rax, r8
and rax, r15
or r14, rax
lea rax, [rdx + rcx]
add r14, rax
cmp r13d, 0x50
jl 0x3614e
mov rax, qword [r10 + 0x10]
add rax, r14
mov qword [r10 + 0x10], rax
mov rax, qword [r10 + 0x18]
add rax, r15
mov qword [r10 + 0x18], rax
mov rax, r8
add rax, qword [r10 + 0x20]
mov qword [r10 + 0x20], rax
mov rax, r9
add rax, qword [r10 + 0x28]
mov qword [r10 + 0x28], rax
mov rax, r11
add rax, qword [r10 + 0x30]
mov qword [r10 + 0x30], rax
mov rax, rbx
mov rbx, qword [rsp + 0x2e8]
add rax, qword [r10 + 0x38]
mov qword [r10 + 0x38], rax
mov rax, rdi
add rax, qword [r10 + 0x40]
mov qword [r10 + 0x40], rax
mov rax, rsi
add rax, r12
mov qword [r10 + 0x48], rax
add rsp, 0x2a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret