Function at 0x1400099e0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x140015348]
xor rax, rsp
mov qword [rbp + 0x140], rax
movzx r14d, r8b
mov rdi, rdx
mov rsi, rcx
xor r15d, r15d
mov dword [rsp + 0x50], r15d
mov rdx, qword [rdx]
lea rcx, [rbp + 0x120]
call fcn.1400052d0
nop
lea rax, [0x1400104d8]
mov qword [rbp - 0x20], rax
lea rax, [0x1400104e0]
mov qword [rbp - 0x10], rax
lea rcx, [rbp + 0x78]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x50], 1
xor r8d, r8d
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x20], r12
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x24], edx
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 8], rax
mov r9d, r15d
mov qword [rbp + 0x60], r15
mov ecx, r15d
mov dword [rbp + 0x68], ecx
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
sub rax, rdx
sar rax, 5
cmp rax, 1
jbe 0x140009b60
lea rax, [rdx + 0x20]
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140009ae1
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rcx
mov word [rsp + 0x68], 0x5c22
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x10]
call fcn.140008eb0
mov rbx, qword [rdi]
add rbx, 0x40
cmp rbx, qword [rdi + 8]
je 0x140009b59
nop dword [rax]
lea rdx, [0x14000f3a0]
lea rcx, [rbp - 0x10]
call fcn.140009150
mov rdx, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140009b31
mov rcx, qword [rbx]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rdx
mov word [rsp + 0x68], 0x5c22
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.140008eb0
add rbx, 0x20
cmp rbx, qword [rdi + 8]
jne 0x140009b10
mov r9, qword [rbp + 0x60]
mov ecx, dword [rbp + 0x68]
mov qword [rbp + 0x100], r15
mov qword [rbp + 0x110], r15
mov qword [rbp + 0x118], 0xf
mov byte [rbp + 0x100], 0
mov dword [rsp + 0x50], 5
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140009bb7
mov rax, qword [rbp + 0x38]
mov r8, qword [rax]
test r8, r8
je 0x140009bb7
mov rax, qword [rbp + 0x18]
mov rdx, qword [rax]
cmp r8, r9
cmovb r8, r9
sub r8, rdx
jmp 0x140009be8
test cl, 4
jne 0x140009bde
mov rax, qword [rbp + 0x30]
mov rcx, qword [rax]
test rcx, rcx
je 0x140009bde
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x48]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140009be8
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140009bfa
lea rcx, [rbp + 0x100]
call fcn.140001710
nop
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0xe0]
call fcn.1400052d0
nop
mov rdx, qword [rbp + 0x118]
cmp rdx, 0x10
jb 0x140009c52
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009c4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009c4d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b394
mov qword [rbp + 0x110], r15
mov qword [rbp + 0x118], 0xf
mov byte [rbp + 0x100], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
mov dword [rsp + 0x70], 0x70
mov qword [rsp + 0x78], r15
lea rax, str.runas
mov qword [rbp - 0x80], rax
lea rax, [rbp + 0x120]
cmp qword [rbp + 0x138], 8
cmovae rax, qword [rbp + 0x120]
mov qword [rbp - 0x78], rax
lea rax, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 8
cmovae rax, qword [rbp + 0xe0]
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x60], 1
mov eax, dword [rsp + 0x74]
mov ecx, 0x40
test r14b, r14b
cmovne eax, ecx
mov dword [rsp + 0x74], eax
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x140009daa
call fcn.140008380
mov r8, qword [rax]
xor edx, edx
mov ecx, dword [0x14001533c]
call r8
test eax, eax
je 0x140009d99
call fcn.140008380
mov rbx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 8
cmovae rdx, qword [rbp + 0xe0]
lea rcx, [rbp + 0x120]
cmp qword [rbp + 0x138], 8
cmovae rcx, qword [rbp + 0x120]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rcx
lea r9, str.xprocCreate_elevated_basic
mov qword [rsp + 0x30], r9
lea rax, str._s:_ShellExecuteEx_failed:_filename__ls_parameters__ls_GetLastError____d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x6b
lea r8, str.C:code_app_playerhdSourcexplXprocWinnt.cpp
mov edx, dword [0x14001533c]
xor ecx, ecx
call rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140003350
mov ebx, eax
jmp 0x140009dc6
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140009dc3
test rsi, rsi
je 0x140009dbd
mov qword [rsi], rcx
jmp 0x140009dc3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, r15d
mov rdx, qword [rbp + 0xf8]
cmp rdx, 8
jb 0x140009e0f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009e0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009e0a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b394
mov qword [rbp + 0xf0], r15
mov qword [rbp + 0xf8], 7
mov word [rbp + 0xe0], r15w
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x20], r12
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x24], edx
lea rcx, [rbp - 8]
call fcn.140006180
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x138]
cmp rdx, 8
jb 0x140009eaf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009eaa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009eaa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b394
mov eax, ebx
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14000b510
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret