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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10032343
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
push 0x100345d8
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x5c], xmm0
call fcn.10001750
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 0
push 0x10042020
push eax
call fcn.10005210
add esp, 8
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 1
jbe 0x10002969
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.10004f00
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 4], 0
cmp ecx, 7
jbe 0x100029b1
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100029a7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100030a8
push ecx
push edx
call fcn.10014b50
add esp, 8
cmp dword [0x1004201c], 7
mov ecx, 0x10042008
push esi
cmova ecx, dword [0x10042008]
mov esi, 0xffdc
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x100029fe
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100029d4
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
cmp eax, 0xffdc
cmova eax, esi
movzx eax, ax
mov word [ebp - 0x3c], ax
add eax, 2
mov word [ebp - 0x3a], ax
jmp 0x10002a03
xor eax, eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x48], 7
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x40], str.C:WindowsSystem32_regsvr32.exe
cmova ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x44], 0x420040
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x10002a50
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002a26
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
cmp eax, 0xffdc
cmova eax, esi
movzx eax, ax
mov word [ebp - 0x34], ax
add eax, 2
mov word [ebp - 0x32], ax
jmp 0x10002a55
xor eax, eax
mov dword [ebp - 0x34], eax
push edi
push str.NTDLL
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, eax
test esi, esi
je 0x10002aa9
push str.RtlCreateProcessParametersEx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10002a89
push esi
call edi
jmp 0x10002aa9
push 1
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
push 0
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x24]
push ecx
call eax
xorps xmm0, xmm0
mov dword [ebp - 0xf4], 0x48
lea eax, [ebp - 0x10c]
movlpd qword [ebp - 0xec], xmm0
push 0x10042020
push eax
movlpd qword [ebp - 0xe4], xmm0
movlpd qword [ebp - 0xdc], xmm0
movlpd qword [ebp - 0xd4], xmm0
movlpd qword [ebp - 0xcc], xmm0
movlpd qword [ebp - 0xc4], xmm0
movlpd qword [ebp - 0xbc], xmm0
movlpd qword [ebp - 0xb4], xmm0
mov dword [ebp - 0xf0], 0
call fcn.10005210
add esp, 8
mov dword [ebp - 0x10], eax
mov edx, dword [0x10042018]
mov ecx, SysReAllocString
sub ecx, edx
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], edx
cmp ecx, 1
jb 0x100030ad
cmp dword [0x1004201c], 7
lea esi, [edx + 1]
mov eax, 0x10042008
mov ecx, 7
cmova eax, dword [0x10042008]
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x1c], eax
movups xmmword [ebp - 0x94], xmm0
cmp esi, ecx
jbe 0x10002baa
mov eax, esi
or eax, ecx
cmp eax, 0x7ffffffe
jbe 0x10002b7b
mov eax, SysReAllocString
jmp 0x10002b85
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.10001620
mov ecx, dword [ebp - 0x20]
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x84], esi
lea esi, [edx + edx]
push esi
push dword [ebp - 0x14]
mov dword [ebp - 0x80], ecx
push eax
call fcn.100163b0
mov eax, dword [ebp - 0x1c]
mov ecx, 0x5c
xor edx, edx
add esp, 0xc
mov word [eax + esi], cx
mov ecx, dword [ebp - 0x18]
mov word [eax + ecx*2 + 2], dx
push dword [ebp - 0x10]
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x74]
call fcn.10001c50
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 4
push eax
call fcn.10004120
mov ecx, dword [ebp - 0x60]
add esp, 4
mov byte [ebp - 4], 3
cmp ecx, 7
jbe 0x10002c40
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10002c36
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100030b2
push ecx
push edx
call fcn.10014b50
add esp, 8
mov ecx, dword [ebp - 0x80]
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x10002c95
mov edx, dword [ebp - 0x94]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10002c8b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100030b2
push ecx
push edx
call fcn.10014b50
add esp, 8
mov ecx, dword [ebp - 0xf8]
mov byte [ebp - 4], 0
cmp ecx, 7
jbe 0x10002cd9
mov edx, dword [ebp - 0x10c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10002ccf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100030b2
push ecx
push edx
call fcn.10014b50
add esp, 8
call fcn.10003460
mov eax, dword fs:[0x18]
xorps xmm0, xmm0
mov dword [ebp - 0xac], 0x18
movups xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0x98], 0
mov eax, dword [eax + 0x30]
push str.NTDLL
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x10002d28
mov dword [ebp - 0x18], eax
jmp 0x10002d4e
push str.RtlAllocateHeap
push eax
call esi
test eax, eax
jne 0x10002d42
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x18], 0
jmp 0x10002d4e
push 8
push 8
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x18], eax
mov ecx, dword fs:[0x18]
push str.NTDLL
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 0x10002d75
mov dword [ebp - 0x1c], eax
jmp 0x10002d9b
push str.RtlAllocateHeap
push eax
call esi
test eax, eax
jne 0x10002d8f
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x1c], 0
jmp 0x10002d9b
push 0x10
push 8
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x1c], eax
mov ecx, dword fs:[0x18]
push str.NTDLL
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 0x10002dc2
mov dword [ebp - 0x20], eax
jmp 0x10002de8
push str.RtlAllocateHeap
push eax
call esi
test eax, eax
jne 0x10002ddc
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x20], 0
jmp 0x10002de8
push 0x30
push 8
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x20], eax
mov ecx, dword fs:[0x18]
push str.NTDLL
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 0x10002e0e
xor esi, esi
jmp 0x10002e2e
push str.RtlAllocateHeap
push eax
call esi
test eax, eax
jne 0x10002e23
push dword [ebp - 0x10]
call edi
xor esi, esi
jmp 0x10002e2e
push 0x64
push 8
push dword [ebp - 0x14]
call eax
mov esi, eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x3c], eax
lea eax, [ebp - 0x7c]
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 - 0x7c], 0
mov dword [ebp - 0x78], 0x2000
add dword [esi], 0xfffffff0
mov dword [esi + 0x44], 0x20010
mov dword [esi + 0x48], 8
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 0x24]
push str.NTDLL
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, eax
test ecx, ecx
je 0x10002f12
push str.NtCreateUserProcess
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10002ee7
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10002f12
push esi
lea ecx, [ebp - 0xf4]
push ecx
push dword [ebp - 0x10]
lea ecx, [ebp - 0xac]
push 0
push 0
push ecx
push ecx
push 0x2000000
push 0x2000000
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x28]
push ecx
call eax
mov eax, dword fs:[0x18]
push str.NTDLL
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 0x10002f52
push str.RtlFreeHeap
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10002f4a
push dword [ebp - 0x10]
call edi
jmp 0x10002f52
push esi
push 0
push dword [ebp - 0x14]
call eax
mov eax, dword fs:[0x18]
push str.NTDLL
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10002f96
push str.RtlFreeHeap
push eax
call esi
test eax, eax
jne 0x10002f8c
push dword [ebp - 0x10]
call edi
jmp 0x10002f96
push dword [ebp - 0x18]
push 0
push dword [ebp - 0x14]
call eax
mov eax, dword fs:[0x18]
push str.NTDLL
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 0x10002fd4
push str.RtlFreeHeap
push eax
call esi
test eax, eax
jne 0x10002fca
push dword [ebp - 0x10]
call edi
jmp 0x10002fd4
push dword [ebp - 0x1c]
push 0
push dword [ebp - 0x14]
call eax
mov eax, dword fs:[0x18]
push str.NTDLL
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 0x10003012
push str.RtlFreeHeap
push eax
call esi
test eax, eax
jne 0x10003008
push dword [ebp - 0x10]
call edi
jmp 0x10003012
push dword [ebp - 0x20]
push 0
push dword [ebp - 0x14]
call eax
mov eax, dword [ebp - 0x24]
push str.NTDLL
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10003048
push str.RtlDestroyProcessParameters
push eax
call esi
test eax, eax
jne 0x10003043
push dword [ebp - 0x10]
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10003048
push dword [ebp - 0x14]
call eax
push dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2c]
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x48]
pop edi
cmp ecx, 7
jbe 0x10003095
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000308b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100030b7
push ecx
push edx
call fcn.10014b50
add esp, 8
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.10019c9f
call fcn.10004d70
call fcn.10019c9f
call fcn.10019c9f
int3