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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000db2d
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x10015040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xc0], esi
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
push 0x1000e93c
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x38], xmm0
call fcn.10006820
mov dword [ebp - 4], 0
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x14], 7
mov edi, dword [ecx + 0x10]
jbe 0x10008c5e
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
sub eax, edx
mov dword [ebp - 0xb8], edx
cmp edi, eax
ja 0x10008ca8
cmp dword [ebp - 0x24], 7
lea eax, [edx + edi]
mov dword [ebp - 0x28], eax
lea esi, [ebp - 0x38]
cmova esi, dword [ebp - 0x38]
lea eax, [edi + edi]
push eax
push ecx
lea eax, [esi + edx*2]
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0xb8]
add esp, 0xc
add eax, edi
xor ecx, ecx
mov word [esi + eax*2], cx
mov esi, dword [ebp - 0xc0]
jmp 0x10008cc0
push edi
push ecx
mov byte [ebp - 0xb8], 0
lea ecx, [ebp - 0x38]
push dword [ebp - 0xb8]
push edi
call fcn.100095a0
mov ecx, dword [esi]
cmp dword [ecx + 0x14], 7
jbe 0x10008cca
mov ecx, dword [ecx]
mov dword [ebp - 0x1c], ecx
mov esi, 0xffdc
test ecx, ecx
je 0x10008d0a
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10008ce0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
cmp eax, 0xffdc
cmova eax, esi
movzx eax, ax
mov word [ebp - 0x20], ax
add eax, 2
mov word [ebp - 0x1e], ax
jmp 0x10008d0f
xor eax, eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x24], 7
lea ecx, [ebp - 0x38]
mov dword [ebp - 0xb0], 0x1000e940
cmova ecx, dword [ebp - 0x38]
mov dword [ebp - 0xb4], 0x4a0048
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x10008d6a
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10008d40
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
cmp eax, 0xffdc
cmova eax, esi
movzx eax, ax
mov word [ebp - 0x18], ax
add eax, 2
mov word [ebp - 0x16], ax
jmp 0x10008d6f
xor eax, eax
mov dword [ebp - 0x18], eax
push str.ntdll.dll
mov dword [ebp - 0xa4], 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 - 0xb8], eax
test eax, eax
je 0x10008dd6
push str.RtlCreateProcessParametersEx
push eax
call edi
test eax, eax
jne 0x10008db0
push dword [ebp - 0xb8]
call esi
jmp 0x10008dd6
push 1
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push 0
lea ecx, [ebp - 0xb4]
push ecx
lea ecx, [ebp - 0xa4]
push ecx
call eax
mov eax, dword fs:[0x18]
xorps xmm0, xmm0
movlpd qword [ebp - 0x94], xmm0
movlpd qword [ebp - 0x8c], xmm0
movlpd qword [ebp - 0x84], xmm0
movlpd qword [ebp - 0x7c], xmm0
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x64], xmm0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0xa0], 0x48
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x58], 0x18
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x98], 0x80840000
mov eax, dword [eax + 0x30]
push str.ntdll.dll
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xc0], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xb8], eax
test eax, eax
jne 0x10008e6b
mov dword [ebp - 0xc8], eax
jmp 0x10008e9d
push str.RtlAllocateHeap
push eax
call edi
test eax, eax
jne 0x10008e8b
push dword [ebp - 0xb8]
call esi
mov dword [ebp - 0xc8], 0
jmp 0x10008e9d
push 8
push 8
push dword [ebp - 0xc0]
call eax
mov dword [ebp - 0xc8], eax
mov ecx, dword fs:[0x18]
push str.ntdll.dll
mov ecx, dword [ecx + 0x30]
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0xc0], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xb8], eax
test eax, eax
jne 0x10008ecd
mov dword [ebp - 0xcc], eax
jmp 0x10008eff
push str.RtlAllocateHeap
push eax
call edi
test eax, eax
jne 0x10008eed
push dword [ebp - 0xb8]
call esi
mov dword [ebp - 0xcc], 0
jmp 0x10008eff
push 0x10
push 8
push dword [ebp - 0xc0]
call eax
mov dword [ebp - 0xcc], eax
mov ecx, dword fs:[0x18]
push str.ntdll.dll
mov ecx, dword [ecx + 0x30]
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0xc0], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xb8], eax
test eax, eax
jne 0x10008f2f
mov dword [ebp - 0xc0], eax
jmp 0x10008f61
push str.RtlAllocateHeap
push eax
call edi
test eax, eax
jne 0x10008f4f
push dword [ebp - 0xb8]
call esi
mov dword [ebp - 0xc0], 0
jmp 0x10008f61
push 0x30
push 8
push dword [ebp - 0xc0]
call eax
mov dword [ebp - 0xc0], eax
mov ecx, dword fs:[0x18]
push str.ntdll.dll
mov ecx, dword [ecx + 0x30]
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0xbc], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xb8], eax
test eax, eax
jne 0x10008f8d
xor edi, edi
jmp 0x10008fb3
push str.RtlAllocateHeap
push eax
call edi
test eax, eax
jne 0x10008fa5
push dword [ebp - 0xb8]
call esi
xor edi, edi
jmp 0x10008fb3
push 0x64
push 8
push dword [ebp - 0xbc]
call eax
mov edi, eax
mov eax, dword [ebp - 0xcc]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0xc0]
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 - 0xb4]
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 0xb0]
mov dword [edi + 0x2c], eax
mov eax, dword [ebp - 0xc8]
mov dword [edi + 0x3c], eax
lea eax, [ebp - 0x40]
mov dword [edi + 0x34], 0x2000a
mov dword [edi + 0x38], 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0x2000
add dword [edi], 0xfffffff0
mov dword [edi + 0x44], 0x20010
mov dword [edi + 0x48], 8
mov dword [edi + 0x4c], eax
mov eax, dword [ebp - 0xa4]
push str.ntdll.dll
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xbc], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100090af
push str.NtCreateUserProcess
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100090af
push edi
lea ecx, [ebp - 0xa0]
push ecx
push dword [ebp - 0xbc]
lea ecx, [ebp - 0x58]
push 0
push 0
push ecx
push ecx
push 0x1fffff
push 0x1fffff
lea ecx, [ebp - 0xac]
push ecx
lea ecx, [ebp - 0xa8]
push ecx
call eax
jmp 0x100090b5
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 - 0xbc], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x1000910d
push str.RtlFreeHeap
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc4], eax
push dword [ebp - 0xb8]
test eax, eax
jne 0x100090fc
call esi
jmp 0x1000910d
call esi
push edi
push 0
push dword [ebp - 0xbc]
call dword [ebp - 0xc4]
mov eax, dword fs:[0x18]
push str.ntdll.dll
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xc4], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x1000916c
push str.RtlFreeHeap
push eax
call edi
mov dword [ebp - 0xbc], eax
push dword [ebp - 0xb8]
test eax, eax
jne 0x10009156
call esi
jmp 0x1000916c
call esi
push dword [ebp - 0xc8]
push 0
push dword [ebp - 0xc4]
call dword [ebp - 0xbc]
mov eax, dword fs:[0x18]
push str.ntdll.dll
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xc4], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x100091c5
push str.RtlFreeHeap
push eax
call edi
mov dword [ebp - 0xbc], eax
push dword [ebp - 0xb8]
test eax, eax
jne 0x100091af
call esi
jmp 0x100091c5
call esi
push dword [ebp - 0xcc]
push 0
push dword [ebp - 0xc4]
call dword [ebp - 0xbc]
mov eax, dword fs:[0x18]
push str.ntdll.dll
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xc4], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x1000921e
push str.RtlFreeHeap
push eax
call edi
mov dword [ebp - 0xbc], eax
push dword [ebp - 0xb8]
test eax, eax
jne 0x10009208
call esi
jmp 0x1000921e
call esi
push dword [ebp - 0xc0]
push 0
push dword [ebp - 0xc4]
call dword [ebp - 0xbc]
mov eax, dword [ebp - 0xa4]
push str.ntdll.dll
mov dword [ebp - 0xbc], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xc4], eax
test eax, eax
jne 0x10009249
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
jmp 0x10009275
push str.RtlDestroyProcessParameters
push eax
call edi
test eax, eax
jne 0x10009267
push dword [ebp - 0xc4]
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
jmp 0x10009275
push dword [ebp - 0xbc]
call eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0xa8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xac]
call esi
call edi
mov ecx, dword [ebp - 0x24]
cmp ecx, 7
jbe 0x100092c9
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100092bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100092bf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1000bf75
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000bf67
mov esp, ebp
pop ebp
ret