Function at 0x10066100
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101558bf
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x101a154c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x58]
movlpd qword [ebp - 0x54], xmm0
push eax
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x58], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov ax, word [ebp + 0x20]
lea ecx, [ebp - 0x68]
cmp dword [ebp + 0x1c], 8
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x58]
mov word [ebp - 0x28], ax
push ecx
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp + 8]
mov dword [ebp - 0x2c], 1
cmovae eax, dword [ebp + 8]
push 0
push eax
push 0
movups xmmword [ebp - 0x68], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x100662e2
call fcn.10017d20
mov ecx, eax
test ecx, ecx
je 0x10066340
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x6c]
push str.fail_CreateProcess__d
push eax
call fcn.1001ad60
mov ecx, dword [0x101a7bf4]
add esp, 0xc
test ecx, ecx
jne 0x1006624e
push 0x101a10e8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x101a7bf4], 0
jne 0x10066235
push 0x1c
call fcn.100f8c40
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
test esi, esi
je 0x1006622d
lea ecx, [esi + 4]
mov dword [esi], vtable._BaseModule::CCriticalSection.0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x1006622f
xor esi, esi
mov dword [0x101a7bf4], esi
push 0x101a10e8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x101a7bf4]
test ecx, ecx
jne 0x1006624e
xor eax, eax
jmp 0x100662ac
mov eax, dword [0x101a7bf0]
test eax, eax
jne 0x100662ac
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp dword [0x101a7bf0], 0
jne 0x1006629c
push 4
call fcn.100f8c40
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x10066289
mov ecx, eax
mov dword [eax], 0
call fcn.1009c010
jmp 0x1006628b
xor eax, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x101a7bf0], eax
mov eax, dword [0x101a7bf4]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [0x101a7bf0]
mov esi, dword [ebp - 0x6c]
mov ecx, eax
push 0
push str.ProtectPlugin
push 0
push 0
push esi
call fcn.1009c0b0
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100662de
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
jmp 0x100662ee
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x68]
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x10066324
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1006631a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006634a
push edx
push ecx
call fcn.100f8c70
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f8fe1
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100142b0
call fcn.10124793
int3