Function at 0x140075060
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2e8
mov rax, qword [0x1400fe980]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov r15d, 0xffffff53
test rcx, rcx
je 0x140075473
mov ebp, dword [rsp + 0x360]
mov edi, dword [rsp + 0x350]
mov eax, edi
or eax, r8d
or eax, ebp
js 0x140075473
mov rsi, rcx
mov r12, rdx
mov r14d, r8d
mov qword [rsp + 0x60], r9
mov r13d, dword [rsp + 0x368]
mov ecx, r13d
call fcn.14005d820
mov ecx, eax
call fcn.14005d830
test eax, eax
js 0x140075473
mov ebx, eax
mov r8d, dword [rsp + 0x378]
mov rdx, qword [rsp + 0x370]
lea rcx, [rsp + 0x70]
call fcn.140053320
mov r15d, eax
test eax, eax
jne 0x140075473
lea rcx, [rsp + 0x70]
mov edx, r13d
mov r8, r12
mov r9d, r14d
call fcn.140052b60
mov r15d, eax
test eax, eax
jne 0x140075469
test ebp, ebp
je 0x140075469
mov eax, 1
lea r14, [rsp + 0x70]
lea r13, [rsp + 0x6f]
lea r12, [rsp + 0x2a0]
jmp 0x140075169
mov rcx, qword [rsp + 0x30]
add rsi, rcx
mov eax, dword [rsp + 0x24]
inc eax
sub ebp, ecx
mov edi, dword [rsp + 0x350]
lea r14, [rsp + 0x70]
lea r13, [rsp + 0x6f]
je 0x14007549a
mov dword [rsp + 0x24], eax
mov rcx, r14
mov rdx, qword [rsp + 0x60]
mov r8d, edi
call fcn.140052f60
test eax, eax
jne 0x140075466
mov edi, ebx
mov ebx, dword [rsp + 0x24]
mov eax, ebx
shr eax, 0x18
mov byte [rsp + 0x6f], al
mov rcx, r14
mov rdx, r13
mov r8d, 1
call fcn.140052f60
test eax, eax
jne 0x140075466
mov eax, ebx
shr eax, 0x10
mov byte [rsp + 0x6f], al
mov rcx, r14
mov rdx, r13
mov r8d, 1
call fcn.140052f60
test eax, eax
jne 0x140075466
mov byte [rsp + 0x6f], bh
mov rcx, r14
mov rdx, r13
mov r8d, 1
call fcn.140052f60
test eax, eax
jne 0x140075466
mov byte [rsp + 0x6f], bl
mov rcx, r14
mov rdx, r13
mov r8d, 1
call fcn.140052f60
test eax, eax
jne 0x140075466
mov rcx, r14
mov rdx, r12
call fcn.1400530d0
test eax, eax
jne 0x140075466
mov ebx, edi
cmp ebp, edi
mov r8d, edi
cmovb r8d, ebp
mov rcx, rsi
mov rdx, r12
mov qword [rsp + 0x30], r8
call fcn.1400d0cd0
cmp dword [rsp + 0x358], 2
jl 0x140075142
mov rcx, qword [rsp + 0x30]
mov edx, ecx
shr edx, 3
cmp ecx, 8
setb al
mov r8d, ecx
and r8d, 7
test sil, 7
setne r9b
mov dword [rsp + 0x28], r8d
cmovne r8d, ecx
mov dword [rsp + 0x2c], r8d
or r9b, al
mov byte [rsp + 0x23], r9b
mov qword [rsp + 0x50], rdx
lea eax, [rdx - 1]
mov qword [rsp + 0x58], rax
lea r13, [rax + 1]
mov qword [rsp + 0x48], r13
and r13, 0xfffffffffffffffc
lea rax, [rsi + r13*8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + r13*8]
add rax, 0x2a0
mov qword [rsp + 0x38], rax
mov edi, 1
jmp 0x1400752cf
inc edi
cmp edi, dword [rsp + 0x358]
je 0x140075142
lea r14, [rsp + 0x70]
mov rcx, r14
mov rdx, r12
mov r8d, ebx
call fcn.140052f60
test eax, eax
jne 0x140075466
mov rcx, r14
mov rdx, r12
call fcn.1400530d0
test eax, eax
jne 0x140075466
mov rax, rsi
mov rcx, r12
mov r8d, dword [rsp + 0x2c]
cmp byte [rsp + 0x23], 0
jne 0x1400753af
xor r9d, r9d
mov rax, rsi
mov rcx, r12
cmp dword [rsp + 0x58], 3
jb 0x140075374
xor eax, eax
nop word cs:[rax + rax]
movups xmm0, xmmword [rsi + rax*8]
movups xmm1, xmmword [rsi + rax*8 + 0x10]
xorps xmm0, xmmword [rsp + rax*8 + 0x2a0]
xorps xmm1, xmmword [rsp + rax*8 + 0x2b0]
movups xmmword [rsi + rax*8], xmm0
movups xmmword [rsi + rax*8 + 0x10], xmm1
add rax, 4
cmp r13, rax
jne 0x140075330
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
mov r9d, r13d
mov r8d, dword [rsp + 0x28]
cmp qword [rsp + 0x48], r13
je 0x1400753af
mov rdx, qword [rsp + 0x50]
sub edx, r9d
xor r8d, r8d
xor r9d, r9d
nop word cs:[rax + rax]
mov r10, qword [rcx + r9*8]
xor qword [rax + r9*8], r10
inc r9
add r8, 0xfffffffffffffff8
cmp edx, r9d
jne 0x140075390
sub rax, r8
sub rcx, r8
mov r8d, dword [rsp + 0x28]
test r8d, r8d
je 0x1400752c0
mov edx, r8d
cmp r8d, 8
jae 0x1400753c9
xor r8d, r8d
jmp 0x140075450
cmp r8d, 0x20
jae 0x1400753d4
xor r8d, r8d
jmp 0x14007541e
mov r8d, edx
and r8d, 0xffffffe0
xor r9d, r9d
nop
movups xmm0, xmmword [rcx + r9]
movups xmm1, xmmword [rcx + r9 + 0x10]
movups xmm2, xmmword [rax + r9]
xorps xmm2, xmm0
movups xmm0, xmmword [rax + r9 + 0x10]
xorps xmm0, xmm1
movups xmmword [rax + r9], xmm2
movups xmmword [rax + r9 + 0x10], xmm0
add r9, 0x20
cmp r8, r9
jne 0x1400753e0
cmp r8, rdx
je 0x1400752c0
test dl, 0x18
je 0x140075450
mov r9, r8
mov r8d, edx
and r8d, 0xfffffff8
nop dword [rax + rax]
mov r10, qword [rcx + r9]
xor qword [rax + r9], r10
add r9, 8
cmp r8, r9
jne 0x140075430
cmp r8, rdx
je 0x1400752c0
nop word [rax + rax]
movzx r9d, byte [rcx + r8]
xor byte [rax + r8], r9b
inc r8
cmp rdx, r8
jne 0x140075450
jmp 0x1400752c0
mov r15d, eax
lea rcx, [rsp + 0x70]
call fcn.140052f20
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.1400a11a0
mov eax, r15d
add rsp, 0x2e8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor r15d, r15d
jmp 0x140075469