Function at 0x675780
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x728b10
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1009
push dword [edi + 0x2c]
call ebx
push 0
push 0
push 0x14b
push dword [edi + 0x30]
call ebx
push 0
push 0
push 0x101f
push dword [edi + 0x2c]
call ebx
test eax, eax
je 0x675845
push 0
push 0
push 0x1200
push eax
call ebx
test eax, eax
jg 0x675845
mov ecx, dword [0x7f7170]
mov dword [ebp - 0x74], 6
test ecx, ecx
je 0x675819
mov eax, dword [ecx]
push 0x7425a0
push 0x75d26c
call dword [eax + 8]
mov dword [ebp - 0x68], eax
jmp 0x675820
mov dword [ebp - 0x68], 0x790eb0
lea eax, [ebp - 0x74]
mov dword [ebp - 0x6c], 0x64
push eax
push 0
push 0x1061
push dword [edi + 0x2c]
call ebx
push 0x20
push 0x20
push 0x1036
push dword [edi + 0x2c]
call ebx
mov eax, dword [0x7f7154]
test eax, eax
jne 0x675855
xor eax, eax
jmp 0x675a03
mov eax, dword [eax + 0x188c]
test eax, eax
je 0x67584e
movq xmm0, qword [eax + 0x5c4]
lea ecx, [ebp - 0x3c]
mov eax, dword [eax + 0x5cc]
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x2c], eax
call fcn.0043fbb0
push str.DIRECT_SOUND
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call fcn.004400a0
push str.ASIO
lea ecx, [ebp - 0x3c]
call fcn.004400a0
push str.WASAPI__Shared_Mode_
lea ecx, [ebp - 0x3c]
call fcn.004400a0
push str.WASAPI__Exclusive_Mode_
lea ecx, [ebp - 0x3c]
call fcn.004400a0
lea ecx, [ebp - 0x3c]
call fcn.0042aa60
push 0
push 0
push 0x1004
push dword [edi + 0x2c]
mov dword [ebp - 0x24], eax
call ebx
xor esi, esi
test eax, eax
jne 0x675972
mov eax, dword [ebp - 0x24]
mov edi, edi
cmp esi, eax
jge 0x675972
test esi, esi
jne 0x6758f1
cmp dword [ebp - 0x48], esi
jmp 0x67590a
cmp esi, 1
jne 0x6758fc
cmp dword [ebp - 0x44], 0
jmp 0x67590a
cmp esi, 2
je 0x675906
cmp esi, 3
jne 0x67590c
cmp dword [ebp - 0x2c], 0
je 0x67596c
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00440000
push esi
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00429100
push eax
push 0
push 5
push dword [edi + 0x2c]
call fcn.00432dc0
add esp, 0x20
lea ecx, [ebp - 0x28]
call fcn.00429100
push eax
push 0
push 0x143
push dword [edi + 0x30]
call ebx
push esi
push eax
push 0x151
push dword [edi + 0x30]
call ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00428810
mov eax, dword [ebp - 0x24]
inc esi
jmp 0x6758e0
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [edi + 0x2c]
movdqu xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0xa0]
push eax
push 0
push 0x1060
push dword [edi + 0x2c]
mov dword [ebp - 0xa0], 2
call ebx
push 0
push 0
push 0x1004
push dword [edi + 0x2c]
call ebx
xor esi, esi
mov dword [ebp - 0x24], eax
test eax, eax
jle 0x6759ef
push 0
push esi
push 0x150
push dword [edi + 0x30]
call ebx
cmp eax, dword [0x7f72c0]
jne 0x6759e9
push 0
push esi
push 0x14e
push dword [edi + 0x30]
call ebx
inc esi
cmp esi, dword [ebp - 0x24]
jl 0x6759c7
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.0043fbd0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006b3266
mov esp, ebp
pop ebp
ret