Function at 0x4dd240
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6230f8
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.004c0920
mov dword [esi], 0x63f3c4
mov ecx, dword [0x6833d0]
mov dword [esp + 0x30], 0
call fcn.00424550
mov ecx, esi
call fcn.004dd700
mov eax, dword [0x6833d0]
push 1
push 0xc384
push str.scr2
mov eax, dword [eax + 0x70]
mov ecx, esi
push eax
call fcn.004c0950
test eax, eax
jne 0x4dd2cb
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.004aa0d0
push 0
mov ecx, esi
call fcn.004aa0f0
push 0
mov ecx, esi
call fcn.004a9460
push 0x1e0
push 0x280
mov ecx, esi
call fcn.004a9b20
push 0
push 0
push 1
push 1
push 0x1e
push 0x258
push 0xa
push 0x14
lea ecx, [esi + 0x7e8]
push 0x2bcd
push ecx
push esi
mov ecx, esi
call fcn.004aac60
test eax, eax
je 0x4dd6bc
mov ebx, 0x1f4
push 0xb
mov ebp, 0x46
push 0x82
push ebx
lea edi, [esi + 0x800]
push ebp
push ebp
push edi
push esi
mov ecx, esi
mov dword [esi + 0x7ec], ebp
mov dword [esi + 0x7f0], ebp
mov dword [esi + 0x7f4], ebx
mov dword [esi + 0x7f8], 0x82
call fcn.004ab920
test eax, eax
je 0x4dd6bc
mov edx, dword [edi]
push 0x14
lea eax, [esi + 0x804]
push edx
push eax
mov ecx, esi
call fcn.004abce0
test eax, eax
je 0x4dd6bc
mov ecx, dword [esi + 0x7f0]
mov edx, dword [esi + 0x7ec]
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 + 0x7fc]
push 0x2bce
push eax
push esi
mov ecx, esi
call fcn.004aac60
test eax, eax
je 0x4dd6bc
mov ecx, dword [edi]
push 0x2b5d
mov edx, dword [ecx]
call dword [edx + 0xfc]
mov eax, dword [esi + 0x7f8]
mov ecx, dword [esi + 0x7f0]
push 0xb
push 0x82
lea eax, [eax + ecx + 0x1e]
push ebx
lea edi, [esi + 0x81c]
push eax
push ebp
push edi
push esi
mov ecx, esi
mov dword [esi + 0x808], ebp
mov dword [esi + 0x80c], eax
mov dword [esi + 0x810], ebx
mov dword [esi + 0x814], 0x82
call fcn.004ab920
test eax, eax
je 0x4dd6bc
mov edx, dword [edi]
push 0x14
lea eax, [esi + 0x820]
push edx
push eax
mov ecx, esi
call fcn.004abce0
test eax, eax
je 0x4dd6bc
mov ecx, dword [esi + 0x80c]
mov edx, dword [esi + 0x808]
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 + 0x818]
push 0x25fe
push eax
push esi
mov ecx, esi
call fcn.004aac60
test eax, eax
je 0x4dd6bc
mov ecx, dword [edi]
push 0
push 0
push 0
push 4
push 0x14
push 0xc8
push 0x172
push 0x41
lea edx, [esi + 0x824]
push 0x2bcf
mov dword [ecx + 0x17c], 0
push edx
push esi
mov ecx, esi
call fcn.004aac60
test eax, eax
je 0x4dd6bc
push 0xb
push 0x18
push 0x82
push 0x186
push ebp
lea edi, [esi + 0x828]
push 0x64
push 0x82
push edi
push esi
mov ecx, esi
call fcn.004ab5c0
test eax, eax
je 0x4dd6bc
mov ecx, dword [edi]
call fcn.004b9800
mov ecx, dword [edi]
push 3
push 0x2bd3
call fcn.004b9670
mov ecx, dword [edi]
push 2
push 0x2bd2
call fcn.004b9670
mov ecx, dword [edi]
push 1
push 0x2bd1
call fcn.004b9670
mov eax, dword [0x6833d0]
mov ebp, dword [eax + 0x20]
mov ecx, ebp
call fcn.0046b770
mov ecx, dword [0x6833d0]
call fcn.004244e0
mov ebx, eax
test ebx, ebx
jl 0x4dd550
cmp ebx, 4
jg 0x4dd550
test ebx, ebx
jne 0x4dd54b
mov ebx, 1
jmp 0x4dd555
cmp ebx, 4
jne 0x4dd555
mov ebx, 3
mov ecx, dword [0x6833d0]
push ebx
call fcn.00424700
mov ecx, ebp
call fcn.0046b750
mov ecx, dword [edi]
push ebx
call fcn.004b9740
mov ecx, dword [edi]
push eax
call fcn.004b9540
push 0
push 0
push 0
push 0x1e
push 0x8c
push 0x1b8
push 0xaa
lea ebp, [esi + 0x82c]
push 0
push 0xfa1
push ebp
push esi
mov ecx, esi
call fcn.004aa430
test eax, eax
je 0x4dd6bc
push 0
push 0
push 0
push 0x1e
push 0x8c
push 0x1b8
push 0x14a
lea ebx, [esi + 0x830]
push 0
push 0xfa2
push ebx
push esi
mov ecx, esi
call fcn.004aa430
test eax, eax
je 0x4dd6bc
mov eax, dword [ebx]
xor ecx, ecx
push ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
push ecx
push ecx
push ecx
lea ebx, [esi + 0x834]
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.004aa430
test eax, eax
je 0x4dd6bc
mov ecx, dword [ebx]
push 1
mov edx, dword [ecx]
call dword [edx + 0x14]
mov ecx, dword [ebx]
push 0
push 0
push 0
mov eax, dword [ecx]
push 0
push 0x11
push 0x11
push 0x11
push 0x11
push 4
push 4
push 4
push 4
push 9
call dword [eax + 0x18]
mov ecx, dword [esi + 0x800]
mov eax, dword [edi]
mov edx, dword [esi + 0x81c]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0x830]
lea eax, [esp + 0x14]
mov dword [esp + 0x20], ecx
push 5
push eax
mov ecx, esi
mov dword [esp + 0x2c], edx
call fcn.004a8720
mov ecx, dword [ebp]
push ecx
mov ecx, esi
call fcn.004a8500
mov ecx, esi
call fcn.004dda60
mov ecx, esi
call fcn.004ddba0
mov edx, dword [esi + 0x800]
mov ecx, esi
push edx
call fcn.004a8500
mov dword [esi + 0x838], 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