Function at 0x46a000
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da025
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x515080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x160]
mov edx, edi
lea ecx, [ebp - 0x18]
call fcn.0040eea0
mov dword [ebp - 4], 0
push str..appx
push dword [ebp - 0x18]
call fcn.004ab843
add esp, 8
test eax, eax
je 0x46a161
push str..msix
push dword [ebp - 0x18]
call fcn.004ab843
add esp, 8
test eax, eax
je 0x46a161
mov bl, byte [ebp + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x60], xmm0
test bl, bl
mov eax, dword [ebp - 0x60]
mov ecx, 0x40
cmovne eax, ecx
movlpd qword [ebp - 0x50], xmm0
mov dword [ebp - 0x60], eax
mov eax, dword [edi]
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x64], 0x3c
cmp dword [eax - 4], 1
jle 0x46a0c0
push dword [eax - 0xc]
mov ecx, edi
call fcn.00402410
mov eax, dword [edi]
mov ecx, 1
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0x94]
shr eax, 2
test cl, al
mov dword [ebp - 0x58], str.open
mov eax, 0
cmovne ecx, eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x48], ecx
mov ecx, esi
push eax
call fcn.0046e570
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x46a116
cmp dword [eax - 4], 1
jle 0x46a113
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00402410
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x46a128
xor eax, eax
jmp 0x46a12e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
test bl, bl
je 0x46a155
test eax, eax
jne 0x46a155
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x46a155
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 0xc]
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov byte [ebp - 4], 0
or ebx, 0xffffffff
jmp 0x46a246
call fcn.004046f0
mov ebx, eax
test ebx, ebx
je 0x46a2ae
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x10]
push dword [edi]
push str.Add_AppPackage__Path___s___n_exit__error.count_n
push eax
call fcn.00408d80
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00422b90
mov byte [ebp - 4], 3
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.00422cd0
test al, al
jne 0x46a1d0
lea edx, [ebp - 0x24]
mov ecx, 0xe000002c
call fcn.00447d50
mov dword [ebp - 0x14], 0xe000002c
jmp 0x46a1d7
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 8
or ebx, 0xffffffff
mov ecx, dword [ebp - 0x24]
mov eax, ebx
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x46a20e
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
mov eax, ebx
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x46a242
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov eax, ebx
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x46a26c
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x46a297
mov edi, dword [eax]
push eax
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x14]
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.00402720
int3