Function at 0x45e010
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aeb85
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x4e3050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea edx, [edi + 0x160]
lea ecx, [ebp - 0x10]
call fcn.0040e270
mov dword [ebp - 4], 0
push str..appx
push dword [ebp - 0x10]
call fcn.00487093
add esp, 8
test eax, eax
je 0x45e17a
push str..msix
push dword [ebp - 0x10]
call fcn.00487093
add esp, 8
test eax, eax
je 0x45e17a
mov bl, byte [ebp + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x54], xmm0
test bl, bl
mov eax, dword [ebp - 0x54]
mov ecx, 0x40
cmovne eax, ecx
movlpd qword [ebp - 0x44], xmm0
mov dword [ebp - 0x54], eax
mov eax, dword [edi + 0x160]
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x58], 0x3c
cmp dword [eax - 4], 1
jle 0x45e0d6
push dword [eax - 0xc]
lea ecx, [edi + 0x160]
call fcn.004022b0
mov eax, dword [edi + 0x160]
mov ecx, 1
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x94]
shr eax, 2
test cl, al
mov dword [ebp - 0x4c], str.open
mov eax, 0
cmovne ecx, eax
lea eax, [ebp + 8]
mov dword [ebp - 0x3c], ecx
mov ecx, edi
push eax
call fcn.004621f0
mov byte [ebp - 4], 0x11
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x45e130
cmp dword [eax - 4], 1
jle 0x45e12d
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.004022b0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x45e142
xor edi, edi
jmp 0x45e14a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test bl, bl
je 0x45e16e
test edi, edi
jne 0x45e16e
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x45e16e
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 0xc]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov byte [ebp - 4], 0
or esi, 0xffffffff
jmp 0x45e238
call fcn.004042d0
mov ecx, eax
test ecx, ecx
je 0x45e287
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 2
lea eax, [ebp + 8]
push dword [edi + 0x160]
push str.Add_AppPackage__Path___s___n_exit__error.count_n
push eax
call fcn.00408350
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.00420a10
mov byte [ebp - 4], 3
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00420b30
test al, al
jne 0x45e1df
lea edx, [ebp - 0x18]
mov ecx, 0xe000002c
call fcn.0043f3f0
mov edi, 0xe000002c
jmp 0x45e1e1
xor edi, edi
mov byte [ebp - 4], 8
lea eax, [ebp - 0x18]
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 8
or esi, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e20c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1c]
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 2
mov eax, esi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e234
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp + 8]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e252
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x45e271
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00402570
int3