Function at 0x458a00
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x510a36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push ebx
push esi
push edi
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push ecx
mov dword [esp + 0x18], esp
mov edi, esp
push ecx
mov esi, ecx
mov dword [esp + 0x1c], esp
mov dword [eax], 0x40400000
mov eax, dword [esi + 0x308]
mov ebx, esp
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.Wave__d
call fcn.00402110
mov ecx, dword [0x55cd0c]
push ebx
push ecx
call fcn.004a7680
add esp, 0x10
mov ecx, edi
call fcn.00456810
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push ecx
xor edi, edi
mov dword [eax], edi
mov eax, esp
mov ecx, esi
mov dword [esp + 0x20], esp
mov dword [eax], 1
call fcn.00456ba0
push ecx
mov dword [esp + 0x14], esp
mov eax, esp
push ecx
mov dword [esp + 0x18], esp
mov ebx, esp
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Chicken_Harmonics
mov dword [eax], 0x40400000
call fcn.00402110
mov ecx, ebx
call fcn.00456810
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push ecx
mov dword [eax], edi
mov eax, esp
mov ecx, esi
mov dword [esp + 0x20], esp
mov dword [eax], 2
call fcn.00456ba0
push ecx
mov eax, esp
mov byte [eax], 1
mov dword [esp + 0x14], esp
push ecx
mov eax, esp
mov dword [eax], 0x42c80000
mov edx, dword [0x55cd0c]
mov eax, dword [edx + 0x868]
mov eax, dword [eax + 0x3c]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], esp
fild dword [esp + 0x2c]
mov dword [esp + 0x30], edi
fmul qword [0x5234b0]
sub esp, 0xc
fstp dword [esp + 0x40]
mov edx, dword [esp + 0x40]
mov eax, esp
mov ecx, edi
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x24], esp
call fcn.004533a0
push 0x350
call fcn.004fd765
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov dword [esp + 0xcc], edi
je 0x458b66
mov ecx, eax
call fcn.0046e930
mov esi, eax
mov dword [esp + 0x20], esi
jmp 0x458b6c
mov dword [esp + 0x20], edi
mov esi, edi
mov edx, dword [0x55b9cc]
mov ecx, dword [edx + 0xcb0]
push edi
push esi
mov dword [esp + 0xd4], 0xffffffff
call fcn.00486190
push ecx
mov eax, esp
mov ecx, esi
mov dword [esp + 0x14], esp
mov dword [eax], 1
call fcn.0046ea30
mov ecx, esi
call fcn.004ab460
mov eax, dword [ebp + 8]
cmp eax, edi
jle 0x459219
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], eax
jmp 0x458c50
mov esi, dword [esp + 0x20]
xor edi, edi
lea esp, [esp]
push 0x348
call fcn.004fd765
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov dword [esp + 0xcc], 1
je 0x458c7f
mov ecx, eax
call fcn.0044c800
mov ebx, eax
mov dword [esp + 0x38], ebx
jmp 0x458c85
mov dword [esp + 0x38], edi
mov ebx, edi
mov eax, dword [0x55b9cc]
mov ecx, dword [eax + 0xcb0]
push edi
push ebx
mov dword [esp + 0xd4], 0xffffffff
call fcn.00486190
mov ecx, ebx
call fcn.0044c910
mov ecx, ebx
call fcn.004ab460
push ecx
mov eax, esp
mov ecx, esi
mov dword [esp + 0x14], esp
mov dword [eax], ebx
call fcn.0046ed30
mov dword [esp + 0x34], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x3c], edi
jmp 0x458cd4
mov ebx, dword [esp + 0x38]
xor edi, edi
mov esi, dword [esp + 0x34]
and esi, 0x80000001
jns 0x458ce5
dec esi
or esi, 0xfffffffe
inc esi
neg esi
sbb esi, esi
and esi, 0xfffffffe
inc esi
push 0x368
mov dword [esp + 0x14], esi
call fcn.004fd765
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, edi
mov dword [esp + 0xcc], 2
je 0x458d20
mov ecx, eax
call fcn.0046e3d0
mov edi, eax
mov dword [esp + 0x18], edi
jmp 0x458d24
mov dword [esp + 0x18], edi
mov ecx, dword [0x55b9cc]
mov ecx, dword [ecx + 0xcb0]
push 0
push edi
mov dword [esp + 0xd4], 0xffffffff
call fcn.00486190
fild dword [esp + 0x3c]
sub esp, 8
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], 0
mov ecx, 0x3fd00000
mov dword [eax + 4], ecx
sub esp, 8
mov eax, esp
mov dword [esp + 0x24], esp
mov dword [eax + 4], ecx
sub esp, 8
mov dword [eax], 0
mov eax, esp
mov ecx, edi
fstp qword [eax]
mov dword [esp + 0x2c], esp
call fcn.0046e4d0
mov ecx, edi
call fcn.004ab460
push ecx
mov eax, esp
mov ecx, ebx
mov dword [esp + 0x18], esp
mov dword [eax], edi
call fcn.0044cca0
fild dword [esp + 0x1c]
imul esi, esi, 0x37
fstp qword [esp + 0x48]
mov dword [esp + 0x14], esi
mov ebx, 0xc
fild dword [esp + 0x14]
fst dword [esp + 0x14]
fstp dword [esp + 0xb4]
fild dword [esp + 0x10]
fstp qword [esp + 0x40]
fild dword [esp + 0x1c]
fstp dword [esp + 0x2c]
lea esp, [esp]
push 0x7a0
call fcn.004fd765
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0xcc], 3
je 0x458dfb
mov ecx, eax
call fcn.004192b0
mov edi, eax
jmp 0x458dfd
xor edi, edi
mov edx, dword [0x55b9cc]
mov ecx, dword [edx + 0xcb0]
push 0
push edi
mov dword [esp + 0xd4], 0xffffffff
call fcn.00486190
mov ecx, edi
call fcn.00418b10
mov ecx, edi
call fcn.004ab460
push ecx
mov eax, esp
mov ecx, edi
mov dword [esp + 0x14], esp
mov byte [eax], 1
call fcn.00418cc0
push ecx
mov eax, esp
mov byte [eax], 1
mov ecx, dword [edi + 0x290]
mov dword [esp + 0x14], esp
call fcn.0047f4b0
push ecx
mov ecx, dword [esp + 0x1c]
mov eax, esp
mov dword [esp + 0x14], esp
mov dword [eax], edi
call fcn.0046e8c0
push 0x1c0
call fcn.004fd765
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0xcc], 4
je 0x458e8d
mov ecx, eax
call fcn.0047dae0
mov esi, eax
jmp 0x458e8f
xor esi, esi
mov eax, dword [0x55b9cc]
mov ecx, dword [eax + 0xcb0]
push 0
push esi
mov dword [esp + 0xd4], 0xffffffff
call fcn.00486190
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push ecx
mov byte [eax], 1
mov eax, esp
mov ecx, esi
mov dword [esp + 0x18], esp
mov dword [eax], 0x3e4ccccd
call fcn.0047d9b0
mov ecx, esi
call fcn.004ab460
mov ecx, dword [esp + 0x14]
mov edx, ecx
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov eax, dword [0x55cd0c]
mov ecx, dword [eax + 0x868]
mov eax, dword [ecx + 0x38]
cdq
sub eax, edx
mov edx, dword [esp + 0x38]
sar eax, 1
mov dword [esp + 0x1c], esp
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
sub esp, 0xc
mov eax, esp
mov dword [esp + 0xac], edx
fmul qword [esp + 0x58]
mov dword [esp + 0x28], esp
fmul qword [0x52b5d8]
fstp dword [esp + 0xa8]
mov ecx, dword [esp + 0xa8]
mov dword [eax], ecx
mov ecx, dword [esp + 0xb0]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esi
call fcn.0047dc40
mov edx, dword [esp + 0x14]
mov ecx, edx
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x88]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov edx, dword [0x55cd0c]
mov ecx, dword [edx + 0x868]
mov eax, dword [ecx + 0x3c]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x1c], esp
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
mov eax, dword [ecx + 0x38]
cdq
sub eax, edx
fmul qword [0x529928]
sar eax, 1
mov dword [esp + 0x1c], eax
fsubr qword [esp + 0x54]
fild dword [esp + 0x1c]
fmul qword [esp + 0x4c]
fmul qword [0x5234b0]
sub esp, 0xc
fstp dword [esp + 0xc0]
mov ecx, dword [esp + 0xc0]
mov eax, esp
fstp dword [esp + 0xc4]
mov edx, dword [esp + 0xc4]
mov dword [eax], ecx
mov ecx, dword [esp + 0xc8]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [esp + 0x28], esp
call fcn.0047dc40
mov edx, dword [esp + 0x14]
mov ecx, edx
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov edx, dword [0x55cd0c]
mov ecx, dword [edx + 0x868]
mov eax, dword [ecx + 0x3c]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x1c], esp
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x38]
fild dword [esp + 0x1c]
cdq
sub eax, edx
fmul qword [0x51fc68]
sar eax, 1
mov dword [esp + 0x1c], eax
sub esp, 0xc
fadd qword [esp + 0x60]
mov eax, esp
fild dword [esp + 0x28]
mov dword [esp + 0x28], esp
fmul qword [esp + 0x58]
fmul qword [0x523308]
fstp dword [esp + 0x84]
mov ecx, dword [esp + 0x84]
mov dword [eax], ecx
mov ecx, dword [esp + 0x8c]
fstp dword [esp + 0x88]
mov edx, dword [esp + 0x88]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esi
call fcn.0047dc40
mov edx, dword [esp + 0x14]
mov ecx, edx
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x94]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov edx, dword [0x55cd0c]
mov ecx, dword [edx + 0x868]
mov eax, dword [ecx + 0x3c]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x1c], esp
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
mov eax, dword [ecx + 0x38]
cdq
sub eax, edx
fmul qword [0x529928]
sar eax, 1
mov dword [esp + 0x1c], eax
fsubr qword [esp + 0x54]
fild dword [esp + 0x1c]
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x28], esp
fmul qword [esp + 0x58]
fmul qword [0x51f670]
fstp dword [esp + 0xb4]
mov ecx, dword [esp + 0xb4]
mov dword [eax], ecx
mov ecx, dword [esp + 0xbc]
fstp dword [esp + 0xb8]
mov edx, dword [esp + 0xb8]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esi
call fcn.0047dc40
mov edx, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb8]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0xc8]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov eax, dword [0x55cd0c]
mov ecx, dword [eax + 0x868]
mov eax, dword [ecx + 0x38]
mov ecx, dword [esp + 0x38]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x1c], esp
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x28], esp
fmul qword [esp + 0x58]
fmul qword [0x527a98]
fstp dword [esp + 0x40]
mov edx, dword [esp + 0x40]
mov dword [eax], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 4], ecx
mov ecx, esi
mov dword [eax + 8], edx
call fcn.0047dc40
push ecx
mov eax, esp
mov dword [eax], esi
mov ecx, dword [edi + 0x290]
mov dword [esp + 0x14], esp
call fcn.004ab980
dec ebx
jne 0x458dd0
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
add eax, 3
inc edi
add edx, 0x64
cmp eax, 0xc
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], edx
jl 0x458cce
dec dword [esp + 0x24]
jne 0x458c46
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0xc4]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4