Function at 0x10008960
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x278
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x274], eax
push esi
mov esi, dword [esp + 0x280]
push edi
mov edi, dword [esp + 0x28c]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x7e]
push ecx
mov word [esp + 0x80], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
call fcn.100087a0
mov eax, dword [eax]
test eax, eax
je 0x100089bd
mov eax, dword [eax]
test eax, eax
je 0x100089bd
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jne 0x100089c4
xor al, al
jmp 0x10008bb6
push ebx
push edi
lea edx, [esp + 0x10]
push esi
push edx
call fcn.10002e60
add esp, 0xc
call fcn.100087a0
mov esi, dword [eax]
mov ebx, dword [sym.imp.kernel32.dll_InterlockedIncrement]
mov dword [esp + 0x18], esi
test esi, esi
je 0x100089ef
lea eax, [esi + 8]
push eax
call ebx
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100089fb
mov ecx, dword [eax]
jmp 0x100089fd
xor ecx, ecx
test esi, esi
je 0x10008a05
mov eax, dword [esi]
jmp 0x10008a07
xor eax, eax
push 1
lea edx, [esp + 0x7c]
push edx
push ecx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp edi, 5
jne 0x10008b37
call fcn.10006060
test eax, eax
je 0x10008b37
xor eax, eax
push 0x44
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x3c]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x1003c44c
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0x44
call fcn.10002e00
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push 0x1003c448
push edx
call fcn.10007040
mov eax, dword [eax]
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x10008a94
add eax, 8
push eax
call ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.10004760
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
test eax, eax
je 0x10008ab4
add eax, 8
push eax
call ebx
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.10004760
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10008ace
mov edi, dword [eax]
jmp 0x10008ad0
xor edi, edi
lea ecx, [esp + 0x10]
call fcn.10002330
lea ecx, [esp + 0x14]
call fcn.10002330
lea ecx, [esp + 0x20]
call fcn.10002330
lea ecx, [esp + 0x1c]
call fcn.10002330
test esi, esi
je 0x10008afc
mov esi, dword [esi]
jmp 0x10008afe
xor esi, esi
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x38]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push edi
push esi
call fcn.10003740
add esp, 0x28
test eax, eax
lea ecx, [esp + 0x18]
setne bl
call fcn.10002330
lea ecx, [esp + 0xc]
call fcn.10002330
jmp 0x10008bb3
cmp edi, 0x20
mov edi, dword [sym.imp.kernel32.dll_InterlockedDecrement]
setg bl
push ebp
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
je 0x10008b7a
lea ecx, [esi + 8]
push ecx
call edi
test eax, eax
jne 0x10008b7a
mov eax, dword [esi]
test eax, eax
je 0x10008b61
push eax
call ebp
mov eax, dword [esi + 4]
test eax, eax
je 0x10008b71
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x10]
test esi, esi
je 0x10008bb2
lea edx, [esi + 8]
push edx
call edi
test eax, eax
jne 0x10008bb2
test esi, esi
je 0x10008bb2
mov eax, dword [esi]
test eax, eax
je 0x10008b99
push eax
call ebp
mov eax, dword [esi + 4]
test eax, eax
je 0x10008ba9
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
pop ebp
mov al, bl
pop ebx
mov ecx, dword [esp + 0x27c]
pop edi
pop esi
xor ecx, esp
call fcn.1003779c
add esp, 0x278
ret 0xc