Function at 0x40f570
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x599cc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi + 4], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi], 0x5baef8
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x44], 0xffffffff
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x48], 0x2710
mov dword [esp + 0x10], esi
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], 0x5bb9cc
mov dword [esi + 0x54], 0xf
mov eax, dword [0x614cb0]
mov dword [esp + 0x38], ebx
mov dword [esi + 0x60], eax
mov ecx, dword [0x614cb0]
mov dword [esi + 0x64], ecx
mov byte [esi + 0x68], bl
mov byte [esi + 0x6f], bl
mov byte [esi + 0x7a], bl
mov byte [esi + 0x81], bl
mov eax, 0x64
mov dword [esi + 0x94], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], eax
lea edi, [esi + 0x9c]
mov dword [edi + 8], ebx
mov dword [edi], ebx
mov dword [edi + 4], eax
lea ebp, [esi + 0xac]
mov dword [ebp + 8], ebx
mov dword [ebp], ebx
mov dword [ebp + 4], eax
mov byte [esi + 0x100], bl
mov byte [esi + 0x107], bl
mov byte [esi + 0x112], bl
mov byte [esi + 0x119], bl
mov dword [esi + 0x12c], ebx
mov dword [esi + 0x124], ebx
mov dword [esi + 0x128], eax
mov edx, dword [0x614cb0]
mov dword [esi + 0x130], edx
mov eax, dword [0x614cb0]
mov dword [esi + 0x148], eax
mov ecx, dword [0x614cb0]
mov dword [esi + 0x14c], ecx
mov dword [esi + fcn.00503590], 0x5bb190
mov dword [esi + 0x1d4], ebx
mov dword [esi + 0x1d0], ebx
mov dword [esi + 0x1d8], ebx
lea ecx, [esi + 0x1e4]
mov byte [esp + 0x38], 0xe
call fcn.004f0d50
lea ecx, [esi + 0x220]
call fcn.004f0d50
mov dword [esi + fcn.00503590], 0x5bb190
mov dword [esi + 0x240], ebx
mov dword [esi + 0x23c], ebx
mov dword [esi + 0x244], ebx
mov dword [esi], 0x5bb994
mov dword [esi + 0x50], 0x5bb988
mov dword [esi + 0x58], 0x3e8
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x3c], ebx
mov eax, 0x40c58880
mov dword [esi + 0x1a0], ebx
mov dword [esi + 0x1a4], eax
mov dword [esi + 0x198], ebx
mov dword [esi + 0x19c], eax
mov byte [esi + 0x1ac], bl
mov byte [esp + 0x1c], bl
mov byte [esp + 0x23], bl
push 7
lea edx, [esp + 0x20]
push str.NOCALL
push edx
mov byte [esp + 0x44], 0x10
call fcn.00557550
lea eax, [esp + 0x28]
push 7
push eax
lea eax, [esi + 0x68]
push eax
mov byte [esp + 0x3b], bl
call fcn.00557550
mov cl, byte [esp + 0x3b]
lea edx, [esp + 0x34]
push 7
lea eax, [esi + 0x7a]
push edx
push eax
mov byte [esi + 0x6f], cl
call fcn.00557550
mov al, byte [esp + 0x47]
add esp, 0x24
lea ecx, [esi + 0x8c]
mov byte [esi + 0x81], al
push 7
call fcn.0040ae50
push 0xa
mov ecx, edi
mov dword [esi + 0x98], 1
call fcn.0040ae50
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.0040aee0
mov edi, 1
push 7
mov ecx, ebp
mov dword [esi + 0xa8], edi
call fcn.0040ae50
lea edx, [esp + 0x1c]
mov ecx, ebp
push edx
call fcn.0040aee0
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc0], edi
mov dword [esi + 0xc4], 3
mov ecx, 0x12c
mov dword [esi + 0xc8], 0x64
mov dword [esi + 0xcc], ecx
mov dword [esi + 0xd0], ebx
mov eax, 0xa
mov dword [esi + 0xd4], 0x3f
mov dword [esi + 0xd8], eax
mov dword [esi + 0xdc], ebx
mov edi, 0xf
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], edi
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], 0x3c
mov dword [esi + 0xf0], ecx
mov dword [esi + 0xf8], ebx
lea eax, [esp + 0x1c]
push 7
lea ebp, [esi + 0x100]
push eax
push ebp
mov dword [esi + 0xf4], ebx
call fcn.00557550
mov cl, byte [esp + 0x2f]
add esp, 0xc
mov byte [ebp + 7], cl
lea ecx, [esi + 0x112]
push 0x600a48
call fcn.0040acb0
push 7
lea ecx, [esi + 0x124]
call fcn.0040ae50
push str.Beacon
lea ecx, [esi + 0x130]
call fcn.00575c71
mov dword [esi + 0x134], 0x3c
mov dword [esi + 0x138], ebx
mov dword [esi + 0x13c], edi
mov dword [esi + 0x140], ebx
push str.KISS_ON_nRESTART_n
lea ecx, [esi + 0x148]
mov dword [esi + 0x144], 0x2580
call fcn.00575c71
mov dword [esi + 0x150], ebx
mov dword [esi + 0x154], ebx
mov dword [esi + 0x158], 1
mov dword [esi + 0x15c], ebx
mov dword [esi + 0x164], ebx
mov dword [esi + 0x168], ebx
mov dword [esi + 0x16c], ebx
push 0xb4
mov dword [esi + 0x170], 0x960
mov dword [esi + 0x174], 0x7d0
mov dword [esi + 0x178], 0xe10
mov dword [esi + 0x17c], ebx
mov dword [esi + 0x180], ebx
mov dword [esi + 0x184], ebx
mov dword [esi + 0x188], 0x7fff
mov dword [esi + 0x190], ebx
mov dword [esi + 0x18c], edi
mov dword [esi + 0x1a8], ebx
call fcn.0057110b
mov ebp, eax
add esp, 4
mov dword [esp + 0x14], ebp
cmp ebp, ebx
je 0x40f9b9
mov dword [ebp], fcn.004b9ef0
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
lea edi, [ebp + 0x18]
mov byte [esp + 0x38], 0x12
mov ecx, edi
mov dword [esp + 0x18], edi
call fcn.0040ff90
push ebx
push ebx
push 0x3fb29372
push 0x5bb804a5
push ebx
push 0x14
mov ecx, edi
mov byte [esp + 0x50], 0x13
mov dword [edi], fcn.00503590
call fcn.00503590
lea ecx, [ebp + 0x34]
mov byte [esp + 0x38], 0x14
call fcn.0040ffb0
push 4
lea ecx, [ebp + 0x70]
mov byte [esp + 0x3c], 0x15
call fcn.00410020
mov ecx, ebp
mov byte [esp + 0x38], 0x16
mov dword [ebp], fcn.004105c0
call fcn.004105c0
jmp 0x40f9bb
xor ebp, ebp
push 0x78
mov byte [esp + 0x3c], 0x10
mov dword [esi + 0x1b0], ebp
call fcn.0057110b
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
cmp edi, ebx
je 0x40f9fa
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov ecx, edi
mov byte [esp + 0x38], 0x18
mov dword [edi], fcn.004b9ef0
call fcn.00416f20
mov dword [edi + 0x60], ebx
mov dword [edi + 0x64], ebx
jmp 0x40f9fc
xor edi, edi
push 0x1b8
mov byte [esp + 0x3c], 0x10
mov dword [esi + 0x1b4], edi
call fcn.0057110b
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x38], 0x19
je 0x40fa2a
mov ecx, eax
call fcn.00417160
jmp 0x40fa2c
xor eax, eax
push 0x1e4
mov byte [esp + 0x3c], 0x10
mov dword [esi + 0x1b8], eax
call fcn.0057110b
mov ebp, eax
add esp, 4
mov dword [esp + 0x18], ebp
cmp ebp, ebx
mov byte [esp + 0x38], 0x1a
je 0x40fac1
mov ecx, ebp
call fcn.00417160
mov dword [ebp + fcn.00503590], 0x5bb190
mov dword [ebp + 0x1c8], ebx
mov dword [ebp + 0x1c4], ebx
mov dword [ebp + 0x1cc], ebx
lea edi, [ebp + 0x1d8]
push str.PACKET_Setup
mov byte [esp + 0x3c], 0x1c
mov dword [esp + 0x18], edi
lea ecx, [edi + 4]
call fcn.00575b56
push str.9600HighPassFilter
lea ecx, [edi + 8]
mov byte [esp + 0x3c], 0x1d
call fcn.00575b56
push 0x40
mov ecx, edi
mov byte [esp + 0x3c], 0x1e
call fcn.00410070
mov dword [ebp], fcn.004b9ef0
mov dword [ebp + 0x1b8], ebx
jmp 0x40fac3
xor ebp, ebp
push 0x70
mov byte [esp + 0x3c], 0x10
mov dword [esi + 0x1bc], ebp
call fcn.0057110b
add esp, 4
cmp eax, ebx
je 0x40fb2a
mov ecx, 0x5bb190
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x50], ecx
mov dword [eax + 0x5c], ebx
mov dword [eax + 0x58], ebx
mov dword [eax + 0x60], ebx
mov ebp, 1
mov dword [eax + 0x38], ebx
mov dword [eax + 0x30], ebx
mov dword [eax], fcn.004b9ef0
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x34], ebx
mov dword [eax + 0x44], ebp
mov word [eax + 0x40], bx
mov dword [eax + 0x48], ebx
mov word [eax + 0x4e], bx
mov word [eax + 0x4c], bx
jmp 0x40fb31
xor eax, eax
mov ebp, 1
fld qword [0x5bb908]
fdiv qword [esi + 0x198]
sub esp, 8
mov edx, dword [esi + 0x1c8]
sub esp, 8
lea ecx, [esi + 0x1c8]
mov dword [esi + 0x1c0], eax
fstp qword [esp + 8]
fld qword [0x5bb900]
fdiv qword [esi + 0x198]
fstp qword [esp]
push 2
push 0x19
call dword [edx]
fld qword [0x5bb8f8]
fdiv qword [esi + 0x1a0]
mov eax, dword [esi + 0x234]
push ebx
push ebx
lea ecx, [esi + 0x234]
sub esp, 8
fstp qword [esp]
push ebp
push 0x10
call dword [eax]
push 0x48
mov dword [esi + 0x1f8], ebp
mov dword [esi + 0x250], ebx
call fcn.0057110b
add esp, 4
cmp eax, ebx
mov edi, 0x2b11
je 0x40fbe0
mov dword [eax + 8], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x14], ebx
mov dword [eax], fcn.00403380
mov dword [eax + 0x40], 0x12c
mov dword [eax + 4], edi
mov dword [eax + 0x44], ebx
mov dword [eax + 0x28], ebx
mov word [eax + 0x24], bx
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x38], ebx
jmp 0x40fbe2
xor eax, eax
push 0x30
mov dword [esi + 0x200], eax
call fcn.0057110b
add esp, 4
cmp eax, ebx
je 0x40fc14
mov dword [eax + 8], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x14], ebx
mov dword [eax], fcn.00403380
mov dword [eax + 4], edi
mov word [eax + 0x24], bx
mov dword [eax + 0x2c], ebx
jmp 0x40fc16
xor eax, eax
push 0x2c
mov dword [esi + 0x204], eax
call fcn.0057110b
add esp, 4
cmp eax, ebx
je 0x40fc48
mov dword [eax + 8], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x14], ebx
mov dword [eax], fcn.00403380
mov dword [eax + 4], edi
mov word [eax + 0x22], bx
mov dword [eax + 0x28], ebx
jmp 0x40fc4a
xor eax, eax
push 0x34
mov dword [esi + 0x208], eax
call fcn.0057110b
add esp, 4
cmp eax, ebx
je 0x40fc7f
mov dword [eax + 8], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x14], ebx
mov dword [eax], fcn.00403380
mov dword [eax + 4], edi
mov word [eax + 0x24], bx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x30], ebp
jmp 0x40fc81
xor eax, eax
push 0x3c
mov dword [esi + 0x20c], eax
call fcn.0057110b
add esp, 4
cmp eax, ebx
je 0x40fcbc
mov dword [eax + 8], ebx
mov dword [eax + 0x10], ebx
mov dword [eax], fcn.00403380
mov dword [eax + 4], edi
mov dword [eax + 0xc], ebx
mov word [eax + 0x28], bx
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], ebp
mov dword [eax + 0x14], ebx
mov dword [eax + 0x38], ebx
mov dword [eax + 0x18], ebx
jmp 0x40fcbe
xor eax, eax
push 0x48
mov dword [esi + 0x210], eax
call fcn.0057110b
add esp, 4
cmp eax, ebx
je 0x40fd05
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x2c], 0x5bb190
mov dword [eax + 0x38], ebx
mov dword [eax + 0x34], ebx
mov dword [eax + 0x3c], ebx
mov dword [eax], fcn.00403380
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], ebx
jmp 0x40fd07
xor eax, eax
push 0x27a4
mov dword [esi + 0x214], eax
call fcn.0057110b
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x38], 0x1f
je 0x40fd30
mov ecx, eax
call fcn.0042ef30
jmp 0x40fd32
xor eax, eax
push 0x24
mov byte [esp + 0x3c], 0x10
mov dword [esi + 0x218], eax
call fcn.0057110b
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
cmp edi, ebx
je 0x40fd80
push 0x2000
mov byte [esp + 0x3c], 0x21
mov dword [edi], 0x5bb858
call fcn.0057110b
add esp, 4
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x1c], ebx
jmp 0x40fd82
xor edi, edi
push 0x24
mov byte [esp + 0x3c], 0x10
mov dword [esi + 0x254], edi
call fcn.0057110b
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
cmp edi, ebx
je 0x40fdca
push 0x2000
mov byte [esp + 0x3c], 0x23
mov dword [edi], 0x5bb850
call fcn.0057110b
add esp, 4
mov dword [edi + 4], eax
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x10], ebx
jmp 0x40fdcc
xor edi, edi
push 8
mov byte [esp + 0x3c], 0x10
mov dword [esi + 0x258], edi
call fcn.0057110b
add esp, 4
cmp eax, ebx
je 0x40fdf0
mov dword [eax], 0x5bb84c
mov dword [eax + 4], ebx
jmp 0x40fdf2
xor eax, eax
push 0x10
mov dword [esi + 0x25c], eax
call fcn.0057110b
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
cmp edi, ebx
mov byte [esp + 0x38], 0x24
je 0x40fe28
push 0x2000
call fcn.0057110b
add esp, 4
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
jmp 0x40fe2a
xor edi, edi
push 0x190
mov byte [esp + 0x3c], 0x10
mov dword [esi + 0x260], edi
call fcn.0057110b
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
cmp edi, ebx
je 0x40fec3
mov dword [edi + 0x14], ebx
lea ecx, [edi + 0x18]
mov eax, 0x64
mov dword [ecx + 8], ebx
mov dword [ecx], ebx
mov dword [ecx + 4], eax
lea ebp, [edi + 0x24]
mov dword [ebp + 8], ebx
mov dword [ebp], ebx
mov dword [ebp + 4], eax
mov byte [edi + 0x30], bl
mov byte [edi + 0x37], bl
mov byte [edi + 0x42], bl
mov byte [edi + 0x49], bl
mov dword [edi + 0x5c], ebx
mov dword [edi + 0x54], ebx
mov dword [edi + 0x58], eax
push 0xa
mov byte [esp + 0x3c], 0x2c
mov dword [edi], 0x5bb848
mov dword [edi + 4], 1
call fcn.0040ae50
push 0xa
mov ecx, ebp
call fcn.0040ae50
push 7
lea ecx, [edi + 0x54]
call fcn.0040ae50
mov dword [edi + 0x168], ebx
mov dword [edi + 0x16c], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x170], ebx
jmp 0x40fec5
xor edi, edi
mov ecx, esi
mov byte [esp + 0x38], 0x10
mov dword [esi + 0x264], edi
mov dword [esi + 0xfc], ebx
call fcn.00413fc0
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret