Function at 0x140001d40
Capabilities:
Create process on windows
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x410]
sub rsp, 0x510
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x400], rax
mov r8d, 0x104
lea rdx, [rbp + 0x1f0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x5c
lea rcx, [rbp + 0x1f0]
call fcn.140002e10
mov rbx, rax
test rax, rax
je 0x140001dab
add rbx, 2
jmp 0x140001db2
lea rbx, [rbp + 0x1f0]
mov edx, 0x2e
mov rcx, rbx
call fcn.140002e10
nop
test rax, rax
je 0x140001dcd
sub rax, rbx
sar rax, 1
jmp 0x140001dde
mov rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], 0
jne 0x140001dd4
lea rsi, [0x14001ad80]
mov r9, rax
mov rcx, rsi
mov r8, rbx
mov edx, 0x100
call fcn.140005964
xor edi, edi
mov word [rbp + 0x184], 0x500
lea rax, [rbp + 0x120]
mov dword [rbp + 0x188], edi
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0x180]
mov dword [rsp + 0x48], edi
mov r9d, 0x220
mov dword [rsp + 0x40], edi
mov r8d, 0x20
mov dword [rsp + 0x38], edi
mov dl, 2
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov qword [rbp + 0x120], rdi
mov dword [rbp + 0x180], edi
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140001e7c
mov rdx, qword [rbp + 0x120]
lea r8, [rbp + 0x188]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
nop dword [rax]
cmp dword [rbp + 0x188], edi
jne 0x140001eb3
mov dword [rsp + 0x28], 1
lea r8, [rbp + 0x1f0]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
lea rdx, str.runas
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1400020b8
xorps xmm0, xmm0
mov qword [rbp + 0x130], rdi
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x140], xmm0
lea rax, [0x140001c00]
movdqa xmmword [rbp + 0x150], xmm1
lea rcx, [rbp + 0x130]
movdqa xmmword [rbp + 0x160], xmm0
mov qword [rbp + 0x138], rax
mov qword [rbp + 0x170], rsi
call qword [sym.imp.USER32.dll_RegisterClassW]
mov ebx, 0xdc
lea rcx, [rsp + 0x62]
xor edx, edx
mov word [rsp + 0x60], bx
mov r8d, 0xda
call fcn.14000e0f0
lea r8, [rsp + 0x60]
mov edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplaySettingsW]
xor edx, edx
mov word [rbp + 0x40], bx
mov r8d, 0xda
lea rcx, [rbp + 0x42]
call fcn.14000e0f0
lea r8, [rbp + 0x40]
mov edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplaySettingsW]
mov eax, dword [rbp + 0x10]
mov r9d, 0x90000000
cdq
mov qword [rsp + 0x58], rdi
sub eax, edx
mov qword [rsp + 0x50], rdi
sar eax, 1
mov r8, rsi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], edi
lea ecx, [rax - 0x126]
mov dword [rsp + 0x30], edi
mov eax, dword [rbp + 0xec]
cdq
mov dword [rsp + 0x28], ecx
sub eax, edx
mov ecx, 0x80000
sar eax, 1
mov rdx, rsi
sub eax, 0xbe
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, 0xfffffffffffffffc
mov qword [0x14001ad58], rax
call qword [sym.imp.USER32.dll_SetProcessDpiAwarenessContext]
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [rsp + 0x28], edi
lea r9, [0x14001af88]
mov rcx, rax
mov qword [0x14001af80], rax
xor r8d, r8d
mov dword [rbp + 0x190], 0x28
lea rdx, [rbp + 0x190]
mov dword [rbp + 0x194], 0x17c
mov dword [rbp + 0x198], 0xfffffdb4
mov qword [rbp + 0x19c], 0x200001
mov qword [rbp + 0x1a4], rdi
mov qword [rbp + 0x1ac], rdi
mov qword [rbp + 0x1b4], rdi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.GDI32.dll_CreateDIBSection]
mov rcx, qword [0x14001af80]
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
nop
call fcn.1400018a0
xorps xmm0, xmm0
movups xmmword [rbp + 0x1c0], xmm0
movups xmmword [rbp + 0x1d0], xmm0
movups xmmword [rbp + 0x1e0], xmm0
mov rdx, qword [0x14001ad58]
lea rcx, [rbp + 0x1c0]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jle 0x1400020b8
nop dword [rax + rax]
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov rdx, qword [0x14001ad58]
lea rcx, [rbp + 0x1c0]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jg 0x140002080
xor eax, eax
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.140002100
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret