Function at 0x402390
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x449edb
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.0040ed60
push str.Setting_up_CCInstallerApp
push 3
mov dword [esp + 0x40], 0
call fcn.0040ebf0
add esp, 8
mov ecx, esi
mov dword [0x464c04], esi
call fcn.00413ff0
test eax, eax
je 0x4024de
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.0040ed90
push 0x45602c
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 0x402469
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
call fcn.004317c7
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 2
call fcn.0040ed90
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.0040ed90
mov eax, dword [esp + 0x20]
cmp dword [eax - 4], ebx
jle 0x4024aa
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.0040ebf0
add esp, 8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040ed90
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 0x4025ef
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.0040ed90
push 0x45602c
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 0x40257a
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
call fcn.004317c7
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 5
call fcn.0040ed90
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.0040ed90
mov eax, dword [esp + 0x20]
cmp dword [eax - 4], ebx
jle 0x4025bb
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.0040ebf0
add esp, 8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040ed90
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 0x402700
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.0040ed90
push 0x45602c
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 0x40268b
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
call fcn.004317c7
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 8
call fcn.0040ed90
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.0040ed90
mov eax, dword [esp + 0x20]
cmp dword [eax - 4], ebx
jle 0x4026cc
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.0040ebf0
add esp, 8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040ed90
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.00428aa5
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
mov byte [esp + 0x38], 0xa
je 0x40272a
mov ecx, edi
call fcn.00417010
mov dword [edi], vtable.CCInstallerObjectFactory.0
mov eax, edi
jmp 0x40272c
xor eax, eax
test eax, eax
mov dword [esi + 4], eax
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x1c]
jne 0x40275c
call fcn.0040ed90
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.0040ed90
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