Function at 0x4015c0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46fee7
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x48cc50]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push esi
push edi
mov eax, dword [0x48cc50]
xor eax, esp
push eax
lea eax, [esp + 0x150]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push 0x47c084
xor edi, edi
push esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x24], edi
call fcn.0043ab6f
add esp, 8
test eax, eax
je 0x4019d0
push 0xc6
lea edx, [esp + 0x82]
xor ecx, ecx
push edi
push edx
mov word [esp + 0x88], cx
call fcn.0043bdd0
push 0xa
lea ecx, [esp + 0x78]
push ecx
push 0x64
lea edx, [esp + 0x94]
push edx
push edi
push edi
xor eax, eax
push edi
push edi
push esi
mov word [esp + 0x98], ax
mov dword [esp + 0x9a], eax
mov dword [esp + 0x9e], eax
mov dword [esp + 0xa2], eax
mov dword [esp + 0xa6], eax
mov word [esp + 0xaa], ax
call fcn.0043abd0
add esp, 0x30
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402630
mov dword [esp + 0x158], edi
mov eax, 0x175
mov esi, 0x9f
push str.set_lang
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], esi
call fcn.00402630
mov byte [esp + 0x158], 1
mov ebx, 1
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x401813
push str.set_login
lea ecx, [esp + 0x28]
call fcn.00402630
mov dword [esp + 0x158], 2
mov ebx, 3
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x401813
push str.set_startup
lea ecx, [esp + 0x58]
call fcn.00402630
mov dword [esp + 0x158], ebx
mov ebx, 7
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x401813
push str.set_upgrade
lea ecx, [esp + 0x34]
call fcn.00402630
mov dword [esp + 0x158], 4
mov ebx, 0xf
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x401813
push str.index_silent_check
lea ecx, [esp + 0x50]
call fcn.00402630
mov dword [esp + 0x158], 5
mov ebx, 0x1f
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x401813
push str.index_silent_updating
lea ecx, [esp + 0x54]
call fcn.00402630
mov dword [esp + 0x158], 6
mov ebx, 0x3f
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x401813
push str.index_silent_res
lea ecx, [esp + 0x3c]
call fcn.00402630
push eax
lea ecx, [esp + 0x1c]
lea ebx, [edi + 0x7f]
call fcn.004025b0
mov byte [esp + 0x17], 0
test al, al
je 0x401818
mov byte [esp + 0x17], 1
test bl, 0x40
je 0x401829
lea ecx, [esp + 0x38]
and ebx, 0xffffffbf
call fcn.00402760
test bl, 0x20
je 0x40183a
lea ecx, [esp + 0x50]
and ebx, 0xffffffdf
call fcn.00402760
test bl, 0x10
je 0x40184b
lea ecx, [esp + 0x4c]
and ebx, 0xffffffef
call fcn.00402760
test bl, 8
je 0x40185c
lea ecx, [esp + 0x30]
and ebx, 0xfffffff7
call fcn.00402760
test bl, 4
je 0x40186d
lea ecx, [esp + 0x54]
and ebx, 0xfffffffb
call fcn.00402760
test bl, 2
je 0x40187e
lea ecx, [esp + 0x24]
and ebx, 0xfffffffd
call fcn.00402760
mov dword [esp + 0x158], 0
test bl, 1
je 0x401897
lea ecx, [esp + 0x20]
call fcn.00402760
cmp byte [esp + 0x17], 0
je 0x4018b2
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, 0x291
mov dword [esp + 0x44], eax
lea esi, [eax - 0x74]
jmp 0x4018eb
push str.about
lea ecx, [esp + 0x24]
call fcn.00402630
push eax
lea ecx, [esp + 0x1c]
call fcn.004025b0
lea ecx, [esp + 0x20]
mov bl, al
call fcn.00402760
test bl, bl
je 0x4018ed
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], ecx
xor edi, edi
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
mov edx, dword [ebx + 0x128]
sub eax, dword [esp + 0x3c]
sub edx, dword [ebx + 0x120]
cmp edx, eax
jne 0x40191d
mov ecx, dword [ebx + 0x12c]
sub ecx, dword [ebx + 0x124]
mov edx, esi
sub edx, edi
cmp ecx, edx
je 0x401944
push 2
sub esi, edi
push esi
push eax
push 0
push 0
push 0
mov ecx, ebx
call fcn.0041f891
call dword [0x472530]
push eax
call fcn.0042283f
push eax
mov ecx, ebx
call fcn.00422109
lea eax, [esp + 0x7c]
lea edx, [eax + 2]
jmp 0x401950
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401950
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x80]
lea esi, [ebx + 0x130]
push eax
mov ecx, esi
call fcn.00402380
push 4
push 0x47c084
mov ecx, esi
call fcn.00401e70
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
push ecx
push edx
mov ecx, ebx
call fcn.0041db65
mov esi, dword [esp + 0x18]
test esi, esi
je 0x4019d0
lea eax, [esi + 8]
push eax
call dword [0x472340]
test eax, eax
jne 0x4019d0
mov eax, dword [esi]
test eax, eax
je 0x4019b7
push eax
call dword [0x472360]
mov eax, dword [esi + 4]
test eax, eax
je 0x4019c7
push eax
call fcn.0041b0cc
add esp, 4
push esi
call fcn.0041b0cc
add esp, 4
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.0043aa16
mov esp, ebp
pop ebp
ret 8