Function at 0x449bc0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d8d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe4
mov eax, dword [0x58becc]
xor eax, dword [ebp + 4]
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov ecx, dword [edi + 0x5c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], edi
call fcn.004cc640
mov byte [ebp - 0x11], al
mov eax, dword [edi + 0x5c]
mov ecx, dword [eax + 0x33c]
mov edx, dword [ecx + 0x30]
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x24], edx
call fcn.00475a10
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], ebx
mov byte [ebp - 0x74], bl
mov eax, dword [0x58d160]
mov esi, dword [ebp + 8]
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.0049bca0
push 0x64
push 0xff
push 0xff
lea ecx, [ebp - 0x5c]
call fcn.00494f10
push eax
mov ecx, esi
call fcn.0049bcb0
cmp byte [ebp - 0x11], bl
je 0x449c8a
fild dword [edi + 0x4c]
push 1
lea ecx, [ebp - 0xf0]
push ecx
fmul dword [str.DwVgain_a_new_pet_]
mov ecx, dword [ebp - 0x24]
fadd dword [0x553618]
fsin
fmul dword [0x546650]
fstp dword [ebp - 0xdc]
call fcn.004b1060
mov eax, str.Adventure
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x449c92
sub eax, edx
push eax
push str.Adventure
lea ecx, [ebp - 0x78]
call fcn.0041af60
mov ecx, esi
call fcn.0049bc90
mov edx, dword [eax]
push 0x6e
lea ecx, [ebp - 0x78]
push ecx
mov ecx, eax
call dword [edx + 0x1c]
cdq
sub eax, edx
sar eax, 1
mov edx, 0x140
sub edx, eax
push edx
lea eax, [ebp - 0x78]
push eax
mov ecx, esi
call fcn.0049bd40
cmp byte [ebp - 0x11], bl
je 0x449d10
mov ecx, dword [ebp - 0x24]
call fcn.004a84e0
fild dword [edi + 0x4c]
push 1
lea ecx, [ebp - 0xf0]
fmul dword [str.DwVgain_a_new_pet_]
push ecx
mov ecx, dword [ebp - 0x24]
fadd dword [0x553614]
fsin
fmul dword [0x546650]
fstp dword [ebp - 0xdc]
call fcn.004b1060
mov eax, str.Time_Trial
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x449d18
sub eax, edx
push eax
push str.Time_Trial
lea ecx, [ebp - 0x78]
call fcn.0041af60
mov ecx, esi
call fcn.0049bc90
mov edx, dword [eax]
push 0x122
lea ecx, [ebp - 0x78]
push ecx
mov ecx, eax
call dword [edx + 0x1c]
cdq
sub eax, edx
sar eax, 1
mov edx, 0xad
sub edx, eax
push edx
lea eax, [ebp - 0x78]
push eax
mov ecx, esi
call fcn.0049bd40
mov eax, str.Challenge
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x449d66
sub eax, edi
push eax
push str.Challenge
lea ecx, [ebp - 0x78]
call fcn.0041af60
mov ecx, esi
call fcn.0049bc90
mov edx, dword [eax]
push 0x122
lea ecx, [ebp - 0x78]
push ecx
mov ecx, eax
call dword [edx + 0x1c]
cdq
sub eax, edx
sar eax, 1
mov edx, 0x1d2
sub edx, eax
push edx
lea eax, [ebp - 0x78]
push eax
mov ecx, esi
call fcn.0049bd40
cmp byte [ebp - 0x11], bl
je 0x449db9
mov ecx, dword [ebp - 0x24]
call fcn.004a84e0
mov ecx, dword [0x58d3f4]
push ecx
mov ecx, esi
call fcn.0049bca0
push 0xffffff
lea ecx, [ebp - 0x5c]
call fcn.00494ed0
lea edx, [ebp - 0x5c]
push edx
mov ecx, esi
call fcn.0049bcb0
xor eax, eax
mov dword [ebp - 0x20], 0x14
jmp 0x449df0
mov edi, 0x8c
inc eax
mov dword [ebp + 8], edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x2c], 5
lea ebx, [ebx]
cmp byte [ebp - 0x11], bl
je 0x449e4b
mov eax, dword [ebp - 0x18]
fild dword [eax + 0x4c]
push 1
lea ecx, [ebp - 0xf0]
push ecx
fmul dword [str.DwVgain_a_new_pet_]
mov ecx, dword [ebp - 0x24]
fild dword [ebp + 8]
fmul dword [0x5533c0]
faddp st(1)
fsin
fmul dword [0x546650]
fstp dword [ebp - 0xdc]
call fcn.004b1060
mov ecx, dword [ebp - 0x18]
push edi
push esi
call fcn.0043cac0
push 0xffff88
lea ecx, [ebp - 0x5c]
call fcn.00494ed0
lea edx, [ebp - 0x5c]
push edx
mov ecx, esi
call fcn.0049bcb0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
push eax
push ecx
lea edx, [ebp - 0x94]
push 0x5535dc
push edx
call fcn.00481330
add esp, 0x10
mov ecx, dword [ebp - 0x20]
push edi
push ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0049bd40
cmp dword [ebp - 0x7c], 0x10
mov byte [ebp - 4], bl
jb 0x449eb2
mov edx, dword [ebp - 0x90]
push edx
call fcn.00527b8e
add esp, 4
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
push eax
mov eax, dword [edx + 0x5c]
push ecx
mov ecx, dword [eax + 0x7a0]
mov dword [ebp - 0x7c], 0xf
mov dword [ebp - 0x80], ebx
mov byte [ebp - 0x90], bl
call fcn.0042acd0
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp eax, ebx
mov byte [ebp - 4], 2
jl 0x449f44
push eax
lea ecx, [ebp - 0xb0]
push ecx
call fcn.0042dd40
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.0041ad80
cmp dword [ebp - 0x98], 0x10
mov byte [ebp - 4], 2
jb 0x449f2c
mov edx, dword [ebp - 0xac]
push edx
call fcn.00527b8e
add esp, 4
mov dword [ebp - 0x98], 0xf
mov dword [ebp - 0x9c], ebx
mov byte [ebp - 0xac], bl
jmp 0x449f67
mov eax, 0x55360c
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x449f50
sub eax, edx
push eax
push 0x55360c
lea ecx, [ebp - 0x4c]
call fcn.0041af60
mov ecx, dword [ebp - 0x18]
push edi
push esi
call fcn.0043cac0
mov ecx, esi
call fcn.0049bc90
mov edx, dword [eax]
push edi
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, eax
call dword [edx + 0x1c]
mov ecx, dword [ebp - 0x20]
add ecx, 0x64
sub ecx, eax
push ecx
lea edx, [ebp - 0x4c]
push edx
mov ecx, esi
call fcn.0049bd40
mov al, byte [ebp - 0x11]
add edi, 0xf
cmp al, bl
mov dword [ebp + 8], edi
je 0x449fad
mov ecx, dword [ebp - 0x24]
call fcn.004a84e0
cmp dword [ebp - 0x34], 0x10
mov byte [ebp - 4], bl
jb 0x449fc2
mov eax, dword [ebp - 0x48]
push eax
call fcn.00527b8e
add esp, 4
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
inc ecx
dec eax
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
jne 0x449e10
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
add ecx, 0xa6
cmp ecx, 0x2ac
mov dword [ebp - 0x20], ecx
jl 0x449df0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x5c]
mov ecx, dword [edx + 0x7a0]
push 1
push 5
call fcn.0042acd0
cmp eax, ebx
mov dword [ebp - 0x2c], eax
jl 0x44a135
mov al, byte [ebp - 0x11]
add edi, 5
cmp al, bl
mov dword [ebp + 8], edi
je 0x44a061
mov eax, dword [ebp - 0x18]
fild dword [eax + 0x4c]
push 1
lea ecx, [ebp - 0xf0]
push ecx
fmul dword [str.DwVgain_a_new_pet_]
mov ecx, dword [ebp - 0x24]
fild dword [ebp + 8]
fmul dword [0x5533c0]
faddp st(1)
fsin
fmul dword [0x546650]
fstp dword [ebp - 0xdc]
call fcn.004b1060
mov ecx, dword [ebp - 0x18]
push edi
push esi
call fcn.0043cac0
push 0xffff88
lea ecx, [ebp - 0x5c]
call fcn.00494ed0
lea edx, [ebp - 0x5c]
push edx
mov ecx, esi
call fcn.0049bcb0
mov eax, str.Final_Boss
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x44a098
sub eax, ecx
push eax
push str.Final_Boss
lea ecx, [ebp - 0x4c]
call fcn.0041af60
push edi
push 0xdc
lea eax, [ebp - 0x4c]
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.0049bd40
cmp dword [ebp - 0x34], 0x10
mov byte [ebp - 4], bl
jb 0x44a0d9
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00527b8e
add esp, 4
mov ecx, dword [ebp - 0x18]
push edi
push esi
call fcn.0043cac0
mov edx, dword [ebp - 0x2c]
push edx
lea eax, [ebp - 0xcc]
push str._d_18_Pets_Saved
push eax
call fcn.00481330
add esp, 0xc
push edi
push 0x140
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.0049bd40
cmp dword [ebp - 0xb4], 0x10
mov byte [ebp - 4], bl
jb 0x44a128
mov ecx, dword [ebp - 0xc8]
push ecx
call fcn.00527b8e
add esp, 4
cmp byte [ebp - 0x11], bl
je 0x44a135
mov ecx, dword [ebp - 0x24]
call fcn.004a84e0
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x28]
neg eax
sbb eax, eax
and eax, 0x125
add eax, 0xad
mov edi, 0x13b
add eax, 0xffffffa6
mov dword [ebp + 8], edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], 4
cmp byte [ebp - 0x11], bl
je 0x44a1a0
mov edx, dword [ebp - 0x18]
fild dword [edx + 0x4c]
mov ecx, dword [ebp - 0x24]
push 1
lea eax, [ebp - 0xf0]
fmul dword [str.DwVgain_a_new_pet_]
push eax
fild dword [ebp + 8]
fmul dword [0x5533c0]
faddp st(1)
fsin
fmul dword [0x546650]
fstp dword [ebp - 0xdc]
call fcn.004b1060
mov ecx, dword [ebp - 0x18]
push edi
push esi
call fcn.0043cac0
push 0xffff88
lea ecx, [ebp - 0x5c]
call fcn.00494ed0
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, esi
call fcn.0049bcb0
mov edx, dword [ebp - 0x20]
push edx
lea eax, [ebp - 0xb0]
push str.Tank__d
push eax
call fcn.00481330
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
push edi
push ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.0049bd40
cmp dword [ebp - 0x98], 0x10
mov byte [ebp - 4], bl
jb 0x44a206
mov edx, dword [ebp - 0xac]
push edx
call fcn.00527b8e
add esp, 4
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x5c]
mov ecx, dword [edx + 0x7a0]
cmp eax, ebx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x98], 0xf
mov dword [ebp - 0x9c], ebx
mov byte [ebp - 0xac], bl
push eax
jne 0x44a23a
call fcn.0042ad00
jmp 0x44a23f
call fcn.0042ad30
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp eax, ebx
mov byte [ebp - 4], 7
jl 0x44a322
cmp dword [ebp - 0x28], ebx
push eax
jne 0x44a279
lea eax, [ebp - 0xcc]
push eax
call fcn.00480530
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 8
or ecx, 1
jmp 0x44a295
lea ecx, [ebp - 0x94]
push ecx
call fcn.0042dd40
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 4], 9
or ecx, 2
push 0xffffffffffffffff
push ebx
mov dword [ebp - 0x1c], ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.0041ad80
test byte [ebp - 0x1c], 2
je 0x44a2da
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x7c]
and ecx, 0xfffffffd
cmp eax, 0x10
mov dword [ebp - 0x1c], ecx
jb 0x44a2ca
mov edx, dword [ebp - 0x90]
push edx
call fcn.00527b8e
add esp, 4
mov dword [ebp - 0x7c], 0xf
mov dword [ebp - 0x80], ebx
mov byte [ebp - 0x90], bl
test byte [ebp - 0x1c], 1
mov dword [ebp - 4], 7
je 0x44a347
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xb4]
and ecx, 0xfffffffe
cmp eax, 0x10
mov dword [ebp - 0x1c], ecx
jb 0x44a30a
mov eax, dword [ebp - 0xc8]
push eax
call fcn.00527b8e
add esp, 4
mov dword [ebp - 0xb4], 0xf
mov dword [ebp - 0xb8], ebx
mov byte [ebp - 0xc8], bl
jmp 0x44a347
mov eax, 0x55360c
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x44a330
sub eax, edx
push eax
push 0x55360c
lea ecx, [ebp - 0x4c]
call fcn.0041af60
mov ecx, dword [ebp - 0x18]
push edi
push esi
call fcn.0043cac0
mov ecx, esi
call fcn.0049bc90
mov edx, dword [eax]
push edi
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, eax
call dword [edx + 0x1c]
mov ecx, dword [ebp - 0x2c]
add ecx, 0xaa
sub ecx, eax
push ecx
lea edx, [ebp - 0x4c]
push edx
mov ecx, esi
call fcn.0049bd40
mov al, byte [ebp - 0x11]
add edi, 0xf
cmp al, bl
mov dword [ebp + 8], edi
je 0x44a390
mov ecx, dword [ebp - 0x24]
call fcn.004a84e0
cmp dword [ebp - 0x34], 0x10
mov byte [ebp - 4], bl
jb 0x44a3a5
mov eax, dword [ebp - 0x48]
push eax
call fcn.00527b8e
add esp, 4
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
inc ecx
dec eax
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x30], eax
jne 0x44a165
mov eax, dword [ebp - 0x28]
inc eax
cmp eax, 2
mov dword [ebp - 0x28], eax
jl 0x44a138
cmp dword [ebp - 0x60], 0x10
pop edi
pop esi
pop ebx
jb 0x44a3eb
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.00527b8e
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
call fcn.00528d83
mov esp, ebp
pop ebp
ret 4