Function at 0x408720
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48d2f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa9c
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x20], ebx
call fcn.0044bde0
test eax, eax
je 0x4087e5
push 0
lea eax, [esp + 0x6b8]
push str.CInstall_::_ProcessMiscInstallFiles1_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 + 0x9ac]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x9ac]
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 + 0x6b4]
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0044bd70
mov ecx, eax
call fcn.0044be10
lea eax, [esp + 0x9ac]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
call fcn.0044bde0
test eax, eax
je 0x408829
mov ecx, dword [esp + 0xac0]
mov eax, dword [esp + 0xabc]
mov edx, dword [ecx]
lea ecx, [esp + 0x6b4]
push edx
push eax
push str.bDeviceINIInstallData____d__csFilePath___s_n
push ecx
call fcn.00471c30
add esp, 0x10
lea edx, [esp + 0x6b4]
push edx
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
mov eax, dword [0x4b538c]
mov dword [esp + 0x30], eax
mov dword [esp + 0xab4], 0
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
push 0x403790
push 0x403770
push 5
lea eax, [esp + 0x68]
push 8
push eax
mov byte [esp + 0xac8], 6
call fcn.00472400
mov eax, dword [0x4b538c]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0xac0]
lea esi, [ebx + 0x1b0]
push ecx
mov ecx, esi
mov dword [esp + 0xab8], 7
mov dword [esp + 0x20], esi
call fcn.0042a110
mov ebp, dword [ebx + 0x1924]
test ebp, ebp
je 0x408a2c
mov esi, ebp
mov ebp, dword [ebp]
add esi, 8
lea ecx, [esp + 0x30]
push esi
call fcn.00482375
lea edx, [esi + 4]
lea ecx, [esp + 0x34]
push edx
call fcn.00482375
lea eax, [esi + 8]
lea ecx, [esp + 0x38]
push eax
call fcn.00482375
lea ecx, [esi + 0xc]
push ecx
lea ecx, [esp + 0x40]
call fcn.00482375
lea edx, [esi + 0x10]
lea ecx, [esp + 0x40]
push edx
call fcn.00482375
lea eax, [esi + 0x14]
lea ecx, [esp + 0x44]
push eax
call fcn.00482375
lea ecx, [esi + 0x18]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00482375
lea edx, [esi + 0x1c]
lea ebx, [esi + 0x2c]
lea edi, [esp + 0x60]
mov dword [esp + 0x18], 5
mov eax, dword [edx]
mov dword [esp + 0x4c], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x50], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x54], eax
mov eax, esi
mov ecx, dword [edx + 0xc]
lea edx, [esp + 0x30]
sub eax, edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x14], eax
push ebx
lea ecx, [edi - 4]
call fcn.00482375
mov eax, dword [esp + 0x14]
mov ecx, edi
add eax, edi
push eax
call fcn.00482375
mov eax, dword [esp + 0x18]
add ebx, 8
add edi, 8
dec eax
mov dword [esp + 0x18], eax
jne 0x40895a
lea ecx, [esi + 0x54]
push ecx
lea ecx, [esp + 0x88]
call fcn.00482375
lea edx, [esi + 0x58]
lea ecx, [esp + 0x88]
push edx
call fcn.00482375
lea eax, [esi + 0x5c]
lea ecx, [esp + 0x8c]
push eax
call fcn.00482375
mov ecx, dword [esi + 0x60]
add esi, 0x64
mov dword [esp + 0x90], ecx
mov ecx, 0x146
lea edi, [esp + 0x94]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x90]
cmp eax, 2
je 0x4089de
cmp eax, 4
jne 0x408a1c
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0xac0]
push 0
push 0
mov ecx, dword [esi + 0x2368]
mov eax, dword [edx]
mov edx, dword [esp + 0x4c]
add ecx, 0x44
push ecx
mov ecx, dword [esp + 0x28]
push eax
push edx
call fcn.0042a470
test eax, eax
je 0x408a1c
mov eax, dword [esi + 0x2368]
or dword [eax + 0xb90], 0x400000
test ebp, ebp
jne 0x4088c1
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0xabc]
test eax, eax
je 0x408c3d
lea eax, [ebx + 0x233c]
mov ecx, esi
push eax
call fcn.0042a640
test eax, eax
je 0x408a5d
mov eax, dword [ebx + 0x2368]
or dword [eax + 0xb90], 0x400000
mov ecx, dword [ebx + 0x2348]
mov eax, dword [ecx - 8]
test eax, eax
je 0x408c3d
mov edx, dword [ebx + 0x234c]
lea esi, [ebx + 0x234c]
mov eax, dword [edx - 8]
test eax, eax
je 0x408c3d
lea ecx, [esp + 0x5ac]
call fcn.004011d0
push 0x4a9e4c
lea eax, [esp + 0x18]
push esi
push eax
mov byte [esp + 0xac0], 8
call fcn.004824d1
mov ecx, dword [esp + 0x14]
push 0
push ecx
lea ecx, [ebx + 0x1850]
mov byte [esp + 0xabc], 9
call fcn.0041b3f0
mov eax, dword [esi]
mov ecx, dword [ebx + 0x2348]
push eax
push ecx
lea ecx, [esp + 0x5b4]
call fcn.00401bd0
push esi
lea ecx, [esp + 0x14]
call fcn.00481ffd
push 0x5c
lea ecx, [esp + 0x14]
mov byte [esp + 0xab8], 0xa
call fcn.0048123e
lea edx, [esp + 0x24]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.004811c6
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xab8], 0xb
call fcn.00482375
lea ecx, [esp + 0x24]
mov byte [esp + 0xab4], 0xa
call fcn.00482288
push str.SOFTWARE_
lea ecx, [esp + 0x30]
call fcn.004822f6
push 0x4a9dbc
push eax
lea eax, [esp + 0x30]
mov byte [esp + 0xabc], 0xc
push eax
call fcn.004824d1
push 0x4a919c
lea ecx, [esp + 0x28]
push eax
push ecx
mov byte [esp + 0xac0], 0xd
call fcn.004824d1
push str.INSTALL_INFO
lea edx, [esp + 0x1c]
push eax
push edx
mov byte [esp + 0xac0], 0xe
call fcn.004824d1
lea ecx, [esp + 0x24]
mov byte [esp + 0xab4], 0x12
call fcn.00482288
lea ecx, [esp + 0x28]
mov byte [esp + 0xab4], 0x11
call fcn.00482288
lea ecx, [esp + 0x2c]
mov byte [esp + 0xab4], 0x10
call fcn.00482288
mov eax, dword [esp + 0x18]
mov eax, dword [eax - 8]
push 0x80000002
push eax
lea ecx, [esp + 0x20]
call fcn.0048266c
push eax
lea ecx, [esp + 0x6bc]
call fcn.00457c00
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x6c0]
push str.DeviceCabFilePath
push ecx
lea ecx, [esp + 0x6c4]
call fcn.004581b0
lea ecx, [esp + 0x18]
mov byte [esp + 0xab4], 0xa
call fcn.00482288
lea ecx, [esp + 0x10]
mov byte [esp + 0xab4], 9
call fcn.00482288
lea ecx, [esp + 0x14]
mov byte [esp + 0xab4], 8
call fcn.00482288
lea ecx, [esp + 0x5ac]
mov byte [esp + 0xab4], 7
call fcn.004011e0
mov esi, dword [ebx + 0x1924]
test esi, esi
je 0x408d8e
jmp 0x408c51
mov esi, dword [esp + 0x10]
mov edx, dword [esi]
add esi, 8
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], edx
call fcn.00482375
lea eax, [esi + 4]
lea ecx, [esp + 0x34]
push eax
call fcn.00482375
lea ecx, [esi + 8]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00482375
lea edx, [esi + 0xc]
lea ecx, [esp + 0x3c]
push edx
call fcn.00482375
lea eax, [esi + 0x10]
lea ecx, [esp + 0x40]
push eax
call fcn.00482375
lea ecx, [esi + 0x14]
push ecx
lea ecx, [esp + 0x48]
call fcn.00482375
lea edx, [esi + 0x18]
lea ecx, [esp + 0x48]
push edx
call fcn.00482375
lea eax, [esi + 0x1c]
mov ebx, esi
lea ebp, [esi + 0x2c]
lea edi, [esp + 0x60]
mov ecx, dword [eax]
mov dword [esp + 0x14], 5
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x50], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x54], ecx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x30]
mov dword [esp + 0x58], edx
sub ebx, eax
push ebp
lea ecx, [edi - 4]
call fcn.00482375
lea ecx, [ebx + edi]
push ecx
mov ecx, edi
call fcn.00482375
mov eax, dword [esp + 0x14]
add ebp, 8
add edi, 8
dec eax
mov dword [esp + 0x14], eax
jne 0x408ce7
lea edx, [esi + 0x54]
lea ecx, [esp + 0x84]
push edx
call fcn.00482375
lea eax, [esi + 0x58]
lea ecx, [esp + 0x88]
push eax
call fcn.00482375
lea ecx, [esi + 0x5c]
push ecx
lea ecx, [esp + 0x90]
call fcn.00482375
mov edx, dword [esi + 0x60]
add esi, 0x64
mov ecx, 0x146
lea edi, [esp + 0x94]
mov dword [esp + 0x90], edx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x90]
cmp eax, 2
je 0x408d68
cmp eax, 4
jne 0x408d7e
mov ecx, dword [esp + 0xac0]
lea eax, [esp + 0x44]
push eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.00448ac0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x408c4d
mov ebx, dword [esp + 0x20]
mov ebx, dword [ebx + 0x1924]
test ebx, ebx
je 0x408ed5
jmp 0x408da2
mov ebx, dword [esp + 0x10]
mov edx, dword [ebx]
mov esi, ebx
add esi, 8
lea ecx, [esp + 0x30]
push esi
mov dword [esp + 0x14], edx
call fcn.00482375
lea eax, [esi + 4]
lea ecx, [esp + 0x34]
push eax
call fcn.00482375
lea ecx, [esi + 8]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00482375
lea edx, [esi + 0xc]
lea ecx, [esp + 0x3c]
push edx
call fcn.00482375
lea eax, [esi + 0x10]
lea ecx, [esp + 0x40]
push eax
call fcn.00482375
lea ecx, [esi + 0x14]
push ecx
lea ecx, [esp + 0x48]
call fcn.00482375
lea edx, [esi + 0x18]
lea ecx, [esp + 0x48]
push edx
call fcn.00482375
lea eax, [esi + 0x1c]
mov ebx, esi
lea ebp, [esi + 0x2c]
lea edi, [esp + 0x60]
mov ecx, dword [eax]
mov dword [esp + 0x14], 5
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x50], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x54], ecx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x30]
mov dword [esp + 0x58], edx
sub ebx, eax
push ebp
lea ecx, [edi - 4]
call fcn.00482375
lea ecx, [ebx + edi]
push ecx
mov ecx, edi
call fcn.00482375
mov eax, dword [esp + 0x14]
add ebp, 8
add edi, 8
dec eax
mov dword [esp + 0x14], eax
jne 0x408e3a
lea edx, [esi + 0x54]
lea ecx, [esp + 0x84]
push edx
call fcn.00482375
lea eax, [esi + 0x58]
lea ecx, [esp + 0x88]
push eax
call fcn.00482375
lea ecx, [esi + 0x5c]
push ecx
lea ecx, [esp + 0x90]
call fcn.00482375
mov edx, dword [esi + 0x60]
add esi, 0x64
mov ecx, 0x146
lea edi, [esp + 0x94]
mov dword [esp + 0x90], edx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x90]
cmp eax, 2
je 0x408ebb
cmp eax, 4
jne 0x408ec9
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x44]
push eax
call fcn.0042faa0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x408d9e
call fcn.0044bde0
test eax, eax
je 0x408f75
push 0
lea ecx, [esp + 0x5b0]
push str.CInstall_::_ProcessMiscInstallFiles1_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 + 0x8ac]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x8ac]
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 + 0x5ac]
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
lea eax, [esp + 0x8ac]
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 + 0x8c]
mov dword [esp + 0xab4], 0x1c
call fcn.00482288
lea ecx, [esp + 0x88]
mov byte [esp + 0xab4], 0x1b
call fcn.00482288
lea ecx, [esp + 0x84]
mov byte [esp + 0xab4], 0x1a
call fcn.00482288
push 0x403790
push 5
lea ecx, [esp + 0x64]
push 8
push ecx
mov byte [esp + 0xac4], 0x19
call fcn.00472130
lea ecx, [esp + 0x48]
mov byte [esp + 0xab4], 0x18
call fcn.00482288
lea ecx, [esp + 0x44]
mov byte [esp + 0xab4], 0x17
call fcn.00482288
lea ecx, [esp + 0x40]
mov byte [esp + 0xab4], 0x16
call fcn.00482288
lea ecx, [esp + 0x3c]
mov byte [esp + 0xab4], 0x15
call fcn.00482288
lea ecx, [esp + 0x38]
mov byte [esp + 0xab4], 0x14
call fcn.00482288
lea ecx, [esp + 0x34]
mov byte [esp + 0xab4], 0x13
call fcn.00482288
lea ecx, [esp + 0x30]
mov dword [esp + 0xab4], 0xffffffff
call fcn.00482288
mov ecx, dword [esp + 0xaac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xaa8
ret 8