Function at 0x1400121a0
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.140031b00
sub rsp, rax
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x2158], rbx
mov qword [rsp + 0x2168], rsi
mov rax, qword [0x140045ee0]
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 0x140012216
mov rbx, qword [r8]
test rbx, rbx
jne 0x140012227
mov ebx, 0x80004003
mov edx, 0xb
jmp 0x14001226b
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 0x1400122a1
mov rcx, qword [rbp + 0x2048]
call fcn.140012104
mov ebx, 0x80070057
mov edx, 0x11
mov r9d, ebx
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibprocesshelper.cpp
mov rcx, qword [rbp + 0x2048]
call fcn.140003bf8
mov rcx, qword [rbp + 0x2048]
mov r9d, ebx
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibprocesshelper.cpp
mov edx, 0x175
call fcn.140003bf8
jmp 0x14001248c
mov word [rbp + 0x100e], r12w
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x10]
call fcn.140006814
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 0x1400124c3
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 0x140012305
mov rsi, r12
jmp 0x140012313
lea rsi, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rsi, qword [rbp - 0x10]
cmp qword [r14 + 0x18], 8
jb 0x14001231d
mov r14, qword [r14]
mov r8, r14
mov edx, 0x800
lea rcx, [rbp + 0x1010]
call fcn.14000217c
mov ebx, eax
test eax, eax
jns 0x140012344
mov r9d, eax
mov edx, 0x17d
jmp 0x140012451
cmp qword [rdi + 0x18], 8
jb 0x14001234e
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 0x1400123b7
mov rcx, qword [rbp + 0x2048]
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibprocesshelper.cpp
mov edx, 0x18a
call fcn.140003c30
mov ebx, eax
jmp 0x140012475
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 0x140012411
mov rcx, qword [rbp + 0x2048]
mov dword [rsp + 0x28], eax
lea rax, [0x140039574]
mov qword [rsp + 0x20], rax
mov ebx, 0x8133300b
mov r9d, ebx
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibprocesshelper.cpp
mov edx, 0x19b
call fcn.1400094a4
jmp 0x140012475
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 0x140012466
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 0x140012475
mov r9d, ebx
mov edx, 0x197
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibprocesshelper.cpp
mov rcx, qword [rbp + 0x2048]
call fcn.140003bf8
jmp 0x140012475
test r15, r15
je 0x140012472
mov eax, dword [rsp + 0x50]
mov dword [r15], eax
mov ebx, r12d
lea rcx, [rsp + 0x58]
call fcn.140012138
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.140006614
mov eax, ebx
mov rcx, qword [rbp + 0x2010]
xor rcx, rsp
call fcn.140030780
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, 0x10ec
call fcn.1400083c0
int3