Function at 0x4e7d30
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x73fc31
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebp
xor ebp, ebp
cmp dword [ecx + 0x304], ebp
mov dword [esp + 4], ecx
je 0x4e8251
push edi
mov edi, dword [esp + 0x44]
cmp edi, ebp
je 0x4e8250
call fcn.005f4c80
cmp eax, ebp
je 0x4e8250
mov ecx, eax
call fcn.005f3d90
test eax, eax
je 0x4e8250
mov eax, dword [edi + 0x124]
mov ecx, dword [0x923cb8]
push ebx
push esi
push eax
call fcn.0062c080
mov edx, dword [edi]
or ebx, 0xffffffff
push 0x64
mov ecx, edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call dword [edx + 0x8c]
mov esi, eax
cmp esi, ebp
jne 0x4e7e29
push 0xa0
call fcn.0040fa60
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebp
mov dword [esp + 0x44], ebp
je 0x4e7de7
push 1
mov ecx, eax
call fcn.00431810
mov esi, eax
jmp 0x4e7de9
xor esi, esi
push 0x90
mov eax, 0xfffffffe
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [esi]
push edi
mov ecx, esi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x40], 0x19
mov dword [esp + 0x44], 0x16
call dword [eax + 0xc]
mov dword [esi + 0x40], 0x64
mov dword [esi + 0x88], ebp
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + 0x2c]
cmp eax, ebp
je 0x4e7e4a
mov ecx, dword [0x912eec]
push eax
call fcn.005b4700
test eax, eax
setne bl
add bl, 1
jmp 0x4e7e4c
xor bl, bl
movzx eax, bl
cmp dword [esi + 0x88], eax
je 0x4e7ea1
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x4c]
push eax
call fcn.0043a1a0
add esp, 4
cmp bl, 2
mov dword [esi + 0x4c], ebp
jne 0x4e7e82
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push ebp
push str.Images_Screens_PlayWnd_Noble_Info_king_crown.rle
call dword [edx + 0x10]
jmp 0x4e7e96
cmp bl, 1
jne 0x4e7e99
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
push ebp
push str.Images_Screens_PlayWnd_Noble_Info_prince_crown.rle
call dword [eax + 0x10]
mov dword [esi + 0x4c], eax
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0x24]
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x68]
push ecx
mov ecx, dword [0x912e94]
call fcn.004668b0
cmp eax, ebp
je 0x4e7ecc
lea ecx, [eax - 0x18]
cmp ecx, ebp
je 0x4e7ecc
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ebx, eax
mov dword [esp + 0x4c], ebx
jmp 0x4e7ed2
mov dword [esp + 0x4c], ebp
mov ebx, ebp
mov eax, dword [edi]
push 0x65
mov ecx, edi
call dword [eax + 0x8c]
mov esi, eax
cmp esi, ebp
jne 0x4e7f51
push 0xa0
call fcn.0040fa60
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebp
mov dword [esp + 0x44], 1
je 0x4e7f0e
push 1
mov ecx, eax
call fcn.00431810
mov esi, eax
jmp 0x4e7f10
xor esi, esi
push 0x90
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 0x1e
mov dword [esp + 0x28], 0x27
mov dword [esp + 0x2c], 0x40
mov dword [esp + 0x30], 0x49
mov edx, dword [esi]
push edi
mov ecx, esi
mov dword [esp + 0x50], 0xffffffff
call dword [edx + 0xc]
mov dword [esi + 0x40], 0x65
mov ecx, dword [esi + 0x4c]
push ecx
call fcn.0043a1a0
add esp, 4
cmp ebx, ebp
mov dword [esi + 0x4c], ebp
je 0x4e8096
push ebp
push 0x85dcf8
push 0x85daac
push ebp
push edi
call fcn.0071f44c
add esp, 0x14
test eax, eax
jne 0x4e8096
cmp word [ebx + 0xe0], 0x10
jne 0x4e7fa1
mov edx, dword [esi]
push ebp
push str.Images_Screens_PlayWnd_Marshals_army_retreat.rle
mov ecx, esi
call dword [edx + 0x10]
jmp 0x4e8093
mov ecx, ebx
call fcn.0055a110
test eax, eax
mov ecx, ebx
je 0x4e7fd3
call fcn.00559b80
test eax, eax
mov ecx, esi
push ebp
je 0x4e7fc4
push str.Images_Screens_PlayWnd_Marshals_army_atsea_battle.rle
jmp 0x4e808e
mov edx, dword [esi]
push str.Images_Screens_PlayWnd_Marshals_army_atsea.rle
call dword [edx + 0x10]
jmp 0x4e8093
mov eax, dword [ebx]
call dword [eax + 0x1f0]
test eax, eax
je 0x4e7ff1
mov edx, dword [esi]
push ebp
push str.Images_Screens_PlayWnd_Marshals_army_move.rle
mov ecx, esi
call dword [edx + 0x10]
jmp 0x4e8093
mov ecx, ebx
call fcn.0055a060
test eax, eax
mov ecx, ebx
je 0x4e801d
call fcn.00559b80
test eax, eax
mov ecx, esi
push ebp
je 0x4e8011
push str.Images_Screens_PlayWnd_Marshals_army_fortf_battle.rle
jmp 0x4e808e
mov edx, dword [esi]
push str.Images_Screens_PlayWnd_Marshals_army_fortf.rle
call dword [edx + 0x10]
jmp 0x4e8093
call fcn.00559ff0
test eax, eax
mov ecx, ebx
je 0x4e8047
call fcn.00559b80
test eax, eax
mov ecx, esi
push ebp
je 0x4e803b
push str.Images_Screens_PlayWnd_Marshals_army_camp_battle.rle
jmp 0x4e808e
mov edx, dword [esi]
push str.Images_Screens_PlayWnd_Marshals_army_camp.rle
call dword [edx + 0x10]
jmp 0x4e8093
call fcn.00559ea0
test eax, eax
mov ecx, ebx
je 0x4e807d
call fcn.00559b80
test eax, eax
je 0x4e806e
mov ecx, ebx
call fcn.00559c80
test eax, eax
je 0x4e806e
push ebp
push str.Images_Screens_PlayWnd_Marshals_army_sg_castle.rle
jmp 0x4e808c
mov edx, dword [esi]
push ebp
push str.Images_Screens_PlayWnd_Marshals_army_castle.rle
mov ecx, esi
call dword [edx + 0x10]
jmp 0x4e8093
call fcn.00559b80
test eax, eax
je 0x4e8096
push ebp
push str.Images_Screens_PlayWnd_Marshals_army_battle.rle
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x10]
mov dword [esi + 0x4c], eax
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0x24]
mov eax, dword [edi]
push 0xcf
mov ecx, edi
call dword [eax + 0x8c]
mov esi, eax
cmp esi, ebp
jne 0x4e812d
push 0x140
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 0x26
mov dword [esp + 0x28], 0x1a
mov dword [esp + 0x2c], 0x46
call fcn.0040fa60
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebp
mov dword [esp + 0x44], 2
je 0x4e80f9
push 1
mov ecx, eax
call fcn.0051aae0
mov esi, eax
jmp 0x4e80fb
xor esi, esi
mov edx, dword [esi]
push 0xffffffffffffffff
push 0x78f490
push ebp
push ebp
push ebp
push 0x10090
push 0xcf
lea eax, [esp + 0x38]
push eax
push edi
mov ecx, esi
mov dword [esp + 0x68], 0xffffffff
call dword [edx + 0x128]
mov dword [esi + 0x88], ebp
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x16c]
xor ebx, ebx
cmp eax, 9
sete bl
cmp dword [esi + 0x88], ebx
je 0x4e8201
mov eax, dword [esi]
push ebp
push ebp
push ebp
mov ecx, esi
call dword [eax + 0x16c]
cmp ebx, ebp
je 0x4e8201
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push ebp
push str.Images_Shields_size_1_frame.rle
call dword [edx + 0x10]
mov edx, dword [0x914298]
mov ebx, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push eax
push ebp
push 0x85d304
push 0x85d9c0
push ebp
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], 3
mov eax, dword [edx + 0xe5a4]
push 3
push ebp
mov dword [esp + 0x30], eax
call fcn.005d0170
mov ecx, dword [0x914298]
add esp, 8
push eax
mov eax, dword [esp + 0x2c]
add ecx, 0xe5a4
call dword [eax + 0x14]
mov eax, dword [eax + 0x38]
push eax
call fcn.0071f44c
add esp, 0x14
push eax
mov ecx, esi
call dword [ebx + 0x16c]
mov ebx, dword [esi]
push 0xff
xor ebp, ebp
push ebp
push 5
push ebp
call fcn.005d0170
add esp, 8
push eax
push 4
push ebp
call fcn.005d0170
add esp, 8
push eax
mov ecx, esi
call dword [ebx + 0x170]
mov ecx, dword [esp + 0x4c]
cmp ecx, ebp
pop esi
pop ebx
je 0x4e8217
mov edx, dword [ecx]
call dword [edx + 0xb4]
test eax, eax
jne 0x4e8226
push 0x15
push edi
call fcn.004e7780
add esp, 8
test eax, eax
je 0x4e8245
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0x13c]
pop edi
pop ebp
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 4
mov edx, dword [edi]
push ebp
mov ecx, edi
call dword [edx + 0x13c]
pop edi
mov ecx, dword [esp + 0x30]
pop ebp
mov dword fs:[0], ecx
add esp, 0x38
ret 4