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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x178
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov dword [rsp + 0x40], 0
lea rax, [rsp + 0xa0]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
cmp qword [rsp + 0x190], 0
jne 0x140011210
mov dword [rsp + 0x50], 1
jmp 0x140011218
mov dword [rsp + 0x50], 0
cmp dword [rsp + 0x50], 0
je 0x140011246
xor r9d, r9d
mov r8d, 0xe7
lea rdx, [0x140015830]
lea rcx, [0x140015480]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov dword [rsp + 0x64], 0
jmp 0x14001124e
mov dword [rsp + 0x64], 1
cmp qword [rsp + 0x190], 0
jne 0x14001127e
lea r9, [0x140015860]
lea r8, [0x140015870]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov eax, 0xc000000d
jmp 0x14001190a
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0xc0]
call fcn.1400022d0
mov eax, dword [rsp + 0x1b8]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x20], rax
lea r9, [0x140015860]
lea r8, [0x1400158a0]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov eax, dword [rsp + 0x1b8]
and eax, 0x80
test eax, eax
je 0x1400112e8
mov dword [rsp + 0x54], 1
jmp 0x1400112f0
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
mov byte [rsp + 0xf9], al
movzx eax, byte [rsp + 0xf9]
test eax, eax
je 0x14001131b
lea rcx, [rsp + 0xa0]
call fcn.140002e80
mov dword [rsp + 0x58], eax
jmp 0x14001132c
lea rcx, [rsp + 0xa0]
call fcn.14000f790
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x14001137b
mov qword [rsp + 0x138], 0x2000
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x138]
xor r8d, r8d
lea rdx, [rsp + 0xd0]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x140011514
lea rax, [rsp + 0x100]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov dword [rsp + 0x100], 0x30
mov qword [rsp + 0x108], 0
mov dword [rsp + 0x118], 0
mov qword [rsp + 0x110], 0
mov qword [rsp + 0x120], 0
mov qword [rsp + 0x128], 0
mov byte [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x100]
mov edx, 0x1f0003
lea rcx, [rsp + 0xd8]
call qword [sym.imp.ntoskrnl.exe_ZwCreateEvent]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x140011448
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
mov r9b, 1
mov rax, qword [sym.imp.ntoskrnl.exe_ExEventObjectType]
mov r8, qword [rax]
mov edx, 2
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x140011473
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
lea r9, [0x140015860]
lea r8, [0x1400158e0]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
nop
lea rdx, [0x140015920]
lea rcx, [rsp + 0x150]
call fcn.1400023a0
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
test rax, rax
je 0x1400114a4
mov dword [rsp + 0x5c], 1
jmp 0x1400114ac
mov dword [rsp + 0x5c], 0
movzx r8d, byte [rsp + 0x5c]
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + 0xa0]
call fcn.14000df30
mov qword [rsp + 0x70], rax
xor r9d, r9d
mov r8, qword [rsp + 0x190]
lea rdx, [0x140015940]
mov rcx, qword [rsp + 0x70]
call fcn.14000d7d0
mov qword [rsp + 0xe8], rax
xor r9d, r9d
mov r8, qword [rsp + 0x190]
lea rdx, [0x140014ff0]
mov rcx, qword [rsp + 0x70]
call fcn.14000d7d0
mov qword [rsp + 0xf0], rax
cmp dword [rsp + 0x40], 0
jl 0x140011575
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x1b8]
mov dword [rsp + 0x28], eax
movzx eax, byte [rsp + 0x1b0]
mov byte [rsp + 0x20], al
mov r9, qword [rsp + 0x1a8]
mov r8, qword [rsp + 0x1a0]
mov rdx, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x190]
call fcn.14000fc20
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x140011603
mov eax, dword [rsp + 0x1b8]
and eax, 0x1000
test eax, eax
jne 0x140011603
cmp dword [0x140008a0c], 0
je 0x1400115e7
mov eax, dword [0x140008a0c]
mov rcx, qword [rsp + 0x190]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
or eax, 0x20
mov rcx, qword [rsp + 0x48]
mov dword [rcx], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
or eax, 0x10
mov rcx, qword [rsp + 0x48]
mov dword [rcx], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
or eax, 8
mov rcx, qword [rsp + 0x48]
mov dword [rcx], eax
jmp 0x140011603
lea r9, [0x140015860]
lea r8, [0x140015950]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
nop
cmp dword [rsp + 0x40], 0
jl 0x140011674
mov eax, dword [rsp + 0x1b8]
and eax, 0x40
test eax, eax
je 0x140011674
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessPeb]
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x1d0]
mov rcx, qword [rcx + 0x10]
mov qword [rax + 0x10], rcx
cmp qword [rsp + 0x78], 0
je 0x140011674
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x1d0]
mov ecx, dword [rcx + 0x10]
mov dword [rax + 8], ecx
cmp dword [rsp + 0x40], 0
jl 0x1400116e5
mov eax, dword [rsp + 0x1b8]
and eax, 0x10000
test eax, eax
je 0x140011695
mov dword [rsp + 0x60], 1
jmp 0x14001169d
mov dword [rsp + 0x60], 0
movzx edx, byte [rsp + 0x60]
lea rcx, [rsp + 0xa0]
call fcn.14000ec40
mov dword [rsp + 0x40], eax
jmp 0x1400116e5
cmp dword [rsp + 0x40], 0
jl 0x140011760
cmp dword [rsp + 0x1c0], 0
je 0x140011760
mov eax, dword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x1d0]
add rax, qword [rcx + 0x10]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0xd0]
lea rdi, [rax + 0x1010]
mov rsi, qword [rsp + 0x1c8]
mov ecx, 0x400
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xd0]
add rax, 0x1010
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8, qword [rsp + 0x90]
lea rdx, [rsp + 0xa0]
xor ecx, ecx
call fcn.14000f0d0
nop
cmp qword [rsp + 0xe0], 0
je 0x14001177a
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
nop
cmp qword [rsp + 0xd8], 0
je 0x1400117a9
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov rcx, rax
call fcn.1400033e0
movzx eax, al
test eax, eax
jne 0x1400117a9
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
nop
cmp qword [rsp + 0xb8], 0
je 0x1400117c3
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
nop
cmp qword [rsp + 0xb0], 0
je 0x140011824
lea rax, [rsp + 0x130]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov qword [rsp + 0x130], 0xfffffffffffe7960
xor edx, edx
mov rcx, qword [rsp + 0xb0]
call fcn.140004240
lea r8, [rsp + 0x130]
mov dl, 1
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ntoskrnl.exe_ZwWaitForSingleObject]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
nop
cmp qword [rsp + 0xa8], 0
je 0x14001185f
mov qword [rsp + 0x140], 0
mov r9d, 0x8000
lea r8, [rsp + 0x140]
lea rdx, [rsp + 0xa8]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwFreeVirtualMemory]
nop
cmp qword [rsp + 0xd0], 0
je 0x14001189a
mov qword [rsp + 0x148], 0
mov r9d, 0x8000
lea r8, [rsp + 0x148]
lea rdx, [rsp + 0xd0]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwFreeVirtualMemory]
nop
lea rcx, [rsp + 0xc0]
call fcn.140002570
movzx eax, al
test eax, eax
jne 0x140011906
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0xc0]
call fcn.140002f40
mov rax, qword [rsp + 0x98]
add rax, 0x30
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
mov edx, 0x4b555341
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
nop
jmp 0x14001189a
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140001670
add rsp, 0x178
pop rdi
pop rsi
ret