Function at 0x14018ccc0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push r14
sub rsp, 0x60
mov rax, qword [0x140a827c8]
mov esi, r8d
mov rbp, rdx
mov r14, rcx
test rax, rax
jne 0x14018cf27
movdqa xmm1, xmmword [0x140647b10]
lea r9d, [rax + 0x18]
xorps xmm0, xmm0
mov qword [r11 + 8], rdi
movups xmmword [rsp + 0x38], xmm0
xor edi, edi
mov byte [rsp + 0x38], al
movdqu xmmword [rsp + 0x48], xmm1
xor edx, edx
lea r8, [0x140a7e970]
movdqu xmmword [rsp + 0x20], xmm0
lea rcx, [r11 - 0x48]
mov qword [r11 - 0x20], rdi
mov qword [r11 - 0x38], rdi
call fcn.14006fef0
mov r9, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
sub r9, rbx
lea rcx, [r9 - 1]
test rcx, rcx
je 0x14018cd5e
nop dword [rax + rax]
movzx eax, byte [rbx + rcx - 1]
sub byte [rbx + rcx], al
sub rcx, 1
jne 0x14018cd50
test r9, r9
je 0x14018cdfd
cmp r9, 0x40
jb 0x14018cdda
movdqa xmm2, xmmword [0x140647ba0]
lea rax, [rbx + 0x20]
mov rcx, r9
and rcx, 0xffffffffffffffc0
movdqu xmm0, xmmword [rax - 0x20]
lea rax, [rax + 0x40]
add rdi, 0x40
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rax - 0x60], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x50]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x40], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
cmp rdi, rcx
jb 0x14018cd80
cmp rdi, r9
jae 0x14018cdfd
mov rcx, r9
lea rax, [rbx + rdi]
sub rcx, rdi
nop dword [rax]
nop dword [rax + rax]
xor byte [rax], 0xe9
lea rax, [rax + 1]
sub rcx, 1
jne 0x14018cdf0
mov rdi, qword [rsp + 0x70]
lea rdx, [rbx + 8]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14018ce10
lea rax, [r9 - 8]
cmp r8, rax
jb 0x14018ce27
lea r8, [r9 - 9]
lea rcx, [rsp + 0x38]
call fcn.1400a92b0
test rbx, rbx
je 0x14018ce6b
mov rdx, qword [rsp + 0x30]
mov rax, rbx
sub rdx, rbx
cmp rdx, 0x1000
jb 0x14018ce63
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14018cf4c
mov rcx, rbx
call fcn.14002bfe4
cmp qword [rsp + 0x50], 0x10
lea rbx, [rsp + 0x38]
cmovae rbx, qword [rsp + 0x38]
call fcn.14002e6c0
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rsp + 0x50]
mov qword [0x140a827c8], rax
test rax, rax
jne 0x14018ced9
cmp rdx, 0x10
jb 0x14018ced2
mov rcx, qword [rsp + 0x38]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14018cecd
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14018cf4c
call fcn.14002bfe4
mov eax, 0xc0000138
jmp 0x14018cf35
cmp rdx, 0x10
jb 0x14018cf14
mov rcx, qword [rsp + 0x38]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14018cf08
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14018cf4c
call fcn.14002bfe4
mov rax, qword [0x140a827c8]
movdqa xmm0, xmmword [0x140647b10]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
xor r9d, r9d
mov r8d, esi
mov rdx, rbp
mov rcx, r14
call rax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
call fcn.140012048
int3