Function at 0x401d90
Capabilities:
Create process on windows
Execute command
Get token membership
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x408040]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x405bb8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
mov dword [ebp - 0x21c], 0
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x218], 0
mov word [ebp - 0x214], 0x500
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x401ea3
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x220]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x401e28
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x401e39
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [ebp - 0x21c], 1
jne 0x401ea3
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.e_32m
push 0x403090
call fcn.00402950
push ecx
mov edx, str._____Configuration__The_program_is_running_as_administrator.
mov ecx, eax
call fcn.00402950
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x405bb8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
call fcn.00401270
call fcn.00401580
mov ecx, eax
call fcn.00401910
call main
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0040399a
mov esp, ebp
pop ebp
ret
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.e_31m
push 0x403090
call fcn.00402950
push ecx
mov edx, str.______Critical___The_program_is_not_running_as_administrator._Restarting_as_administrator...
mov ecx, eax
call fcn.00402950
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x401e6f
push 0x38
lea eax, [ebp - 0x258]
mov dword [ebp - 0x25c], 0x3c
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x250], str.runas
lea eax, [ebp - 0x210]
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x240], 1
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x401f8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c7
jne 0x401e6f
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
push 0x403060
call fcn.00402b70
push ecx
mov ecx, eax
call fcn.00402e40
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]