Function at 0x514540
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ca69e
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0x62a780]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x41c], ebx
push str.OptionMode::Activate__n
mov ecx, 0x62d1cc
call fcn.004480d0
mov dword [0x60faf8], 0x64
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x20]
lea eax, [ebx + 0x110]
push eax
mov eax, dword [0x62d3c8]
push 0
push 0
push 0xffff00ff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x15
push 0
push 0
push 0
push 0
push str.datmouseart.png
push dword [eax + 0x2a3d8]
call fcn.00408a02
mov ecx, dword [0x62d3c8]
lea eax, [ebx + 0x114]
push 0
push eax
push str.datUIPopUp.png
call fcn.0045e4e0
mov ecx, dword [0x62d3c8]
lea eax, [ebx + 0x118]
push 0
push eax
push str.datUIPopUpLong.png
call fcn.0045e4e0
mov ecx, dword [0x62d3c8]
call fcn.0045f130
mov ecx, dword [0x62d3c8]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
call fcn.0045f120
cdq
sub eax, edx
mov edi, eax
push 0x170
sar edi, 1
call fcn.00558849
add esp, 4
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x514671
mov ecx, dword [0x62d3c8]
push 0
push str.WINDOW
call fcn.0045f120
mov ecx, dword [0x62d3c8]
push eax
call fcn.0045f130
mov ecx, dword [ebp - 0x418]
push eax
push 0
push 0
push 0xffffffffffffffff
call fcn.0046baf0
jmp 0x514673
xor eax, eax
mov dword [ebx + 0x11c], eax
mov byte [eax + 0x168], 0
mov eax, dword [ebx + 0x11c]
push 0x17c
mov dword [ebp - 4], 0xffffffff
mov byte [eax + 0x139], 1
call fcn.00558849
mov edx, eax
add esp, 4
mov dword [ebp - 0x418], edx
mov dword [ebp - 4], 1
test edx, edx
je 0x5146df
push 0
lea ecx, [edi + 0xd2]
push ecx
lea eax, [esi + 0x136]
mov ecx, edx
push eax
lea eax, [edi - 0xd2]
push eax
lea eax, [esi - 0x136]
push eax
push 0xfffffffffffffffe
call fcn.004683b0
mov esi, eax
jmp 0x5146e1
xor esi, esi
mov ecx, dword [ebx + 0x11c]
push esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [esi + 0x110]
sub eax, dword [esi + 0x108]
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [esi + 0x114]
sub eax, dword [esi + 0x10c]
cdq
sub eax, edx
sar ebx, 1
sar eax, 1
push 0x17c
mov dword [ebp - 0x418], eax
call fcn.00558849
mov ecx, eax
add esp, 4
mov dword [ebp - 0x414], ecx
mov dword [ebp - 4], 2
test ecx, ecx
je 0x514766
mov eax, dword [esi + 0x110]
sub eax, dword [esi + 0x108]
push 0
push str.TEXTBOX
push 0x2d
sub eax, 0x14
push eax
push 0xa
push 0xa
push 0x14
call fcn.0046b360
mov edi, eax
jmp 0x514768
xor edi, edi
mov dword [edi + 0x150], 0x515c90
lea eax, [ebp - 0x410]
push dword [0x62edc0]
mov dword [ebp - 4], 0xffffffff
push dword [0x62edbc]
push dword [0x62edb8]
push str.Level__ld______Health__ld__ld
push eax
call fcn.0043d370
lea edx, [ebp - 0x410]
add esp, 0x14
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x5147a8
movsx eax, byte [0x61e0f9]
sub edx, ecx
mov ecx, eax
shl ecx, 4
sub ecx, eax
lea eax, [ebp - 0x410]
add ecx, str.Young
add eax, edx
push ecx
push 0x5dec4c
push eax
call fcn.0043d370
push dword [0x62edb8]
movsx eax, byte [0x61e0f9]
push eax
call fcn.004a2110
add esp, 0x14
test eax, eax
je 0x51481f
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x514800
sub ecx, edx
lea eax, [ebp - 0x410]
add eax, ecx
push str.READY
push eax
call fcn.0043d370
add esp, 8
mov eax, dword [edi]
lea ecx, [ebp - 0x410]
push ecx
mov ecx, edi
call dword [eax + 0x30]
mov dword [edi + 0x16c], 9
mov ecx, esi
mov byte [edi + 0x168], 0
mov dword [edi + 0x164], 0
mov dword [edi + 0x178], 2
mov eax, dword [esi]
push edi
call dword [eax + 0x14]
push 0x194
call fcn.00558849
mov edx, eax
add esp, 4
mov dword [ebp - 0x414], edx
mov dword [ebp - 4], 3
test edx, edx
je 0x5148aa
mov edi, dword [ebp - 0x418]
lea eax, [ebx + 2]
push 0
push str.TEXTBUTTON
lea ecx, [edi - 0x7c]
push ecx
push eax
lea eax, [edi - 0x96]
mov ecx, edx
push eax
lea eax, [ebx - 0xc8]
push eax
push 0
call fcn.0046b570
mov edi, eax
jmp 0x5148ac
xor edi, edi
mov eax, dword [edi]
mov ecx, edi
push str.Return_to_Game
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x30]
mov dword [edi + 0x150], 0x515c90
mov ecx, esi
mov dword [edi + 0x16c], 9
mov byte [edi + 0x168], 1
mov eax, dword [esi]
push edi
call dword [eax + 0x14]
push 2
push 0
call fcn.0046ccd0
push 0x194
call fcn.00558849
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x514925
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 1
mov ecx, eax
call fcn.0046b570
mov edi, eax
jmp 0x514927
xor edi, edi
mov eax, dword [edi]
mov ecx, edi
push str.View_Instructions
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x30]
mov dword [edi + 0x150], 0x515c90
mov ecx, esi
mov dword [edi + 0x16c], 9
mov byte [edi + 0x168], 1
mov eax, dword [esi]
push edi
call dword [eax + 0x14]
push 1
push 0
call fcn.0046ccd0
push 0x194
call fcn.00558849
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x5149a0
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 2
mov ecx, eax
call fcn.0046b570
mov edi, eax
jmp 0x5149a2
xor edi, edi
mov eax, dword [edi]
mov ecx, edi
push str.Community_Info
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x30]
mov dword [edi + 0x150], 0x515c90
mov ecx, esi
mov dword [edi + 0x16c], 9
mov byte [edi + 0x168], 1
mov eax, dword [esi]
push edi
call dword [eax + 0x14]
push 1
push 0
call fcn.0046ccd0
push 0x194
call fcn.00558849
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 6
test eax, eax
je 0x514a1b
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 3
mov ecx, eax
call fcn.0046b570
mov edi, eax
jmp 0x514a1d
xor edi, edi
mov eax, dword [edi]
mov ecx, edi
push str.View_Credits
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x30]
mov dword [edi + 0x150], 0x515c90
mov ecx, esi
mov dword [edi + 0x16c], 9
mov byte [edi + 0x168], 1
mov eax, dword [esi]
push edi
call dword [eax + 0x14]
push 1
push 0
call fcn.0046ccd0
push 0x194
call fcn.00558849
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 7
test eax, eax
je 0x514a96
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 5
mov ecx, eax
call fcn.0046b570
mov edi, eax
jmp 0x514a98
xor edi, edi
mov eax, dword [edi]
mov ecx, edi
push str.Grass
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x30]
mov dword [edi + 0x150], 0x515c90
mov ecx, esi
mov dword [edi + 0x16c], 9
mov byte [edi + 0x168], 1
mov eax, dword [esi]
push edi
call dword [eax + 0x14]
push 1
push 0
call fcn.0046ccd0
push 0x194
call fcn.00558849
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 8
test eax, eax
je 0x514b11
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 6
mov ecx, eax
call fcn.0046b570
mov edi, eax
jmp 0x514b13
xor edi, edi
mov eax, dword [edi]
mov ecx, edi
push str.Terrain_Detail
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x30]
mov dword [edi + 0x150], 0x515c90
mov ecx, esi
mov dword [edi + 0x16c], 9
mov byte [edi + 0x168], 1
mov eax, dword [esi]
push edi
call dword [eax + 0x14]
push 2
push 0
call fcn.0046ccd0
push 0x194
call fcn.00558849
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 9
test eax, eax
je 0x514b8c
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 7
mov ecx, eax
call fcn.0046b570
mov edi, eax
jmp 0x514b8e
xor edi, edi
mov eax, dword [edi]
mov ecx, edi
push str.WASD_moving_enabled
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x30]
mov dword [edi + 0x150], 0x515c90
mov ecx, esi
mov dword [edi + 0x16c], 9
mov byte [edi + 0x168], 1
mov eax, dword [esi]
push edi
call dword [eax + 0x14]
push 4
push 0
call fcn.0046ccd0
push 0x194
call fcn.00558849
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0xa
test eax, eax
je 0x514c07
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 4
mov ecx, eax
call fcn.0046b570
mov edi, eax
jmp 0x514c09
xor edi, edi
mov eax, dword [edi]
mov ecx, edi
push str.Quit_Game
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x30]
mov dword [edi + 0x150], 0x515c90
mov ecx, esi
mov dword [edi + 0x16c], 9
mov byte [edi + 0x168], 1
mov eax, dword [esi]
push edi
call dword [eax + 0x14]
push 0x194
call fcn.00558849
mov edx, eax
add esp, 4
mov dword [ebp - 0x414], edx
mov dword [ebp - 4], 0xb
test edx, edx
je 0x514c92
mov edi, dword [ebp - 0x418]
lea eax, [ebx + 0xcb]
push 0
push str.TEXTBUTTON
lea ecx, [edi - 0x86]
push ecx
push eax
lea eax, [edi - 0xa0]
mov ecx, edx
push eax
lea eax, [ebx + 0x32]
push eax
push 8
call fcn.0046b570
mov edi, eax
jmp 0x514c94
xor edi, edi
mov eax, dword [edi]
mov ecx, edi
push str.Show_hits
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x30]
mov dword [edi + 0x150], 0x515c90
mov ecx, esi
mov dword [edi + 0x16c], 9
mov byte [edi + 0x168], 1
mov eax, dword [esi]
push edi
call dword [eax + 0x14]
push 1
push 0
call fcn.0046ccd0
push 0x194
call fcn.00558849
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0xc
test eax, eax
je 0x514d0d
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 9
mov ecx, eax
call fcn.0046b570
mov edi, eax
jmp 0x514d0f
xor edi, edi
mov eax, dword [edi]
mov ecx, edi
push str.Show_Misses
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x30]
mov dword [edi + 0x150], 0x515c90
mov ecx, esi
mov dword [edi + 0x16c], 9
mov byte [edi + 0x168], 1
mov eax, dword [esi]
push edi
call dword [eax + 0x14]
push 1
push 0
call fcn.0046ccd0
push 0x194
call fcn.00558849
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0xd
test eax, eax
je 0x514d88
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xa
mov ecx, eax
call fcn.0046b570
mov edi, eax
jmp 0x514d8a
xor edi, edi
mov eax, dword [edi]
mov ecx, edi
push str.Show_loots
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x30]
mov dword [edi + 0x150], 0x515c90
mov ecx, esi
mov dword [edi + 0x16c], 9
mov byte [edi + 0x168], 1
mov eax, dword [esi]
push edi
call dword [eax + 0x14]
push 1
push 0
call fcn.0046ccd0
push 0x194
call fcn.00558849
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0xe
test eax, eax
je 0x514e03
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xb
mov ecx, eax
call fcn.0046b570
mov edi, eax
jmp 0x514e05
xor edi, edi
mov eax, dword [edi]
mov ecx, edi
push str.Show_fog
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x30]
mov dword [edi + 0x150], 0x515c90
mov ecx, esi
mov dword [edi + 0x16c], 9
mov byte [edi + 0x168], 1
mov eax, dword [esi]
push edi
call dword [eax + 0x14]
push 1
push 0
call fcn.0046ccd0
push 0x194
call fcn.00558849
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0xf
test eax, eax
je 0x514e7e
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xc
mov ecx, eax
call fcn.0046b570
mov edi, eax
jmp 0x514e80
xor edi, edi
mov eax, dword [edi]
mov ecx, edi
push str.Show_mist
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x30]
mov dword [edi + 0x150], 0x515c90
mov ecx, esi
mov dword [edi + 0x16c], 9
mov byte [edi + 0x168], 1
mov eax, dword [esi]
push edi
call dword [eax + 0x14]
push 1
push 0
call fcn.0046ccd0
push 0x194
call fcn.00558849
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0x10
test eax, eax
je 0x514ef9
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xd
mov ecx, eax
call fcn.0046b570
mov edi, eax
jmp 0x514efb
xor edi, edi
mov eax, dword [edi]
mov ecx, edi
push str.Click_to_move_ON
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x30]
mov dword [edi + 0x150], 0x515c90
mov ecx, esi
mov dword [edi + 0x16c], 9
mov byte [edi + 0x168], 1
mov eax, dword [esi]
push edi
call dword [eax + 0x14]
push 1
push 0
call fcn.0046ccd0
push 0x194
call fcn.00558849
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0x11
test eax, eax
je 0x514f74
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xe
mov ecx, eax
call fcn.0046b570
mov edi, eax
jmp 0x514f76
xor edi, edi
mov eax, dword [edi]
mov ecx, edi
push str.3D_sound
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x30]
mov dword [edi + 0x150], 0x515c90
mov ecx, esi
mov dword [edi + 0x16c], 9
mov byte [edi + 0x168], 1
mov eax, dword [esi]
push edi
call dword [eax + 0x14]
push 1
push 0
call fcn.0046ccd0
push 0x194
call fcn.00558849
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0x12
test eax, eax
je 0x514fef
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xf
mov ecx, eax
call fcn.0046b570
mov edi, eax
jmp 0x514ff1
xor edi, edi
mov eax, dword [edi]
mov ecx, edi
push str.UI_sound
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x30]
mov dword [edi + 0x150], 0x515c90
mov ecx, esi
mov dword [edi + 0x16c], 9
mov byte [edi + 0x168], 1
mov eax, dword [esi]
push edi
call dword [eax + 0x14]
push 1
push 0
call fcn.0046ccd0
push 0x194
call fcn.00558849
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0x13
test eax, eax
je 0x51506a
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0x10
mov ecx, eax
call fcn.0046b570
mov edi, eax
jmp 0x51506c
xor edi, edi
mov eax, dword [edi]
mov ecx, edi
push str.Language_Filter
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x30]
mov dword [edi + 0x150], 0x515c90
mov ecx, esi
mov dword [edi + 0x16c], 9
mov byte [edi + 0x168], 1
mov eax, dword [esi]
push edi
call dword [eax + 0x14]
push 1
push 0
call fcn.0046ccd0
push 0x194
call fcn.00558849
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0x14
test eax, eax
je 0x5150e5
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0x13
mov ecx, eax
call fcn.0046b570
mov edi, eax
jmp 0x5150e7
xor edi, edi
mov eax, dword [edi]
mov ecx, edi
push str.Weapon_Effects
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x30]
mov dword [edi + 0x150], 0x515c90
mov ecx, esi
mov dword [edi + 0x16c], 9
mov byte [edi + 0x168], 1
mov eax, dword [esi]
push edi
call dword [eax + 0x14]
mov esi, dword [ebp - 0x41c]
mov ecx, esi
call fcn.005153e0
mov ecx, dword [esi + 0x11c]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov dword [0x62edf4], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00558887
mov esp, ebp
pop ebp
ret