Function at 0x140006540
Capabilities:
Create process on windows

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xe0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x58], 0xfffffffffffffffe
mov qword [rbp], 0
mov qword [rbp + 8], 1
mov qword [rbp + 0x10], 0
mov rcx, rbp
mov r8d, 0xc8
xor edx, edx
call fcn.14001fd50
mov rdi, qword [rbp + 8]
mov rsi, qword [rbp + 0x10]
xorps xmm0, xmm0
movups xmmword [rdi + rsi + 0xb0], xmm0
movups xmmword [rdi + rsi + 0xa0], xmm0
movups xmmword [rdi + rsi + 0x90], xmm0
movups xmmword [rdi + rsi + 0x80], xmm0
movups xmmword [rdi + rsi + 0x70], xmm0
movups xmmword [rdi + rsi + 0x60], xmm0
movups xmmword [rdi + rsi + 0x50], xmm0
movups xmmword [rdi + rsi + 0x40], xmm0
movups xmmword [rdi + rsi + 0x30], xmm0
movups xmmword [rdi + rsi + 0x20], xmm0
movups xmmword [rdi + rsi + 0x10], xmm0
movups xmmword [rdi + rsi], xmm0
mov qword [rdi + rsi + 0xbf], 0
mov byte [rdi + rsi + 0xc7], 0
add rsi, 0xc8
mov qword [rbp + 0x10], rsi
xor ecx, ecx
mov rdx, rdi
mov r8d, 0xc8
call sub.KERNEL32.dll_GetModuleFileNameA
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 1
mov qword [rbp + 0x48], 0
mov r15d, eax
xor edx, edx
lea r14, [rbp + 0x38]
xor ebx, ebx
jmp 0x14000664a
mov rdx, qword [rbp + 0x48]
inc rbx
mov rax, qword [rbp + 0x40]
mov byte [rax + rdx], r12b
mov rdx, qword [rbp + 0x48]
inc rdx
mov qword [rbp + 0x48], rdx
cmp rbx, r15
jae 0x140006671
cmp rbx, rsi
jae 0x140006801
movzx r12d, byte [rdi + rbx]
cmp rdx, qword [rbp + 0x38]
jne 0x140006634
mov byte [rbp + 0x57], 1
mov rcx, r14
call fcn.140007a90
jmp 0x140006630
mov qword [rbp - 0x30], 0
mov dword [rbp + 0x50], 0
mov dword [rbp - 0x50], 0
mov byte [rbp + 0x57], 1
call sub.KERNEL32.dll_GetCurrentProcess
mov byte [rbp + 0x57], 1
lea r8, [rbp - 0x30]
mov rcx, rax
mov edx, 8
call sub.ADVAPI32.dll_OpenProcessToken
mov rcx, qword [rbp - 0x30]
mov byte [rbp + 0x57], 1
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x50]
mov edx, 0x14
mov r9d, 4
call sub.ADVAPI32.dll_GetTokenInformation
mov esi, dword [rbp + 0x50]
cmp esi, 1
jne 0x1400066e8
mov rdx, qword [rbp + 0x38]
test rdx, rdx
je 0x1400067d1
mov rcx, qword [rbp + 0x40]
jmp 0x1400067c6
lea rax, str.This_is_not_elevated_yet_n
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
lea rax, str.Elevated____Yay_nx
mov qword [rbp - 0x20], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov byte [rbp + 0x57], 1
lea rcx, [rbp - 0x30]
call fcn.14000b7f0
mov byte [rbp + 0x57], 1
lea rdx, str.runas
lea rcx, [rbp - 0x50]
mov r8d, 5
call fcn.14001a150
movabs rax, 0x8000000000000000
cmp qword [rbp - 0x50], rax
jne 0x140006819
mov rax, qword [rbp - 0x48]
mov qword [rbp + 0x18], rax
mov rax, qword [rbp - 0x40]
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x48]
mov qword [rbp - 0x20], rax
movups xmm0, xmmword [rbp + 0x38]
movaps xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call fcn.14001a2f0
mov qword [rbp + 0x28], rdx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor ecx, ecx
mov rdx, qword [rbp + 0x18]
mov qword [rbp + 0x30], rax
mov r8, rax
xor r9d, r9d
call sub.SHELL32.dll_ShellExecuteA
mov rcx, qword [rbp + 0x30]
mov byte [rcx], 0
mov rdx, qword [rbp + 0x28]
test rdx, rdx
je 0x1400067b6
mov r8d, 1
call fcn.140007c10
mov rcx, qword [rbp + 0x18]
mov byte [rcx], 0
mov rdx, qword [rbp + 0x20]
test rdx, rdx
je 0x1400067d1
mov r8d, 1
call fcn.140007c10
mov rdx, qword [rbp]
test rdx, rdx
je 0x1400067e9
mov rcx, qword [rbp + 8]
mov r8d, 1
call fcn.140007c10
cmp esi, 1
sete al
add rsp, 0xe0
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
mov byte [rbp + 0x57], 1
lea r8, [0x140021fa0]
mov rcx, rbx
mov rdx, rsi
call fcn.140020a20
jmp 0x140006851
movups xmm0, xmmword [rbp - 0x50]
movups xmm1, xmmword [rbp - 0x40]
movaps xmmword [rbp - 0x20], xmm1
movaps xmmword [rbp - 0x30], xmm0
lea rax, [0x140021f88]
mov qword [rsp + 0x20], rax
lea rcx, [0x140021c50]
lea r9, [0x140021c80]
lea r8, [rbp - 0x30]
mov edx, 0x2b
call fcn.140020cb0
ud2