Function at 0x514300
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ca41e
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.00558629
add esp, 4
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x514431
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 0x514433
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.00558629
mov edx, eax
add esp, 4
mov dword [ebp - 0x418], edx
mov dword [ebp - 4], 1
test edx, edx
je 0x51449f
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 0x5144a1
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.00558629
mov ecx, eax
add esp, 4
mov dword [ebp - 0x414], ecx
mov dword [ebp - 4], 2
test ecx, ecx
je 0x514526
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 0x514528
xor edi, edi
mov dword [edi + 0x150], 0x515a50
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 0x514568
movsx eax, byte [0x61e0e9]
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 0x5dec3c
push eax
call fcn.0043d370
push dword [0x62edb8]
movsx eax, byte [0x61e0e9]
push eax
call fcn.004a20e0
add esp, 0x14
test eax, eax
je 0x5145df
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5145c0
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.00558629
mov edx, eax
add esp, 4
mov dword [ebp - 0x414], edx
mov dword [ebp - 4], 3
test edx, edx
je 0x51466a
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 0x51466c
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], 0x515a50
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.00558629
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x5146e5
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 0x5146e7
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], 0x515a50
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.00558629
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x514760
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 0x514762
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], 0x515a50
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.00558629
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 6
test eax, eax
je 0x5147db
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 0x5147dd
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], 0x515a50
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.00558629
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 7
test eax, eax
je 0x514856
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 0x514858
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], 0x515a50
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.00558629
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 8
test eax, eax
je 0x5148d1
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 0x5148d3
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], 0x515a50
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.00558629
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 9
test eax, eax
je 0x51494c
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 0x51494e
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], 0x515a50
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.00558629
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0xa
test eax, eax
je 0x5149c7
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 0x5149c9
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], 0x515a50
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.00558629
mov edx, eax
add esp, 4
mov dword [ebp - 0x414], edx
mov dword [ebp - 4], 0xb
test edx, edx
je 0x514a52
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 0x514a54
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], 0x515a50
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.00558629
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0xc
test eax, eax
je 0x514acd
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 0x514acf
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], 0x515a50
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.00558629
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0xd
test eax, eax
je 0x514b48
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 0x514b4a
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], 0x515a50
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.00558629
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0xe
test eax, eax
je 0x514bc3
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 0x514bc5
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], 0x515a50
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.00558629
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0xf
test eax, eax
je 0x514c3e
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 0x514c40
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], 0x515a50
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.00558629
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0x10
test eax, eax
je 0x514cb9
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 0x514cbb
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], 0x515a50
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.00558629
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0x11
test eax, eax
je 0x514d34
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 0x514d36
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], 0x515a50
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.00558629
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0x12
test eax, eax
je 0x514daf
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 0x514db1
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], 0x515a50
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.00558629
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0x13
test eax, eax
je 0x514e2a
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 0x514e2c
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], 0x515a50
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.00558629
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0x14
test eax, eax
je 0x514ea5
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 0x514ea7
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], 0x515a50
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.005151a0
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.00558667
mov esp, ebp
pop ebp
ret