Function at 0x14002b4e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Parse pe header

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
lea rax, [0x140268980]
mov qword [rsp + 0x30], 0x14
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rax
call fcn.14017ede0
xor ebp, ebp
mov rbx, rax
mov edi, 0x5a4d
test rax, rax
je 0x14002b5d4
nop
cmp word [rax], di
jne 0x14002b56a
mov ecx, dword [rax + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x14002b56a
cmp dword [rcx + rbx], 0x4550
jne 0x14002b56a
lea rdx, [rbx + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14002b56a
cmp dword [rdx + 4], ebp
je 0x14002b56a
lea r8, [rbx + rax]
mov word [rsp + 0x20], bp
lea r9, [0x140268998]
mov rcx, rbx
call fcn.14017f180
jmp 0x14002b56d
mov rax, rbp
mov qword [0x1402cbc38], rax
mov rdx, rbx
mov ecx, 0x3c
cmp word [rbx], di
jne 0x14002b5ca
mov ecx, dword [rbx + rcx]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x14002b5ca
cmp dword [rcx + rbx], 0x4550
jne 0x14002b5ca
lea rdx, [rbx + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14002b5ca
cmp dword [rdx + 4], ebp
je 0x14002b5ca
lea r8, [rbx + rax]
mov word [rsp + 0x20], bp
lea r9, [0x1402689a8]
mov rcx, rbx
call fcn.14017f180
jmp 0x14002b5cd
mov rax, rbp
mov qword [0x1402cbc20], rax
lea rax, str.uxtheme.dll
mov qword [rsp + 0x30], 0x16
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rax
call fcn.14017ede0
test rax, rax
je 0x14002b651
cmp word [rax], di
jne 0x14002b647
mov edx, dword [rax + 0x3c]
lea ecx, [rdx - 1]
cmp ecx, 0x7ffffffd
ja 0x14002b647
cmp dword [rdx + rax], 0x4550
jne 0x14002b647
add rdx, 0x88
add rdx, rax
mov ecx, dword [rdx]
test ecx, ecx
je 0x14002b647
cmp dword [rdx + 4], ebp
je 0x14002b647
lea r8, ds:[rax + rcx]
mov word [rsp + 0x20], bp
mov rcx, rax
lea r9, str.DrawThemeBackground
call fcn.14017f180
jmp 0x14002b64a
mov rax, rbp
mov qword [0x1402cbc10], rax
cmp dword [0x1402cf938], ebp
mov rsi, 0xffffffffffffffff
je 0x14002b676
mov ebx, 0xc0000476
lfence
mov ecx, ebx
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x14002b7f1
mov rax, qword gs:[0x30]
mov ecx, dword [rax + 0x48]
xor eax, eax
lock cmpxchg dword [0x1402cf938], ecx
je 0x14002b6a5
mov ebx, 0xc0000476
lfence
mov ecx, ebx
call sym.SystemInformer.exe_PhGetNtMessage
nop dword [rax]
jmp 0x14002b7f1
mov rdi, qword [0x1402cf9f0]
mov qword [0x1402cfa00], rbp
mov qword [0x1402cf9f8], rbp
mov qword [0x1402cf9e8], rbp
test rdi, rdi
je 0x14002b715
nop word [rax + rax]
lea rax, ds:[rsp + 0x60]
mov dword [rsp + 0x60], ebp
mov r9d, 0x40
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x68]
mov qword [rsp + 0x70], rdi
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x68], 0x10000
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
mov ebx, eax
test eax, eax
js 0x14002b717
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x14002b6d0
mov ebx, ebp
mov dword [0x1402cf088], ebx
nop dword [rax]
test ebx, ebx
js 0x14002b793
cmp byte [0x1402ca5af], bpl
jne 0x14002b736
cmp byte [0x1402ca8ec], bpl
je 0x14002b76b
lea rdx, [0x14002b260]
lea rcx, [0x1402cbc10]
call fcn.14018eb40
mov ebx, eax
test eax, eax
js 0x14002b793
lea rdx, [0x14002b460]
lea rcx, [0x1402cbc20]
nop dword [rax]
call fcn.14018eb40
mov ebx, eax
test eax, eax
js 0x14002b793
lea rdx, [0x14002b360]
lea rcx, [0x1402cbc38]
call fcn.14018eb40
mov ebx, eax
test eax, eax
js 0x14002b793
call fcn.14018e720
mov ebx, eax
test eax, eax
jns 0x14002b859
cmp ebx, 0xc0000022
je 0x14002b7c9
nop dword [rax + rax]
cmp ebx, 0xc0000005
je 0x14002b7c9
mov eax, ebx
shr eax, 0x10
and eax, 0xfff
cmp eax, 7
jne 0x14002b7bc
movzx eax, bx
jmp 0x14002b7d4
nop dword [rax]
cmp eax, 0xb
jne 0x14002b7d8
mov eax, ebx
jmp 0x14002b7d4
lfence
mov ecx, ebx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x14002b7e7
lfence
mov ecx, ebx
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x14002b7f1
lfence
mov ecx, eax
call sym.SystemInformer.exe_PhGetWin32Message
xor ecx, ecx
lea r8, [0x14023b2dc]
lea r9, str.Unable_to_commit_detours_transaction.
mov rbx, rax
test rax, rax
je 0x14002b84f
lfence
lfence
mov rax, qword [rax + 8]
mov edx, 0x20
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
mov r8d, 0xfffe
call sym.SystemInformer.exe_PhShowMessage2
lea rcx, [rbx - 0x10]
lock xadd dword [rcx + 8], esi
cmp esi, 1
jne 0x14002b859
lfence
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
jmp fcn.140142200
mov edx, 0x10
call sym.SystemInformer.exe_PhShowMessage
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret