Function at 0x4d58e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x60a6e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov esi, ecx
push str.Campaign_Selection_Screen
mov dword [esp + 0x14], esi
call fcn.004b9fc0
mov dword [esi], 0x6234c0
mov ecx, dword [0x6633d4]
mov dword [esp + 0x30], 0
call fcn.00421a30
mov ecx, esi
call fcn.004d5da0
mov eax, dword [0x6633d4]
push 1
push 0xc384
push str.scr2
mov eax, dword [eax + 0x70]
mov ecx, esi
push eax
call fcn.004b9ff0
test eax, eax
jne 0x4d596b
mov dword [esi + 0xdc], 1
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
push 0
push 0
mov ecx, esi
call fcn.004a3d60
push 0
mov ecx, esi
call fcn.004a3d80
push 0
mov ecx, esi
call fcn.004a30f0
push 0x1e0
push 0x280
mov ecx, esi
call fcn.004a37b0
push 0
push 0
push 1
push 1
push 0x1e
push 0x258
push 0xa
push 0x14
lea ecx, [esi + 0x7e4]
push 0x2bcd
push ecx
push esi
mov ecx, esi
call fcn.004a4910
test eax, eax
je 0x4d5d5e
mov ebp, 0x1f4
push 0xb
mov ebx, 0x46
push 0x82
push ebp
lea edi, [esi + 0x7fc]
push ebx
push ebx
push edi
push esi
mov ecx, esi
mov dword [esi + 0x7e8], ebx
mov dword [esi + 0x7ec], ebx
mov dword [esi + 0x7f0], ebp
mov dword [esi + 0x7f4], 0x82
call fcn.004a55d0
test eax, eax
je 0x4d5d5e
mov edx, dword [edi]
push 0x14
lea eax, [esi + 0x800]
push edx
push eax
mov ecx, esi
call fcn.004a5990
test eax, eax
je 0x4d5d5e
mov ecx, dword [esi + 0x7ec]
mov edx, dword [esi + 0x7e8]
push 0
push 0
push 0
push 4
push 0x14
sub ecx, 0x14
push 0xc8
add edx, 2
push ecx
push edx
lea eax, [esi + 0x7f8]
push 0x2bce
push eax
push esi
mov ecx, esi
call fcn.004a4910
test eax, eax
je 0x4d5d5e
mov ecx, dword [edi]
push 0x2b5d
mov edx, dword [ecx]
call dword [edx + pe_nt_image_headers32]
mov eax, dword [esi + 0x7f4]
mov ecx, dword [esi + 0x7ec]
push 0xb
push 0x82
lea eax, [eax + ecx + 0x1e]
push ebp
lea edi, [esi + 0x818]
push eax
push ebx
push edi
push esi
mov ecx, esi
mov dword [esi + 0x804], ebx
mov dword [esi + 0x808], eax
mov dword [esi + 0x80c], ebp
mov dword [esi + 0x810], 0x82
call fcn.004a55d0
test eax, eax
je 0x4d5d5e
mov edx, dword [edi]
push 0x14
lea eax, [esi + 0x81c]
push edx
push eax
mov ecx, esi
call fcn.004a5990
test eax, eax
je 0x4d5d5e
mov ecx, dword [esi + 0x808]
mov edx, dword [esi + 0x804]
push 0
push 0
push 0
push 4
push 0x14
sub ecx, 0x14
push 0xc8
add edx, 2
push ecx
push edx
lea eax, [esi + 0x814]
push 0x25fe
push eax
push esi
mov ecx, esi
call fcn.004a4910
test eax, eax
je 0x4d5d5e
mov ecx, dword [edi]
push 0
push 0
push 0
push 4
push 0x14
push 0xc8
push 0x172
push 0x41
lea edx, [esi + 0x820]
push 0x2bcf
mov dword [ecx + 0x174], 0
push edx
push esi
mov ecx, esi
call fcn.004a4910
test eax, eax
je 0x4d5d5e
push 0xb
push 0x18
push 0x82
push 0x186
push ebx
lea edi, [esi + 0x824]
push 0x64
push 0x82
push edi
push esi
mov ecx, esi
call fcn.004a5270
test eax, eax
je 0x4d5d5e
mov ecx, dword [edi]
call fcn.004b2f10
mov ecx, dword [edi]
push 4
push 0x2bd4
call fcn.004b2d80
mov ecx, dword [edi]
push 3
push 0x2bd3
call fcn.004b2d80
mov ecx, dword [edi]
push 2
push 0x2bd2
call fcn.004b2d80
mov ecx, dword [edi]
push 1
push 0x2bd1
call fcn.004b2d80
mov ecx, dword [edi]
push 0
push 0x2bd0
call fcn.004b2d80
mov ecx, dword [0x6633d4]
call fcn.00422300
mov ebp, eax
test ebp, ebp
jl 0x4d5bed
cmp ebp, 4
jle 0x4d5bfe
mov ecx, dword [0x6633d4]
mov ebp, 3
push ebp
call fcn.00422310
mov ecx, dword [0x6633d4]
push ebp
call fcn.00421c00
mov ecx, dword [edi]
push ebp
call fcn.004b2e50
mov ecx, dword [edi]
push eax
call fcn.004b2c50
push 0
push 0
push 0
push 0x1e
push 0x8c
push 0x1b8
push 0xaa
lea ebp, [esi + 0x828]
push 0
push 0xfa1
push ebp
push esi
mov ecx, esi
call fcn.004a40e0
test eax, eax
je 0x4d5d5e
push 0
push 0
push 0
push 0x1e
push 0x8c
push 0x1b8
push 0x14a
lea ebx, [esi + 0x82c]
push 0
push 0xfa2
push ebx
push esi
mov ecx, esi
call fcn.004a40e0
test eax, eax
je 0x4d5d5e
mov eax, dword [ebx]
xor ecx, ecx
push ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
push ecx
push ecx
push ecx
lea ebx, [esi + 0x830]
push ecx
push 0x3ea
mov dword [eax + 0x2ac], ecx
mov dword [eax + 0x2b0], ecx
mov dword [eax + 0x2b4], ecx
push ebx
push esi
mov ecx, esi
mov dword [eax + 0x2a8], 0x1b
call fcn.004a40e0
test eax, eax
je 0x4d5d5e
mov ecx, dword [ebx]
push 1
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [ebx]
push 0
push 0
push 0
mov edx, dword [ecx]
push 0
push 0x11
push 0x11
push 0x11
push 0x11
push 4
push 4
push 4
push 4
push 9
call dword [edx + 0x18]
mov ecx, dword [esi + 0x818]
mov edx, dword [edi]
mov eax, dword [esi + 0x7fc]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x82c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], eax
mov eax, dword [ebp]
lea edx, [esp + 0x14]
mov dword [esp + 0x24], ecx
push 5
push edx
mov ecx, esi
mov dword [esp + 0x28], eax
call fcn.004a2380
mov eax, dword [ebp]
mov ecx, esi
push eax
call fcn.004a2160
mov ecx, esi
call fcn.004d6110
mov ecx, esi
call fcn.004d6230
mov ecx, dword [esi + 0x7fc]
push ecx
mov ecx, esi
call fcn.004a2160
mov dword [esi + 0x834], 1
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret