Function at 0x40ca60
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x45db3a
mov eax, dword fs:[0]
push eax
sub esp, 0x3c0
mov eax, dword [0x47aab0]
xor eax, esp
mov dword [esp + 0x3b8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47aab0]
xor eax, esp
push eax
lea eax, [esp + 0x3d4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3e4]
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x3e0], 1
call fcn.004178f0
mov byte [esp + 0x3dc], 2
call fcn.0041ba0a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40cadd
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x3dc], 3
call fcn.0041ba0a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40cb0f
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x3e0], 4
call fcn.0040c640
add esp, 4
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x3e0], 5
call fcn.0040c860
add esp, 4
mov byte [esp + 0x3dc], 6
call fcn.0041ba0a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40cb6b
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x3dc], 7
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x3ec]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x3e8]
push ecx
push edi
push ebx
push ebp
lea edx, [esp + 0x24]
push str.installA_sA_sA_sA_s
push edx
call fcn.00407ac0
add esp, 0x18
lea eax, [esp + 0x64]
push eax
call fcn.00415150
push 0x64
lea ecx, [esp + 0x328]
push 0
push ecx
mov byte [esp + 0x118], 0
mov dword [esp + 0x104], 0
call fcn.00444730
add esp, 0xc
mov byte [esp + 0x3dc], 8
mov esi, dword [esp + 0x14]
cmp dword [esi - 4], 1
jle 0x40cc03
mov edx, dword [esi - 0xc]
push edx
lea ecx, [esp + 0x18]
call fcn.00401fe0
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x64]
push eax
call fcn.00414390
test al, al
jne 0x40cc38
cmp word [esp + 0x324], 0
jne 0x40cc38
mov ecx, dword [0x46aec0]
push ecx
lea edx, [esp + 0x328]
push edx
mov byte [esp + 0x114], al
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x64]
push eax
mov ecx, esi
call fcn.00414bf0
call fcn.0041ba0a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40cc5e
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x3dc], 9
cmp byte [esp + 0x10c], 0
je 0x40cc89
lea eax, [esp + 0x388]
jmp 0x40ccb3
cmp word [esp + 0x324], 0
jne 0x40ccb1
mov ecx, dword [str.Have_something_wrong_with_MD5_]
push ecx
lea edx, [esp + 0x328]
push edx
mov byte [esp + 0x114], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
push eax
lea eax, [esp + 0x24]
push 0x469260
push eax
call fcn.00407ac0
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x2cc]
add esp, 0xc
push esi
push ecx
push ebx
push edi
push ebp
push eax
lea ecx, [esp + 0x40]
push str._s_opinstallri_svs_smc_stm_skey_s
push ecx
call fcn.00407ac0
mov ebp, dword [esp + 0x48]
add esp, 0x20
lea edx, [esp + 0x1c]
push edx
push ecx
add ebp, 0xfffffff0
mov dword [esp + 0x2c], esp
mov edi, esp
push ebp
call fcn.00401f70
add eax, 0x10
add esp, 4
lea ecx, [esp + 0x38]
mov dword [edi], eax
call fcn.00417ef0
lea eax, [esi - 0x10]
mov byte [esp + 0x3dc], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cd3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x64]
push ecx
mov byte [esp + 0x3e0], 7
call fcn.004142d0
mov byte [esp + 0x3dc], 6
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40cd78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3dc], 5
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cda0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x3dc], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cdc4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3dc], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cdec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3dc], 2
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ce0e
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x3dc], 1
call fcn.00417b70
mov byte [esp + 0x3dc], 0
mov eax, dword [esp + 0x3e8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ce4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x3dc], 0xffffffff
mov eax, dword [esp + 0x3ec]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ce78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x3d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3b8]
xor ecx, esp
call fcn.0043f428
add esp, 0x3cc
ret 0xc