Function at 0x10011630
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bce9d
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x1024bd20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0xa8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0xac], eax
mov eax, dword [ebp + 8]
push ecx
mov dword [ebx + 0xb8], eax
call fcn.10012070
cmp dword [ebx + 0x98], 0
mov ecx, 8
push dword [ebx + 0xa8]
mov eax, 9
cmovne eax, ecx
lea ecx, [ebp - 0x2fc]
or dword [ebx + 0x10], eax
call fcn.1000bd90
mov dword [ebp - 4], 0
call fcn.1004401d
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x100116cc
push 0x80004005
call fcn.1000c1e0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x304], esi
mov byte [ebp - 4], 1
push 0x1021dea8
push dword [ebp - 0x2fc]
call fcn.1017f4af
mov edi, eax
add esp, 8
test edi, edi
je 0x1001181f
mov ecx, dword [ebp - 0x2fc]
sub edi, ecx
sar edi, 1
cmp edi, 0xffffffff
jle 0x1001181f
mov eax, dword [ecx - 0xc]
lea ecx, [ebp - 0x2fc]
sub eax, edi
dec eax
push eax
lea eax, [ebp - 0x300]
push eax
call fcn.1000b040
push eax
lea ecx, [ebp - 0x304]
mov byte [ebp - 4], 2
call fcn.1000aba0
mov byte [ebp - 4], 1
or ecx, 0xffffffff
mov edx, dword [ebp - 0x300]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1001175d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x300]
push eax
lea ecx, [ebp - 0x2fc]
call fcn.1000aec0
push eax
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 3
call fcn.1000aba0
mov byte [ebp - 4], 1
or ecx, 0xffffffff
mov edx, dword [ebp - 0x300]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100117a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x304]
xor edx, edx
mov esi, dword [eax - 0xc]
cmp edx, esi
jg 0x100117c4
cmp word [eax + edx*2], 0xa
jne 0x100117ce
cmp edx, esi
jge 0x100117ce
inc edx
jns 0x100117b2
push 0x80070057
call fcn.1000c1e0
mov eax, esi
lea ecx, [ebp - 0x304]
sub eax, edx
push eax
lea eax, [ebp - 0x300]
push eax
call fcn.1000b040
push eax
lea ecx, [ebp - 0x304]
mov byte [ebp - 4], 4
call fcn.1000aba0
mov byte [ebp - 4], 1
or ecx, 0xffffffff
mov edx, dword [ebp - 0x300]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10011819
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x304]
mov eax, dword [ebp - 0x2fc]
cmp dword [eax - 0xc], 0
jne 0x10011876
lea eax, [ebp - 0x300]
push 0x10e5
push eax
mov eax, dword [ebx + 0xbc]
call eax
add esp, 8
push eax
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 5
call fcn.1000aba0
mov byte [ebp - 4], 1
or ecx, 0xffffffff
mov edx, dword [ebp - 0x300]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10011876
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
push dword [ebp - 0x2fc]
mov ecx, ebx
call fcn.10012110
push esi
mov ecx, ebx
call fcn.100121d0
mov eax, dword [ebx + 0x9c]
sub eax, 0
je 0x100118af
dec eax
je 0x100118a6
dec eax
jne 0x100118ba
mov dword [ebx + 0x1c], 0xfffd
jmp 0x100118b6
mov dword [ebx + 0x1c], 0xffff
jmp 0x100118b6
mov dword [ebx + 0x1c], 0xfffe
and dword [ebx + 0x10], 0xfffffffd
cmp byte [ebx + 0xa0], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 0xc4]
mov dword [ebx + 8], eax
lea eax, [ebx + 0xc8]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 0xc0]
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x60], 0x190
je 0x100118f2
or dword [ebx + 0x10], 0x800
lea ecx, [ebp - 0x2f8]
call fcn.10002a80
lea eax, [ebx + 0x8c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebx + 0x88]
push eax
lea edi, [ebx + 0x84]
push edi
lea eax, [ebx + 4]
push eax
lea ecx, [ebp - 0x2f8]
call fcn.10006c10
mov edi, dword [edi]
cmp edi, 0xd
jne 0x10011955
mov eax, dword [ebx + 0xac]
test eax, eax
je 0x10011950
cmp word [eax], 0
je 0x10011950
push 5
push 0
push 0
push eax
push 0x1021ddc4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, 0xd
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 4], 1
call fcn.10003350
add esi, 0xfffffff0
mov byte [ebp - 4], 0
or ebx, 0xffffffff
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10011984
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x2fc]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x100119a8
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1017868e
mov esp, ebp
pop ebp
ret 0x10