Function at 0x402370
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44a05b
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4630c8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x1c]
call fcn.0040ec40
push str.Setting_up_CCInstallerApp
push 3
mov dword [esp + 0x40], 0
call fcn.00410650
add esp, 8
mov ecx, esi
mov dword [0x464be8], esi
call fcn.00416ff0
test eax, eax
je 0x4024be
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.0040ec70
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 0x402449
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401bf0
mov esi, dword [esi]
push esi
call fcn.00431e5a
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 2
call fcn.0040ec70
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.0040ec70
mov eax, dword [esp + 0x20]
cmp dword [eax - 4], ebx
jle 0x40248a
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.00410650
add esp, 8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040ec70
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 0x4025cf
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.0040ec70
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 0x40255a
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401bf0
mov esi, dword [esi]
push esi
call fcn.00431e5a
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 5
call fcn.0040ec70
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.0040ec70
mov eax, dword [esp + 0x20]
cmp dword [eax - 4], ebx
jle 0x40259b
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.00410650
add esp, 8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040ec70
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 0x4026e0
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.0040ec70
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 0x40266b
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401bf0
mov esi, dword [esi]
push esi
call fcn.00431e5a
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 8
call fcn.0040ec70
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.0040ec70
mov eax, dword [esp + 0x20]
cmp dword [eax - 4], ebx
jle 0x4026ac
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.00410650
add esp, 8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040ec70
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.00428ba5
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
mov byte [esp + 0x38], 0xa
je 0x40270a
mov ecx, edi
call fcn.00417070
mov dword [edi], vtable.CCInstallerObjectFactory.0
mov eax, edi
jmp 0x40270c
xor eax, eax
test eax, eax
mov dword [esi + 4], eax
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x1c]
jne 0x40273c
call fcn.0040ec70
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.0040ec70
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