Function at 0x443320
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x498337
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x5c], ecx
xor ebp, ebp
lea ecx, [esp + 0x30]
push ebp
mov dword [esp + 0x114], ebp
call fcn.00431a20
push ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0x114], 1
call fcn.00431a20
push ebp
lea ecx, [esp + 0xfc]
mov byte [esp + 0x114], 2
call fcn.00431a20
lea ecx, [esp + 0x60]
mov byte [esp + 0x110], 3
call fcn.0042c2e0
mov eax, dword [0x4be818]
mov dword [esp + 0x10], eax
push ebp
lea ecx, [esp + 0x11c]
mov byte [esp + 0x114], 5
call fcn.00484863
mov cl, byte [esp + 0x27]
mov esi, eax
mov byte [esp + 0x40], cl
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x44]
push ebx
call fcn.0041d200
test al, al
je 0x4433fe
mov edi, dword [esp + 0x44]
mov ecx, ebx
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x44]
call fcn.0041d1e0
lea eax, [esp + 0x30]
push 1
lea ecx, [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x11c], 6
call fcn.0042c370
and eax, 0xff
mov byte [esp + 0x110], 5
mov esi, eax
mov eax, dword [esp + 0x44]
cmp eax, ebp
je 0x44344f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x443446
cmp al, 0xff
je 0x443446
dec al
mov byte [ecx], al
jmp 0x44344f
push ecx
call fcn.004849c1
add esp, 4
or edi, 0xffffffff
lea ecx, [esp + 0x118]
push edi
call fcn.004848b2
cmp esi, ebp
jne 0x44355c
lea ecx, [esp + 0x10]
mov byte [esp + 0x110], 4
call fcn.00484433
push 1
lea ecx, [esp + 0xe8]
mov byte [esp + 0x114], 9
call fcn.0041cfc0
push 1
lea ecx, [esp + 0xc4]
mov byte [esp + 0x114], 8
call fcn.0041cfc0
mov eax, dword [esp + 0xbc]
mov byte [esp + 0x110], 7
cmp eax, ebp
je 0x443508
mov eax, dword [esp + 0x9c]
push ebp
mov ecx, eax
add eax, 0x20
mov dword [esp + 0xa0], eax
call fcn.0041d570
mov eax, dword [esp + 0xbc]
dec eax
mov dword [esp + 0xbc], eax
je 0x4434f3
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x98]
cmp edx, eax
jne 0x4434ff
lea ecx, [esp + 0x90]
call fcn.0041d320
cmp dword [esp + 0xbc], ebp
jne 0x4434b7
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x110], 3
cmp eax, ebp
je 0x443634
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x8c]
add ecx, 4
dec eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x8c], eax
je 0x443545
mov eax, ecx
mov ecx, dword [esp + 0x68]
cmp eax, ecx
jne 0x44354e
lea ecx, [esp + 0x60]
call fcn.0041d320
cmp dword [esp + 0x8c], ebp
jne 0x44351f
jmp 0x443634
lea ecx, [esp + 0x30]
call fcn.004321c0
cmp eax, 6
je 0x443684
lea ecx, [esp + 0x10]
mov byte [esp + 0x110], 4
call fcn.00484433
push 1
lea ecx, [esp + 0xe8]
mov byte [esp + 0x114], 0xc
call fcn.0041cfc0
push 1
lea ecx, [esp + 0xc4]
mov byte [esp + 0x114], 0xb
call fcn.0041cfc0
mov eax, dword [esp + 0xbc]
mov byte [esp + 0x110], 0xa
cmp eax, ebp
je 0x44360f
mov eax, dword [esp + 0x9c]
push ebp
mov ecx, eax
add eax, 0x20
mov dword [esp + 0xa0], eax
call fcn.0041d570
mov eax, dword [esp + 0xbc]
dec eax
mov dword [esp + 0xbc], eax
je 0x4435fa
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x98]
cmp ecx, eax
jne 0x443606
lea ecx, [esp + 0x90]
call fcn.0041d320
cmp dword [esp + 0xbc], ebp
jne 0x4435be
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x110], 3
cmp eax, ebp
je 0x443634
lea ecx, [esp + 0x60]
call fcn.0041d010
cmp dword [esp + 0x8c], ebp
jne 0x443622
lea ecx, [esp + 0xf8]
mov byte [esp + 0x110], 2
call fcn.00431f40
lea ecx, [esp + 0x14]
mov byte [esp + 0x110], 1
call fcn.00431f40
lea ecx, [esp + 0x30]
mov byte [esp + 0x110], 0
call fcn.00431f40
lea ecx, [esp + 0x118]
mov dword [esp + 0x110], edi
call fcn.00484433
xor eax, eax
jmp 0x443a40
xor esi, esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], esi
call fcn.00432cb0
test eax, eax
jbe 0x4438df
push esi
lea ecx, [esp + 0x34]
call fcn.00432d60
push eax
lea ecx, [esp + 0x18]
call fcn.004320c0
push 0x4ba764
lea ecx, [esp + 0x18]
call fcn.00432ed0
push eax
lea ecx, [esp + 0xfc]
call fcn.004320c0
lea edx, [esp + 0xf8]
push edx
call fcn.0040ab30
mov ecx, dword [esp + 0x60]
add esp, 4
push eax
call fcn.00441e20
mov esi, eax
cmp esi, ebp
je 0x4438c2
push str.byproductprice
lea ecx, [esp + 0x18]
mov dword [esi + 4], 1
call fcn.00432ed0
push eax
call fcn.0040ab30
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esi + 0x3c], eax
push str.consum
call fcn.00432ed0
push eax
call fcn.0040ab30
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esi + 0x24], eax
push str.harvestbExp
call fcn.00432ed0
push eax
call fcn.0040ab30
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esi + 0x28], eax
push str.harvestpExp
call fcn.00432ed0
push eax
call fcn.0040ab30
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esi + 0x2c], eax
push str.cLevel
call fcn.00432ed0
push eax
call fcn.0040ab30
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esi + 0x20], eax
push str.output
call fcn.00432ed0
push eax
call fcn.0040ab30
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esi + 0x30], eax
push str.price
call fcn.00432ed0
push eax
call fcn.0040ab30
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esi + 0x34], eax
push str.productprice
call fcn.00432ed0
push eax
call fcn.0040ab30
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esi + 0x38], eax
push str.growing
call fcn.00432ed0
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0040ac10
add esp, 8
push 0x4ba5b0
lea ecx, [esp + 0x5c]
push eax
push ecx
mov byte [esp + 0x11c], 0xd
call fcn.004846c8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x114], 0xe
call fcn.0048456c
lea ecx, [esp + 0x58]
mov byte [esp + 0x110], 0xd
call fcn.00484433
mov byte [esp + 0x110], 5
lea ecx, [esp + 0x50]
call fcn.00484433
xor ebx, ebx
lea ecx, [esp + 0x10]
push ebx
push 0x4b8664
call fcn.0048242b
mov edi, eax
test edi, edi
jl 0x44389f
lea edx, [esi + 0x64]
mov dword [esp + 0x2c], edx
cmp ebx, 6
jae 0x44389f
mov eax, edi
lea ecx, [esp + 0x54]
sub eax, ebp
push eax
push ebp
push ecx
lea ecx, [esp + 0x1c]
call fcn.00482246
mov eax, dword [eax]
push eax
call fcn.0046f7e4
mov ebp, dword [esp + 0x30]
add esp, 4
lea ecx, [esp + 0x54]
mov dword [ebp], eax
call fcn.00484433
add ebp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], ebp
lea ebp, [edi + 1]
push ebp
push 0x4b8664
inc ebx
call fcn.0048242b
mov edi, eax
test edi, edi
jge 0x44384b
push str.cycle
lea ecx, [esp + 0x18]
call fcn.00432ed0
push eax
call fcn.0040ab30
add esp, 4
test eax, eax
je 0x4438c0
sub eax, dword [esi + 0x70]
mov dword [esi + 0x74], eax
xor ebp, ebp
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x30]
inc esi
mov dword [esp + 0x28], esi
call fcn.00432cb0
cmp esi, eax
jb 0x44369b
or edi, 0xffffffff
lea ecx, [esp + 0x10]
mov byte [esp + 0x110], 4
call fcn.00484433
push 1
lea ecx, [esp + 0xe8]
mov byte [esp + 0x114], 0x11
call fcn.0041cfc0
mov eax, dword [esp + 0xc4]
cmp eax, ebp
je 0x44392e
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x443925
cmp al, 0xff
je 0x443925
dec al
mov byte [ecx], al
jmp 0x44392e
push ecx
call fcn.004849c1
add esp, 4
mov eax, dword [esp + 0xbc]
mov dword [esp + 0xc4], ebp
cmp eax, ebp
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xcc], ebp
mov byte [esp + 0x110], 0xf
je 0x4439a7
mov eax, dword [esp + 0x9c]
push ebp
mov ecx, eax
add eax, 0x20
mov dword [esp + 0xa0], eax
call fcn.0041d570
mov eax, dword [esp + 0xbc]
dec eax
mov dword [esp + 0xbc], eax
je 0x443992
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x98]
cmp edx, eax
jne 0x44399e
lea ecx, [esp + 0x90]
call fcn.0041d320
cmp dword [esp + 0xbc], ebp
jne 0x443956
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x110], 3
cmp eax, ebp
je 0x4439f2
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x8c]
add ecx, 4
dec eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x8c], eax
je 0x4439e0
mov eax, ecx
mov ecx, dword [esp + 0x68]
cmp eax, ecx
jne 0x4439e9
lea ecx, [esp + 0x60]
call fcn.0041d320
cmp dword [esp + 0x8c], ebp
jne 0x4439ba
lea ecx, [esp + 0xf8]
mov byte [esp + 0x110], 2
call fcn.00431f40
lea ecx, [esp + 0x14]
mov byte [esp + 0x110], 1
call fcn.00431f40
lea ecx, [esp + 0x30]
mov byte [esp + 0x110], 0
call fcn.00431f40
lea ecx, [esp + 0x118]
mov dword [esp + 0x110], edi
call fcn.00484433
mov eax, 1
mov ecx, dword [esp + 0x108]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x104
ret 4