Function at 0x10046d10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x1011e8e1
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x10165034]
xor eax, esp
mov dword [esp + 0xd4], eax
push esi
push edi
mov eax, dword [0x10165034]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
push str.Indicate_Start
push 1
push 0x33
push 0x1013749c
push 0x101374d8
mov dword [esp + 0x30], eax
call fcn.1010d8f0
xor esi, esi
add esp, 0x14
mov dword [esp + 0x14], esi
cmp dword [ebp + 0xc], esi
jle 0x100470ff
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jmp 0x10046d90
push str.TargetInstance
lea ecx, [esp + 0x1c]
call fcn.100467e0
mov dword [esp + 0xf0], 0
mov eax, dword [eax]
test eax, eax
je 0x10046db3
mov edx, dword [eax]
jmp 0x10046db5
xor edx, edx
mov eax, dword [esp + 0x1c]
push 0
push 0
mov eax, dword [eax + esi*4]
lea esi, [esp + 0x74]
push esi
push 0
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov dword [esp + 0xf0], 0xffffffff
mov esi, dword [esp + 0x18]
mov dword [esp + 0x20], eax
test esi, esi
je 0x10046e33
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
jne 0x10046e2b
test esi, esi
je 0x10046e2b
mov eax, dword [esi]
test eax, eax
je 0x10046e09
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10046e21
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [esi + 4], 0
push esi
call edi
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x18], 0
test eax, eax
js 0x100470ed
mov eax, dword [esp + 0x74]
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x5c], 0
push 0x1012722c
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
js 0x100470e2
mov eax, dword [esp + 0x58]
lea edx, [esp + 0xc4]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x10137510
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x100470e2
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x5c]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.ProcessId
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x100470d8
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], 0
mov byte [esp + 0x7c], 0
sub esp, 0x10
mov dword [esp + 0x100], 1
movdqu xmm0, xmmword [esp + 0xd4]
mov eax, esp
lea ecx, [esp + 0x8c]
movdqu xmmword [eax], xmm0
call fcn.10046a60
push dword [esp + 0x74]
cmp dword [esp + 0xa4], 0x10
lea eax, [esp + 0x90]
cmovae eax, dword [esp + 0x90]
push eax
push str.ProcessRoutine_:_s____d
push 1
push 0x4b
push 0x10137548
push str.MyEventSink::Indicate
call fcn.1010d8f0
mov esi, dword [esp + 0xb8]
lea ecx, [esp + 0xa8]
add esp, 0x2c
mov eax, 0xc
cmp dword [esp + 0x90], 0x10
cmovae ecx, dword [esp + 0x7c]
cmp esi, eax
cmovb eax, esi
push eax
push 0x1013759c
push ecx
call fcn.10007c70
add esp, 0xc
test eax, eax
jne 0x10046f6c
cmp esi, 0xc
jae 0x10046f62
or eax, 0xffffffff
jmp 0x10046f6a
xor eax, eax
cmp esi, 0xc
setne al
test eax, eax
sete al
test al, al
je 0x10047091
lea ecx, [esp + 0xac]
call fcn.10046b30
mov byte [esp + 0xf0], 2
lea ecx, [esp + 0x40]
mov edx, dword [esp + 0x64]
call fcn.1001ccb0
push 0x101375bc
push eax
lea eax, [esp + 0x30]
mov byte [esp + 0xf8], 3
push eax
call fcn.100474b0
add esp, 0xc
push 0x101375ac
push eax
lea eax, [esp + 0x9c]
mov byte [esp + 0xf8], 4
push eax
call fcn.100474b0
add esp, 0xc
cmp dword [esp + 0x3c], 0x10
jb 0x10046fe1
push dword [esp + 0x28]
call edi
add esp, 4
cmp dword [esp + 0x54], 0x10
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jb 0x10047006
push dword [esp + 0x40]
call edi
add esp, 4
cmp dword [esp + 0xa8], 0x10
lea ecx, [esp + 0x94]
push 0
cmovae ecx, dword [esp + 0x98]
lea eax, [esp + 0xb0]
cmp dword [esp + 0xc4], 0x10
push 0
cmovae eax, dword [esp + 0xb4]
push ecx
push eax
push 0x101375c0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp dword [esp + 0xa8], 0x10
jb 0x1004705d
push dword [esp + 0x94]
call edi
add esp, 4
cmp dword [esp + 0xc0], 0x10
mov dword [esp + 0xa8], 0xf
mov dword [esp + 0xa4], 0
mov byte [esp + 0x94], 0
jb 0x10047091
push dword [esp + 0xac]
call edi
add esp, 4
lea eax, [esp + 0xc4]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [esp + 0xf0], 0xffffffff
cmp dword [esp + 0x90], 0x10
jb 0x100470bd
push dword [esp + 0x7c]
call edi
add esp, 4
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], 0
mov byte [esp + 0x7c], 0
mov eax, dword [esp + 0x58]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, dword [esp + 0x14]
inc esi
mov dword [esp + 0x14], esi
cmp esi, dword [ebp + 0xc]
jl 0x10046d90
xor eax, eax
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.101176fb
mov esp, ebp
pop ebp
ret 0xc