Function at 0x14022c680
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x3a0
lea rax, [rsp + 0x2d0]
mov qword [rsp + 0x1a8], rax
lea rdx, str.winget_install
mov rcx, qword [rsp + 0x1a8]
call fcn.140014930
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x70]
call fcn.1400aaa00
nop
mov rax, qword [rsp + 0x3c0]
mov qword [rsp + 0x100], rax
lea rdx, [0x1402d6b70]
lea rcx, [rsp + 0x128]
call fcn.140013470
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x3c8]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x1f8]
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0xa0]
call fcn.1400133e0
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x120]
call fcn.1400aa010
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc8], rax
mov r8, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x118]
call fcn.140039530
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe8], rax
mov r8, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x110]
call fcn.140039530
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x108], rax
mov r8, qword [rsp + 0x100]
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x58]
call fcn.140039530
nop
lea rcx, [rsp + 0x110]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x118]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x120]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x128]
call fcn.1400165c0
nop
lea rax, [rsp + 0x260]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rsp + 0x1b0]
mov rdi, rax
xor eax, eax
mov ecx, SafeArrayPutElement
rep stosb byte [rdi], al
lea rcx, [rsp + 0x78]
call fcn.14022acb0
nop
lea rax, [rsp + 0x360]
mov qword [rsp + 0x130], rax
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x3c0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x3b8]
mov rax, qword [rsp + 0x3b0]
mov r8, qword [rax]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x330]
call fcn.14022a140
mov rdx, rax
mov rcx, qword [rsp + 0x130]
call fcn.140228930
mov qword [rsp + 0x138], rax
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0x220]
call fcn.1400380e0
nop
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x260]
call fcn.1402938e0
mov dword [rsp + 0x260], WSAGetLastError
mov r8d, SafeArrayPutElement
xor edx, edx
lea rcx, [rsp + 0x1b0]
call fcn.1402938e0
lea rcx, [rsp + 0x58]
call fcn.14003b490
lea rcx, [rsp + 0x1b0]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x260]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jne 0x14022ca7d
lea rcx, [rsp + 0x1d8]
call fcn.14022acb0
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x148], rax
mov rdx, qword [rsp + 0x148]
lea rcx, [rsp + 0x78]
call fcn.14022afe0
nop
lea rcx, [rsp + 0x1d8]
call fcn.14022af60
nop
mov byte [rsp + 0x50], 0
lea rcx, [rsp + 0x220]
call fcn.140038d90
nop
lea rcx, [rsp + 0x78]
call fcn.14022af60
nop
lea rcx, [rsp + 0x58]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x70]
call fcn.1400165c0
nop
mov rcx, qword [rsp + 0x3b8]
call fcn.1400165c0
nop
mov rcx, qword [rsp + 0x3c0]
call fcn.1400165c0
nop
mov rcx, qword [rsp + 0x3c8]
call fcn.1400165c0
movzx eax, byte [rsp + 0x50]
jmp 0x14022cca6
lea rax, [rsp + 0x2f0]
mov qword [rsp + 0x150], rax
lea rdx, [0x1402cd5b0]
mov rcx, qword [rsp + 0x150]
call fcn.140014930
mov qword [rsp + 0x158], rax
mov rdx, qword [rsp + 0x158]
lea rcx, [rsp + 0x170]
call fcn.1400aaa00
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x168], rax
mov rcx, qword [rsp + 0x168]
call fcn.14000f0c0
mov rdx, rax
lea rcx, [rsp + 0x200]
call fcn.140014930
nop
lea rcx, [rsp + 0x170]
call fcn.1400165c0
nop
lea rax, [rsp + 0x310]
mov qword [rsp + 0x178], rax
lea rdx, [rsp + 0x200]
mov rcx, qword [rsp + 0x178]
call fcn.140014890
mov qword [rsp + 0x180], rax
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x190]
call fcn.1400aa390
mov qword [rsp + 0x188], rax
mov rcx, qword [rsp + 0x188]
call fcn.14000f0c0
mov r8, rax
mov edx, 1
mov ecx, 0x1f0003
call qword [sym.imp.KERNEL32.dll_OpenEventW]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x190]
call fcn.1400165c0
nop
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
mov qword [rsp + rax + 0x1c8], rcx
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x1b0]
mov qword [rsp + rax + 0x1c8], rcx
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rsp + 0x1c8]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
nop
mov rdx, qword [rsp + 0x1b0]
lea rcx, [rsp + 0x1e8]
call fcn.14022ab80
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x1a0], rax
mov rdx, qword [rsp + 0x1a0]
lea rcx, [rsp + 0x78]
call fcn.14022afe0
nop
lea rcx, [rsp + 0x1e8]
call fcn.14022af60
nop
cmp qword [rsp + 0x68], 0
je 0x14022cc2d
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x78]
call fcn.1402356b0
mov byte [rsp + 0x51], al
lea rcx, [rsp + 0x200]
call fcn.140016ce0
nop
lea rcx, [rsp + 0x220]
call fcn.140038d90
nop
lea rcx, [rsp + 0x78]
call fcn.14022af60
nop
lea rcx, [rsp + 0x58]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x70]
call fcn.1400165c0
nop
mov rcx, qword [rsp + 0x3b8]
call fcn.1400165c0
nop
mov rcx, qword [rsp + 0x3c0]
call fcn.1400165c0
nop
mov rcx, qword [rsp + 0x3c8]
call fcn.1400165c0
movzx eax, byte [rsp + 0x51]
add rsp, 0x3a0
pop rdi
ret