Function at 0x462060
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cfaa5
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x50a074]
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.0040e710
mov dword [ebp - 4], 0
push str..appx
push dword [ebp - 0x10]
call fcn.004a10c3
add esp, 8
test eax, eax
je 0x4621ca
push str..msix
push dword [ebp - 0x10]
call fcn.004a10c3
add esp, 8
test eax, eax
je 0x4621ca
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 0x462126
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.00466240
mov byte [ebp - 4], 0x11
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x462180
cmp dword [eax - 4], 1
jle 0x46217d
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 0x462192
xor edi, edi
jmp 0x46219a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test bl, bl
je 0x4621be
test edi, edi
jne 0x4621be
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4621be
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 0x462288
call fcn.004043d0
mov ecx, eax
test ecx, ecx
je 0x4622d7
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.00408750
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.00421270
mov byte [ebp - 4], 3
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00421390
test al, al
jne 0x46222f
lea edx, [ebp - 0x18]
mov ecx, 0xe000002c
call fcn.00443430
mov edi, 0xe000002c
jmp 0x462231
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 0x46225c
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 0x462284
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 0x4622a2
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 0x4622c1
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