Function at 0x469450
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8de5
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x514080]
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.0040ec80
mov dword [ebp - 4], 0
push str..appx
push dword [ebp - 0x18]
call fcn.004aa8b3
add esp, 8
test eax, eax
je 0x4695b1
push str..msix
push dword [ebp - 0x18]
call fcn.004aa8b3
add esp, 8
test eax, eax
je 0x4695b1
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 0x469510
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.0046d9c0
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x469566
cmp dword [eax - 4], 1
jle 0x469563
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 0x469578
xor eax, eax
jmp 0x46957e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
test bl, bl
je 0x4695a5
test eax, eax
jne 0x4695a5
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4695a5
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 0x469696
call fcn.00404710
mov ebx, eax
test ebx, ebx
je 0x4696fe
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e1514]
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.00408b70
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00422560
mov byte [ebp - 4], 3
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.004226a0
test al, al
jne 0x469620
lea edx, [ebp - 0x24]
mov ecx, 0xe000002c
call fcn.004471e0
mov dword [ebp - 0x14], 0xe000002c
jmp 0x469627
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 0x46965e
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
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 0x469692
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
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 0x4696bc
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
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 0x4696e7
mov edi, dword [eax]
push eax
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x4e1514]
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.00402740
int3