Function at 0x14004e530
Capabilities:
Create process on windows
Create thread
Enumerate gui resources
Execute command
Get token membership
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x140151f00]
xor rax, rsp
mov qword [rbp + 0x270], rax
xor esi, esi
mov ecx, 1
call fcn.1400fba7c
mov qword [rbp + 0x50], rax
lea rcx, [rbp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140056fe0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x30], rax
test rax, rax
je 0x14004eb39
cmp dword [rbp + 0x38], esi
je 0x14004eb2d
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0x50], xmm0
lea rcx, [rbp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14004eb2d
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm0
xor edx, edx
lea rcx, [0x14004a130]
call qword [sym.imp.USER32.dll_EnumWindows]
lea rcx, str.title_Axtralsz_Tweaks
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov dword [rbp + 0x40], esi
mov qword [rbp + 0x50], rsi
mov dword [rbp + 0x30], esi
mov word [rbp + 0x34], 0x500
lea rax, [rbp + 0x50]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x14004e64d
lea r8, [rbp + 0x40]
mov rdx, qword [rbp + 0x50]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rbp + 0x40], 0
jne 0x14004e6d9
mov r8d, 0x104
lea rdx, [rbp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14004e6d9
mov dword [rbp - 0x40], reloc.WS2_32.dll_WSASetLastError
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rbp + 4], xmm0
movups xmmword [rbp + 0x14], xmm0
mov qword [rbp + 0x24], rax
mov dword [rbp + 0x2c], eax
lea rax, str.runas
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0x60]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x38], rsi
mov dword [rbp - 0x10], 1
lea rcx, [rbp - 0x40]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x14004e6d0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov dword [rsp + 0x70], 0x50
mov dword [rsp + 0x74], 0x40
lea rax, [0x140052c70]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp - 0x78], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x60], xmm1
lea rbx, [0x14013a2e0]
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rsi
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], rsi
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
mov r9d, 0x80000000
mov r8, rbx
mov rdx, qword [rbp - 0x50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rdi, rax
mov rcx, rax
call fcn.140052830
test al, al
jne 0x14004e7f0
mov rcx, qword [0x140153920]
test rcx, rcx
je 0x14004e79c
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140153920], rsi
mov rcx, qword [0x140153918]
test rcx, rcx
je 0x14004e7b5
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140153918], rsi
mov rdx, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, 1
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.1400fb350
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [0x140153510]
test rax, rax
je 0x14004e816
inc dword [rax + 0x3b0]
mov ecx, 0x40b0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x50], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x40], rax
test rax, rax
je 0x14004e843
xor edx, edx
mov rcx, rax
call fcn.140001dd0
jmp 0x14004e846
mov rax, rsi
cmp qword [0x140153510], 0
jne 0x14004e857
mov qword [0x140153510], rax
mov rcx, rax
call fcn.140008800
mov rbx, qword [0x140153510]
mov qword [rbx + 0x20], rsi
or dword [rbx + 8], 0x400
mov dword [rbx + 0x1644], esi
mov dword [rbx + 0x1728], 0x3f800000
movss xmm2, dword [0x14013b7b8]
mov rcx, qword [rbx + 0xa8]
call fcn.1400301e0
movss xmm2, dword [0x14013b7bc]
mov rcx, qword [rbx + 0xa8]
call fcn.1400301e0
mov qword [0x140153978], rax
xor ecx, ecx
call fcn.14002b990
mov rcx, rdi
call fcn.140035ed0
mov rcx, qword [0x140153920]
mov rbx, qword [0x140153510]
lea rax, str.imgui_impl_dx9
mov qword [rbx + 0xe8], rax
or dword [rbx + 0xc], 0x1008
mov qword [0x1401538d0], rcx
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [0x140153510]
test dword [rbx + 8], 0x400
je 0x14004e945
lea rcx, [fcn.140035ba0]
mov qword [rax + 0x15f0], rcx
lea rcx, [fcn.140035c70]
mov qword [rax + 0x15f8], rcx
lea rcx, [0x140035cf0]
mov qword [rax + 0x1600], rcx
lea rcx, [0x140035d50]
mov qword [rax + 0x1608], rcx
lea rcx, [0x140035ea0]
mov qword [rax + 0x1610], rcx
mov qword [rax + 0x1680], rsi
mov qword [rax + 0x163c], rsi
mov dword [rax + 0x1670], 0x40600000
mov qword [rax + 0x1674], 0x40600000
mov dword [rax + 0x1648], 0x3f800000
mov dword [rax + 0x16b4], 0x3f800000
mov dword [rax + 0x16b0], esi
movdqa xmm1, xmmword [0x14013bb20]
movups xmmword [rax + 0x171c], xmm1
movdqa xmm0, xmmword [0x14013bc20]
movups xmmword [rax + 0x181c], xmm0
movups xmmword [rax + 0x176c], xmm1
movups xmmword [rax + 0x178c], xmm1
movups xmmword [rax + 0x177c], xmm1
mov dword [rax + 0x167c], 0x3d4ccccd
movdqa xmm0, xmmword [0x14013bb30]
movups xmmword [rax + 0x172c], xmm0
movdqa xmm1, xmmword [0x14013bac0]
movups xmmword [rax + 0x174c], xmm1
movdqa xmm2, xmmword [0x14013bb40]
movups xmmword [rax + 0x184c], xmm2
movdqa xmm0, xmmword [0x14013b9e0]
movups xmmword [rax + 0x186c], xmm0
movups xmmword [rax + 0x185c], xmm2
call fcn.14004eba0
call fcn.14001a040
call fcn.140035ac0
mov rcx, qword [0x1401538d0]
test rcx, rcx
je 0x14004ea2a
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401538d0], rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rax
lea rcx, str.ImGui_Platform
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [0x1401538e8]
test rcx, rcx
je 0x14004ea54
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x1401538e8], rsi
mov qword [0x1401538f0], rsi
mov qword [0x1401538f8], rsi
mov qword [0x140153900], rsi
mov qword [0x140153908], rsi
mov qword [0x140153910], rsi
mov dword [reloc.WS2_32.dll_htons], 9
mov byte [0x1401538e0], 0
mov byte [reloc.WS2_32.dll_accept], 1
mov rbx, qword [0x140153510]
mov rcx, rbx
call fcn.140008b60
cmp qword [0x140153510], rbx
jne 0x14004eab5
mov qword [0x140153510], rsi
test rbx, rbx
je 0x14004eadd
mov rcx, rbx
call fcn.1400245a0
mov rax, qword [0x140153510]
test rax, rax
je 0x14004ead4
dec dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140153920]
test rcx, rcx
je 0x14004eaf6
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140153920], rsi
mov rcx, qword [0x140153918]
test rcx, rcx
je 0x14004eb0f
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140153918], rsi
mov rcx, rdi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.USER32.dll_UnregisterClassW]
xor eax, eax
jmp 0x14004e7c8
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x38], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3