Function at 0x7ff910136560
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x7ff91020e040]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r15d, r15d
movzx r12d, r8b
cmp dword [rcx + 8], 1
lea rbx, [rdx + 0x20]
mov r13, rdx
mov qword [rbp - 0x18], rdx
mov r14, rcx
mov rsi, 0xffffffffffffffff
jl 0x7ff910136877
mov rdx, qword [rbx]
add rcx, 0x88
call fcn.7ff9101281c0
cmp eax, 2
je 0x7ff910136877
mov rdi, qword [r14]
mov rcx, rsi
mov qword [rbp - 0x50], rdx
inc rcx
cmp byte [rdx + rcx], r15b
jne 0x7ff9101365d0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.7ff91012a340
xorps xmm0, xmm0
mov dword [rbp - 0x30], 4
movups xmmword [rbp - 0x28], xmm0
mov dword [rbp - 0x28], eax
lea r8, [rbp - 0x30]
mov eax, eax
lea rdx, [rbp - 0x50]
mov rcx, rdi
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x50], 4
mov qword [rbp - 0x40], r15
call fcn.7ff91012a230
mov r15d, eax
test eax, eax
js 0x7ff910136927
mov rcx, rbx
cmp eax, 0x400
jge 0x7ff9101366d0
mov r13, qword [r14]
lea rdx, [rbp - 0x30]
xorps xmm0, xmm0
mov dword [rbp - 0x50], 5
movups xmmword [rbp - 0x48], xmm0
bts r15d, 0xa
mov dword [rbp - 0x30], 5
shl r15d, 0x14
lea rcx, [r13 + 0xc0]
mov eax, r15d
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x48], r15d
mov qword [rbp - 0x20], 0
call fcn.7ff91012ca50
test rax, rax
mov r8, rax
lea rdi, [rax + 0x18]
mov eax, 0
cmove rdi, rax
test rdi, rdi
je 0x7ff910136697
mov edi, dword [rdi]
jmp 0x7ff91013680a
mov rcx, qword [r13 + 0x60]
movabs rax, 0x2aaaaaaaaaaaaaab
sub rcx, qword [r13 + 0x58]
imul rcx
mov rdi, rdx
sar rdi, 2
mov rax, rdi
shr rax, 0x3f
add rdi, rax
cmp edi, 0x800000
jb 0x7ff91013679f
mov rcx, rbx
mov r13, qword [rbp - 0x18]
xor r15d, r15d
mov rbx, qword [rcx]
inc rsi
cmp byte [rbx + rsi], 0
jne 0x7ff9101366d6
mov rdi, qword [r14]
lea rdx, [rbp - 0x50]
mov rcx, rdi
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rsi
call fcn.7ff91012a340
xorps xmm0, xmm0
mov dword [rbp - 0x30], 4
movups xmmword [rbp - 0x28], xmm0
mov dword [rbp - 0x28], eax
lea r8, [rbp - 0x30]
mov eax, eax
lea rdx, [rbp - 0x50]
mov rcx, rdi
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x50], 4
mov qword [rbp - 0x40], r15
call fcn.7ff91012a230
mov r15d, eax
test eax, eax
js 0x7ff910136927
mov rdi, qword [r14]
mov rdx, rsi
test rsi, rsi
je 0x7ff91013676f
lea r8, [rbx - 1]
add r8, rdx
nop word [rax + rax]
mov ecx, esi
lea r8, [r8 - 1]
shl ecx, 5
mov eax, esi
shr eax, 2
add ecx, eax
movzx eax, byte [r8 + 1]
add ecx, eax
xor esi, ecx
sub rdx, 1
jne 0x7ff910136750
mov rdx, qword [rdi + 0x30]
movzx ecx, sil
shl ecx, 0x10
movzx eax, r12b
or ecx, eax
shl ecx, 8
or ecx, 7
mov dword [rbp - 0x18], ecx
cmp rdx, qword [rdi + 0x38]
je 0x7ff91013687f
mov dword [rdx], ecx
add qword [rdi + 0x30], 4
jmp 0x7ff91013688c
mov rax, qword [r13 + 0xc8]
lea rdx, [rax + rax*2]
shr rdx, 2
cmp qword [r13 + 0xd0], rdx
jb 0x7ff9101367c8
test r8, r8
jne 0x7ff9101367c8
lea rcx, [r13 + 0xc0]
call fcn.7ff91012d0c0
lea rdx, [rbp - 0x30]
lea rcx, [r13 + 0xc0]
call fcn.7ff91012cb20
mov dword [rax + 0x18], edi
mov rdx, qword [r13 + 0x60]
cmp rdx, qword [r13 + 0x68]
je 0x7ff9101367fd
movups xmm0, xmmword [rbp - 0x50]
movsd xmm1, qword [rbp - 0x40]
movups xmmword [rdx], xmm0
movsd qword [rdx + 0x10], xmm1
add qword [r13 + 0x60], 0x18
jmp 0x7ff91013680a
lea r8, [rbp - 0x50]
lea rcx, [r13 + 0x58]
call fcn.7ff9100e0650
mov rcx, rbx
test edi, edi
js 0x7ff9101366cc
cmp edi, 0x8000
jge 0x7ff9101366cc
mov rbx, qword [r14]
movzx ecx, di
shl ecx, 8
or ecx, r12d
mov rdx, qword [rbx + 0x30]
shl ecx, 8
or ecx, 0xc
mov dword [rbp - 0x18], ecx
cmp rdx, qword [rbx + 0x38]
je 0x7ff910136849
mov dword [rdx], ecx
add qword [rbx + 0x30], 4
jmp 0x7ff910136856
lea r8, [rbp - 0x18]
lea rcx, [rbx + 0x28]
call fcn.7ff9100c4e60
mov rdx, qword [rbx + 0x48]
lea rcx, [rbx + 0x40]
lea r8, [rbx + 0x1b8]
cmp rdx, qword [rbx + 0x50]
je 0x7ff9101368ad
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rbx + 0x48], 4
jmp 0x7ff9101368b2
mov rcx, rbx
jmp 0x7ff9101366d3
lea r8, [rbp - 0x18]
lea rcx, [rdi + 0x28]
call fcn.7ff9100c4e60
mov rdx, qword [rdi + 0x48]
lea rcx, [rdi + 0x40]
lea r8, [rdi + 0x1b8]
cmp rdx, qword [rdi + 0x50]
je 0x7ff9101368ad
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rdi + 0x48], 4
jmp 0x7ff9101368b2
call fcn.7ff9100c4e60
mov rbx, qword [r14]
mov dword [rbp - 0x18], r15d
mov rdx, qword [rbx + 0x30]
lea rcx, [rbx + 0x28]
cmp rdx, qword [rbx + 0x38]
je 0x7ff9101368d1
mov dword [rdx], r15d
add qword [rbx + 0x30], 4
jmp 0x7ff9101368da
lea r8, [rbp - 0x18]
call fcn.7ff9100c4e60
mov rdx, qword [rbx + 0x48]
lea r8, [rbx + 0x1b8]
lea rcx, [rbx + 0x40]
cmp rdx, qword [rbx + 0x50]
je 0x7ff9101368fb
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rbx + 0x48], 4
jmp 0x7ff910136900
call fcn.7ff9100c4e60
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.7ff9101c9690
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [r13 + 0xc]
lea rdx, [0x7ff9101ea5d8]
call fcn.7ff91012ebb0
int3