Function at 0x140075940
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 rdi, r8
mov r15, rdx
mov rsi, rcx
mov r14, qword [rsp + 0xa0]
mov rcx, qword [rcx + 0x38]
add rcx, r14
setb dl
xor eax, eax
movabs r8, 0xfffffffe0
cmp rcx, r8
ja 0x140075c74
test dl, dl
jne 0x140075c74
mov rbx, r9
mov qword [rsi + 0x38], rcx
cmp dword [rsi + 0x184], 0
je 0x1400759af
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 0x140075a10
test r14, r14
je 0x140075c69
nop word cs:[rax + rax]
mov ecx, eax
movzx edx, byte [rsi + rcx + 0x10]
xor dl, byte [rdi]
inc rdi
mov byte [rbx], dl
xor byte [rsi + rcx + 0x40], dl
inc rbx
lea r13, [r14 - 1]
inc eax
and eax, 0xf
je 0x1400759f9
cmp r14, 1
mov r14, r13
jne 0x1400759d0
test eax, eax
jne 0x140075c69
lea rdx, [rsi + 0x60]
lea rcx, [rsi + 0x40]
call fcn.140074af0
jmp 0x140075a13
mov r13, r14
mov qword [rsp + 0x28], r15
mov rax, qword [rsp + 0xa8]
mov r14d, dword [rsi + 0xc]
bswap r14d
cmp r13, 0xc00
jb 0x140075aaf
lea rcx, [rsi + 0x60]
mov qword [rsp + 0x30], rcx
lea r12, [rsi + 0x40]
mov rbp, qword [rsp + 0x28]
nop word cs:[rax + rax]
mov qword [rsp + 0x20], rsi
mov r8d, 0xc0
mov rcx, rdi
mov rdx, rbx
mov r9, rbp
mov r15, rax
call rax
add r14d, 0xc0
mov eax, r14d
bswap eax
mov dword [rsi + 0xc], eax
mov r9d, 0xc00
mov rcx, r12
mov rdx, qword [rsp + 0x30]
mov r8, rbx
call fcn.140074c20
mov rax, r15
add rbx, 0xc00
add rdi, 0xc00
add r13, 0xfffffffffffff400
cmp r13, 0xbff
ja 0x140075a50
mov r15, r13
and r15, 0xff0
je 0x140075c58
mov r12, r13
shr r12, 4
mov qword [rsp + 0x20], rsi
mov rcx, rdi
mov rdx, rbx
mov r8, r12
mov r9, qword [rsp + 0x28]
call rax
add r14d, r12d
mov eax, r14d
bswap eax
mov dword [rsi + 0xc], eax
lea rbp, [rdi + r15]
and r13d, 0xf
lea rdx, [rsi + 0x60]
lea rcx, [rsi + 0x40]
mov r8, rbx
mov r9, r15
call fcn.140074c20
lea r12, [rbx + r15]
test r13, r13
je 0x140075c67
lea rdx, [rsi + 0x10]
mov rcx, rsi
mov qword [rsp + 0x30], rdx
mov r8, qword [rsp + 0x28]
call qword [rsi + 0x170]
inc r14d
bswap r14d
mov dword [rsi + 0xc], r14d
movabs rcx, 0xfffffffeffffffff
lea rdx, [rcx + r13]
add rcx, 0x10
xor eax, eax
cmp rdx, rcx
jb 0x140075bf1
add r15, r13
add rbx, r15
lea r9, [rsi + r13]
add r9, 0x40
add rdi, r15
cmp r12, r9
setb r10b
mov rdx, qword [rsp + 0x30]
cmp rdx, rbx
setb r11b
cmp r12, rdi
setb cl
cmp rbp, rbx
setb r8b
cmp rdx, rdi
setb dl
cmp rbp, r9
setb r9b
test r10b, r11b
jne 0x140075bf1
and cl, r8b
jne 0x140075bf1
and dl, r9b
jne 0x140075bf1
mov rax, r13
and rax, 0xfffffffffffffff0
mov ecx, r13d
and ecx, 0xf
xor edx, edx
nop dword [rax + rax]
movups xmm0, xmmword [rbp + rdx]
movups xmm1, xmmword [rsi + rdx + 0x10]
xorps xmm1, xmm0
movups xmmword [r12 + rdx], xmm1
movups xmm0, xmmword [rsi + rdx + 0x40]
xorps xmm0, xmm1
movups xmmword [rsi + rdx + 0x40], xmm0
add rdx, 0x10
cmp rax, rdx
jne 0x140075bb0
cmp r13, rax
je 0x140075c69
test cl, 1
jne 0x140075bf9
mov rdx, rcx
cmp rcx, 1
jne 0x140075c20
jmp 0x140075c69
mov rcx, r13
test cl, 1
je 0x140075be6
lea rdx, [rcx - 1]
mov r8d, eax
movzx r9d, byte [rsi + r8 + 0x10]
xor r9b, byte [rbp + r8]
mov byte [r12 + r8], r9b
xor byte [rsi + r8 + 0x40], r9b
inc eax
cmp rcx, 1
je 0x140075c69
nop dword [rax]
mov ecx, eax
movzx r8d, byte [rsi + rcx + 0x10]
xor r8b, byte [rbp + rcx]
mov byte [r12 + rcx], r8b
xor byte [rsi + rcx + 0x40], r8b
lea ecx, [rax + 1]
movzx r8d, byte [rsi + rcx + 0x10]
xor r8b, byte [rbp + rcx]
mov byte [r12 + rcx], r8b
xor byte [rsi + rcx + 0x40], r8b
add eax, 2
add rdx, 0xfffffffffffffffe
jne 0x140075c20
jmp 0x140075c69
mov rbp, rdi
mov r12, rbx
test r13, r13
jne 0x140075b0e
xor eax, eax
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