Function at 0x45e880
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af5e5
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x4e4050]
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.0040eb70
mov dword [ebp - 4], 0
push str..appx
push dword [ebp - 0x10]
call fcn.00487a13
add esp, 8
test eax, eax
je 0x45e9ea
push str..msix
push dword [ebp - 0x10]
call fcn.00487a13
add esp, 8
test eax, eax
je 0x45e9ea
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 0x45e946
push dword [eax - 0xc]
lea ecx, [edi + 0x160]
call fcn.00402500
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.00462a60
mov byte [ebp - 4], 0x11
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x45e9a0
cmp dword [eax - 4], 1
jle 0x45e99d
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00402500
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 0x45e9b2
xor edi, edi
jmp 0x45e9ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test bl, bl
je 0x45e9de
test edi, edi
jne 0x45e9de
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x45e9de
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 0x45eaa8
call fcn.00404500
mov ecx, eax
test ecx, ecx
je 0x45eaf7
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.00408190
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.004212f0
mov byte [ebp - 4], 3
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00421410
test al, al
jne 0x45ea4f
lea edx, [ebp - 0x18]
mov ecx, 0xe000002c
call fcn.0043fb30
mov edi, 0xe000002c
jmp 0x45ea51
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 0x45ea7c
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 0x45eaa4
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 0x45eac2
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 0x45eae1
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.004027c0
int3