Function at 0x45a300
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7745
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x4db064]
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.0040d580
mov dword [ebp - 4], 0
push str..appx
push dword [ebp - 0x10]
call fcn.004806e3
add esp, 8
test eax, eax
jne 0x45a41a
call fcn.00404130
mov ecx, eax
test ecx, ecx
je 0x45a55f
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_AppxPackage__Path___s___n_exit__error.count_n
push eax
call fcn.00407900
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.0041ee60
mov byte [ebp - 4], 3
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041efa0
test al, al
jne 0x45a3bc
lea edx, [ebp - 0x18]
mov ecx, 0xe000002c
call fcn.0043c4d0
mov edi, 0xe000002c
jmp 0x45a3be
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 0x45a3e9
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 0x45a411
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
jmp 0x45a510
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 0x45a477
push dword [eax - 0xc]
lea ecx, [edi + 0x160]
call fcn.00402080
mov eax, dword [edi + 0x160]
mov dword [ebp - 0x48], eax
mov ecx, 1
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.0045dbe0
mov byte [ebp - 4], 0x11
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x45a4cb
cmp dword [eax - 4], 1
jle 0x45a4c8
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00402080
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 0x45a4dd
xor edi, edi
jmp 0x45a4e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test bl, bl
je 0x45a509
test edi, edi
jne 0x45a509
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x45a509
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
mov edx, dword [ebp + 8]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45a52a
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 0x45a549
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.004022e0
int3