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

Disassembly:
push 0x6c
mov eax, 0x45a971
call fcn.0043d5a1
mov edi, 0x47e074
push 0x4651f0
mov ecx, edi
mov dword [ebp - 0x14], 0x80070057
call fcn.00402a05
test eax, eax
je 0x4186cc
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.0040153e
and dword [ebp - 4], 0
or dword [ebp - 4], 0xffffffff
lea ebx, [ebp - 0x10]
call fcn.00417b36
pop ecx
mov dword [ebp - 4], 1
push 0x5c
mov esi, ebx
call fcn.00408a48
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
call fcn.004093e9
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.00408a69
mov byte [ebp - 4], 3
call fcn.004089d7
push 0x22
mov ecx, ebx
call fcn.00403fe6
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
je 0x418539
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0040949e
push 0x465240
mov ecx, edi
xor esi, esi
call fcn.00402a05
cmp eax, ebx
je 0x4185bf
mov ecx, str.AsInvoker
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x418576
cmp dx, bx
je 0x418572
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x418576
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x418550
xor eax, eax
jmp 0x41857b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4185bf
push 3
xor esi, esi
push 5
inc esi
call fcn.00417ac3
test al, al
pop ecx
pop ecx
je 0x4185bf
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push dword [ebp - 0x20]
call fcn.00418d99
add esp, 0xc
cmp byte [ebp + 8], bl
mov dword [ebp - 0x14], eax
je 0x4185b6
mov ecx, dword [0x47dee8]
push ebx
call fcn.0042901b
cmp dword [ebp - 0x14], ebx
jge 0x418694
push 0x40
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 0x78], 0x44
call fcn.0043d160
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.00401a99
mov byte [ebp - 4], 4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004172b6
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.0040d12f
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.0040d12f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x418639
mov dword [ebp - 0x14], ebx
jmp 0x418641
call fcn.00403179
mov dword [ebp - 0x14], eax
cmp byte [ebp + 8], bl
je 0x418673
mov ecx, dword [0x47dee8]
push ebx
call fcn.0042901b
push 0xea60
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
test eax, eax
jne 0x418673
push ebx
push 0x418312
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_EnumThreadWindows]
cmp dword [ebp - 0x14], ebx
jl 0x418688
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.00401b86
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00405456
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00405456
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00401b86
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00401b86
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401b86
mov eax, dword [ebp - 0x14]
call fcn.0043d679
ret