Function at 0x402350
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44a0ab
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4630d8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x1c]
call fcn.0040ed50
push str.Setting_up_CCInstallerApp
push 3
mov dword [esp + 0x40], 0
call fcn.0040ebe0
add esp, 8
mov ecx, esi
mov dword [0x464c04], esi
call fcn.00414050
test eax, eax
je 0x40249e
push str.Couldnt_set_up_CCInstallerApp
lea ecx, [esp + 0x18]
call fcn.004010e0
lea eax, [esp + 0x18]
mov ebx, 1
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], bl
call fcn.00401b30
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.0040ed80
push 0x45607c
lea ecx, [esp + 0x18]
call fcn.004010e0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 2
call fcn.004011f0
lea esi, [eax + 4]
mov byte [esp + 0x38], 3
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], ebx
jle 0x402429
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
call fcn.00431914
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 2
call fcn.0040ed80
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.0040ed80
mov eax, dword [esp + 0x20]
cmp dword [eax - 4], ebx
jle 0x40246a
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401c20
mov eax, dword [esp + 0x20]
push eax
push 3
call fcn.0040ebe0
add esp, 8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040ed80
mov eax, 0x64
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub esp, 8
lea edx, [esi + 8]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00401050
mov eax, dword [esi + 0x5c]
mov edx, dword [eax + 0x18]
lea ecx, [esi + 0x5c]
call edx
test eax, eax
je 0x4025af
push str.Couldnt_set_up_working_directory
lea ecx, [esp + 0x18]
call fcn.004010e0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 4
call fcn.00401b30
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.0040ed80
push 0x45607c
lea ecx, [esp + 0x18]
call fcn.004010e0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 5
call fcn.004011f0
lea esi, [eax + 4]
mov byte [esp + 0x38], 6
mov eax, dword [esi]
sub eax, 0x10
mov ebx, 1
cmp dword [eax + 0xc], ebx
jle 0x40253a
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
call fcn.00431914
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 5
call fcn.0040ed80
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.0040ed80
mov eax, dword [esp + 0x20]
cmp dword [eax - 4], ebx
jle 0x40257b
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401c20
mov eax, dword [esp + 0x20]
push eax
push 3
call fcn.0040ebe0
add esp, 8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040ed80
mov eax, 0x64
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub esp, 8
lea edx, [esi + 0x10]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00401050
mov eax, dword [esi + 0x6c]
mov edx, dword [eax + 0x18]
lea ecx, [esi + 0x6c]
call edx
test eax, eax
je 0x4026c0
push str.Couldnt_set_up_support_directory
lea ecx, [esp + 0x18]
call fcn.004010e0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 7
call fcn.00401b30
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.0040ed80
push 0x45607c
lea ecx, [esp + 0x18]
call fcn.004010e0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 8
call fcn.004011f0
lea esi, [eax + 4]
mov byte [esp + 0x38], 9
mov eax, dword [esi]
sub eax, 0x10
mov ebx, 1
cmp dword [eax + 0xc], ebx
jle 0x40264b
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
call fcn.00431914
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 8
call fcn.0040ed80
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.0040ed80
mov eax, dword [esp + 0x20]
cmp dword [eax - 4], ebx
jle 0x40268c
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401c20
mov eax, dword [esp + 0x20]
push eax
push 3
call fcn.0040ebe0
add esp, 8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040ed80
mov eax, 0x64
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 4
call fcn.00428bf5
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
mov byte [esp + 0x38], 0xa
je 0x4026ea
mov ecx, edi
call fcn.00417070
mov dword [edi], vtable.CCInstallerObjectFactory.0
mov eax, edi
jmp 0x4026ec
xor eax, eax
test eax, eax
mov dword [esi + 4], eax
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x1c]
jne 0x40271c
call fcn.0040ed80
mov eax, 0x66
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0040ed80
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret