Function at 0x10004d2a
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1003cbd1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
push ebx
xor ebx, ebx
push esi
push edi
mov esi, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x114], ebx
call fcn.10004217
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
sub eax, edi
push 0x18
cdq
pop ecx
idiv ecx
mov dword [esp + 0x100], eax
test eax, eax
je 0x1000524a
push edi
lea ecx, [esp + 0x14]
call fcn.10008b06
mov byte [esp + 0x114], 1
cmp dword [esp + 0x24], 8
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x10]
cmovae ecx, dword [esp + 0x10]
lea edx, [esp + 0x10]
cmovae edx, dword [esp + 0x10]
lea eax, [ecx + eax*2]
push edx
lea ecx, [esp + 0x14]
cmovae ecx, dword [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x110]
call fcn.1000a155
add esp, 0xc
push 0x76
pop eax
push 0x73
pop ecx
push 0x69
mov word [esp + 0x8a], ax
pop eax
push 0x70
mov word [esp + 0x86], ax
pop eax
push 0x2e
pop edx
push 0x72
mov word [esp + 0x84], ax
pop eax
push 0x65
mov word [esp + 0x88], cx
pop ecx
push 0x71
mov word [esp + 0x8c], ax
pop eax
mov word [esp + 0x7c], ax
push 0x68
pop eax
mov word [esp + 0x7e], ax
xor eax, eax
mov word [esp + 0x92], ax
push 0x78
mov word [esp + 0x8e], dx
mov word [esp + 0x94], cx
pop eax
mov word [esp + 0x8c], cx
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x10]
mov word [esp + 0x8e], ax
call fcn.1000a19b
test al, al
jne 0x1000523a
push 0x78
pop eax
push 0x63
pop edx
push 0x65
mov word [esp + 0xc4], ax
pop eax
push 0x73
pop ecx
mov word [esp + 0xc2], ax
mov word [esp + 0xbe], ax
mov word [esp + 0xb2], ax
push 0x76
pop eax
mov word [esp + 0xb8], ax
push 0x2e
pop eax
mov word [esp + 0xbc], ax
mov word [esp + 0xb4], dx
mov word [esp + 0xba], dx
mov word [esp + 0xb0], cx
mov word [esp + 0xac], cx
mov word [esp + 0xb6], cx
xor eax, eax
mov word [esp + 0xae], dx
lea edx, [esp + 0xac]
lea ecx, [esp + 0x10]
mov word [esp + 0xc4], ax
call fcn.1000a19b
test al, al
jne 0x10005236
push 0x65
pop ecx
push 0x6f
pop eax
push 0x78
mov word [esp + 0x50], ax
pop eax
push 0x73
mov word [esp + 0x60], ax
pop eax
push 0x76
mov word [esp + 0x54], ax
mov word [esp + 0x56], ax
pop eax
push 0x63
mov word [esp + 0x58], ax
pop eax
mov word [esp + 0x56], ax
xor eax, eax
push 0x2e
mov word [esp + 0x64], ax
pop eax
mov word [esp + 0x58], ax
push 0x70
mov word [esp + 0x5e], cx
mov word [esp + 0x62], cx
pop eax
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x10]
mov word [esp + 0x4e], ax
call fcn.1000a19b
test al, al
jne 0x10005232
push 0x71
pop eax
push 0x65
mov word [esp + 0xe8], ax
pop eax
push 0x73
pop ecx
push 0x6c
mov word [esp + 0xfe], ax
mov word [esp + 0xfa], ax
pop eax
push 0x63
mov word [esp + 0xee], ax
pop eax
push 0x68
mov word [esp + 0xf6], ax
pop eax
push 0x2e
mov word [esp + 0xec], ax
pop eax
push 0x76
mov word [esp + 0xf8], ax
pop eax
push 0x78
mov word [esp + 0xf4], ax
pop eax
mov word [esp + 0xf8], ax
push 0x75
pop eax
mov word [esp + 0xe6], ax
push 0x70
pop eax
mov word [esp + 0xec], ax
mov word [esp + 0xee], cx
xor eax, eax
lea edx, [esp + 0xe4]
lea ecx, [esp + 0x10]
mov word [esp + 0xfc], ax
call fcn.1000a19b
test al, al
jne 0x1000522e
push 0x65
xor eax, eax
mov word [esp + 0xae], ax
pop eax
push 0x63
pop ecx
push 0x72
mov word [esp + 0xa4], cx
pop ecx
push 0x78
mov word [esp + 0xac], ax
mov word [esp + 0x9a], ax
mov word [esp + 0xa8], ax
pop eax
push 0x70
mov word [esp + 0xaa], ax
pop eax
push 0x2e
mov word [esp + 0x9c], ax
pop eax
push 0x76
mov word [esp + 0xa6], ax
pop eax
mov word [esp + 0x9e], ax
push 0x73
mov word [esp + 0x98], cx
mov word [esp + 0x9e], cx
pop eax
lea edx, [esp + 0x94]
lea ecx, [esp + 0x10]
mov word [esp + 0x9c], ax
call fcn.1000a19b
test al, al
jne 0x1000522a
push 0x65
pop eax
push 0x70
pop ecx
push 0x73
mov word [esp + 0xd0], cx
pop ecx
push 0x63
pop edx
push 0x2e
mov word [esp + 0xda], dx
pop edx
push 0x69
mov word [esp + 0xe2], ax
mov word [esp + 0xde], ax
pop eax
push 0x78
mov word [esp + 0xd2], ax
pop eax
mov word [esp + 0xdc], ax
xor eax, eax
push 0x61
mov word [esp + 0xe4], ax
pop eax
mov word [esp + 0xca], ax
push 0x76
mov word [esp + 0xcc], cx
mov word [esp + 0xdc], dx
mov word [esp + 0xd4], cx
pop eax
mov word [esp + 0xd2], cx
lea edx, [esp + 0xc8]
lea ecx, [esp + 0x10]
mov word [esp + 0xd4], ax
call fcn.1000a19b
test al, al
jne 0x10005226
push 0x73
pop ecx
push 0x78
xor eax, eax
mov word [esp + 0x7c], ax
pop eax
push 0x65
mov word [esp + 0x78], ax
pop eax
push 0x62
mov word [esp + 0x76], ax
mov word [esp + 0x7a], ax
pop eax
push 0x2e
mov word [esp + 0x68], ax
pop eax
mov word [esp + 0x70], ax
push 0x69
mov word [esp + 0x6a], cx
mov word [esp + 0x6c], cx
mov word [esp + 0x72], cx
mov word [esp + 0x70], cx
pop eax
lea edx, [esp + 0x64]
lea ecx, [esp + 0x10]
mov word [esp + 0x6a], ax
call fcn.1000a19b
test al, al
jne 0x10005221
push 0x65
pop ecx
push 0x63
xor eax, eax
mov word [esp + 0x4c], ax
pop eax
push 0x73
pop edx
push 0x64
mov word [esp + 0x42], ax
pop eax
push 0x2e
mov word [esp + 0x3a], ax
pop eax
push 0x78
mov word [esp + 0x44], ax
pop eax
push 0x76
mov word [esp + 0x48], ax
pop eax
mov word [esp + 0x3c], ax
push 0x62
mov word [esp + 0x4a], cx
mov word [esp + 0x3c], dx
mov word [esp + 0x3e], dx
mov word [esp + 0x46], cx
pop eax
lea edx, [esp + 0x34]
lea ecx, [esp + 0x10]
mov word [esp + 0x34], ax
call fcn.1000a19b
lea ecx, [esp + 0x10]
test al, al
jne 0x1000521c
push 0
push 1
mov byte [esp + 0x11c], al
call fcn.10009482
inc ebx
add edi, 0x18
cmp ebx, dword [esp + 0x100]
jb 0x10004d8d
jmp 0x1000524a
push 8
pop esi
jmp 0x10005241
push 7
pop esi
jmp 0x1000523d
push 6
jmp 0x10005223
push 5
jmp 0x10005223
push 4
jmp 0x10005223
push 3
jmp 0x10005223
push 2
jmp 0x10005223
xor esi, esi
inc esi
lea ecx, [esp + 0x10]
push 0
push 1
call fcn.10009482
lea ecx, [esp + 0x28]
call fcn.10008c43
mov ecx, dword [esp + 0x10c]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret