Function at 0x40dee0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4797a4
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x496028]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x2c]
push edi
lea eax, [esp + 0x30]
push 0x47d898
push eax
call fcn.00404410
add esp, 0xc
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x2c]
push ecx
push 0x47e314
push str.GUBar::CDrawObjectFactory::CreateDefaultStatusListDraw
push ebp
call fcn.0040ac20
mov esi, eax
cmp esi, ebx
jne 0x40e1ff
push 0x24
call fcn.0047286a
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 1
cmp eax, ebx
je 0x40df66
push eax
call fcn.00407860
mov esi, eax
jmp 0x40df68
xor esi, esi
mov byte [esp + 0x24], bl
cmp edi, 5
ja case.default.0x40df75
jmp dword [edi*4 + 0x40e224]
mov eax, dword [esi]
push 0xcccccc
add eax, 0x14
push ebp
mov edi, 1
mov ebx, 0xbfbfbf
mov dword [esp + 0x20], eax
call fcn.0040b440
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [edx]
push edi
mov ecx, esi
call eax
mov eax, dword [esi]
push 0xe1e1e1
add eax, 0x14
push ebp
mov ebx, 0xadadad
mov dword [esp + 0x20], eax
call fcn.0040b440
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [edx]
push 0
mov ecx, esi
call eax
mov eax, dword [esi]
push 0xe1e1e1
add eax, 0x14
push ebp
mov ebx, 0xd77800
mov dword [esp + 0x20], eax
call fcn.0040b440
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [edx]
push 4
mov ecx, esi
call eax
mov eax, dword [esi]
push 0xfbf1e5
add eax, 0x14
push ebp
mov dword [esp + 0x20], eax
call fcn.0040b440
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [edx]
push 0x20
mov ecx, esi
call eax
mov eax, dword [esi]
push 0xfbf1e5
add eax, 0x14
push ebp
mov dword [esp + 0x20], eax
call fcn.0040b440
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [edx]
push 2
mov ecx, esi
call eax
mov eax, dword [esi]
push 0xfbf1e5
add eax, 0x14
push ebp
mov edi, 2
mov dword [esp + 0x20], eax
call fcn.0040b440
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [edx]
push 0x22
mov ecx, esi
call eax
mov eax, dword [esi]
add eax, 0x14
mov dword [esp + 0x18], eax
push 0xfbf1e5
push ebp
call fcn.0040b440
mov edx, dword [esp + 0x18]
push eax
push 0x28
jmp 0x40e1e2
mov eax, dword [esi]
add eax, 0x14
push ebp
mov edi, 0x25
xor ebx, ebx
mov dword [esp + 0x1c], eax
call fcn.0040b720
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [edx]
push 0x20
mov ecx, esi
call eax
mov eax, dword [esi]
add eax, 0x14
push ebp
mov dword [esp + 0x1c], eax
call fcn.0040b720
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [edx]
push ebx
mov ecx, esi
call eax
mov eax, dword [esi]
add eax, 0x14
push ebp
mov ebx, 0x5c5c5c
mov dword [esp + 0x1c], eax
call fcn.0040b720
mov edx, dword [esp + 0x18]
jmp 0x40e1df
mov eax, dword [esi]
add eax, 0x14
mov edi, 0xf8f8f8
mov ebx, ebp
mov dword [esp + 0x18], eax
call fcn.0040dbc0
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov eax, dword [esi]
add eax, 0x14
mov dword [esp + 0x18], eax
call fcn.0040dbc0
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [edx]
push 0
mov ecx, esi
call eax
mov eax, dword [esi]
add eax, 0x14
mov edi, 0xfff3e5
mov dword [esp + 0x18], eax
call fcn.0040dbc0
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [edx]
push 0x20
mov ecx, esi
call eax
mov eax, dword [esi]
add eax, 0x14
mov edi, 0xffe8cc
mov dword [esp + 0x18], eax
call fcn.0040dbc0
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [edx]
push 8
mov ecx, esi
call eax
mov eax, dword [esi]
add eax, 0x14
mov dword [esp + 0x18], eax
call fcn.0040dbc0
mov edx, dword [esp + 0x18]
push eax
push 2
jmp 0x40e1e2
mov eax, dword [esi]
add eax, 0x14
push ebp
mov edi, 0x25
xor ebx, ebx
mov dword [esp + 0x1c], eax
call fcn.0040b720
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [edx]
push ebx
mov ecx, esi
call eax
mov eax, dword [esi]
add eax, 0x14
push ebp
mov ebx, 0x5c5c5c
mov dword [esp + 0x1c], eax
call fcn.0040b720
mov edx, dword [esp + 0x18]
jmp 0x40e1df
mov eax, dword [esi]
add eax, 0x14
push ebp
mov edi, 0x64
xor ebx, ebx
mov dword [esp + 0x1c], eax
call fcn.0040b720
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [edx]
push ebx
mov ecx, esi
call eax
mov eax, dword [esi]
add eax, 0x14
push ebp
mov ebx, 0x5c5c5c
mov dword [esp + 0x1c], eax
call fcn.0040b720
mov edx, dword [esp + 0x18]
push eax
push 1
mov eax, dword [edx]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x2c]
push ecx
push 0x47e314
push str.GUBar::CDrawObjectFactory::CreateDefaultStatusListDraw
push esi
mov ecx, ebp
call fcn.0040ab60
lea ecx, [esp + 0x2c]
call dword [0x47ce24]
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4