Function at 0x1400115b0
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x2020]
mov eax, 0x2120
call fcn.140030c20
sub rsp, rax
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x2158], rbx
mov qword [rsp + 0x2168], rsi
mov rax, qword [0x140044ee0]
xor rax, rsp
mov qword [rbp + 0x2010], rax
mov rbx, r8
mov r14, rdx
mov rdi, rcx
mov r15, qword [rbp + 0x2070]
xor r12d, r12d
mov qword [rbp], r12
mov qword [rbp + 8], 7
mov word [rbp - 0x10], r12w
cmp qword [r8 + 0x18], 8
jb 0x140011626
mov rbx, qword [r8]
test rbx, rbx
jne 0x140011637
mov ebx, 0x80004003
mov edx, 0xb
jmp 0x14001167b
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x10]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov r8d, 0x800
lea rdx, [rbp + 0x10]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
test eax, eax
jne 0x1400116b1
mov rcx, qword [rbp + 0x2048]
call fcn.140011514
mov ebx, 0x80070057
mov edx, 0x11
mov r9d, ebx
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibprocesshelper.cpp
mov rcx, qword [rbp + 0x2048]
call fcn.140003b78
mov rcx, qword [rbp + 0x2048]
mov r9d, ebx
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibprocesshelper.cpp
mov edx, 0x175
call fcn.140003b78
jmp 0x14001189c
mov word [rbp + 0x100e], r12w
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x10]
call fcn.140006794
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeEx]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x2048]
test eax, eax
js 0x1400118d3
xor edx, edx
lea r8d, [rdx + 0x64]
lea rcx, [rbp - 0x7c]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rbp - 0x80], 0x68
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
cmp qword [rbp], r12
jne 0x140011715
mov rsi, r12
jmp 0x140011723
lea rsi, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rsi, qword [rbp - 0x10]
cmp qword [r14 + 0x18], 8
jb 0x14001172d
mov r14, qword [r14]
mov r8, r14
mov edx, 0x800
lea rcx, [rbp + 0x1010]
call fcn.1400020fc
mov ebx, eax
test eax, eax
jns 0x140011754
mov r9d, eax
mov edx, 0x17d
jmp 0x140011861
cmp qword [rdi + 0x18], 8
jb 0x14001175e
mov rdi, qword [rdi]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x4000400
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x1010]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
nop dword [rax + rax]
test eax, eax
jne 0x1400117c7
mov rcx, qword [rbp + 0x2048]
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibprocesshelper.cpp
mov edx, 0x18a
call fcn.140003bb0
mov ebx, eax
jmp 0x140011885
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_AllowSetForegroundWindow]
nop dword [rax + rax]
or edx, 0xffffffff
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
test eax, eax
je 0x140011821
mov rcx, qword [rbp + 0x2048]
mov dword [rsp + 0x28], eax
lea rax, [0x140037c84]
mov qword [rsp + 0x20], rax
mov ebx, 0x8133300b
mov r9d, ebx
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibprocesshelper.cpp
mov edx, 0x19b
call fcn.140009424
jmp 0x140011885
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetExitCodeProcess]
nop dword [rax + rax]
test eax, eax
jne 0x140011876
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x140011885
mov r9d, ebx
mov edx, 0x197
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibprocesshelper.cpp
mov rcx, qword [rbp + 0x2048]
call fcn.140003b78
jmp 0x140011885
test r15, r15
je 0x140011882
mov eax, dword [rsp + 0x50]
mov dword [r15], eax
mov ebx, r12d
lea rcx, [rsp + 0x58]
call fcn.140011548
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x10]
call fcn.140006594
mov eax, ebx
mov rcx, qword [rbp + 0x2010]
xor rcx, rsp
call fcn.14002f8a0
lea r11, [rsp + 0x2120]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov r9d, eax
lea r8, str.onecoreinternal_sdkincwilopensourcewil_resource.h
mov edx, 0x10e9
call fcn.140008340
int3