Function at 0x101b741d
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x459c2e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dl, byte [ebx + 0x30]
je 0x101b767d
sub dl, 1
jb 0x101b7609
jne 0x101b767d
mov eax, dword [ebx + 0x38]
sub eax, 1
jb 0x101b7461
je 0x101b7481
dec eax
je 0x101b74cc
jmp 0x101b74fc
lea eax, [ebx + 0x5c]
call fcn.10163b69
push eax
mov eax, dword [reloc.WINMM.dll_midiStreamProperty]
push eax
push 1
push 0
mov eax, dword [reloc.WINMM.dll_midiStreamProperty]
push eax
call fcn.10164ee5
jmp 0x101b74fc
lea eax, [ebx + 0x60]
call fcn.10163b69
push eax
mov eax, dword [reloc.WINMM.dll_midiStreamProperty]
push eax
push 1
push 0
mov eax, dword [reloc.WINMM.dll_midiStreamProperty]
push eax
call fcn.10164ee5
lea eax, [ebx + 0x5c]
call fcn.10163b69
push eax
mov eax, dword [reloc.WINMM.dll_midiStreamProperty]
push eax
push 1
push 0
mov eax, dword [reloc.WINMM.dll_midiStreamProperty]
push eax
call fcn.10164ee5
mov eax, dword [ebx + 0x5c]
push eax
mov eax, dword [ebx + 0x60]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
jmp 0x101b74fc
lea eax, [ebx + 0x64]
call fcn.10163b69
push eax
mov eax, dword [reloc.WINMM.dll_midiStreamProperty]
push eax
push 1
push 0
mov eax, dword [reloc.WINMM.dll_midiStreamProperty]
push eax
call fcn.10164ee5
lea eax, [ebx + 0x5c]
call fcn.10163b69
push eax
mov eax, dword [ebx + 0x64]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov byte [ebx + 0x30], 1
lea eax, [ebx + 0x68]
call fcn.10163b69
push eax
push 0x459c3c
push ebx
mov eax, dword [ebx]
call dword [eax + 0x28]
call fcn.10164f35
test al, al
je 0x101b753e
push 0
mov eax, dword [ebx + 0x68]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
mov eax, dword [ebx + 0x68]
push eax
push 0x8001
mov eax, dword [ebx + 0x34]
push eax
mov eax, dword [ebx + 0x68]
push eax
mov eax, dword [eax]
call dword [eax + 0x34]
lea eax, [ebp - 4]
call fcn.10163b69
push eax
push 0x45ff60
push ebx
mov eax, dword [ebx]
call dword [eax + 0x28]
call fcn.10164f35
test al, al
je 0x101b75c3
lea eax, [ebp - 0xc]
call fcn.10163b69
push eax
mov eax, dword [reloc.WINMM.dll_midiStreamProperty]
push eax
push ebx
mov eax, dword [ebx]
call dword [eax + 0x28]
cmp dword [ebp - 0xc], 0
je 0x101b758b
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
lea eax, [ebp - 0xc]
call fcn.10163b69
lea eax, [ebp - 8]
call fcn.10163b69
push eax
mov eax, dword [reloc.WINMM.dll_midiStreamProperty]
push eax
push ebx
mov eax, dword [ebx]
call dword [eax + 0x28]
cmp dword [ebp - 8], 0
je 0x101b75bb
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
lea eax, [ebp - 8]
call fcn.10163b69
lea eax, [ebp - 4]
call fcn.10163b69
mov dl, byte [ebx + 0x6c]
mov eax, ebx
call fcn.101b86ed
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.101b8dd5
mov eax, ebx
call fcn.101b8a61
cmp word [ebx + 0x82], 0
je 0x101b75f6
mov edx, ebx
mov eax, dword [ebx + 0x84]
call dword [ebx + 0x80]
mov ecx, 1
mov edx, 7
mov eax, ebx
call fcn.101b8c25
jmp 0x101b767d
xor ecx, ecx
mov edx, 7
mov eax, ebx
call fcn.101b8c25
mov eax, ebx
call fcn.101b8981
cmp dword [ebx + 0x68], 0
je 0x101b7637
push 1
mov eax, dword [ebx + 0x68]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
lea eax, [ebx + 0x68]
call fcn.10163b69
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x101b7648
call fcn.101b32f5
xor eax, eax
mov dword [ebx + 0x70], eax
push 0
mov eax, dword [ebx + 0x5c]
push eax
mov eax, dword [eax]
call dword [eax + 0x3c]
cmp dword [ebx + 0x78], 0
je 0x101b7661
lea eax, [ebx + 0x78]
call fcn.101b31bd
lea eax, [ebx + 0x5c]
call fcn.10163b69
lea eax, [ebx + 0x60]
call fcn.10163b69
lea eax, [ebx + 0x64]
call fcn.10163b69
mov byte [ebx + 0x30], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459c35
lea eax, [ebp - 0xc]
call fcn.10163b69
lea eax, [ebp - 8]
call fcn.10163b69
lea eax, [ebp - 4]
call fcn.10163b69
ret