Function at 0x62252c10
Capabilities:
Access peb ldr_data
Create process on windows
Get common file path
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x220]
push ebx
sub esp, 0x29c
mov dword [esp + 4], 0xf7
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
lea edi, [eax + eax]
mov eax, dword [str.control.exe]
sub esp, 8
lea edx, [edi + 0x4c]
mov dword [esp + 4], 0
mov dword [ebp + edi - 0x220], eax
mov eax, dword [0x6225e098]
mov dword [esp + 8], edx
mov dword [ebp + edi - 0x21c], eax
mov eax, dword [0x6225e09c]
mov dword [ebp + edi - 0x218], eax
mov eax, dword [0x6225e0a0]
mov dword [ebp + edi - 0x214], eax
mov eax, dword [0x6225e0a4]
mov dword [ebp + edi - 0x210], eax
mov eax, dword [0x6225e0a8]
mov dword [ebp + edi - 0x20c], eax
movzx eax, word [0x6225e0ac]
mov word [ebp + edi - 0x208], ax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x62252e7e
mov ebx, eax
lea eax, [edi + 0x1a]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp], ebx
call sub.ucrtbase.dll_memcpy
mov edx, dword [str._appwiz.cpl_install_mono]
lea eax, [ebx + edi + 0x18]
mov dword [eax], edx
mov edx, dword [0x6225e064]
mov dword [eax + 4], edx
mov edx, dword [0x6225e068]
mov dword [eax + 8], edx
mov edx, dword [0x6225e06c]
mov dword [eax + 0xc], edx
mov edx, dword [0x6225e070]
mov dword [eax + 0x10], edx
mov edx, dword [0x6225e074]
mov dword [eax + 0x14], edx
mov edx, dword [0x6225e078]
mov dword [eax + 0x18], edx
mov edx, dword [0x6225e07c]
mov dword [eax + 0x1c], edx
mov edx, dword [0x6225e080]
mov dword [eax + 0x20], edx
mov edx, dword [0x6225e084]
mov dword [eax + 0x24], edx
mov edx, dword [0x6225e088]
mov dword [eax + 0x28], edx
mov edx, dword [0x6225e08c]
mov dword [eax + 0x2c], edx
movzx edx, word [0x6225e090]
mov word [eax + 0x30], dx
test byte [0x62258194], 8
jne 0x62252e00
xor eax, eax
mov ecx, 0x10
lea edi, [ebp - 0x260]
mov dword [ebp - 0x264], 0x44
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x264]
lea eax, [ebp - 0x274]
mov dword [esp], esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
call dword [sym.imp.kernel32.dll_CreateProcessW]
sub esp, 0x28
mov esi, eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
test esi, esi
jne 0x62252e38
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, ebx
call fcn.62252550
mov dword [esp + 0xc], str.starting__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.invoke_appwiz
mov dword [esp + 4], 0x62258194
mov dword [esp], 3
call fcn.62252a40
jmp 0x62252d5b
mov eax, dword [ebp - 0x270]
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x274]
sub esp, 4
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x274]
sub esp, 8
mov dword [esp], eax
call ebx
mov eax, esi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
xor esi, esi
jmp 0x62252df2