Function at 0x140011578
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x3f8
mov r14, rdx
mov qword [rsp + 0x30], rcx
xor r13d, r13d
lea rbx, [rsp + 0x38]
mov r8d, 0x3c0
mov rcx, rbx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, r14
mov r8, r14
mov r9, r14
call fcn.140010ff5
lea rdi, [rsp + 0x78]
add r14, 0x10
mov qword [rsp + 0x20], r14
mov rcx, rdi
mov rdx, r14
mov r8, r14
mov r9, r14
call fcn.140010ff5
mov r14d, 8
mov rbp, rbx
xor esi, esi
lea r15, [r14 + 8]
mov eax, 0xf
mov rcx, qword [rbp + rax*8]
mov qword [rbp + rax*8 + 0x40], rcx
dec rax
cmp rax, 7
jne 0x1400115f4
lea r12, [rsp + r15*8]
add r12, 0x38
mov rcx, r12
call fcn.1400111e2
not qword [rsp + r14*8 + 0x78]
not qword [rsp + r14*8 + 0x80]
not qword [rsp + r14*8 + 0xa0]
not qword [rsp + r14*8 + 0xa8]
xor byte [r12 + rsi*8 + 3], 0xf0
mov rcx, rbx
mov rdx, r15
mov r8d, 0x1c
call fcn.14001148f
inc rsi
cmp rsi, 7
je 0x1400116bb
add r14, 0x10
mov eax, 0x1f
lea rcx, [rax + r13]
cmp rcx, 0x77
ja 0x140011864
mov rcx, qword [rbp + rax*8 - 0x40]
mov qword [rbp + rax*8], rcx
dec rax
cmp rax, 0x17
jne 0x14001165d
lea r15, [rsp + r14*8]
add r15, 0x38
mov rcx, r15
call fcn.1400111e2
not qword [r15]
not qword [r15 + 8]
not qword [r15 + 0x28]
not qword [r15 + 0x30]
mov rcx, rbx
mov rdx, r14
mov r8d, 0xc
call fcn.14001148f
sub rbp, 0xffffffffffffff80
add r13, 0x10
jmp 0x1400115eb
movabs rax, 0xf0f00000f0f0000
movabs rcx, 0xf00ff00f00000
lea rdx, [rsp + 0xb8]
mov r8d, 3
lea r9, [rsp + 0xf8]
movabs r10, 0xff000000ff0000
movabs r11, 0xf000ff000f0000
mov ebx, pe_nt_image_headers64
dec r8
xor esi, esi
mov r14, qword [rdi + rsi*8]
mov r15, r14
shr r15, 8
xor r15, r14
and r15, rcx
xor r14, r15
shl r15, 8
xor r15, r14
mov r14, r15
shr r14, 4
xor r14, r15
and r14, rax
xor r15, r14
shl r14, 4
xor r14, r15
mov qword [rdi + rsi*8], r14
lea r14, [rsi + 1]
mov rsi, r14
cmp r14, 8
jne 0x140011703
xor esi, esi
mov r14, qword [rdx + rsi*8]
mov r15, r14
shr r15, 8
xor r15, r14
and r15, r10
xor r14, r15
shl r15, 8
xor r15, r14
mov qword [rdx + rsi*8], r15
lea r14, [rsi + 1]
mov rsi, r14
cmp r14, 8
jne 0x140011748
xor esi, esi
mov r14, qword [r9 + rsi*8]
mov r15, r14
shr r15, 8
xor r15, r14
and r15, r11
xor r14, r15
shl r15, 8
xor r15, r14
mov r14, r15
shr r14, 4
xor r14, r15
and r14, rax
xor r15, r14
shl r14, 4
xor r14, r15
mov qword [r9 + rsi*8], r14
lea r14, [rsi + 1]
mov rsi, r14
cmp r14, 8
jne 0x140011776
add rdi, rbx
add rdx, rbx
add r9, rbx
test r8, r8
jne 0x1400116fe
mov edx, 0x68
mov r8, qword [rsp + rdx*8 + 0x38]
mov r9, r8
shr r9, 8
xor r9, r8
and r9, rcx
xor r8, r9
shl r9, 8
xor r9, r8
mov r8, r9
shr r8, 4
xor r8, r9
and r8, rax
xor r9, r8
shl r8, 4
xor r8, r9
mov qword [rsp + rdx*8 + 0x38], r8
lea r8, [rdx + 1]
mov rdx, r8
cmp r8, 0x70
jne 0x1400117d0
mov eax, 0x70
not qword [rsp + rax + 8]
not qword [rsp + rax + 0x10]
not qword [rsp + rax + 0x30]
not qword [rsp + rax + 0x38]
add rax, 0x40
cmp rax, 0x3f0
jne 0x14001181a
lea rdx, [rsp + 0x38]
mov r8d, 0x3c0
mov rcx, qword [rsp + 0x30]
call fcn.140085b90
nop
add rsp, 0x3f8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2