Function at 0x14002b5c0
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, [0x1402675e0]
mov qword [rsp + 0x30], 0x14
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rax
call fcn.14017e120
xor ebp, ebp
mov rbx, rax
mov edi, 0x5a4d
test rax, rax
je 0x14002b6b4
nop
cmp word [rax], di
jne 0x14002b64a
mov ecx, dword [rax + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x14002b64a
cmp dword [rcx + rbx], 0x4550
jne 0x14002b64a
lea rdx, [rbx + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14002b64a
cmp dword [rdx + 4], ebp
je 0x14002b64a
lea r8, [rbx + rax]
mov word [rsp + 0x20], bp
lea r9, [0x1402675f8]
mov rcx, rbx
call fcn.14017e4c0
jmp 0x14002b64d
mov rax, rbp
mov qword [0x1402cad08], rax
mov rdx, rbx
mov ecx, 0x3c
cmp word [rbx], di
jne 0x14002b6aa
mov ecx, dword [rbx + rcx]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x14002b6aa
cmp dword [rcx + rbx], 0x4550
jne 0x14002b6aa
lea rdx, [rbx + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14002b6aa
cmp dword [rdx + 4], ebp
je 0x14002b6aa
lea r8, [rbx + rax]
mov word [rsp + 0x20], bp
lea r9, [0x140267608]
mov rcx, rbx
call fcn.14017e4c0
jmp 0x14002b6ad
mov rax, rbp
mov qword [0x1402cacf0], rax
lea rax, str.uxtheme.dll
mov qword [rsp + 0x30], 0x16
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rax
call fcn.14017e120
test rax, rax
je 0x14002b731
cmp word [rax], di
jne 0x14002b727
mov edx, dword [rax + 0x3c]
lea ecx, [rdx - 1]
cmp ecx, 0x7ffffffd
ja 0x14002b727
cmp dword [rdx + rax], 0x4550
jne 0x14002b727
add rdx, 0x88
add rdx, rax
mov ecx, dword [rdx]
test ecx, ecx
je 0x14002b727
cmp dword [rdx + 4], ebp
je 0x14002b727
lea r8, ds:[rax + rcx]
mov word [rsp + 0x20], bp
mov rcx, rax
lea r9, str.DrawThemeBackground
call fcn.14017e4c0
jmp 0x14002b72a
mov rax, rbp
mov qword [0x1402cace0], rax
cmp dword [0x1402cea08], ebp
mov rsi, 0xffffffffffffffff
je 0x14002b756
mov ebx, 0xc0000476
lfence
mov ecx, ebx
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x14002b8d1
mov rax, qword gs:[0x30]
mov ecx, dword [rax + 0x48]
xor eax, eax
lock cmpxchg dword [0x1402cea08], ecx
je 0x14002b785
mov ebx, 0xc0000476
lfence
mov ecx, ebx
call sym.SystemInformer.exe_PhGetNtMessage
nop dword [rax]
jmp 0x14002b8d1
mov rdi, qword [0x1402ceac0]
mov qword [0x1402cead0], rbp
mov qword [0x1402ceac8], rbp
mov qword [0x1402ceab8], rbp
test rdi, rdi
je 0x14002b7f5
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 0x14002b7f7
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x14002b7b0
mov ebx, ebp
mov dword [0x1402ce158], ebx
nop dword [rax]
test ebx, ebx
js 0x14002b873
cmp byte [0x1402c966f], bpl
jne 0x14002b816
cmp byte [0x1402c998c], bpl
je 0x14002b84b
lea rdx, [0x14002b340]
lea rcx, [0x1402cace0]
call fcn.14018de60
mov ebx, eax
test eax, eax
js 0x14002b873
lea rdx, [0x14002b540]
lea rcx, [0x1402cacf0]
nop dword [rax]
call fcn.14018de60
mov ebx, eax
test eax, eax
js 0x14002b873
lea rdx, [0x14002b440]
lea rcx, [0x1402cad08]
call fcn.14018de60
mov ebx, eax
test eax, eax
js 0x14002b873
call fcn.14018da40
mov ebx, eax
test eax, eax
jns 0x14002b939
cmp ebx, 0xc0000022
je 0x14002b8a9
nop dword [rax + rax]
cmp ebx, 0xc0000005
je 0x14002b8a9
mov eax, ebx
shr eax, 0x10
and eax, 0xfff
cmp eax, 7
jne 0x14002b89c
movzx eax, bx
jmp 0x14002b8b4
nop dword [rax]
cmp eax, 0xb
jne 0x14002b8b8
mov eax, ebx
jmp 0x14002b8b4
lfence
mov ecx, ebx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x14002b8c7
lfence
mov ecx, ebx
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x14002b8d1
lfence
mov ecx, eax
call sym.SystemInformer.exe_PhGetWin32Message
xor ecx, ecx
lea r8, [0x14023a10c]
lea r9, str.Unable_to_commit_detours_transaction.
mov rbx, rax
test rax, rax
je 0x14002b92f
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 0x14002b939
lfence
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
jmp fcn.140141ea0
mov edx, 0x10
call sym.SystemInformer.exe_PhShowMessage
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret