Function at 0x4196cd
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0x6c
mov eax, 0x45c394
call fcn.0043eda2
mov edi, 0x480160
push str.AppExe
mov ecx, edi
mov dword [ebp - 0x14], 0x80070057
call fcn.00402997
test eax, eax
je 0x419905
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.00401513
and dword [ebp - 4], 0
or dword [ebp - 4], 0xffffffff
lea ebx, [ebp - 0x10]
call fcn.00418c81
pop ecx
mov dword [ebp - 4], 1
push 0x5c
mov esi, ebx
call fcn.004088b4
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
call fcn.004092bb
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
mov ecx, dword [ebp - 0x18]
sub eax, dword [ecx - 0xc]
mov ecx, ebx
dec eax
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004088d5
mov byte [ebp - 4], 3
call fcn.00408843
push 0x22
mov ecx, ebx
call fcn.00404007
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
je 0x419772
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00409370
push str.LaunchAs
mov ecx, edi
xor esi, esi
call fcn.00402997
cmp eax, ebx
je 0x4197f8
mov ecx, str.AsInvoker
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4197af
cmp dx, bx
je 0x4197ab
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4197af
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x419789
xor eax, eax
jmp 0x4197b4
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4197f8
push 3
xor esi, esi
push 5
inc esi
call fcn.00418c0e
test al, al
pop ecx
pop ecx
je 0x4197f8
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push dword [ebp - 0x20]
call fcn.00419fe7
add esp, 0xc
cmp byte [ebp + 8], bl
mov dword [ebp - 0x14], eax
je 0x4197ef
mov ecx, dword [0x47ffd0]
push ebx
call fcn.0042a979
cmp dword [ebp - 0x14], ebx
jge 0x4198cd
push 0x40
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 0x78], 0x44
call fcn.0043eeb0
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.004089d6
mov byte [ebp - 4], 4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041806b
pop ecx
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
neg eax
sbb eax, eax
and eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
mov edi, eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0040d331
push eax
neg esi
push ebx
sbb esi, esi
and esi, 0x1000000
push esi
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x10]
call fcn.0040d331
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x419872
mov dword [ebp - 0x14], ebx
jmp 0x41987a
call fcn.0040310b
mov dword [ebp - 0x14], eax
cmp byte [ebp + 8], bl
je 0x4198ac
mov ecx, dword [0x47ffd0]
push ebx
call fcn.0042a979
push 0xea60
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
test eax, eax
jne 0x4198ac
push ebx
push 0x41954b
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_EnumThreadWindows]
cmp dword [ebp - 0x14], ebx
jl 0x4198c1
push dword [ebp - 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x30]
call esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00401b20
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004053de
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.004053de
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00401b20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00401b20
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401b20
mov eax, dword [ebp - 0x14]
call fcn.0043ee7a
ret