Function at 0x402380
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44a04b
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4630d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x1c]
call fcn.0040fd30
push str.Setting_up_CCInstallerApp
push 3
mov dword [esp + 0x40], 0
call fcn.00410660
add esp, 8
mov ecx, esi
mov dword [0x464c08], esi
call fcn.00410d10
test eax, eax
je 0x4024ce
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.00401b00
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.0040fd60
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 0x402459
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401bf0
mov esi, dword [esi]
push esi
call fcn.00431abd
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 2
call fcn.0040fd60
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.0040fd60
mov eax, dword [esp + 0x20]
cmp dword [eax - 4], ebx
jle 0x40249a
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401bf0
mov eax, dword [esp + 0x20]
push eax
push 3
call fcn.00410660
add esp, 8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040fd60
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 0x4025df
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.00401b00
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.0040fd60
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 0x40256a
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401bf0
mov esi, dword [esi]
push esi
call fcn.00431abd
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 5
call fcn.0040fd60
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.0040fd60
mov eax, dword [esp + 0x20]
cmp dword [eax - 4], ebx
jle 0x4025ab
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401bf0
mov eax, dword [esp + 0x20]
push eax
push 3
call fcn.00410660
add esp, 8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040fd60
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 0x4026f0
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.00401b00
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.0040fd60
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 0x40267b
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401bf0
mov esi, dword [esi]
push esi
call fcn.00431abd
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 8
call fcn.0040fd60
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.0040fd60
mov eax, dword [esp + 0x20]
cmp dword [eax - 4], ebx
jle 0x4026bc
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401bf0
mov eax, dword [esp + 0x20]
push eax
push 3
call fcn.00410660
add esp, 8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040fd60
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.00428bd5
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
mov byte [esp + 0x38], 0xa
je 0x40271a
mov ecx, edi
call fcn.00417130
mov dword [edi], vtable.CCInstallerObjectFactory.0
mov eax, edi
jmp 0x40271c
xor eax, eax
test eax, eax
mov dword [esi + 4], eax
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x1c]
jne 0x40274c
call fcn.0040fd60
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.0040fd60
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