Function at 0x489da0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x64b8c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x88]
xor ebx, ebx
push ebx
mov esi, 0xf
push 0x65540c
lea ecx, [esp + 0x64]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
call fcn.00404330
mov dword [esp + 0x80], ebx
push ebx
push 0x65540c
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.00404330
mov byte [esp + 0x80], 1
push 5
push str.Store
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.00404330
push ebx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x30]
push edx
push 1
push 4
push edi
mov byte [esp + 0x9c], 2
call fcn.0053fe40
mov ebp, 0x10
cmp dword [esp + 0x3c], ebp
jb 0x489e65
mov eax, dword [esp + 0x28]
push eax
call fcn.0061c19a
add esp, 4
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
cmp dword [esp + 0x58], ebp
jb 0x489e84
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0061c19a
add esp, 4
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
cmp dword [esp + 0x74], ebp
jb 0x489ea3
mov edx, dword [esp + 0x60]
push edx
call fcn.0061c19a
add esp, 4
mov dword [edi], 0x66daf0
mov dword [edi + 0x88], 0x66dc20
mov dword [edi + 0x180], esi
mov dword [edi + 0x17c], ebx
mov byte [edi + 0x16c], bl
mov dword [edi + 0x210], ebx
mov dword [edi + 0x214], ebx
mov dword [edi + 0x218], ebx
mov dword [edi + 0x21c], ebx
mov dword [edi + 0x220], ebx
mov dword [edi + 0x224], 1
mov dword [edi + 0x228], ebx
mov byte [esp + 0x80], 8
mov eax, dword [esp + 0x8c]
or ebp, 0xffffffff
push 0x36000
mov dword [edi + 0x150], eax
mov byte [edi + 0x41], bl
mov dword [edi + 0x164], ebx
mov dword [edi + 0x184], ebx
mov byte [edi + 0x188], bl
mov dword [edi + 0x18c], 0xc8
mov dword [edi + 0x190], ebp
mov dword [edi + 0x194], ebx
mov dword [edi + 0x198], ebp
mov dword [edi + 0x19c], ebx
mov dword [edi + 0x1a4], ebx
mov dword [edi + 0x1a8], ebx
mov dword [edi + 0x1ac], ebp
mov byte [edi + 0x1a0], 1
mov byte [edi + 0x1b0], bl
mov byte [edi + 0x1b1], bl
call fcn.0060ae9b
add esp, 4
push esi
push str.DelayLoad_Store
lea ecx, [esp + 0x64]
mov dword [edi + 0x210], eax
mov dword [edi + 0x218], 0x400
mov dword [edi + 0x228], str.coins
mov dword [edi + 0x224], 0xdf69
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
call fcn.00404330
mov byte [esp + 0x80], 9
mov ecx, dword [0x6a9f38]
mov ecx, dword [ecx + 0x634]
lea eax, [esp + 0x5c]
call fcn.00513140
mov byte [esp + 0x80], 8
cmp dword [esp + 0x74], 0x10
jb 0x489fec
mov edx, dword [esp + 0x60]
push edx
call fcn.0061c19a
add esp, 4
push 0x258
push 0x370
push ebx
push ebx
mov ecx, edi
call fcn.00540cc0
push 0x26
lea esi, [edi + 0x1b8]
call fcn.00469a00
mov eax, 0xb
call fcn.005af400
add eax, 2
push 0x170
mov dword [edi + 0x1d8], eax
call fcn.0061c130
add esp, 4
mov dword [esp + 0x8c], eax
cmp eax, ebx
mov byte [esp + 0x80], 0xa
je 0x48a053
lea ecx, [edi + 0x88]
push ecx
push eax
mov ecx, 0x64
call fcn.004486c0
jmp 0x48a055
xor eax, eax
mov byte [esp + 0x80], 8
mov dword [edi + 0x154], eax
mov ecx, str._STORE_MAIN_MENU_BUTTON_
lea esi, [esp + 0x5c]
mov byte [eax + 0x7c], 1
call fcn.005195d0
push ebp
mov byte [esp + 0x84], 0xb
mov ecx, dword [edi + 0x154]
push ebx
add ecx, 0x8c
push eax
call fcn.00403e20
mov byte [esp + 0x80], 8
cmp dword [esp + 0x74], 0x10
jb 0x48a0ad
mov eax, dword [esp + 0x60]
push eax
call fcn.0061c19a
add esp, 4
mov ecx, dword [edi + 0x154]
mov edx, dword [0x6a7b04]
mov dword [ecx + 0xb0], edx
mov eax, dword [edi + 0x154]
mov ecx, dword [0x6a7808]
mov dword [eax + 0xb4], ecx
mov edx, dword [edi + 0x154]
mov eax, dword [0x6a79e0]
mov dword [edx + 0xb8], eax
mov ecx, dword [edi + 0x154]
mov edx, dword [ecx]
mov eax, dword [0x6a75c8]
mov edx, dword [edx + 0x11c]
push eax
call edx
mov esi, dword [edi + 0x154]
mov eax, dword [esi + 0x60]
add esi, 0x5c
cmp eax, ebx
je 0x48a112
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 4
jne 0x48a117
call fcn.0061c63f
mov esi, dword [esi + 4]
mov edx, 0x99
push 0xeb
lea ecx, [edx - 0x37]
lea eax, [esp + 0x18]
call fcn.005643d0
mov edx, dword [eax]
mov dword [esi], edx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov edx, dword [eax + 8]
mov dword [esi + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
mov esi, dword [edi + 0x154]
mov eax, dword [esi + 0x60]
add esi, 0x5c
cmp eax, ebx
je 0x48a163
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 4
cmp ecx, 1
ja 0x48a168
call fcn.0061c63f
mov esi, dword [esi + 4]
mov edx, 0xc0
push 0xeb
lea ecx, [edx - 0x19]
lea eax, [esp + 0x18]
add esi, 0x10
call fcn.005643d0
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [0x6a7b04]
mov esi, dword [eax + 0x28]
mov eax, dword [eax + 0x24]
mov ecx, dword [edi + 0x154]
mov edx, dword [ecx]
mov edx, dword [edx + 0xa0]
push esi
push eax
push 0x200
push 0x16e
call edx
mov eax, dword [edi + 0x154]
mov dword [eax + 0x12c], 0xfffffff9
mov ecx, dword [edi + 0x154]
mov ebp, 1
mov dword [ecx + 0x130], ebp
mov edx, dword [edi + 0x154]
mov dword [edx + 0x13c], 2
mov eax, dword [edi + 0x154]
push 0x170
mov dword [eax + 0x140], ebp
call fcn.0061c130
add esp, 4
mov dword [esp + 0x8c], eax
cmp eax, ebx
mov byte [esp + 0x80], 0xc
je 0x48a230
lea ecx, [edi + 0x88]
push ecx
push eax
lea ecx, [ebp + 0x64]
call fcn.004486c0
jmp 0x48a232
xor eax, eax
mov byte [esp + 0x80], 8
mov dword [edi + 0x158], eax
mov byte [eax + 0x7c], 1
mov ecx, dword [edi + 0x158]
push ebx
add ecx, 0x8c
push 0x65540c
call fcn.00404330
mov ecx, dword [edi + 0x158]
mov edx, dword [0x6a79b8]
mov dword [ecx + 0xb0], edx
mov eax, dword [edi + 0x158]
mov ecx, dword [0x6a78b8]
mov dword [eax + 0xb4], ecx
mov eax, dword [0x6a78b8]
mov edx, dword [edi + 0x158]
mov dword [edx + 0xb8], eax
mov esi, dword [edi + 0x158]
mov eax, dword [esi + 0x60]
add esi, 0x5c
cmp eax, ebx
je 0x48a2aa
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 4
jne 0x48a2af
call fcn.0061c63f
mov esi, dword [esi + 4]
mov edx, 0xf0
push ebx
lea ecx, [edx + 0xf]
lea eax, [esp + 0x18]
call fcn.005643d0
mov edx, dword [eax]
mov dword [esi], edx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov edx, dword [eax + 8]
mov dword [esi + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
mov esi, dword [edi + 0x158]
mov eax, dword [esi + 0x60]
add esi, 0x5c
cmp eax, ebx
je 0x48a2f6
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 4
cmp ecx, ebp
ja 0x48a2fb
call fcn.0061c63f
mov esi, dword [esi + 4]
mov edx, 0xc8
push 0xff
mov ecx, edx
lea eax, [esp + 0x18]
add esi, 0x10
call fcn.005643d0
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [0x6a79b8]
mov esi, dword [eax + 0x28]
mov eax, dword [eax + 0x24]
mov ecx, dword [edi + 0x158]
mov edx, dword [ecx]
mov edx, dword [edx + 0xa0]
push esi
push eax
push 0x192
push 0xfc
call edx
push 0x170
call fcn.0061c130
add esp, 4
mov dword [esp + 0x8c], eax
cmp eax, ebx
mov byte [esp + 0x80], 0xd
je 0x48a387
lea ecx, [edi + 0x88]
push ecx
push eax
mov ecx, 0x66
call fcn.004486c0
jmp 0x48a389
xor eax, eax
mov byte [esp + 0x80], 8
mov dword [edi + 0x15c], eax
mov byte [eax + 0x7c], 1
mov ecx, dword [edi + 0x15c]
push ebx
add ecx, 0x8c
push 0x65540c
call fcn.00404330
mov eax, dword [edi + 0x15c]
mov ecx, dword [0x6a7644]
mov dword [eax + 0xb0], ecx
mov edx, dword [edi + 0x15c]
mov eax, dword [0x6a7730]
mov dword [edx + 0xb4], eax
mov ecx, dword [edi + 0x15c]
mov edx, dword [0x6a7730]
mov dword [ecx + 0xb8], edx
mov esi, dword [edi + 0x15c]
mov eax, dword [esi + 0x60]
add esi, 0x5c
cmp eax, ebx
je 0x48a401
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 4
jne 0x48a406
call fcn.0061c63f
mov esi, dword [esi + 4]
mov edx, 0xf0
push ebx
lea ecx, [edx + 0xf]
lea eax, [esp + 0x18]
call fcn.005643d0
mov edx, dword [eax]
mov dword [esi], edx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov edx, dword [eax + 8]
mov dword [esi + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
mov esi, dword [edi + 0x15c]
mov eax, dword [esi + 0x60]
add esi, 0x5c
cmp eax, ebx
je 0x48a44d
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 4
cmp ecx, ebp
ja 0x48a452
call fcn.0061c63f
mov esi, dword [esi + 4]
mov edx, 0xc8
push 0xff
mov ecx, edx
lea eax, [esp + 0x18]
add esi, 0x10
call fcn.005643d0
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [0x6a7644]
mov esi, dword [eax + 0x28]
mov eax, dword [eax + 0x24]
mov ecx, dword [edi + 0x15c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xa0]
push esi
push eax
push 0x192
push 0x254
call edx
push 0x8c
call fcn.0061c130
mov esi, eax
add esp, 4
mov dword [esp + 0x8c], esi
cmp esi, ebx
mov byte [esp + 0x80], 0xe
je 0x48a4e9
push esi
call fcn.005396f0
mov dword [esi], 0x66dc40
mov dword [esi + 0x88], edi
mov byte [esi + 0x55], bl
mov byte [esi + 0x40], 1
mov ecx, esi
jmp 0x48a4eb
xor ecx, ecx
push 0x258
mov byte [esp + 0x84], 8
push 0x370
mov dword [edi + 0x160], ecx
mov eax, dword [ecx]
mov edx, dword [eax + 0xa0]
push ebx
push ebx
call edx
mov ebp, dword [edi + 0x150]
cmp byte [ebp + 0x8c4], bl
jne 0x48a554
mov esi, dword [ebp + 0x878]
cmp esi, ebx
je 0x48a530
call fcn.005d5cb0
cmp al, bl
jne 0x48a539
cmp dword [ebp + 0x8c0], 1
je 0x48a554
mov ecx, dword [edi + 0x150]
mov eax, dword [ecx + 0x82c]
cmp eax, ebx
je 0x48a54e
cmp dword [eax + 0x2c], ebx
jg 0x48a59c
cmp dword [eax + 0x24], 0x2a
jge 0x48a59c
mov ecx, dword [edi + 0x158]
mov edx, dword [0x6a73c0]
mov dword [ecx + 0xbc], edx
mov ecx, dword [edi + 0x158]
mov eax, dword [ecx]
mov edx, dword [eax + 0x94]
push 1
call edx
mov eax, dword [edi + 0x15c]
mov ecx, dword [0x6a7804]
mov dword [eax + 0xbc], ecx
mov ecx, dword [edi + 0x15c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x94]
push 1
call eax
mov ebp, dword [edi + 0x150]
mov byte [edi + 0x22c], bl
mov byte [edi + 0x22d], bl
mov byte [edi + 0x22e], bl
cmp byte [ebp + 0x8c4], bl
je 0x48a5c0
mov al, 1
jmp 0x48a5e5
mov esi, dword [ebp + 0x878]
cmp esi, ebx
je 0x48a5db
call fcn.005d5cb0
cmp al, bl
je 0x48a5db
mov byte [edi + 0x22f], bl
jmp 0x48a5eb
cmp dword [ebp + 0x8c0], 1
sete al
mov byte [edi + 0x22f], al
mov ecx, dword [esp + 0x78]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x74
ret 8