Function at 0x513c70
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c772e
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0x626734]
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, 0x62912c
call fcn.00448110
mov dword [0x60baf8], 0x64
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x20]
lea eax, [ebx + 0x110]
push eax
mov eax, dword [0x629328]
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 [0x629328]
lea eax, [ebx + 0x114]
push 0
push eax
push str.datUIPopUp.png
call fcn.0045e5a0
mov ecx, dword [0x629328]
lea eax, [ebx + 0x118]
push 0
push eax
push str.datUIPopUpLong.png
call fcn.0045e5a0
mov ecx, dword [0x629328]
call fcn.0045f1d0
mov ecx, dword [0x629328]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
call fcn.0045f1c0
cdq
sub eax, edx
mov edi, eax
push 0x170
sar edi, 1
call fcn.00556676
add esp, 4
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x513da1
mov ecx, dword [0x629328]
push 0
push str.WINDOW
call fcn.0045f1c0
mov ecx, dword [0x629328]
push eax
call fcn.0045f1d0
mov ecx, dword [ebp - 0x418]
push eax
push 0
push 0
push 0xffffffffffffffff
call fcn.0046bc40
jmp 0x513da3
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.00556676
mov edx, eax
add esp, 4
mov dword [ebp - 0x418], edx
mov dword [ebp - 4], 1
test edx, edx
je 0x513e0f
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.004684f0
mov esi, eax
jmp 0x513e11
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.00556676
mov ecx, eax
add esp, 4
mov dword [ebp - 0x414], ecx
mov dword [ebp - 4], 2
test ecx, ecx
je 0x513e96
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.0046b4b0
mov edi, eax
jmp 0x513e98
xor edi, edi
mov dword [edi + 0x150], 0x5153d0
lea eax, [ebp - 0x410]
push dword [0x62ad20]
mov dword [ebp - 4], 0xffffffff
push dword [0x62ad1c]
push dword [0x62ad18]
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 0x513ed8
movsx eax, byte [0x61a0e9]
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 0x5dbcf4
push eax
call fcn.0043d370
push dword [0x62ad18]
movsx eax, byte [0x61a0e9]
push eax
call fcn.004a2450
add esp, 0x14
test eax, eax
je 0x513f4f
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x513f30
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.00556676
mov edx, eax
add esp, 4
mov dword [ebp - 0x414], edx
mov dword [ebp - 4], 3
test edx, edx
je 0x513fda
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.0046b6c0
mov edi, eax
jmp 0x513fdc
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], 0x5153d0
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.0046ce10
push 0x194
call fcn.00556676
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x514055
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 1
mov ecx, eax
call fcn.0046b6c0
mov edi, eax
jmp 0x514057
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], 0x5153d0
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.0046ce10
push 0x194
call fcn.00556676
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x5140d0
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 2
mov ecx, eax
call fcn.0046b6c0
mov edi, eax
jmp 0x5140d2
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], 0x5153d0
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.0046ce10
push 0x194
call fcn.00556676
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 6
test eax, eax
je 0x51414b
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 3
mov ecx, eax
call fcn.0046b6c0
mov edi, eax
jmp 0x51414d
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], 0x5153d0
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.0046ce10
push 0x194
call fcn.00556676
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 7
test eax, eax
je 0x5141c6
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 5
mov ecx, eax
call fcn.0046b6c0
mov edi, eax
jmp 0x5141c8
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], 0x5153d0
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.0046ce10
push 0x194
call fcn.00556676
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 8
test eax, eax
je 0x514241
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 6
mov ecx, eax
call fcn.0046b6c0
mov edi, eax
jmp 0x514243
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], 0x5153d0
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.0046ce10
push 0x194
call fcn.00556676
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 9
test eax, eax
je 0x5142bc
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 7
mov ecx, eax
call fcn.0046b6c0
mov edi, eax
jmp 0x5142be
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], 0x5153d0
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.0046ce10
push 0x194
call fcn.00556676
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0xa
test eax, eax
je 0x514337
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 4
mov ecx, eax
call fcn.0046b6c0
mov edi, eax
jmp 0x514339
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], 0x5153d0
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.00556676
mov edx, eax
add esp, 4
mov dword [ebp - 0x414], edx
mov dword [ebp - 4], 0xb
test edx, edx
je 0x5143c2
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.0046b6c0
mov edi, eax
jmp 0x5143c4
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], 0x5153d0
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.0046ce10
push 0x194
call fcn.00556676
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0xc
test eax, eax
je 0x51443d
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 9
mov ecx, eax
call fcn.0046b6c0
mov edi, eax
jmp 0x51443f
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], 0x5153d0
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.0046ce10
push 0x194
call fcn.00556676
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0xd
test eax, eax
je 0x5144b8
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xa
mov ecx, eax
call fcn.0046b6c0
mov edi, eax
jmp 0x5144ba
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], 0x5153d0
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.0046ce10
push 0x194
call fcn.00556676
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0xe
test eax, eax
je 0x514533
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xb
mov ecx, eax
call fcn.0046b6c0
mov edi, eax
jmp 0x514535
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], 0x5153d0
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.0046ce10
push 0x194
call fcn.00556676
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0xf
test eax, eax
je 0x5145ae
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xc
mov ecx, eax
call fcn.0046b6c0
mov edi, eax
jmp 0x5145b0
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], 0x5153d0
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.0046ce10
push 0x194
call fcn.00556676
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0x10
test eax, eax
je 0x514629
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xd
mov ecx, eax
call fcn.0046b6c0
mov edi, eax
jmp 0x51462b
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], 0x5153d0
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.0046ce10
push 0x194
call fcn.00556676
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0x11
test eax, eax
je 0x5146a4
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xe
mov ecx, eax
call fcn.0046b6c0
mov edi, eax
jmp 0x5146a6
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], 0x5153d0
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.0046ce10
push 0x194
call fcn.00556676
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0x12
test eax, eax
je 0x51471f
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xf
mov ecx, eax
call fcn.0046b6c0
mov edi, eax
jmp 0x514721
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], 0x5153d0
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.0046ce10
push 0x194
call fcn.00556676
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0x13
test eax, eax
je 0x51479a
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0x10
mov ecx, eax
call fcn.0046b6c0
mov edi, eax
jmp 0x51479c
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], 0x5153d0
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.0046ce10
push 0x194
call fcn.00556676
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0x14
test eax, eax
je 0x514815
push 0
push str.TEXTBUTTON
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0x13
mov ecx, eax
call fcn.0046b6c0
mov edi, eax
jmp 0x514817
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], 0x5153d0
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.00514b20
mov ecx, dword [esi + 0x11c]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov dword [0x62ad54], 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.005566b4
mov esp, ebp
pop ebp
ret