Function at 0x140001350
Capabilities:
Allocate or change rwx memory
Block operations on executable memory pages using arbitrary code guard
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x19110]
mov eax, 0x19210
call fcn.140002440
sub rsp, rax
mov rax, qword [0x140006040]
xor rax, rsp
mov qword [rbp + 0x19100], rax
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov dword [rbp - 0x60], 1
lea r8d, [rbx + 4]
lea rdx, [rbp - 0x60]
lea ecx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_SetProcessMitigationPolicy]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], 8
mov esi, 0xf
mov qword [rsp + 0x40], rsi
movabs rax, 0xddbefdcad0b8f4c3
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x30], bl
movups xmmword [rbp - 0x58], xmm0
mov ecx, ebx
mov qword [rbp - 0x48], rbx
mov edx, esi
mov qword [rbp - 0x40], rdx
mov byte [rbp - 0x58], cl
mov dword [rsp + 0x20], 1
mov edi, ebx
nop dword [rax]
nop dword [rax + rax]
movzx r9d, byte [rsp + rdi + 0x28]
not r9b
cmp rcx, rdx
jae 0x14000142e
lea rax, [rcx + 1]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x58]
cmp rdx, 0xf
cmova rax, qword [rbp - 0x58]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140001437
lea rcx, [rbp - 0x58]
call fcn.140001db0
inc rdi
cmp rdi, 8
jae 0x14000144a
mov rdx, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x48]
jmp 0x140001400
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rdx, qword [rbp - 0x58]
lea rcx, [0x140004490]
call fcn.140001010
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x1400014a3
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000149e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000149e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002140
xor edx, edx
mov r8d, 0x19102
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
mov edx, 0x19102
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
mov edx, 0x644
test rax, rax
je 0x14000154d
movdqa xmm2, xmmword [0x140004590]
lea rcx, [rax + 0x20]
mov eax, edx
nop word [rax + rax]
movdqu xmm0, xmmword [rcx - 0x20]
xorps xmm0, xmm2
movdqu xmmword [rcx - 0x20], xmm0
movdqu xmm0, xmmword [rcx - 0x10]
xorps xmm0, xmm2
movdqu xmmword [rcx - 0x10], xmm0
movdqu xmm1, xmmword [rcx]
xorps xmm1, xmm2
movdqu xmmword [rcx], xmm1
movdqu xmm0, xmmword [rcx + 0x10]
xorps xmm0, xmm2
movdqu xmmword [rcx + 0x10], xmm0
lea rcx, [rcx + 0x40]
sub rax, 1
jne 0x1400014f0
lea rax, [rdi + 0x19100]
mov ecx, 2
nop dword [rax + rax]
xor byte [rax], 0xab
lea rax, [rax + 1]
sub rcx, 1
jne 0x140001540
test rdi, rdi
je 0x140001626
lea rax, [rbp]
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
xorps xmm1, xmm1
psubb xmm1, xmm0
movdqu xmmword [rax - 0x10], xmm1
movdqu xmm0, xmmword [rax]
xorps xmm1, xmm1
psubb xmm1, xmm0
movdqu xmmword [rax], xmm1
movdqu xmm0, xmmword [rax + 0x10]
xorps xmm1, xmm1
psubb xmm1, xmm0
movdqu xmmword [rax + 0x10], xmm1
movdqu xmm0, xmmword [rax + 0x20]
xorps xmm1, xmm1
psubb xmm1, xmm0
movdqu xmmword [rax + 0x20], xmm1
lea rax, [rax + 0x40]
sub rdx, 1
jne 0x140001560
lea rcx, [rbp + 0x190f0]
mov edx, 2
nop dword [rax + rax]
movzx eax, byte [rcx]
neg al
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1400015c0
mov r8d, 0x19102
lea rdx, [rbp - 0x10]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x54], rbx
mov qword [rsp + 0x5c], rbx
mov qword [rsp + 0x64], rbx
mov qword [rsp + 0x6c], rbx
mov dword [rsp + 0x74], ebx
mov qword [rsp + 0x7c], rbx
mov dword [rbp - 0x7c], ebx
mov qword [rbp - 0x70], rbx
mov dword [rsp + 0x50], 0x48
mov dword [rsp + 0x78], 0x10
mov qword [rbp - 0x78], rdi
lea rcx, [rsp + 0x50]
call qword [sym.imp.COMDLG32.dll_ChooseColorW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov ecx, 0x20
call fcn.140002148
mov r14, rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], 0x16
mov qword [rsp + 0x40], 0x1f
movups xmm0, xmmword [0x1400044b0]
movups xmmword [rax], xmm0
mov ecx, dword [0x1400044c0]
mov dword [rax + 0x10], ecx
movzx ecx, word [0x1400044c4]
mov word [rax + 0x14], cx
mov byte [rax + 0x16], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rsi
mov byte [rbp - 0x38], 0
mov dword [rsp + 0x20], 2
mov rdi, rbx
movzx r9d, byte [rdi + r14]
not r9b
cmp rbx, rsi
jae 0x1400016bf
lea rax, [rbx + 1]
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x38]
cmp rsi, 0xf
cmova rax, qword [rbp - 0x38]
mov byte [rax + rbx], r9b
mov byte [rax + rbx + 1], 0
jmp 0x1400016c8
lea rcx, [rbp - 0x38]
call fcn.140001db0
inc rdi
cmp rdi, 0x16
jae 0x1400016db
mov rsi, qword [rbp - 0x20]
mov rbx, qword [rbp - 0x28]
jmp 0x140001692
mov edx, 0x20
mov rcx, r14
call fcn.140002140
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova rdx, qword [rbp - 0x38]
lea rcx, [0x1400044c8]
call fcn.140001010
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x140001741
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000173c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000173c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002140
mov rcx, qword [rbp + 0x19100]
xor rcx, rsp
call fcn.140002120
lea r11, [rsp + 0x19210]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret