Function at 0x402e40
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x435cdf
mov eax, dword fs:[0]
push eax
mov eax, 0x226c
call fcn.004241b0
mov eax, dword [0x44c250]
xor eax, esp
mov dword [esp + 0x2268], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44c250]
xor eax, esp
push eax
lea eax, [esp + 0x2280]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push 0x103
lea eax, [esp + 0x2079]
mov dword [esp + 0x1c], ebx
push ebx
push eax
mov dword [esp + 0x28], ebx
mov byte [esp + 0x2080], bl
call fcn.00422000
push 0x103
lea ecx, [esp + 0x2189]
push ebx
push ecx
mov byte [esp + 0x2190], bl
call fcn.00422000
push 0x103
lea edx, [esp + 0x1b7d]
push ebx
push edx
mov byte [esp + 0x1b84], bl
call fcn.00422000
push 0x103
lea eax, [esp + 0x1c8d]
push ebx
push eax
mov byte [esp + 0x1c94], bl
call fcn.00422000
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 0x30
push ebx
push ebx
push 0x104
lea ecx, [esp + 0x2184]
push ecx
or ebp, 0xffffffff
push ebp
push 0x454180
push ebx
push ebx
call edi
push ebx
push ebx
push 0x104
lea edx, [esp + 0x1b6c]
push edx
push ebp
push 0x454388
push ebx
push ebx
call edi
push ebx
push ebx
push 0x104
lea eax, [esp + 0x1c70]
push eax
push ebp
push 0x453f78
push ebx
push ebx
call edi
push 0x104
lea ecx, [esp + 0x2078]
push ecx
lea edx, [esp + 0x1b68]
push 0x43899c
push edx
call fcn.004126b0
add esp, 0x10
lea ecx, [esp + 0x30]
call fcn.00401b30
mov eax, 0x438998
mov dword [esp + 0x2288], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402f84
sub eax, edx
cmp eax, 0x1388
jae 0x402fae
push eax
mov dword [esp + 0x13bc], eax
lea eax, [esp + 0x34]
push 0x438998
push eax
call fcn.004220e0
add esp, 0xc
push 0x3039
push 0x7fffffff
lea ecx, [esp + 0x207c]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00402560
test eax, eax
jne 0x403017
push ebx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x38]
call fcn.00401610
push 0x30
push str.DWRCMSI___Build_Cabinet
mov eax, dword [esp + 0x24]
push eax
push ebx
call fcn.00410df0
mov dword [esp + 0x2288], ebp
lea ecx, [esp + 0x30]
call fcn.00402460
mov eax, dword [esp + 0x1a24]
cmp eax, ebx
je 0x403010
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x40352d
cmp dword [esi + 0x20c], 0x64
jne 0x403092
push 0x103
lea ecx, [esp + 0x1f75]
push ebx
push ecx
mov byte [esp + 0x1f7c], bl
call fcn.00422000
push 0x104
lea edx, [esp + 0x1f80]
push edx
lea eax, [esp + 0x1c78]
push 0x438974
push eax
call fcn.004126b0
add esp, 0x1c
push ebx
push 0x438974
lea ecx, [esp + 0x1f78]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00402200
test eax, eax
jne 0x403092
push ebx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x38]
call fcn.00401610
push 0x30
push str.DWRCSMSI___Build_Cabinet
jmp 0x402fe3
mov eax, dword [esi + 0x20c]
xor edi, edi
mov dword [esp + 0x20], 0x20
cmp eax, 0x68
je 0x4030ac
cmp eax, 0x66
jne 0x4030b4
mov dword [esp + 0x20], 0x40
push 0x103
lea ecx, [esp + 0x1d6d]
push ebx
push ecx
mov byte [esp + 0x1d74], bl
call fcn.00422000
mov edx, dword [str.dwdrvinst.exe]
mov eax, dword [0x43894c]
mov ecx, dword [0x438950]
mov dword [esp + 0x1a48], edx
mov dx, word [0x438954]
mov dword [esp + 0x1a4c], eax
xor eax, eax
add esp, 0xc
cmp dword [esp + 0x20], 0x40
mov dword [esp + 0x1a44], ecx
mov word [esp + 0x1a48], dx
mov dword [esp + 0x1a4a], eax
mov dword [esp + 0x1a4e], eax
mov dword [esp + 0x1a52], eax
mov dword [esp + 0x1a56], eax
jne 0x40315d
mov eax, dword [str.dwdrvinst64.exe]
mov ecx, dword [0x43893c]
mov edx, dword [0x438940]
mov dword [esp + 0x1a3c], eax
mov eax, dword [0x438944]
mov dword [esp + 0x1a40], ecx
mov dword [esp + 0x1a44], edx
mov dword [esp + 0x1a48], eax
push 0x104
lea ecx, [esp + 0x1d6c]
push ecx
lea edx, [esp + 0x1a44]
push edx
lea eax, [esp + 0x1b6c]
push eax
call fcn.004126b0
mov eax, dword [esp + 0x14ec]
add esp, 0x10
cmp eax, ebx
je 0x4031d3
mov ebp, 1
push ebp
push 0x401b90
push 0x401c40
push fcn.00401bd0
push ebx
lea ecx, [esp + 0x1a50]
push ecx
lea edx, [esp + 0x1d80]
push edx
push eax
mov dword [esp + 0x1514], ebp
mov dword [esp + 0x150c], ebx
call dword [esp + 0x1a4c]
add esp, 0x20
cmp eax, ebx
jne 0x4031f3
or ebp, 0xffffffff
push ebx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x38]
call fcn.00401610
mov ecx, dword [esp + 0x1c]
push 0x30
push str.DWRCSMSI___Build_Cabinet
push ecx
jmp 0x402fe8
mov edx, dword [esp + 0x20]
cmp dword [0x44b274], edx
je 0x403201
mov edi, ebp
cmp edi, dword [esp + 0x2290]
mov dword [esp + 0x24], edi
jge 0x403470
lea edi, [edi + edi*2]
shl edi, 5
add edi, 0x44ddf0
mov edi, edi
push 0x103
lea eax, [esp + 0x1e71]
push ebx
push eax
mov byte [esp + 0x1e78], bl
call fcn.00422000
push 0x103
lea ecx, [esp + 0x1a6d]
push ebx
push ecx
mov byte [esp + 0x1a74], bl
call fcn.00422000
add esp, 0x18
push ebx
push ebx
push 0x104
lea edx, [esp + 0x1a68]
push edx
push 0xffffffffffffffff
push edi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x104
lea eax, [esp + 0x1e70]
push eax
lea ecx, [esp + 0x1a64]
push ecx
lea edx, [esp + 0x1c70]
push edx
call fcn.004126b0
lea eax, [esp + 0x1a6c]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4032a0
sub eax, edx
mov esi, eax
mov eax, dword [0x44b274]
cmp eax, dword [esp + 0x20]
je 0x4032ff
lea ecx, [esp + 0x1a5c]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00402da0
or dword [esp + 0x18], ebp
push 4
lea edx, [esp + 0x30]
push edx
mov ecx, eax
mov byte [esp + 0x2290], 1
call fcn.00402ae0
mov eax, dword [eax]
or dword [esp + 0x18], 2
push str..xml
push eax
call fcn.004238ca
add esp, 8
mov byte [esp + 0x17], 1
cmp eax, ebx
jne 0x403303
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 2
mov dword [esp + 0x2288], ebp
je 0x403336
mov eax, dword [esp + 0x2c]
and dword [esp + 0x18], 0xfffffffd
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403336
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test byte [esp + 0x18], 1
mov dword [esp + 0x2288], ebx
je 0x403369
mov eax, dword [esp + 0x28]
and dword [esp + 0x18], 0xfffffffe
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403369
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x17], bl
je 0x4033a4
cmp dword [esp + 0x20], 0x40
mov eax, 6
jne 0x403380
mov eax, 4
sub esi, eax
mov eax, esi
cmp eax, 0x103
jge 0x4033a4
mov edx, 0x103
sub edx, eax
push edx
lea ecx, [esp + eax + 0x1a60]
push ebx
push ecx
call fcn.00422000
add esp, 0xc
cmp dword [0x453f74], ebx
jne 0x403401
push 7
lea eax, [esp + 0x1a60]
push 0x438924
push eax
call fcn.004240e2
add esp, 0xc
test eax, eax
je 0x403452
push 5
lea ecx, [esp + 0x1a60]
push 0x43891c
push ecx
call fcn.004240e2
add esp, 0xc
test eax, eax
je 0x403452
push 9
lea edx, [esp + 0x1a60]
push 0x438910
push edx
call fcn.004240e2
add esp, 0xc
test eax, eax
je 0x403452
mov eax, dword [esp + 0x14dc]
cmp eax, ebx
je 0x4034d4
push ebp
push 0x401b90
push 0x401c40
push fcn.00401bd0
push ebx
lea ecx, [esp + 0x1a70]
push ecx
lea edx, [esp + 0x1e84]
push edx
push eax
mov dword [esp + 0x1514], ebp
mov dword [esp + 0x150c], ebx
call dword [esp + 0x1a4c]
add esp, 0x20
cmp eax, ebx
je 0x4034d4
mov eax, dword [esp + 0x24]
add eax, 2
add edi, 0xc0
cmp eax, dword [esp + 0x2290]
mov dword [esp + 0x24], eax
jl 0x403220
mov eax, dword [esp + 0x14dc]
cmp eax, ebx
je 0x4034a3
push 0x401c40
push fcn.00401bd0
push ebx
push eax
mov dword [esp + 0x1504], ebx
mov dword [esp + 0x14fc], ebx
call dword [esp + 0x1a44]
add esp, 0x10
cmp eax, ebx
jne 0x403505
push ebx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x38]
call fcn.00401610
mov eax, dword [esp + 0x1c]
push 0x30
push str.DWRCSMSI___Build_Cabinet
push eax
push ebx
call fcn.00410df0
mov dword [esp + 0x2288], 0xffffffff
jmp 0x402ff5
push ebx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x38]
call fcn.00401610
mov ecx, dword [esp + 0x1c]
push 0x30
push str.DWRCSMSI___Build_Cabinet
push ecx
push ebx
call fcn.00410df0
mov dword [esp + 0x2288], 0xffffffff
jmp 0x402ff5
lea ecx, [esp + 0x30]
mov dword [esp + 0x2288], 0xffffffff
call fcn.00402460
mov eax, dword [esp + 0x1a24]
cmp eax, ebx
je 0x40352b
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebp
mov ecx, dword [esp + 0x2280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2268]
xor ecx, esp
call fcn.00421fea
add esp, 0x2278
ret 4