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

Disassembly:
push 0xffffffffffffffff
push 0x48d1c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x990
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x20], ebp
call fcn.0044bde0
test eax, eax
je 0x4081f5
push 0
lea eax, [esp + 0x8a4]
push str.CInstall_::_ReviewInstallCompletionStatus_n
push eax
call fcn.00471c30
mov edi, str.ENTRY:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x6a0]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x6a0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x8a0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0044bd70
mov ecx, eax
call fcn.0044be10
lea eax, [esp + 0x6a0]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
mov eax, dword [0x4b538c]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x9a8], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
push 0x403790
push 0x403770
push 5
lea ecx, [esp + 0x5c]
push 8
push ecx
mov byte [esp + 0x9bc], 6
call fcn.00472400
mov eax, dword [0x4b538c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov ebp, dword [ebp + 0x1924]
mov dword [esp + 0x9a8], 7
cmp ebp, ebx
je 0x408416
mov esi, ebp
mov dword [esp + 0x1c], ebp
mov ebp, dword [ebp]
add esi, 8
push esi
lea ecx, [esp + 0x28]
call fcn.00482375
lea edx, [esi + 4]
lea ecx, [esp + 0x28]
push edx
call fcn.00482375
lea eax, [esi + 8]
lea ecx, [esp + 0x2c]
push eax
call fcn.00482375
lea ecx, [esi + 0xc]
push ecx
lea ecx, [esp + 0x34]
call fcn.00482375
lea edx, [esi + 0x10]
lea ecx, [esp + 0x34]
push edx
call fcn.00482375
lea eax, [esi + 0x14]
lea ecx, [esp + 0x38]
push eax
call fcn.00482375
lea ecx, [esi + 0x18]
push ecx
lea ecx, [esp + 0x40]
call fcn.00482375
lea edx, [esi + 0x1c]
lea ebx, [esi + 0x2c]
lea edi, [esp + 0x54]
mov dword [esp + 0x14], 5
mov eax, dword [edx]
mov dword [esp + 0x40], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x44], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x48], eax
mov eax, esi
mov ecx, dword [edx + 0xc]
lea edx, [esp + 0x24]
sub eax, edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x18], eax
push ebx
lea ecx, [edi - 4]
call fcn.00482375
mov eax, dword [esp + 0x18]
mov ecx, edi
add eax, edi
push eax
call fcn.00482375
mov eax, dword [esp + 0x14]
add ebx, 8
add edi, 8
dec eax
mov dword [esp + 0x14], eax
jne 0x40830d
lea ecx, [esi + 0x54]
push ecx
lea ecx, [esp + 0x7c]
call fcn.00482375
lea edx, [esi + 0x58]
lea ecx, [esp + 0x7c]
push edx
call fcn.00482375
lea eax, [esi + 0x5c]
lea ecx, [esp + 0x80]
push eax
call fcn.00482375
mov ecx, dword [esi + 0x60]
add esi, 0x64
mov dword [esp + 0x84], ecx
mov ecx, 0x146
lea edi, [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x20]
mov edx, dword [esi + 0x2368]
test byte [edx + 0xb90], 0x40
jne 0x4083b9
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00407cd0
test eax, eax
jne 0x4083b9
mov edx, dword [esi + 0x2368]
test byte [edx + 0xb90], 1
jne 0x4083b9
mov dword [esp + 0x84], 5
jmp 0x4083db
mov eax, dword [esp + 0x84]
mov dword [esp + 0x10], 1
sub eax, 3
neg eax
sbb eax, eax
and al, 0xfe
add eax, 4
mov dword [esp + 0x84], eax
sub esp, 0x57c
lea edx, [esp + 0x5a0]
mov ecx, esp
mov dword [esp + 0x594], esp
push edx
call fcn.00404730
mov eax, dword [esp + 0x598]
lea ecx, [esi + 0x1920]
push eax
call fcn.0040c8e0
test ebp, ebp
jne 0x408270
mov ebx, dword [esp + 0x10]
call fcn.0044bde0
test eax, eax
je 0x4084b5
push ebx
lea ecx, [esp + 0x7a4]
push str.CInstall_::_ReviewInstallCompletionStatus_:_bRetVal___d_n
push ecx
call fcn.00471c30
mov edi, str.EXIT:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x5a0]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x5a0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x7a0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x5a0]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
call fcn.0044bd70
mov ecx, eax
call fcn.0044be20
lea ecx, [esp + 0x80]
mov dword [esp + 0x9a8], 0x11
call fcn.00482288
lea ecx, [esp + 0x7c]
mov byte [esp + 0x9a8], 0x10
call fcn.00482288
lea ecx, [esp + 0x78]
mov byte [esp + 0x9a8], 0xf
call fcn.00482288
push 0x403790
push 5
lea ecx, [esp + 0x58]
push 8
push ecx
mov byte [esp + 0x9b8], 0xe
call fcn.00472130
lea ecx, [esp + 0x3c]
mov byte [esp + 0x9a8], 0xd
call fcn.00482288
lea ecx, [esp + 0x38]
mov byte [esp + 0x9a8], 0xc
call fcn.00482288
lea ecx, [esp + 0x34]
mov byte [esp + 0x9a8], 0xb
call fcn.00482288
lea ecx, [esp + 0x30]
mov byte [esp + 0x9a8], 0xa
call fcn.00482288
lea ecx, [esp + 0x2c]
mov byte [esp + 0x9a8], 9
call fcn.00482288
lea ecx, [esp + 0x28]
mov byte [esp + 0x9a8], 8
call fcn.00482288
lea ecx, [esp + 0x24]
mov dword [esp + 0x9a8], 0xffffffff
call fcn.00482288
mov ecx, dword [esp + 0x9a0]
pop edi
pop esi
mov eax, ebx
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x99c
ret