Function at 0x40cad1
Capabilities:
Check os version
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x425bce
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x4331f0]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [0x4331f0]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x20], ebx
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x18], 0xbb8
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
push esi
lea edx, [esp + 0x30]
mov dword [esp + 0xcc], eax
lea ecx, [esp + 0xa4]
call fcn.004016cb
pop ecx
mov byte [esp + 0xc8], 1
cmp dword [esp + 0xb0], 0
jne 0x40d34a
cmp dword [esp + 0x2c], 5
jne 0x40d34a
lea ecx, [ebx + 0xb8]
cmp ecx, esi
je 0x40cb7e
push 0xffffffffffffffff
push 0
push esi
call fcn.00405918
lea ecx, [esp + 0x2c]
call fcn.004012eb
mov esi, eax
lea ecx, [esp + 0x58]
push str.already_registered
mov dword [esp + 0x20], esi
call fcn.00405646
push 1
lea edx, [esp + 0x5c]
mov byte [esp + 0xcc], 2
mov ecx, esi
call fcn.0040681b
pop ecx
push 0
push 1
lea ecx, [esp + 0x60]
mov byte [ebx], al
mov byte [esp + 0xd0], 1
call fcn.00405a11
push str.easy_install
lea ecx, [esp + 0x5c]
call fcn.00405646
push 0
lea edx, [esp + 0x5c]
mov byte [esp + 0xcc], 3
mov ecx, esi
call fcn.0040681b
pop ecx
push 0
push 1
lea ecx, [esp + 0x60]
mov byte [ebx + 2], al
mov byte [esp + 0xd0], 1
call fcn.00405a11
push str.browser_download_url
lea ecx, [esp + 0x44]
call fcn.00405646
sub esp, 0x18
mov byte [esp + 0xe0], 4
mov ecx, esp
mov edi, 0x42cdf5
push edi
call fcn.00405646
lea eax, [esp + 0x58]
mov edx, esi
push eax
lea ecx, [esp + 0x8c]
call fcn.0040684a
add esp, 0x1c
mov edx, eax
mov byte [esp + 0xc8], 5
lea ecx, [esp + 0x88]
call fcn.004069ca
push eax
lea ecx, [ebx + 4]
call fcn.004065fe
push 0
push 1
lea ecx, [esp + 0x90]
call fcn.00405e0a
push 0
push 1
lea ecx, [esp + 0x78]
call fcn.00405a11
push 0
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0xd0], 1
call fcn.00405a11
push str.browser_download_hash
lea ecx, [esp + 0x44]
call fcn.00405646
sub esp, 0x18
mov byte [esp + 0xe0], 6
mov ecx, esp
push edi
call fcn.00405646
lea eax, [esp + 0x58]
mov edx, esi
push eax
lea ecx, [esp + 0x8c]
call fcn.0040684a
add esp, 0x1c
lea ecx, [ebx + 0x1c]
push eax
call fcn.00402b48
push 0
push 1
lea ecx, [esp + 0x78]
call fcn.00405a11
push 0
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0xd0], 1
call fcn.00405a11
push str.native_host_domain
lea ecx, [esp + 0x44]
call fcn.00405646
sub esp, 0x18
mov byte [esp + 0xe0], 7
mov ecx, esp
push edi
call fcn.00405646
lea eax, [esp + 0x58]
mov edx, esi
push eax
lea ecx, [esp + 0xa4]
call fcn.0040684a
add esp, 0x1c
mov edx, eax
mov byte [esp + 0xc8], 8
lea ecx, [esp + 0x70]
call fcn.004069ca
push eax
lea ecx, [ebx + 0x34]
call fcn.004065fe
push 0
push 1
lea ecx, [esp + 0x78]
call fcn.00405e0a
push 0
push 1
lea ecx, [esp + 0x90]
call fcn.00405a11
push 0
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0xd0], 1
call fcn.00405a11
push str.native_host_url
lea ecx, [esp + 0x44]
call fcn.00405646
sub esp, 0x18
mov byte [esp + 0xe0], 9
mov ecx, esp
push edi
call fcn.00405646
lea eax, [esp + 0x58]
mov edx, esi
push eax
lea ecx, [esp + 0xa4]
call fcn.0040684a
add esp, 0x1c
mov edx, eax
mov byte [esp + 0xc8], 0xa
lea ecx, [esp + 0x70]
call fcn.004069ca
push eax
lea ecx, [ebx + 0x4c]
call fcn.004065fe
push 0
push 1
lea ecx, [esp + 0x78]
call fcn.00405e0a
push 0
push 1
lea ecx, [esp + 0x90]
call fcn.00405a11
push 0
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0xd0], 1
call fcn.00405a11
push 0x42cbb0
lea ecx, [esp + 0x44]
call fcn.00405646
sub esp, 0x18
mov byte [esp + 0xe0], 0xb
mov ecx, esp
push edi
call fcn.00405646
lea eax, [esp + 0x58]
mov edx, esi
push eax
lea ecx, [esp + 0x8c]
call fcn.0040684a
add esp, 0x1c
lea edi, [ebx + 0x64]
mov ecx, edi
push eax
call fcn.00402b48
push 0
push 1
lea ecx, [esp + 0x78]
call fcn.00405a11
push 0
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0xd0], 1
call fcn.00405a11
call fcn.0040173d
sub esp, 0x18
mov esi, eax
mov ecx, esp
push edi
call fcn.004059ac
lea ecx, [esi + 0x80]
call fcn.004060c5
push str.utm_time
lea ecx, [esp + 0x44]
call fcn.00405646
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x14]
mov byte [esp + 0xcc], 0xc
xor esi, esi
mov ecx, edi
and dword [esp + 0x18], esi
push eax
call fcn.00402cf1
mov eax, dword [esp + 0x10]
cmp eax, dword [edi]
je 0x40cec9
cmp dword [eax + 0x28], 2
jne 0x40cec9
fld qword [eax + 0x30]
call fcn.004240c6
mov esi, eax
jmp 0x40cecd
mov edx, dword [esp + 0x14]
push 0
push 1
lea ecx, [esp + 0x48]
mov dword [ebx + 0x98], esi
mov dword [ebx + 0x9c], edx
mov byte [esp + 0xd0], 1
call fcn.00405a11
push str.options
lea ecx, [esp + 0x44]
call fcn.00405646
lea eax, [esp + 0x40]
mov ecx, edi
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00402cf1
push 0
push 1
lea ecx, [esp + 0x48]
call fcn.00405a11
mov eax, dword [esp + 0x10]
cmp eax, dword [edi]
je 0x40cfea
cmp dword [eax + 0x28], 4
jne 0x40cfea
lea ecx, [eax + 0x28]
call fcn.0040a36e
mov dword [esp + 0x14], eax
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x40cfea
cmp dword [esi], 5
jne 0x40cfda
mov ecx, esi
call fcn.004012eb
push ecx
push eax
lea ecx, [esp + 0x60]
call fcn.00402ef5
push 0x70
mov byte [esp + 0xcc], 0xd
call fcn.00413594
pop ecx
test eax, eax
je 0x40cf81
mov ecx, eax
call fcn.0040bd3f
mov edi, eax
jmp 0x40cf83
xor edi, edi
lea eax, [esp + 0x58]
mov dword [esp + 0x10], edi
push eax
mov ecx, edi
call fcn.0040bdaf
cmp dword [edi + 0x18], 0
jbe 0x40cfbd
cmp dword [edi + 0x30], 0
jbe 0x40cfbd
mov eax, dword [esp + 0x18]
lea ecx, [ebx + 0xd0]
mov dword [edi + 0x6c], eax
inc eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
call fcn.0040b5d4
jmp 0x40cfc5
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
lea ecx, [esp + 0x58]
mov byte [esp + 0xc8], 1
call fcn.00402cc8
mov eax, dword [esp + 0x14]
add esi, 0x10
cmp esi, dword [eax + 4]
jne 0x40cf47
mov edi, dword [esp + 0x1c]
push str.extensions
lea ecx, [esp + 0x44]
call fcn.00405646
lea eax, [esp + 0x40]
mov ecx, edi
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00402cf1
push 0
push 1
lea ecx, [esp + 0x48]
call fcn.00405a11
mov esi, dword [esp + 0x10]
cmp esi, dword [edi]
je 0x40d142
cmp dword [esi + 0x28], 4
jne 0x40d142
lea eax, [esp + 0x10]
push eax
push 0x20219
push 0
push str.SOFTWAREGoogleChrome
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push dword [esp + 0x10]
mov ebx, eax
neg ebx
sbb bl, bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc bl
je 0x40d13e
lea ecx, [esi + 0x28]
call fcn.0040a36e
mov dword [esp + 0x14], eax
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x40d13e
mov edi, dword [esp + 0x20]
cmp dword [esi], 5
jne 0x40d12e
mov ecx, esi
call fcn.004012eb
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.00402ef5
push 0xb8
mov byte [esp + 0xcc], 0xe
call fcn.00413594
pop ecx
mov dword [esp + 0x58], eax
mov byte [esp + 0xc8], 0xf
test eax, eax
je 0x40d0c4
mov ecx, eax
call fcn.0040bf46
mov ebx, eax
jmp 0x40d0c6
xor ebx, ebx
lea eax, [esp + 0x24]
mov byte [esp + 0xc8], 0xe
push eax
mov ecx, ebx
call fcn.0040c003
cmp dword [ebx + 0x18], 0
jbe 0x40d111
cmp dword [ebx + 0x30], 0
jbe 0x40d111
cmp dword [ebx + 0x98], 0
jbe 0x40d111
mov eax, dword [esp + 0x18]
lea ecx, [edi + 0xd0]
mov dword [ebx + 0x6c], eax
inc eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], ebx
call fcn.0040b5d4
jmp 0x40d119
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
lea ecx, [esp + 0x24]
mov byte [esp + 0xc8], 1
call fcn.00402cc8
mov eax, dword [esp + 0x14]
add esi, 0x10
cmp esi, dword [eax + 4]
jne 0x40d07b
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
push str.bundles
lea ecx, [esp + 0x44]
call fcn.00405646
lea eax, [esp + 0x40]
mov ecx, edi
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00402cf1
push 0
push 1
lea ecx, [esp + 0x48]
call fcn.00405a11
mov eax, dword [esp + 0x10]
cmp eax, dword [edi]
je 0x40d29e
cmp dword [eax + 0x28], 4
jne 0x40d29e
lea ecx, [eax + 0x28]
call fcn.0040a36e
mov dword [esp + 0x14], eax
mov esi, dword [eax]
jmp 0x40d295
cmp dword [esi], 5
jne 0x40d292
mov ecx, esi
call fcn.004012eb
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.00402ef5
push 0xe8
mov byte [esp + 0xcc], 0x10
call fcn.00413594
mov edi, eax
pop ecx
mov dword [esp + 0x58], edi
mov byte [esp + 0xc8], 0x11
test edi, edi
je 0x40d216
mov ecx, edi
call fcn.0040bf46
mov dword [edi], 0x42e2b4
xor eax, eax
push 0xf
mov dword [edi + 0xc8], eax
pop ecx
mov dword [edi + 0xcc], ecx
mov byte [edi + 0xb8], al
mov dword [edi + 0xe4], ecx
mov dword [edi + 0xe0], eax
mov byte [edi + 0xd0], al
mov dword [edi + 4], 2
jmp 0x40d218
xor edi, edi
lea eax, [esp + 0x24]
mov byte [esp + 0xc8], 0x10
push eax
mov ecx, edi
call fcn.0040c2cf
cmp dword [edi + 0x18], 0
jbe 0x40d275
cmp dword [edi + 0x30], 0
jbe 0x40d275
cmp dword [edi + 0x98], 0
jbe 0x40d275
cmp dword [edi + 0xc8], 0
jbe 0x40d275
cmp dword [edi + 0xe0], 0
jbe 0x40d275
mov eax, dword [esp + 0x18]
lea ecx, [ebx + 0xd0]
mov dword [edi + 0x6c], eax
inc eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], edi
call fcn.0040b5d4
jmp 0x40d27d
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
lea ecx, [esp + 0x24]
mov byte [esp + 0xc8], 1
call fcn.00402cc8
mov eax, dword [esp + 0x14]
add esi, 0x10
cmp esi, dword [eax + 4]
jne 0x40d197
cmp byte [ebx + 1], 0
je 0x40d34a
mov eax, dword [ebx + 0xd4]
xor ecx, ecx
mov esi, dword [ebx + 0xd0]
mov edi, eax
sub edi, esi
xor edx, edx
add edi, 3
shr edi, 2
cmp esi, eax
cmova edi, ecx
mov dword [esp + 0x24], edi
test edi, edi
jmp 0x40d340
mov ecx, dword [esi]
mov dword [esp + 0x58], ecx
cmp dword [ecx + 4], 0xff
je 0x40d33a
mov eax, dword [ebx + 0xe0]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0xdc]
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x18]
je 0x40d334
mov edi, dword [esp + 0x18]
lea esi, [ecx + 8]
mov ebx, eax
push esi
mov ecx, ebx
call fcn.00405253
test eax, eax
je 0x40d314
add ebx, 0x18
cmp ebx, edi
jne 0x40d301
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
cmp eax, dword [esp + 0x18]
setne al
mov byte [ecx + 0x68], al
add esi, 4
inc edx
cmp edx, edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], esi
jne 0x40d2cf
push 0
push 1
lea ecx, [esp + 0xa8]
call fcn.00405a11
lea ecx, [esp + 0x2c]
call fcn.004011af
xor al, al
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.00412f2f
mov esp, ebp
pop ebp
ret 4