Function at 0x1400755a0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rbp, r8
mov r14, rdx
mov rsi, rcx
mov rdi, qword [rsp + 0xa0]
mov rcx, qword [rcx + 0x38]
add rcx, rdi
setb dl
xor eax, eax
movabs r8, 0xfffffffe0
cmp rcx, r8
ja 0x140075921
test dl, dl
jne 0x140075921
mov r12, r9
mov r15, qword [rsi + 0x170]
mov qword [rsi + 0x38], rcx
cmp dword [rsi + 0x184], 0
je 0x140075616
lea rdx, [rsi + 0x60]
lea rcx, [rsi + 0x40]
call fcn.140074af0
mov dword [rsi + 0x184], 0
mov eax, dword [rsi + 0x180]
test eax, eax
je 0x140075678
test rdi, rdi
je 0x140075916
nop dword [rax]
movzx ecx, byte [rbp]
inc rbp
mov edx, eax
movzx r8d, byte [rsi + rdx + 0x10]
xor r8b, cl
mov byte [r12], r8b
xor byte [rsi + rdx + 0x40], cl
inc r12
lea rbx, [rdi - 1]
inc eax
and eax, 0xf
je 0x140075661
cmp rdi, 1
mov rdi, rbx
jne 0x140075630
test eax, eax
jne 0x140075916
lea rdx, [rsi + 0x60]
lea rcx, [rsi + 0x40]
call fcn.140074af0
jmp 0x14007567b
mov rbx, rdi
mov edi, dword [rsi + 0xc]
bswap edi
cmp rbx, 0xc00
jb 0x140075751
mov qword [rsp + 0x20], rbx
lea rax, [rsi + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rsi + 0x40]
mov qword [rsp + 0x28], rax
lea r13, [rsi + 0x10]
mov rax, r12
mov rcx, rbp
nop
mov rbp, rcx
mov rbx, rax
mov r9d, 0xc00
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov r8, rbp
call fcn.140074c20
xor r12d, r12d
nop word cs:[rax + rax]
mov rcx, rsi
mov rdx, r13
mov r8, r14
call r15
inc edi
mov eax, edi
bswap eax
mov dword [rsi + 0xc], eax
mov rax, qword [rsi + 0x10]
xor rax, qword [rbp + r12]
mov qword [rbx + r12], rax
mov rax, qword [rsi + 0x18]
xor rax, qword [rbp + r12 + 8]
mov qword [rbx + r12 + 8], rax
add r12, 0x10
cmp r12, 0xc00
jne 0x1400756e0
mov rdx, qword [rsp + 0x20]
add rdx, 0xfffffffffffff400
lea rax, [rbx + r12]
lea rcx, [r12 + rbp]
mov qword [rsp + 0x20], rdx
cmp rdx, 0xbff
ja 0x1400756b0
add rbx, r12
add rbp, r12
mov r12, rbx
mov rbx, qword [rsp + 0x20]
mov r9, rbx
and r9, 0xff0
je 0x1400757c0
lea rdx, [rsi + 0x60]
lea rcx, [rsi + 0x40]
mov r8, rbp
call fcn.140074c20
lea r13, [rsi + 0x10]
nop word cs:[rax + rax]
mov rcx, rsi
mov rdx, r13
mov r8, r14
call r15
inc edi
mov eax, edi
bswap eax
mov dword [rsi + 0xc], eax
mov rax, qword [rsi + 0x10]
xor rax, qword [rbp]
mov qword [r12], rax
mov rax, qword [rsi + 0x18]
xor rax, qword [rbp + 8]
mov qword [r12 + 8], rax
add r12, 0x10
add rbp, 0x10
add rbx, 0xfffffffffffffff0
cmp rbx, 0xf
ja 0x140075780
test rbx, rbx
je 0x140075806
lea r13, [rsi + 0x10]
mov rcx, rsi
mov rdx, r13
mov r8, r14
call r15
inc edi
bswap edi
mov dword [rsi + 0xc], edi
movabs rcx, 0xfffffffeffffffff
lea rdx, [rbx + rcx]
add rcx, 0x10
xor eax, eax
cmp rdx, rcx
jae 0x14007580d
mov rcx, rbx
test cl, 1
jne 0x1400758ba
jmp 0x1400758a7
xor eax, eax
jmp 0x140075916
lea rdx, [rbx + rsi]
add rdx, 0x40
lea r9, [r12 + rbx]
mov rdi, rbx
lea r10, [rbx + rbp]
cmp r13, r9
setb r11b
cmp r12, rdx
setb bl
cmp r13, r10
setb cl
cmp rbp, rdx
setb r8b
cmp r12, r10
setb dl
cmp rbp, r9
setb r9b
test r11b, bl
jne 0x14007589f
and cl, r8b
jne 0x14007589f
and dl, r9b
mov r8, rdi
jne 0x1400758b2
mov rax, r8
and rax, 0xfffffffffffffff0
mov ecx, r8d
and ecx, 0xf
xor edx, edx
nop dword [rax + rax]
movups xmm0, xmmword [rbp + rdx]
movups xmm1, xmmword [rsi + rdx + 0x10]
movups xmm2, xmmword [rsi + rdx + 0x40]
xorps xmm2, xmm0
movups xmmword [rsi + rdx + 0x40], xmm2
xorps xmm1, xmm0
movups xmmword [r12 + rdx], xmm1
add rdx, 0x10
cmp rax, rdx
jne 0x140075870
cmp r8, rax
jne 0x1400758a2
jmp 0x140075916
mov rcx, rdi
test cl, 1
jne 0x1400758ba
mov rdx, rcx
cmp rcx, 1
jne 0x1400758e0
jmp 0x140075916
mov rcx, r8
test cl, 1
je 0x1400758a7
lea rdx, [rcx - 1]
mov r8d, eax
movzx r9d, byte [rbp + r8]
xor byte [rsi + r8 + 0x40], r9b
xor r9b, byte [rsi + r8 + 0x10]
mov byte [r12 + r8], r9b
inc eax
cmp rcx, 1
je 0x140075916
nop dword [rax]
mov ecx, eax
movzx r8d, byte [rbp + rcx]
xor byte [rsi + rcx + 0x40], r8b
xor r8b, byte [rsi + rcx + 0x10]
mov byte [r12 + rcx], r8b
lea ecx, [rax + 1]
movzx r8d, byte [rbp + rcx]
xor byte [rsi + rcx + 0x40], r8b
xor r8b, byte [rsi + rcx + 0x10]
add eax, 2
mov byte [r12 + rcx], r8b
add rdx, 0xfffffffffffffffe
jne 0x1400758e0
mov dword [rsi + 0x180], eax
mov eax, 1
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret