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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002c4fd
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x1003c0c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0x1002f098
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.10005620
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push 0x1003c020
push eax
call fcn.1000ac80
add esp, 8
cmp dword [eax + 0x14], 7
mov ecx, eax
mov byte [ebp - 4], 1
jbe 0x1000cbc7
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10004700
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp ecx, 7
jbe 0x1000cc11
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000cc07
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d388
push ecx
push edx
call fcn.1000e9ca
add esp, 8
cmp dword [0x1003c01c], 7
mov ecx, 0x1003c008
mov esi, 0xffdc
cmova ecx, dword [0x1003c008]
mov dword [ebp - 0xa0], ecx
test ecx, ecx
je 0x1000cc66
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000cc36
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
cmp eax, 0xffdc
cmova eax, esi
movzx eax, ax
mov word [ebp - 0xa4], ax
add eax, 2
mov word [ebp - 0xa2], ax
jmp 0x1000cc6e
xor eax, eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xa8], str.C:WindowsSystem32_regsvr32.exe
cmova ecx, dword [ebp - 0x28]
mov dword [ebp - 0xac], 0x420040
mov dword [ebp - 0x98], ecx
test ecx, ecx
je 0x1000ccd0
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000cca0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
cmp eax, 0xffdc
cmova eax, esi
movzx eax, ax
mov word [ebp - 0x9c], ax
add eax, 2
mov word [ebp - 0x9a], ax
jmp 0x1000ccd8
xor eax, eax
mov dword [ebp - 0x9c], eax
push 0x1002f000
mov dword [ebp - 0x8c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, eax
test esi, esi
je 0x1000cd3a
push str.RtlCreateProcessParametersEx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1000cd0e
push esi
call edi
jmp 0x1000cd3a
push 1
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0xa4]
push ecx
push 0
lea ecx, [ebp - 0xac]
push ecx
lea ecx, [ebp - 0x8c]
push ecx
call eax
xorps xmm0, xmm0
mov dword [ebp - 0x114], 0x48
lea eax, [ebp - 0x70]
movlpd qword [ebp - 0x10c], xmm0
push 0x1003c020
push eax
movlpd qword [ebp - 0x104], xmm0
movlpd qword [ebp - 0xfc], xmm0
movlpd qword [ebp - 0xf4], xmm0
movlpd qword [ebp - 0xec], xmm0
movlpd qword [ebp - 0xe4], xmm0
movlpd qword [ebp - 0xdc], xmm0
movlpd qword [ebp - 0xd4], xmm0
mov dword [ebp - 0x110], 0
call fcn.1000ac80
add esp, 8
mov dword [ebp - 0x74], eax
mov edx, dword [0x1003c018]
mov ecx, SysReAllocString
sub ecx, edx
mov byte [ebp - 4], 2
mov dword [ebp - 0x80], edx
cmp ecx, 1
jb 0x1000d38d
cmp dword [0x1003c01c], 7
lea esi, [edx + 1]
mov eax, 0x1003c008
mov ecx, 7
cmova eax, dword [0x1003c008]
xorps xmm0, xmm0
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x84], eax
movups xmmword [ebp - 0x58], xmm0
cmp esi, ecx
jbe 0x1000ce3b
mov eax, esi
or eax, ecx
cmp eax, 0x7ffffffe
jbe 0x1000ce06
mov eax, SysReAllocString
jmp 0x1000ce10
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.100037e0
mov ecx, dword [ebp - 0x88]
add esp, 8
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x48], esi
lea esi, [edx + edx]
push esi
push dword [ebp - 0x78]
mov dword [ebp - 0x44], ecx
push eax
call fcn.100100d0
mov eax, dword [ebp - 0x84]
mov ecx, 0x5c
xor edx, edx
add esp, 0xc
mov word [eax + esi], cx
mov ecx, dword [ebp - 0x80]
mov word [eax + ecx*2 + 2], dx
push dword [ebp - 0x74]
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x74]
lea ecx, [ebp - 0x40]
call fcn.10003c20
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
call fcn.1000bbb0
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov byte [ebp - 0x79], al
mov byte [ebp - 4], 3
cmp ecx, 7
jbe 0x1000ced1
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000cec7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d392
push ecx
push edx
call fcn.1000e9ca
add esp, 8
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x1000cf23
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000cf19
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d392
push ecx
push edx
call fcn.1000e9ca
add esp, 8
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 0
cmp ecx, 7
jbe 0x1000cf61
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000cf57
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d392
push ecx
push edx
call fcn.1000e9ca
add esp, 8
cmp byte [ebp - 0x79], 0
je 0x1000cf74
call fcn.1000ae20
test eax, eax
jne 0x1000d397
mov eax, dword fs:[0x18]
xorps xmm0, xmm0
mov dword [ebp - 0xcc], 0x18
movups xmmword [ebp - 0xc8], xmm0
mov dword [ebp - 0xb8], 0
mov eax, dword [eax + 0x30]
push str.NTDLL
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x74], eax
test eax, eax
jne 0x1000cfbe
mov dword [ebp - 0x80], eax
jmp 0x1000cfe4
push str.RtlAllocateHeap
push eax
call esi
test eax, eax
jne 0x1000cfd8
push dword [ebp - 0x74]
call edi
mov dword [ebp - 0x80], 0
jmp 0x1000cfe4
push 8
push 8
push dword [ebp - 0x78]
call eax
mov dword [ebp - 0x80], eax
mov ecx, dword fs:[0x18]
push str.NTDLL
mov ecx, dword [ecx + 0x30]
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x74], eax
test eax, eax
jne 0x1000d00e
mov dword [ebp - 0x84], eax
jmp 0x1000d03a
push str.RtlAllocateHeap
push eax
call esi
test eax, eax
jne 0x1000d02b
push dword [ebp - 0x74]
call edi
mov dword [ebp - 0x84], 0
jmp 0x1000d03a
push 0x10
push 8
push dword [ebp - 0x78]
call eax
mov dword [ebp - 0x84], eax
mov ecx, dword fs:[0x18]
push str.NTDLL
mov ecx, dword [ecx + 0x30]
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x74], eax
test eax, eax
jne 0x1000d064
mov dword [ebp - 0x88], eax
jmp 0x1000d090
push str.RtlAllocateHeap
push eax
call esi
test eax, eax
jne 0x1000d081
push dword [ebp - 0x74]
call edi
mov dword [ebp - 0x88], 0
jmp 0x1000d090
push 0x30
push 8
push dword [ebp - 0x78]
call eax
mov dword [ebp - 0x88], eax
mov ecx, dword fs:[0x18]
push str.NTDLL
mov ecx, dword [ecx + 0x30]
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x74], eax
test eax, eax
jne 0x1000d0b6
xor esi, esi
jmp 0x1000d0d6
push str.RtlAllocateHeap
push eax
call esi
test eax, eax
jne 0x1000d0cb
push dword [ebp - 0x74]
call edi
xor esi, esi
jmp 0x1000d0d6
push 0x64
push 8
push dword [ebp - 0x78]
call eax
mov esi, eax
mov eax, dword [ebp - 0x84]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x88]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x80]
mov dword [esi + 0x3c], eax
lea eax, [ebp - 0xb4]
mov dword [esi], 0x64
mov dword [esi + 4], 0x10003
mov dword [esi + 8], 8
mov dword [esi + 0x14], 6
mov dword [esi + 0x18], 0x30
mov dword [esi + 0x24], 0x20005
mov dword [esi + 0x28], 0x48
mov dword [esi + 0x2c], str.__C:WindowsSystem32_regsvr32.exe
mov dword [esi + 0x34], 0x2000a
mov dword [esi + 0x38], 8
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0x2000
add dword [esi], 0xfffffff0
mov dword [esi + 0x44], 0x20010
mov dword [esi + 0x48], 8
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 0x8c]
push 0x1002f02c
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x74], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, eax
test ecx, ecx
je 0x1000d1d8
push str.NtCreateUserProcess
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1000d1a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1000d1d8
push esi
lea ecx, [ebp - 0x114]
push ecx
push dword [ebp - 0x74]
lea ecx, [ebp - 0xcc]
push 0
push 0
push ecx
push ecx
push 0x2000000
push 0x2000000
lea ecx, [ebp - 0x94]
push ecx
lea ecx, [ebp - 0x90]
push ecx
call eax
mov eax, dword fs:[0x18]
push 0x1002f04c
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x1000d218
push str.RtlFreeHeap
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1000d210
push dword [ebp - 0x74]
call edi
jmp 0x1000d218
push esi
push 0
push dword [ebp - 0x78]
call eax
mov eax, dword fs:[0x18]
push 0x1002f04c
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x1000d25c
push str.RtlFreeHeap
push eax
call esi
test eax, eax
jne 0x1000d252
push dword [ebp - 0x74]
call edi
jmp 0x1000d25c
push dword [ebp - 0x80]
push 0
push dword [ebp - 0x78]
call eax
mov eax, dword fs:[0x18]
push 0x1002f04c
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x1000d29d
push str.RtlFreeHeap
push eax
call esi
test eax, eax
jne 0x1000d290
push dword [ebp - 0x74]
call edi
jmp 0x1000d29d
push dword [ebp - 0x84]
push 0
push dword [ebp - 0x78]
call eax
mov eax, dword fs:[0x18]
push 0x1002f04c
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x1000d2de
push str.RtlFreeHeap
push eax
call esi
test eax, eax
jne 0x1000d2d1
push dword [ebp - 0x74]
call edi
jmp 0x1000d2de
push dword [ebp - 0x88]
push 0
push dword [ebp - 0x78]
call eax
mov eax, dword [ebp - 0x8c]
push 0x1002efd8
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x1000d317
push str.RtlDestroyProcessParameters
push eax
call esi
test eax, eax
jne 0x1000d312
push dword [ebp - 0x74]
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1000d317
push dword [ebp - 0x78]
call eax
push dword [ebp - 0x90]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x94]
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x1000d369
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000d35f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d3a0
push ecx
push edx
call fcn.1000e9ca
add esp, 8
xor eax, eax
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.1000e9d8
mov esp, ebp
pop ebp
ret 4
call fcn.1001394f
call fcn.100046e0
call fcn.1001394f
push 0
push 0
call fcn.1000fcad
call fcn.1001394f
int3