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

Disassembly:
push 0xffffffffffffffff
push 0x48f343
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbe8
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x30], ebx
call fcn.0044bde0
test eax, eax
je 0x4189f8
xor ebp, ebp
lea eax, [esp + 0x5e4]
push ebp
push str.CDIFxInstall_::_PreEnumerateDifxApi_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 + 0x7f4]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x7f4]
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 + 0x5e4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0044bd70
mov ecx, eax
call fcn.0044be10
lea eax, [esp + 0x7f4]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
jmp 0x4189fa
xor ebp, ebp
lea ecx, [esp + 0x6e4]
call fcn.00437fa0
mov eax, dword [0x4b538c]
mov dword [esp + 0xc00], ebp
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
push 0x403790
push 0x403770
push 5
lea ecx, [esp + 0xa0]
push 8
push ecx
mov byte [esp + 0xc14], 7
call fcn.00472400
mov eax, dword [0x4b538c]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
lea edx, [esp + 0xaf4]
mov ecx, ebx
push edx
mov byte [esp + 0xc04], 8
call fcn.00417900
test eax, eax
je 0x419184
lea ecx, [esp + 0x6e4]
call fcn.00438440
push ebp
lea eax, [esp + 0x38]
push ebp
push eax
call fcn.0040d9c0
mov ecx, eax
call fcn.0040e550
test eax, eax
jne 0x418ac2
mov ecx, dword [esp + 0x34]
push ebp
push ecx
call fcn.0040d9c0
mov ecx, eax
call fcn.0040e590
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], ebp
xor esi, esi
jmp 0x418ad8
xor ebp, ebp
push str.PreEnumerateDifxApi
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call fcn.0044bde0
test eax, eax
je 0x418b32
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x5e4]
add eax, 0x3e8
push eax
push str.Waiting.._d_n
push edx
mov dword [esp + 0x34], eax
call fcn.00471c30
add esp, 0xc
lea eax, [esp + 0x5e4]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
push ebp
call fcn.0040d9c0
mov ecx, eax
call fcn.0040e640
test eax, eax
jne 0x418d24
cmp dword [esp + 0x1c], ebp
je 0x418d13
mov eax, dword [esp + 0x20]
add eax, 0x3e8
cmp eax, 0xbb8
mov dword [esp + 0x20], eax
jbe 0x418ad8
cmp dword [esp + 0x14], ebp
je 0x418f7a
cmp esi, 0x1388
jae 0x418f7a
mov ecx, dword [esp + 0xc08]
add esi, 0x3e8
mov dword [esp + 0x10], esi
mov ebp, dword [ecx + 4]
test ebp, ebp
je 0x418ad6
mov esi, ebp
mov dword [esp + 0x18], ebp
mov ebp, dword [ebp]
add esi, 8
push esi
lea ecx, [esp + 0x6c]
call fcn.00482375
lea edx, [esi + 4]
lea ecx, [esp + 0x6c]
push edx
call fcn.00482375
lea eax, [esi + 8]
lea ecx, [esp + 0x70]
push eax
call fcn.00482375
lea ecx, [esi + 0xc]
push ecx
lea ecx, [esp + 0x78]
call fcn.00482375
lea edx, [esi + 0x10]
lea ecx, [esp + 0x78]
push edx
call fcn.00482375
lea eax, [esi + 0x14]
lea ecx, [esp + 0x7c]
push eax
call fcn.00482375
lea ecx, [esi + 0x18]
push ecx
lea ecx, [esp + 0x84]
call fcn.00482375
lea edx, [esi + 0x1c]
lea ebx, [esi + 0x2c]
lea edi, [esp + 0x98]
mov dword [esp + 0x2c], 5
mov eax, dword [edx]
mov dword [esp + 0x84], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x88], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x8c], eax
mov eax, esi
mov ecx, dword [edx + 0xc]
lea edx, [esp + 0x68]
sub eax, edx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x24], eax
push ebx
lea ecx, [edi - 4]
call fcn.00482375
mov eax, dword [esp + 0x24]
mov ecx, edi
add eax, edi
push eax
call fcn.00482375
mov eax, dword [esp + 0x2c]
add ebx, 8
add edi, 8
dec eax
mov dword [esp + 0x2c], eax
jne 0x418c4a
lea ecx, [esi + 0x54]
push ecx
lea ecx, [esp + 0xc0]
call fcn.00482375
lea edx, [esi + 0x58]
lea ecx, [esp + 0xc0]
push edx
call fcn.00482375
lea eax, [esi + 0x5c]
lea ecx, [esp + 0xc4]
push eax
call fcn.00482375
mov ecx, dword [esi + 0x60]
add esi, 0x64
mov dword [esp + 0xc8], ecx
mov ecx, 0x146
lea edi, [esp + 0xcc]
push 1
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x78]
lea ecx, [esp + 0x3c]
push edx
call fcn.00415a00
lea ecx, [esp + 0x38]
mov byte [esp + 0xc00], 9
call fcn.00416e60
test eax, eax
je 0x418cf1
push 1
lea ecx, [esp + 0x3c]
call fcn.00416890
test eax, eax
jne 0x418d4f
lea ecx, [esp + 0x38]
mov byte [esp + 0xc00], 8
call fcn.00415820
test ebp, ebp
jne 0x418b9b
mov esi, dword [esp + 0x10]
jmp 0x418ad6
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], ebp
jmp 0x418ad8
call fcn.0044bde0
test eax, eax
je 0x418d3e
push str.Something_is_being_installed.._n
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
mov dword [esp + 0x14], 1
mov dword [esp + 0x1c], ebp
jmp 0x418ad8
call fcn.0044bde0
test eax, eax
je 0x418d86
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x5e4]
push eax
push str.Found_Enumerated_Device.._s_n
push ecx
call fcn.00471c30
add esp, 0xc
lea edx, [esp + 0x5e4]
push edx
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x38]
push eax
call fcn.004186d0
test eax, eax
je 0x418f69
call fcn.0044bde0
test eax, eax
je 0x418db6
push str.Changing_Install_Status_to_UPGRADE_n
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
sub esp, 0x57c
lea ecx, [esp + 0x5e4]
mov dword [esp + 0x58c], esp
mov esi, esp
push ecx
mov ecx, esi
mov dword [esp + 0x648], 1
mov dword [esp + 0x5a4], esi
call fcn.00481ffd
lea edx, [esp + 0x5e8]
lea ecx, [esi + 4]
push edx
mov byte [esp + 0x1180], 0xa
call fcn.00481ffd
lea eax, [esp + 0x5ec]
lea ecx, [esi + 8]
push eax
mov byte [esp + 0x1180], 0xb
call fcn.00481ffd
lea ecx, [esp + 0x5f0]
mov byte [esp + 0x117c], 0xc
push ecx
lea ecx, [esi + 0xc]
call fcn.00481ffd
lea edx, [esp + 0x5f4]
lea ecx, [esi + 0x10]
push edx
mov byte [esp + 0x1180], 0xd
call fcn.00481ffd
lea eax, [esp + 0x5f8]
lea ecx, [esi + 0x14]
push eax
mov byte [esp + 0x1180], 0xe
call fcn.00481ffd
lea ecx, [esp + 0x5fc]
mov byte [esp + 0x117c], 0xf
push ecx
lea ecx, [esi + 0x18]
call fcn.00481ffd
mov eax, dword [esp + 0x600]
lea edx, [esi + 0x1c]
lea edi, [esi + 0x2c]
mov byte [esp + 0x117c], 0x10
mov dword [edx], eax
mov ecx, dword [esp + 0x604]
mov dword [esp + 0x58c], edi
lea ebp, [esp + 0x610]
mov dword [edx + 4], ecx
mov eax, dword [esp + 0x608]
mov ebx, 5
mov dword [edx + 8], eax
mov ecx, dword [esp + 0x60c]
mov dword [edx + 0xc], ecx
push ebp
mov ecx, edi
call fcn.00481ffd
lea edx, [ebp + 4]
lea ecx, [edi + 4]
push edx
mov byte [esp + 0x1180], 0x11
call fcn.00481ffd
add edi, 8
add ebp, 8
dec ebx
mov byte [esp + 0x117c], 0x12
mov dword [esp + 0x58c], edi
jne 0x418ebe
lea eax, [esp + 0x638]
lea ecx, [esi + 0x54]
push eax
call fcn.00481ffd
lea ecx, [esp + 0x63c]
mov byte [esp + 0x117c], 0x13
push ecx
lea ecx, [esi + 0x58]
call fcn.00481ffd
lea edx, [esp + 0x640]
lea ecx, [esi + 0x5c]
push edx
mov byte [esp + 0x1180], 0x14
call fcn.00481ffd
mov eax, dword [esp + 0x644]
lea edi, [esi + 0x64]
mov dword [esi + 0x60], eax
mov ecx, 0x146
lea esi, [esp + 0x648]
mov byte [esp + 0x117c], 9
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x594]
push ecx
mov ecx, dword [esp + 0x1188]
call fcn.0040c8e0
mov byte [esp + 0xc00], 8
lea ecx, [esp + 0x38]
jmp 0x419171
call fcn.0044bde0
test eax, eax
je 0x418f94
push str.Timed_out..._n
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
mov edx, dword [esp + 0xc08]
mov ebp, dword [edx + 4]
test ebp, ebp
je 0x419176
mov esi, ebp
mov dword [esp + 0x18], ebp
mov ebp, dword [ebp]
add esi, 8
push esi
lea ecx, [esp + 0x6c]
call fcn.00482375
lea eax, [esi + 4]
lea ecx, [esp + 0x6c]
push eax
call fcn.00482375
lea ecx, [esi + 8]
push ecx
lea ecx, [esp + 0x74]
call fcn.00482375
lea edx, [esi + 0xc]
lea ecx, [esp + 0x74]
push edx
call fcn.00482375
lea eax, [esi + 0x10]
lea ecx, [esp + 0x78]
push eax
call fcn.00482375
lea ecx, [esi + 0x14]
push ecx
lea ecx, [esp + 0x80]
call fcn.00482375
lea edx, [esi + 0x18]
lea ecx, [esp + 0x80]
push edx
call fcn.00482375
lea eax, [esi + 0x1c]
lea ebx, [esi + 0x2c]
lea edi, [esp + 0x98]
mov dword [esp + 0x14], 5
mov ecx, dword [eax]
mov dword [esp + 0x84], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x88], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x8c], ecx
lea ecx, [esp + 0x68]
mov edx, dword [eax + 0xc]
mov eax, esi
sub eax, ecx
mov dword [esp + 0x90], edx
mov dword [esp + 0x10], eax
push ebx
lea ecx, [edi - 4]
call fcn.00482375
mov edx, dword [esp + 0x10]
mov ecx, edi
add edx, edi
push edx
call fcn.00482375
mov eax, dword [esp + 0x14]
add ebx, 8
add edi, 8
dec eax
mov dword [esp + 0x14], eax
jne 0x419058
lea eax, [esi + 0x54]
lea ecx, [esp + 0xbc]
push eax
call fcn.00482375
lea ecx, [esi + 0x58]
push ecx
lea ecx, [esp + 0xc4]
call fcn.00482375
lea edx, [esi + 0x5c]
lea ecx, [esp + 0xc4]
push edx
call fcn.00482375
mov eax, dword [esi + 0x60]
add esi, 0x64
mov ecx, 0x146
lea edi, [esp + 0xcc]
mov dword [esp + 0xc8], eax
push 1
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x78]
push ecx
lea ecx, [esp + 0x40]
call fcn.00415a00
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0xc04], 0x15
call fcn.004186d0
test eax, eax
jne 0x419110
lea ecx, [esp + 0x38]
mov byte [esp + 0xc00], 8
call fcn.00415820
test ebp, ebp
jne 0x418fa6
jmp 0x419176
call fcn.0044bde0
test eax, eax
je 0x41912a
push str.Changing_Install_Status_to_UPGRADE_n
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
sub esp, 0x57c
lea eax, [esp + 0x5e4]
mov ecx, esp
mov dword [esp + 0x58c], esp
push eax
mov dword [esp + 0x648], 1
call fcn.00404730
mov ecx, dword [esp + 0x594]
push ecx
mov ecx, dword [esp + 0x1188]
call fcn.0040c8e0
mov byte [esp + 0xc00], 8
lea ecx, [esp + 0x38]
call fcn.00415820
lea ecx, [esp + 0x6e4]
call fcn.004385b0
xor ebp, ebp
call fcn.0044bde0
test eax, eax
je 0x419223
push ebp
lea edx, [esp + 0x9f8]
push str.CDIFxInstall_::_PreEnumerateDifxApi_:_bRetVal___d_n
push edx
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 + 0x8f4]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x8f4]
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 + 0x9f4]
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 + 0x8f4]
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 + 0xc4]
mov byte [esp + 0xc00], 0x1f
call fcn.00482288
lea ecx, [esp + 0xc0]
mov byte [esp + 0xc00], 0x1e
call fcn.00482288
lea ecx, [esp + 0xbc]
mov byte [esp + 0xc00], 0x1d
call fcn.00482288
push 0x403790
push 5
lea ecx, [esp + 0x9c]
push 8
push ecx
mov byte [esp + 0xc10], 0x1c
call fcn.00472130
lea ecx, [esp + 0x80]
mov byte [esp + 0xc00], 0x1b
call fcn.00482288
lea ecx, [esp + 0x7c]
mov byte [esp + 0xc00], 0x1a
call fcn.00482288
lea ecx, [esp + 0x78]
mov byte [esp + 0xc00], 0x19
call fcn.00482288
lea ecx, [esp + 0x74]
mov byte [esp + 0xc00], 0x18
call fcn.00482288
lea ecx, [esp + 0x70]
mov byte [esp + 0xc00], 0x17
call fcn.00482288
lea ecx, [esp + 0x6c]
mov byte [esp + 0xc00], 0x16
call fcn.00482288
lea ecx, [esp + 0x68]
mov byte [esp + 0xc00], 0
call fcn.00482288
lea ecx, [esp + 0x6e4]
mov dword [esp + 0xc00], 0xffffffff
call fcn.00437fc0
mov ecx, dword [esp + 0xbf8]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0xbf4
ret 4