Function at 0x440790
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x528a26
push eax
mov eax, 0x109c
mov dword fs:[0], esp
call fcn.004f5a60
mov eax, dword [0x66f704]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x54], eax
xor esi, esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x10b4], esi
or eax, 0xffffffff
lea ecx, [esp + 0x30]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0x18]
lea edx, [esp + 0x20]
push eax
push ecx
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0x48]
push ecx
push edx
push esi
mov byte [esp + 0x10dc], 1
xor ebx, ebx
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
call fcn.0045c7d0
push esi
call fcn.004b42c0
mov ebp, dword [esp + 0x10e8]
add esp, 0x2c
lea ecx, [esp + 0x54]
push ebp
call fcn.0050e13f
push 1
lea eax, [esp + 0x50]
push 0x60cf14
lea ecx, [esp + 0x5c]
push eax
push ecx
call fcn.004b84c0
lea edx, [esp + 0x5c]
push edx
call fcn.004b89b0
add esp, 0x14
cmp eax, esi
mov dword [esp + 0x68], eax
je 0x44125c
push eax
call fcn.004b52e0
mov ebx, eax
add esp, 4
cmp ebx, esi
je 0x44125c
mov edi, dword [esp + 0x10c0]
push edi
call fcn.00401b90
add esp, 4
mov dword [esp + 0x64], eax
test eax, eax
je 0x440aa2
mov esi, dword [edi + 0x3c2a8]
test esi, esi
je 0x440aa2
mov eax, dword [esi + 0x1d0]
test eax, eax
je 0x440906
push eax
lea eax, [esp + 0xb0]
push str.CATALOG___s__r_n
push eax
call fcn.004f5dd2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x50]
push ecx
push edx
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0xe0]
push 0xffffffffffffffff
push ecx
push ebx
call fcn.004b6cd0
add esp, 0x40
test eax, eax
jle 0x44125c
mov eax, dword [esi + 0x19c]
test eax, eax
je 0x44096d
push eax
lea edx, [esp + 0xb0]
push str.PERFORMER___s__r_n
push edx
call fcn.004f5dd2
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x50]
push eax
push ecx
push edx
push 0xffffffffffffffff
lea eax, [esp + 0xe0]
push 0xffffffffffffffff
push eax
push ebx
call fcn.004b6cd0
add esp, 0x40
test eax, eax
jle 0x44125c
mov eax, dword [esi + 0x1a0]
test eax, eax
je 0x4409d4
push eax
lea ecx, [esp + 0xb0]
push str.SONGWRITER___s__r_n
push ecx
call fcn.004f5dd2
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x50]
push edx
push eax
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0xe0]
push 0xffffffffffffffff
push edx
push ebx
call fcn.004b6cd0
add esp, 0x40
test eax, eax
jle 0x44125c
mov eax, dword [esi + 0x1a4]
test eax, eax
je 0x440a3b
push eax
lea eax, [esp + 0xb0]
push str.COMPOSER___s__r_n
push eax
call fcn.004f5dd2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x50]
push ecx
push edx
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0xe0]
push 0xffffffffffffffff
push ecx
push ebx
call fcn.004b6cd0
add esp, 0x40
test eax, eax
jle 0x44125c
mov esi, dword [esi + 0x198]
test esi, esi
je 0x440aa2
push esi
lea edx, [esp + 0xb0]
push str.TITLE___s__r_n
push edx
call fcn.004f5dd2
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x50]
push eax
push ecx
push edx
push 0xffffffffffffffff
lea eax, [esp + 0xe0]
push 0xffffffffffffffff
push eax
push ebx
call fcn.004b6cd0
add esp, 0x40
test eax, eax
jle 0x44125c
push ebp
call fcn.004b6ee0
add esp, 4
test eax, eax
jne 0x440ab3
mov eax, ebp
jmp 0x440ab6
add eax, 2
mov ecx, dword [esp + 0x10c4]
push eax
test ecx, ecx
je 0x440ad1
lea ecx, [esp + 0xb0]
push str.FILE___s__WAVE_r_n
push ecx
jmp 0x440ade
lea edx, [esp + 0xb0]
push str.FILE___s__BINARY_r_n
push edx
call fcn.004f5dd2
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
add esp, 0xc
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
push 0xffffffffffffffff
lea eax, [esp + 0xd4]
push 0xffffffffffffffff
push eax
push ebx
call fcn.004b6cd0
add esp, 0x34
test eax, eax
jle 0x44125c
mov eax, dword [edi + 0xc]
xor esi, esi
test eax, eax
mov dword [esp + 0x50], esi
jle 0x44124b
lea ecx, [edi + 0x2c]
mov dword [esp + 0x44], 0x68c80c
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x10c4]
test eax, eax
je 0x440b68
mov edx, dword [esp + 0x44]
cmp dword [edx], 0
je 0x441222
push esi
push edi
call fcn.00401ed0
mov ebp, eax
mov eax, dword [edi + 0x3d2bc]
add esp, 8
cmp eax, 1
mov dword [esp + 0x60], ebp
jle 0x440bf4
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x58]
mov eax, dword [eax + 0x3c]
cmp eax, ecx
je 0x440bf4
mov dword [esp + 0x58], eax
inc eax
push eax
lea ecx, [esp + 0xb0]
push str.REM_SESSION__02d_r_n
push ecx
call fcn.004f5dd2
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x50]
push edx
push eax
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0xe0]
push 0xffffffffffffffff
push edx
push ebx
call fcn.004b6cd0
add esp, 0x40
test eax, eax
jle 0x441255
mov eax, dword [esp + 0x38]
mov al, byte [eax - 4]
cmp al, 1
mov byte [esp + 0x37], al
jne 0x440c64
lea ecx, [esp + 0x6c]
push str.AUDIO
push ecx
call fcn.004f59f2
mov eax, dword [esp + 0x10cc]
add esp, 8
test eax, eax
je 0x440c46
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x6c]
inc eax
push edx
mov dword [esp + 0x44], eax
push eax
lea eax, [esp + 0xb4]
push str.__TRACK__02d__s_r_n
push eax
call fcn.004f5dd2
add esp, 0x10
jmp 0x440cb9
lea ecx, [esp + 0x6c]
inc esi
push ecx
push esi
lea edx, [esp + 0xb4]
push str.__TRACK__02d__s_r_n
push edx
call fcn.004f5dd2
add esp, 0x10
jmp 0x440cb9
cmp al, 4
je 0x440c84
cmp al, 5
je 0x440c84
cmp al, 6
je 0x440c84
cmp al, 0x20
je 0x440c84
cmp al, 8
je 0x440c84
lea eax, [esp + 0x6c]
push str.MODE1
push eax
jmp 0x440c8e
lea ecx, [esp + 0x6c]
push str.MODE2
push ecx
call fcn.004f59f2
mov edx, dword [edi + 0x3d2d8]
add esp, 8
lea eax, [esp + 0x6c]
inc esi
push edx
push eax
push esi
lea ecx, [esp + 0xb8]
push str.__TRACK__02d__s__d_r_n
push ecx
call fcn.004f5dd2
add esp, 0x14
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0xd4]
push 0xffffffffffffffff
push edx
push ebx
call fcn.004b6cd0
add esp, 0x34
test eax, eax
jle 0x441255
cmp byte [esp + 0x37], 1
jne 0x440f25
mov eax, dword [esp + 0x64]
test eax, eax
je 0x440f25
test ebp, ebp
je 0x440f25
mov eax, dword [ebp + 0x198]
test eax, eax
je 0x440d89
push eax
lea eax, [esp + 0xb0]
push str.____TITLE___s__r_n
push eax
call fcn.004f5dd2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x50]
push ecx
push edx
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0xe0]
push 0xffffffffffffffff
push ecx
push ebx
call fcn.004b6cd0
add esp, 0x40
test eax, eax
jle 0x441255
mov eax, dword [ebp + 0x19c]
test eax, eax
je 0x440df0
push eax
lea edx, [esp + 0xb0]
push str.____PERFORMER___s__r_n
push edx
call fcn.004f5dd2
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x50]
push eax
push ecx
push edx
push 0xffffffffffffffff
lea eax, [esp + 0xe0]
push 0xffffffffffffffff
push eax
push ebx
call fcn.004b6cd0
add esp, 0x40
test eax, eax
jle 0x441255
mov eax, dword [ebp + 0x1d0]
test eax, eax
je 0x440e57
push eax
lea ecx, [esp + 0xb0]
push str.____ISRC___s__r_n
push ecx
call fcn.004f5dd2
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x50]
push edx
push eax
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0xe0]
push 0xffffffffffffffff
push edx
push ebx
call fcn.004b6cd0
add esp, 0x40
test eax, eax
jle 0x441255
mov eax, dword [ebp + 0x1a0]
test eax, eax
je 0x440ebe
push eax
lea eax, [esp + 0xb0]
push str.____SONGWRITER___s__r_n
push eax
call fcn.004f5dd2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x50]
push ecx
push edx
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0xe0]
push 0xffffffffffffffff
push ecx
push ebx
call fcn.004b6cd0
add esp, 0x40
test eax, eax
jle 0x441255
mov eax, dword [ebp + 0x1a4]
test eax, eax
je 0x440f25
push eax
lea edx, [esp + 0xb0]
push str.____COMPOSER___s__r_n
push edx
call fcn.004f5dd2
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x50]
push eax
push ecx
push edx
push 0xffffffffffffffff
lea eax, [esp + 0xe0]
push 0xffffffffffffffff
push eax
push ebx
call fcn.004b6cd0
add esp, 0x40
test eax, eax
jle 0x441255
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 4]
test eax, eax
jle 0x440ffc
mov edx, dword [esp + 0x10c4]
test edx, edx
je 0x440f45
mov esi, dword [esp + 0x3c]
jmp 0x440f49
mov esi, dword [ecx]
sub esi, eax
mov eax, 0x1b4e81b5
imul esi
sar edx, 3
mov ecx, edx
mov eax, 0x88888889
shr ecx, 0x1f
add edx, ecx
mov ecx, edx
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov edi, edx
mov ecx, 0x3c
cdq
idiv ecx
mov eax, esi
mov esi, 0x4b
mov ecx, edx
cdq
idiv esi
mov eax, dword [esp + 0x10c4]
test eax, eax
je 0x440f99
cmp dword [esp + 0x40], 1
je 0x440ff8
push edx
push ecx
push edi
lea edx, [esp + 0xb8]
push str.____INDEX_00__02d:_02d:_02d_r_n
push edx
call fcn.004f5dd2
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x58]
push eax
push ecx
push edx
push 0xffffffffffffffff
lea eax, [esp + 0xe8]
push 0xffffffffffffffff
push eax
push ebx
call fcn.004b6cd0
add esp, 0x48
test eax, eax
jle 0x441255
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x10c4]
test eax, eax
je 0x44101f
cmp dword [esp + 0x40], 1
je 0x441019
mov esi, dword [ecx + 4]
mov eax, dword [esp + 0x3c]
add esi, eax
jmp 0x441021
mov esi, dword [esp + 0x3c]
jmp 0x441021
mov esi, dword [ecx]
mov eax, 0x1b4e81b5
imul esi
sar edx, 3
mov ecx, edx
mov eax, 0x88888889
shr ecx, 0x1f
add edx, ecx
mov ecx, edx
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov edi, edx
mov ecx, 0x3c
cdq
idiv ecx
mov eax, esi
mov esi, 0x4b
mov ecx, edx
cdq
idiv esi
push edx
push ecx
push edi
lea edx, [esp + 0xb8]
push str.____INDEX_01__02d:_02d:_02d_r_n
push edx
call fcn.004f5dd2
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x58]
push eax
push ecx
push edx
push 0xffffffffffffffff
lea eax, [esp + 0xe8]
push 0xffffffffffffffff
push eax
push ebx
call fcn.004b6cd0
add esp, 0x48
test eax, eax
jle 0x441255
cmp byte [esp + 0x37], 1
jne 0x4411f1
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4411f1
test ebp, ebp
je 0x4411f1
cmp dword [ebp + 4], 1
jle 0x4411f1
mov ecx, dword [esp + 0x60]
mov ebp, 2
add ecx, 0x10
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x60]
cmp ebp, dword [edx + 4]
jg 0x4411f1
mov eax, dword [esp + 0x48]
mov esi, dword [eax]
test esi, esi
je 0x4411f1
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 0x14]
dec edx
cmp esi, edx
jg 0x4411f1
mov eax, dword [esp + 0x10c4]
test eax, eax
je 0x44113a
mov eax, ecx
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x3c]
add esi, ecx
jmp 0x441140
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
add esi, eax
mov eax, 0x1b4e81b5
imul esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x88888889
mov ecx, edx
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov edi, edx
mov ecx, 0x3c
cdq
idiv ecx
mov eax, esi
mov esi, 0x4b
mov ecx, edx
cdq
idiv esi
push edx
push ecx
push edi
push ebp
lea edx, [esp + 0xbc]
push str.____INDEX__02d__02d:_02d:_02d_r_n
push edx
call fcn.004f5dd2
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x5c]
push eax
push ecx
push edx
push 0xffffffffffffffff
lea eax, [esp + 0xec]
push 0xffffffffffffffff
push eax
push ebx
call fcn.004b6cd0
add esp, 0x4c
test eax, eax
jle 0x441255
mov ecx, dword [esp + 0x48]
inc ebp
add ecx, 4
cmp ebp, 0x64
mov dword [esp + 0x48], ecx
jl 0x4410f7
mov eax, dword [esp + 0x10c4]
test eax, eax
je 0x441217
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x3c]
add ecx, esi
add ecx, edx
add eax, ecx
mov dword [esp + 0x3c], eax
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x10c0]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
mov eax, dword [edi + 0xc]
inc esi
add edx, 4
add ecx, 0x9a0
cmp esi, eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x44], edx
mov dword [esp + 0x38], ecx
jl 0x440b50
mov dword [esp + 0x5c], 0
jmp 0x44126d
mov ebp, dword [esp + 0x10bc]
test ebp, ebp
je 0x44126d
test ebx, ebx
je 0x44126d
push ebp
call fcn.004b43e0
add esp, 4
mov edi, dword [esp + 0x68]
push edi
call fcn.004b6a50
push ebx
call fcn.004b6a60
mov esi, dword [esp + 0x64]
add esp, 8
test esi, esi
je 0x441293
test ebx, ebx
je 0x441293
push edi
call dword [0x671a24]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x10b4], 0
call fcn.0050dfa8
lea ecx, [esp + 0x54]
mov dword [esp + 0x10b4], 0xffffffff
call fcn.0050dfa8
mov ecx, dword [esp + 0x10ac]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10a8
ret