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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10031e6d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
push 0x1003aee8
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x60], xmm0
call fcn.10006af0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x60]
cmp dword [ebp - 0x4c], 7
mov dword [ebp - 0x3c], str.__C:WindowsSystem32_notepad.exe
cmova ecx, dword [ebp - 0x60]
mov dword [ebp - 0x40], 0x480046
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x1000c2fc
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c2d0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
mov ecx, 0xffdc
cmp eax, ecx
cmova eax, ecx
movzx eax, ax
mov word [ebp - 0x38], ax
add eax, 2
mov word [ebp - 0x36], ax
jmp 0x1000c301
xor eax, eax
mov dword [ebp - 0x38], eax
push esi
push edi
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 0x1000c359
push str.RtlCreateProcessParametersEx
push eax
call edi
test eax, eax
jne 0x1000c33b
push dword [ebp - 0x10]
call esi
jmp 0x1000c359
push 1
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x38]
push ecx
push 0
push 0
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x28]
push ecx
call eax
mov eax, dword fs:[0x18]
xorps xmm0, 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
movlpd qword [ebp - 0x84], xmm0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0xc0], 0x48
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x78], 0x18
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0xb8], 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 0x1000c3f1
mov dword [ebp - 0x20], eax
jmp 0x1000c417
push str.RtlAllocateHeap
push eax
call edi
test eax, eax
jne 0x1000c40b
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x20], 0
jmp 0x1000c417
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 0x1000c43e
mov dword [ebp - 0x24], eax
jmp 0x1000c464
push str.RtlAllocateHeap
push eax
call edi
test eax, eax
jne 0x1000c458
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x24], 0
jmp 0x1000c464
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 0x1000c48b
mov dword [ebp - 0x18], eax
jmp 0x1000c4b1
push str.RtlAllocateHeap
push eax
call edi
test eax, eax
jne 0x1000c4a5
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x18], 0
jmp 0x1000c4b1
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 0x1000c4d7
xor edi, edi
jmp 0x1000c4f7
push str.RtlAllocateHeap
push eax
call edi
test eax, eax
jne 0x1000c4ec
push dword [ebp - 0x10]
call esi
xor edi, edi
jmp 0x1000c4f7
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 - 0x40]
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 0x3c]
mov dword [edi + 0x2c], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x3c], eax
lea eax, [ebp - 0x48]
mov dword [edi + 0x34], 0x2000a
mov dword [edi + 0x38], 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 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 0x1000c5cf
push str.NtCreateUserProcess
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000c5cf
push edi
lea ecx, [ebp - 0xc0]
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x78]
push 0
push 0
push ecx
push ecx
push 0x2000000
push 0x2000000
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
call eax
jmp 0x1000c5d5
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 0x1000c61b
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 0x1000c610
call esi
jmp 0x1000c61b
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 0x1000c665
push str.RtlFreeHeap
push eax
call edi
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
test eax, eax
jne 0x1000c658
call esi
jmp 0x1000c665
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 0x1000c6a9
push str.RtlFreeHeap
push eax
call edi
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
test eax, eax
jne 0x1000c69c
call esi
jmp 0x1000c6a9
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 0x1000c6ed
push str.RtlFreeHeap
push eax
call edi
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
test eax, eax
jne 0x1000c6e0
call esi
jmp 0x1000c6ed
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 0x1000c70e
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
jmp 0x1000c72d
push str.RtlDestroyProcessParameters
push eax
call edi
test eax, eax
jne 0x1000c728
push dword [ebp - 0x1c]
call esi
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
jmp 0x1000c72d
push dword [ebp - 0x14]
call eax
push dword [ebp - 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x30]
call esi
mov ecx, dword [ebp - 0x4c]
pop edi
pop esi
cmp ecx, 7
jbe 0x1000c775
mov edx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c76b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c783
push ecx
push edx
call fcn.100128c5
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.10017b2f
int3