Function at 0x10039280
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x101105b1
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x10152034]
xor eax, esp
mov dword [esp + 0xd4], eax
push esi
push edi
mov eax, dword [0x10152034]
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 0x101265c4
push 0x1012667c
mov dword [esp + 0x30], eax
call fcn.100ff930
xor esi, esi
add esp, 0x14
mov dword [esp + 0x14], esi
cmp dword [ebp + 0xc], esi
jle 0x1003966f
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jmp 0x10039300
push str.TargetInstance
lea ecx, [esp + 0x1c]
call fcn.10038d50
mov dword [esp + 0xf0], 0
mov eax, dword [eax]
test eax, eax
je 0x10039323
mov edx, dword [eax]
jmp 0x10039325
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 0x100393a3
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
jne 0x1003939b
test esi, esi
je 0x1003939b
mov eax, dword [esi]
test eax, eax
je 0x10039379
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10039391
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 0x1003965d
mov eax, dword [esp + 0x74]
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x5c], 0
push 0x1011818c
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
js 0x10039652
mov eax, dword [esp + 0x58]
lea edx, [esp + 0xc4]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x101266b4
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x10039652
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 0x10039648
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.10038fd0
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 0x101266ec
push str.MyEventSink::Indicate
call fcn.100ff930
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 0x10126740
push ecx
call fcn.10007c70
add esp, 0xc
test eax, eax
jne 0x100394dc
cmp esi, 0xc
jae 0x100394d2
or eax, 0xffffffff
jmp 0x100394da
xor eax, eax
cmp esi, 0xc
setne al
test eax, eax
sete al
test al, al
je 0x10039601
lea ecx, [esp + 0xac]
call fcn.100390a0
mov byte [esp + 0xf0], 2
lea ecx, [esp + 0x40]
mov edx, dword [esp + 0x64]
call fcn.1001cb40
push 0x10126760
push eax
lea eax, [esp + 0x30]
mov byte [esp + 0xf8], 3
push eax
call fcn.10039c70
add esp, 0xc
push 0x10126750
push eax
lea eax, [esp + 0x9c]
mov byte [esp + 0xf8], 4
push eax
call fcn.10039c70
add esp, 0xc
cmp dword [esp + 0x3c], 0x10
jb 0x10039551
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 0x10039576
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 0x10126764
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp dword [esp + 0xa8], 0x10
jb 0x100395cd
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 0x10039601
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 0x1003962d
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 0x10039300
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.1010a06b
mov esp, ebp
pop ebp
ret 0xc