Function at 0x514a80
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x640706
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov eax, dword [0x6bd8a0]
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x6c], eax
push edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x9c], ebx
mov edi, 1
mov dword [esp + 0x7c], edi
je 0x514ae5
lea ecx, [esi + 0x190]
mov dword [esi + 4], 0x661134
mov dword [esi + 0x20], 0x6612ac
call fcn.0040b080
mov byte [esp + 0x7c], 2
mov dword [esp + 0x10], edi
mov ebp, dword [esp + 0x90]
push ebx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov eax, dword [ebp + 4]
lea edx, [esp + eax + 0xa0]
mov dword [esp + 0x3c], esp
push edx
call fcn.00420750
mov eax, dword [esp + 0x94]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov edx, dword [eax + 4]
lea eax, [esp + edx + 0xa0]
mov dword [esp + 0x30], esp
push eax
mov dword [esp + 0x9c], 3
call fcn.00420750
mov ecx, esi
mov byte [esp + 0x98], 2
call fcn.0042cba0
push ebx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov edx, dword [ebp + 4]
lea eax, [esp + edx + 0xa0]
mov dword [esp + 0x24], esp
push eax
mov dword [esp + 0x90], 4
call fcn.00420750
lea edi, [esi + 0x1c]
mov ecx, edi
call fcn.0056f4b0
mov ecx, dword [esi + 4]
sub esp, 0xc
mov dword [edi], vtable.RifGameFieldStatistic.2.0
mov dword [esp + 0x20], esp
mov edi, esp
sub esp, 0x18
mov dword [esi], vtable.RifGameFieldStatistic.1.0
mov edx, dword [ecx + 4]
mov ecx, esp
mov dword [esp + 0x38], esp
lea eax, [esp + 0xc0]
push eax
push str.delayText
mov byte [esp + 0xa8], 5
mov dword [edx + esi + 4], vtable.RifGameFieldStatistic.0
call fcn.00403db0
mov ecx, dword [ebp + 4]
push edi
lea ecx, [esp + ecx + 0xb8]
mov byte [esp + 0xa4], 5
call fcn.004304e0
mov ecx, eax
call fcn.00428b50
lea ecx, [esi + 0x3c]
call fcn.004dc1b0
mov dword [esi + 0x58], 0x6580c8
mov dword [esi + 0x5c], ebx
mov ecx, dword [esi + 0x58]
mov edx, dword [ecx + 4]
mov dword [edx + esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov edx, 0x6580c8
mov dword [esi + 0x90], edx
mov dword [esi + 0x94], ebx
mov eax, dword [esi + 0x90]
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 0x94], ebx
mov dword [esi + 0x9c], edx
mov dword [esi + 0xa0], ebx
mov eax, dword [esi + 0x9c]
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 0xa0], ebx
lea eax, [esi + 0xb8]
mov byte [esi + 0xb0], 1
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax], eax
mov dword [eax + 4], eax
lea eax, [esi + 0xc4]
mov dword [esi + 0xc0], vtable.EffectCollection.0
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax], eax
mov dword [eax + 4], eax
lea edi, [esi + 0xcc]
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi], edi
mov dword [edi + 4], edi
lea ecx, [esi + 0xe4]
lea eax, [ecx + 0x10]
mov byte [esi + 0xe0], bl
mov byte [esi + 0xe1], 1
mov dword [eax], ecx
mov dword [ecx + 0x14], eax
mov eax, dword [eax]
mov byte [eax], bl
lea ecx, [esi + 0xfc]
lea eax, [ecx + 0x10]
mov dword [eax], ecx
mov dword [ecx + 0x14], eax
mov eax, dword [eax]
mov byte [eax], bl
lea ebp, [esi + 0x114]
mov dword [ebp], 0x6580c8
mov dword [ebp + 4], ebx
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
mov dword [ecx + ebp + 4], ebx
mov dword [esi + 0x120], 0x6580c8
mov dword [esi + 0x124], ebx
mov eax, dword [esi + 0x120]
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 0x124], ebx
mov dword [esi + 0x12c], 0x6580c8
mov dword [esi + 0x130], ebx
mov eax, dword [esi + 0x12c]
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 0x130], ebx
mov dword [esi + 0x138], edx
mov dword [esi + 0x13c], ebx
mov eax, dword [esi + 0x138]
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 0x13c], ebx
mov dword [esi + 0x144], edx
mov dword [esi + 0x148], ebx
mov edx, dword [esi + 0x144]
mov eax, dword [edx + 4]
mov dword [eax + esi + 0x148], ebx
lea eax, [esi + 0x150]
lea ecx, [eax + 0x10]
mov dword [ecx], eax
mov dword [eax + 0x14], ecx
mov ecx, dword [ecx]
mov byte [ecx], bl
lea eax, [esi + 0x168]
lea ecx, [eax + 0x10]
mov dword [ecx], eax
mov dword [eax + 0x14], ecx
mov ecx, dword [ecx]
mov byte [ecx], bl
push 0x48
mov byte [esp + 0x80], 0x1d
mov byte [esi + 0x180], bl
mov dword [esi + 0x184], 0x455ac000
mov dword [esi + 0x188], 0x3f99999a
mov byte [esi + 0x18c], bl
mov dword [esi + 0xd4], ebx
call fcn.004063f0
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebx
mov byte [esp + 0x7c], 0x1e
je 0x514e10
mov edx, dword [esp + 0x10]
push 1
or edx, 2
sub esp, 0x18
mov dword [esp + 0x2c], edx
mov ecx, esp
mov dword [esp + 0x30], esp
lea edx, [esp + 0xb8]
push edx
push str.TimeCountInt
call fcn.00403db0
mov ecx, dword [esp + 0x48]
call fcn.004eb950
jmp 0x514e12
xor eax, eax
push 1
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 0x1d
call fcn.004075b0
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
mov byte [esp + 0x80], 0x1f
call fcn.00493270
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 0x1d
call fcn.00407ce0
test byte [esp + 0x10], 2
je 0x514e54
and dword [esp + 0x10], 0xfffffffd
push 0x5c
call fcn.004063f0
mov ebp, eax
add esp, 4
mov dword [esp + 0x14], ebp
cmp ebp, ebx
mov byte [esp + 0x7c], 0x20
je 0x514e9e
mov edx, dword [esp + 0x10]
push 1
or edx, 4
sub esp, 0x18
mov dword [esp + 0x2c], edx
mov ecx, esp
mov dword [esp + 0x48], esp
lea edx, [esp + 0xb8]
push edx
push str.Level_score
call fcn.00403db0
mov ecx, ebp
call fcn.004e7760
jmp 0x514ea0
xor eax, eax
push 1
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 0x1d
call fcn.0048f070
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x12c]
mov byte [esp + 0x80], 0x21
call fcn.004917e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 0x1d
call fcn.0048fb50
test byte [esp + 0x10], 4
je 0x514ee6
and dword [esp + 0x10], 0xfffffffb
push 0x48
call fcn.004063f0
mov ebp, eax
add esp, 4
mov dword [esp + 0x14], ebp
cmp ebp, ebx
mov byte [esp + 0x7c], 0x22
je 0x514f30
mov edx, dword [esp + 0x10]
push 1
or edx, 8
sub esp, 0x18
mov dword [esp + 0x2c], edx
mov ecx, esp
mov dword [esp + 0x48], esp
lea edx, [esp + 0xb8]
push edx
push str.LevelScoreBonusInt
call fcn.00403db0
mov ecx, ebp
call fcn.004eb950
jmp 0x514f32
xor eax, eax
push 1
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 0x1d
call fcn.004075b0
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x120]
mov byte [esp + 0x80], 0x23
call fcn.00493270
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 0x1d
call fcn.00407ce0
test byte [esp + 0x10], 8
je 0x514f78
and dword [esp + 0x10], 0xfffffff7
lea ecx, [esp + 0x9c]
push ecx
push str.MoneyPrefix
lea ecx, [esp + 0x1c]
call fcn.00403db0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x40]
push eax
mov ecx, 0x6bfa98
mov byte [esp + 0x84], 0x24
call fcn.00406c90
lea ecx, [esi + 0xe4]
cmp eax, ecx
mov byte [esp + 0x7c], 0x25
je 0x514fcd
mov ebp, dword [eax + 0x10]
lea edx, [eax + 0x10]
cmp dword [eax + 0x14], edx
je 0x514fc6
mov eax, dword [eax]
push ebp
push eax
call fcn.00403ff0
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x4c]
cmp eax, ecx
mov byte [esp + 0x7c], 0x24
je 0x515004
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
je 0x515004
sub eax, ecx
cmp eax, 0x80
jbe 0x514ffa
push ecx
call fcn.00611869
add esp, 4
jmp 0x515004
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x24]
cmp eax, edx
mov byte [esp + 0x7c], 0x1d
je 0x51503b
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x51503b
sub eax, ecx
cmp eax, 0x80
jbe 0x515031
push ecx
call fcn.00611869
add esp, 4
jmp 0x51503b
push eax
push ecx
call fcn.005d6970
add esp, 8
lea eax, [esp + 0x9c]
push eax
push str.MoneySuffix
lea ecx, [esp + 0x1c]
call fcn.00403db0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x40]
push edx
mov ecx, 0x6bfa98
mov byte [esp + 0x84], 0x26
call fcn.00406c90
lea ecx, [esi + 0xfc]
cmp eax, ecx
mov byte [esp + 0x7c], 0x27
je 0x515090
mov ebp, dword [eax + 0x10]
lea edx, [eax + 0x10]
cmp dword [eax + 0x14], edx
je 0x515089
mov eax, dword [eax]
push ebp
push eax
call fcn.00403ff0
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x4c]
cmp eax, ecx
mov byte [esp + 0x7c], 0x26
je 0x5150c7
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
je 0x5150c7
sub eax, ecx
cmp eax, 0x80
jbe 0x5150bd
push ecx
call fcn.00611869
add esp, 4
jmp 0x5150c7
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x24]
cmp eax, edx
mov byte [esp + 0x7c], 0x1d
je 0x5150fe
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x5150fe
sub eax, ecx
cmp eax, 0x80
jbe 0x5150f4
push ecx
call fcn.00611869
add esp, 4
jmp 0x5150fe
push eax
push ecx
call fcn.005d6970
add esp, 8
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
lea eax, [esp + 0xb4]
push eax
push str.main
call fcn.00403db0
mov edx, dword [esp + 0xa8]
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [edx + 4]
lea ecx, [esp + ecx + 0xac]
mov byte [esp + 0x98], 0x1d
call fcn.004304e0
mov ecx, eax
call fcn.00428b50
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
lea eax, [esp + 0xb4]
push eax
push 0x655e08
mov byte [esp + 0x9c], 0x29
call fcn.00403db0
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [edx + 4]
lea ecx, [esp + ecx + 0x4c]
mov byte [esp + 0x98], 0x29
call fcn.004304e0
mov ecx, eax
call fcn.0042b430
sub esp, 0x18
lea eax, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x98], 0x2b
call fcn.00403e10
lea ecx, [esp + 0x2c]
push ecx
mov ecx, 0x6bfa98
call fcn.004a1c40
push eax
lea ecx, [esi + 0x58]
mov byte [esp + 0x80], 0x2c
call fcn.0049ab80
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 0x2b
call fcn.0049ac10
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + ecx + 0x34]
call fcn.004304e0
mov ecx, eax
call fcn.0042b9b0
mov ecx, dword [eax]
sub esp, 0x18
mov dword [esi + 0x64], ecx
mov edx, dword [eax + 4]
mov ecx, esp
mov dword [esp + 0x2c], esp
lea eax, [esp + 0xb4]
push eax
push str.pause
mov dword [esi + 0x68], edx
call fcn.00403db0
mov ecx, dword [esp + 0x48]
mov ecx, dword [ecx + 4]
lea ecx, [esp + ecx + 0x48]
mov byte [esp + 0x94], 0x2b
call fcn.004304e0
mov ecx, eax
call fcn.0045c590
fstp dword [esi + 0xa8]
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
lea edx, [esp + 0xb4]
push edx
push str.break
call fcn.00403db0
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x48]
mov byte [esp + 0x94], 0x2b
call fcn.004304e0
mov ecx, eax
call fcn.0045c590
fstp dword [esi + 0xac]
push 0x48
call fcn.004063f0
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x7c], 0x2f
je 0x5152ae
mov ecx, dword [esi + 0xac]
mov edx, dword [esi + 0xa8]
push 1
push ecx
push ebx
push ebx
push 1
push edx
mov ecx, eax
call fcn.00492180
jmp 0x5152b0
xor eax, eax
push 1
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 0x2b
call fcn.0048eed0
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x9c]
mov byte [esp + 0x80], 0x30
call fcn.00493570
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 0x2b
call fcn.0048f9a0
lea eax, [esi + 0x6c]
push eax
sub esp, 0xc
mov dword [esp + 0x24], esp
mov ebp, esp
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x3c], esp
lea edx, [esp + 0xc4]
push edx
push str.alpha
call fcn.00403db0
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 4]
push ebp
lea ecx, [esp + ecx + 0x5c]
mov byte [esp + 0xa8], 0x2b
call fcn.004304e0
mov ecx, eax
call fcn.00428b50
mov ecx, esi
call fcn.0049ff10
lea eax, [esi + 0x78]
push eax
sub esp, 0xc
mov dword [esp + 0x24], esp
mov ebp, esp
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x3c], esp
lea edx, [esp + 0xc4]
push edx
push str.yCoord
call fcn.00403db0
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 4]
push ebp
lea ecx, [esp + ecx + 0x5c]
mov byte [esp + 0xa8], 0x2b
call fcn.004304e0
mov ecx, eax
call fcn.00428b50
mov ecx, esi
call fcn.0049ff10
lea eax, [esi + 0x84]
push eax
sub esp, 0xc
mov dword [esp + 0x24], esp
mov ebp, esp
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x3c], esp
lea edx, [esp + 0xc4]
push edx
push str.size
call fcn.00403db0
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 4]
push ebp
lea ecx, [esp + ecx + 0x5c]
mov byte [esp + 0xa8], 0x2b
call fcn.004304e0
mov ecx, eax
call fcn.00428b50
mov ecx, esi
call fcn.0049ff10
push 0x48
call fcn.004063f0
mov ebp, eax
add esp, 4
mov dword [esp + 0x14], ebp
cmp ebp, ebx
mov byte [esp + 0x7c], 0x34
je 0x51545d
mov edx, dword [esp + 0x10]
or edx, 0x10
sub esp, 0x18
mov dword [esp + 0x28], edx
mov ecx, esp
mov dword [esp + 0x44], esp
lea edx, [esp + 0xb4]
push edx
push str.time
call fcn.00403db0
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x48]
mov byte [esp + 0x94], 0x34
call fcn.004304e0
mov ecx, eax
call fcn.0045c590
fst dword [esp + 0x9c]
mov ecx, dword [esp + 0x9c]
fstp dword [esi + 0xdc]
push 1
push ebx
push ebx
push ebx
push 1
push ecx
mov ecx, ebp
call fcn.00492180
jmp 0x51545f
xor eax, eax
push 1
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 0x2b
call fcn.0048eed0
lea edx, [esp + 0x14]
lea ebp, [esi + 0x90]
push edx
mov ecx, ebp
mov byte [esp + 0x80], 0x36
call fcn.00493570
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 0x2b
call fcn.0048f9a0
test byte [esp + 0x10], 0x10
je 0x5154a7
and dword [esp + 0x10], 0xffffffef
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
lea eax, [esp + 0xb4]
push eax
push str.level_complite
mov dword [0x16c7884], 0x40e00000
mov dword [0x16c7888], 0x40e00000
mov dword [0x16c788c], 0x3ecccccd
call fcn.00403db0
mov ecx, dword [ebp]
mov edx, dword [ecx + 4]
lea ecx, [edx + esi + 0x90]
mov byte [esp + 0x94], 0x2b
call fcn.0048ea80
mov ecx, eax
call fcn.0048c930
lea eax, [esp + 0x9c]
push eax
push str.goldenCountInt
lea ecx, [esp + 0x1c]
call fcn.00403db0
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x80], 0x38
call fcn.0047b1b0
add esp, 4
test eax, eax
mov eax, dword [esp + 0x28]
setg dl
lea ecx, [esp + 0x24]
cmp eax, ecx
mov byte [esi + 0xb1], dl
mov byte [esp + 0x7c], 0x2b
je 0x51556e
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x51556e
sub eax, ecx
cmp eax, 0x80
jbe 0x515564
push ecx
call fcn.00611869
add esp, 4
jmp 0x51556e
push eax
push ecx
call fcn.005d6970
add esp, 8
push 0x3fd9999a
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
lea edx, [esp + 0xb8]
push edx
push str.start_tiles_money
call fcn.00403db0
sub esp, 0x18
mov eax, esp
mov dword [esp + 0x60], esp
push eax
lea ecx, [esi + 0x1c]
mov byte [esp + 0xb4], 0x39
call fcn.005f86a0
mov ecx, edi
mov byte [esp + 0xb0], 0x2b
call fcn.0049f1f0
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x68]
cmp eax, ecx
mov byte [esp + 0x7c], 0x29
je 0x5155ee
mov ecx, dword [esp + 0x58]
cmp ecx, ebx
je 0x5155ee
sub eax, ecx
cmp eax, 0x80
jbe 0x5155e4
push ecx
call fcn.00611869
add esp, 4
jmp 0x5155ee
push eax
push ecx
call fcn.005d6970
add esp, 8
lea ecx, [esp + 0x30]
mov byte [esp + 0x7c], 0x1d
call fcn.0042ce80
lea ecx, [esp + 0x84]
mov byte [esp + 0x7c], bl
call fcn.0042ce80
lea ecx, [esp + 0x90]
mov dword [esp + 0x7c], 0xffffffff
call fcn.0042ce80
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x70]
mov eax, esi
call fcn.006122a5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 0x1c