Function at 0x1000b960
Capabilities:
Get number of processors
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003150d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push esi
push edi
push 1
mov esi, ecx
mov dword [ebp - 0x50], 0
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
push 0x10039fa4
lea ecx, [ebp - 0x60]
movups xmmword [ebp - 0x60], xmm0
call fcn.10006af0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x60]
push dword [esi + 4]
call fcn.1000c320
mov ecx, dword [esi]
cmp dword [ecx + 0x14], 7
jbe 0x1000b9c2
mov ecx, dword [ecx]
mov dword [ebp - 0x3c], ecx
mov esi, 0xffdc
test ecx, ecx
je 0x1000b9fb
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000b9d1
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
cmp eax, 0xffdc
cmova eax, esi
movzx eax, ax
mov word [ebp - 0x40], ax
add eax, 2
mov word [ebp - 0x3e], ax
jmp 0x1000ba00
xor eax, eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x4c], 7
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x44], 0x10039fa8
cmova ecx, dword [ebp - 0x60]
mov dword [ebp - 0x48], 0x4a0048
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x1000ba4d
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000ba23
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
cmp eax, 0xffdc
cmova eax, esi
movzx eax, ax
mov word [ebp - 0x38], ax
add eax, 2
mov word [ebp - 0x36], ax
jmp 0x1000ba52
xor eax, eax
mov dword [ebp - 0x38], eax
push str.ntdll.dll
mov dword [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1000baaa
push str.RtlCreateProcessParametersEx
push eax
call edi
test eax, eax
jne 0x1000ba8a
push dword [ebp - 0x10]
call esi
jmp 0x1000baaa
push 1
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x40]
push ecx
push 0
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x28]
push ecx
call eax
mov eax, dword fs:[0x18]
xorps xmm0, xmm0
movlpd qword [ebp - 0xbc], xmm0
movlpd qword [ebp - 0xb4], xmm0
movlpd qword [ebp - 0xac], xmm0
movlpd qword [ebp - 0xa4], xmm0
movlpd qword [ebp - 0x9c], xmm0
movlpd qword [ebp - 0x94], xmm0
movlpd qword [ebp - 0x8c], xmm0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0xc8], 0x48
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0x80], 0x18
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0xc0], 0x80840000
mov eax, dword [eax + 0x30]
push str.ntdll.dll
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x1000bb45
mov dword [ebp - 0x20], eax
jmp 0x1000bb6b
push str.RtlAllocateHeap
push eax
call edi
test eax, eax
jne 0x1000bb5f
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x20], 0
jmp 0x1000bb6b
push 8
push 8
push dword [ebp - 0x18]
call eax
mov dword [ebp - 0x20], eax
mov ecx, dword fs:[0x18]
push str.ntdll.dll
mov ecx, dword [ecx + 0x30]
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x1000bb92
mov dword [ebp - 0x24], eax
jmp 0x1000bbb8
push str.RtlAllocateHeap
push eax
call edi
test eax, eax
jne 0x1000bbac
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x24], 0
jmp 0x1000bbb8
push 0x10
push 8
push dword [ebp - 0x18]
call eax
mov dword [ebp - 0x24], eax
mov ecx, dword fs:[0x18]
push str.ntdll.dll
mov ecx, dword [ecx + 0x30]
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x1000bbdf
mov dword [ebp - 0x18], eax
jmp 0x1000bc05
push str.RtlAllocateHeap
push eax
call edi
test eax, eax
jne 0x1000bbf9
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x18], 0
jmp 0x1000bc05
push 0x30
push 8
push dword [ebp - 0x18]
call eax
mov dword [ebp - 0x18], eax
mov ecx, dword fs:[0x18]
push str.ntdll.dll
mov ecx, dword [ecx + 0x30]
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x1000bc2b
xor edi, edi
jmp 0x1000bc4b
push str.RtlAllocateHeap
push eax
call edi
test eax, eax
jne 0x1000bc40
push dword [ebp - 0x10]
call esi
xor edi, edi
jmp 0x1000bc4b
push 0x64
push 8
push dword [ebp - 0x14]
call eax
mov edi, eax
mov eax, dword [ebp - 0x24]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x1c], eax
mov dword [edi], 0x64
mov dword [edi + 4], 0x10003
mov dword [edi + 8], 8
mov dword [edi + 0x14], 6
mov dword [edi + 0x18], 0x30
mov dword [edi + 0x24], 0x20005
movzx eax, word [ebp - 0x48]
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 0x44]
mov dword [edi + 0x2c], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x3c], eax
lea eax, [ebp - 0x68]
mov dword [edi + 0x34], 0x2000a
mov dword [edi + 0x38], 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0x2000
add dword [edi], 0xfffffff0
mov dword [edi + 0x44], 0x20010
mov dword [edi + 0x48], 8
mov dword [edi + 0x4c], eax
mov eax, dword [ebp - 0x28]
push str.ntdll.dll
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000bd23
push str.NtCreateUserProcess
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000bd23
push edi
lea ecx, [ebp - 0xc8]
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x80]
push 0
push 0
push ecx
push ecx
push 0x1fffff
push 0x1fffff
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
call eax
jmp 0x1000bd29
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword fs:[0x18]
push str.ntdll.dll
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1000bd6f
push str.RtlFreeHeap
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x10]
test eax, eax
jne 0x1000bd64
call esi
jmp 0x1000bd6f
call esi
push edi
push 0
push dword [ebp - 0x14]
call dword [ebp - 0x1c]
mov eax, dword fs:[0x18]
push str.ntdll.dll
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1000bdb9
push str.RtlFreeHeap
push eax
call edi
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
test eax, eax
jne 0x1000bdac
call esi
jmp 0x1000bdb9
call esi
push dword [ebp - 0x20]
push 0
push dword [ebp - 0x1c]
call dword [ebp - 0x14]
mov eax, dword fs:[0x18]
push str.ntdll.dll
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1000bdfd
push str.RtlFreeHeap
push eax
call edi
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
test eax, eax
jne 0x1000bdf0
call esi
jmp 0x1000bdfd
call esi
push dword [ebp - 0x24]
push 0
push dword [ebp - 0x1c]
call dword [ebp - 0x14]
mov eax, dword fs:[0x18]
push str.ntdll.dll
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1000be41
push str.RtlFreeHeap
push eax
call edi
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
test eax, eax
jne 0x1000be34
call esi
jmp 0x1000be41
call esi
push dword [ebp - 0x18]
push 0
push dword [ebp - 0x1c]
call dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
push str.ntdll.dll
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1000be63
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
jmp 0x1000be89
push str.RtlDestroyProcessParameters
push eax
call edi
test eax, eax
jne 0x1000be7e
push dword [ebp - 0x1c]
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
jmp 0x1000be89
push dword [ebp - 0x14]
call eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x30]
call esi
call edi
mov ecx, dword [ebp - 0x4c]
pop edi
pop esi
cmp ecx, 7
jbe 0x1000bed3
mov edx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000bec9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000bee1
push ecx
push edx
call fcn.10011fa2
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.1001720f
int3