Function at 0x6320f1e0
Capabilities:
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
test byte [0x6321d03c], 8
jne 0x6320f480
mov eax, dword [ebp + 0xc]
mov ebx, dword [sym.imp.kernel32.dll_HeapAlloc]
mov esi, dword fs:[0x18]
mov dword [eax], 0
mov dword [esp + 8], 0x58
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x6320f577
mov dword [eax], 0x63221d60
lea eax, [eax + 0x3c]
mov dword [eax - 0x38], 0x63221c60
mov dword [eax - 0x34], 0x63221ce0
mov dword [eax - 0x30], 0x63221ae0
mov dword [eax - 0x2c], 0x63221ba0
mov dword [eax - 0x28], 0x63221920
mov dword [eax - 0x24], 0x63221a00
mov dword [eax - 0x20], 1
mov dword [eax - 0x1c], 0
mov dword [eax - 0x18], 0
mov dword [eax - 0x14], 0
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
mov dword [eax - 8], 0
mov dword [eax - 4], 1
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov eax, dword [edi + 0x3c]
sub esp, 4
mov dword [eax + 0x18], str..._dlls_dplayx_dplay.c:_IDirectPlayImpl.lock
mov dword [esp + 8], 0x84
mov dword [esp + 4], 8
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
lea edx, [edi + 0x18]
mov dword [edi + 0x54], eax
sub esp, 0xc
mov dword [ebp - 0x1c], edx
test eax, eax
je 0x6320f331
lea ecx, [eax + 0x20]
mov dword [eax], 0
mov dword [eax + 0x24], ecx
lea ecx, [eax + 0x28]
mov dword [eax + 0x2c], ecx
lea ecx, [eax + 0x7c]
add eax, 0x10
mov dword [eax - 0xc], 0xffffffff
mov dword [eax - 4], 0
mov dword [eax + 4], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x6c], 0
mov dword [eax + 0x70], ecx
mov dword [esp], eax
call fcn.6321ab40
test eax, eax
jne 0x6320f350
mov ebx, 0x8007000e
mov edx, dword [ebp - 0x1c]
mov eax, dword [edi + 0x18]
mov dword [esp], edx
call dword [eax + 8]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0x50
mov ecx, dword [edi + 0x54]
mov dword [esp + 4], 8
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x20], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov ecx, dword [ebp - 0x20]
sub esp, 0xc
mov dword [ecx + 0x1c], eax
mov eax, dword [edi + 0x54]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x6320f331
mov dword [eax], 0x50
mov eax, dword [edi + 0x54]
mov dword [eax + 0x54], 0x60000
mov ecx, dword [edi + 0x54]
mov dword [esp + 8], 0x60
mov dword [esp + 4], 8
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x20], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov ecx, dword [ebp - 0x20]
sub esp, 0xc
mov dword [ecx + 0x30], eax
mov eax, dword [edi + 0x54]
mov eax, dword [eax + 0x30]
mov dword [eax], 0x60
mov eax, dword [edi + 0x54]
mov eax, dword [eax + 0x30]
mov dword [eax + 4], 0x60000
mov eax, dword [edi + 0x54]
mov dword [esp + 8], edi
add eax, 0x34
mov dword [esp], 0x6321f17c
mov dword [esp + 4], eax
call fcn.63210be0
test eax, eax
js 0x6320f331
mov eax, dword [edi + 0x54]
mov dword [eax + 0x60], 0x60000
mov ecx, dword [edi + 0x54]
mov dword [esp + 8], 0x74
mov dword [esp + 4], 8
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x20], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov ecx, dword [ebp - 0x20]
sub esp, 0xc
mov dword [ecx + 0x5c], eax
mov eax, dword [edi + 0x54]
mov eax, dword [eax + 0x5c]
mov dword [eax], 0x74
mov eax, dword [edi + 0x54]
mov dword [esp + 8], edi
add eax, 0x64
mov dword [esp], 0x6321f16c
mov dword [esp + 4], eax
call fcn.6321a500
test eax, eax
js 0x6320f331
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [edi + 0x18]
mov dword [esp + 8], edx
lea edx, [edi + 0x18]
mov dword [esp + 4], esi
mov dword [esp], edx
call dword [eax]
sub esp, 0xc
mov ebx, eax
jmp 0x6320f336
mov eax, dword [ebp + 8]
test eax, eax
je 0x6320f570
mov eax, dword [ebp + 8]
shr eax, 0x10
je 0x6320f550
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0xf]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0xe]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0xd]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0xb]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0xa]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 9]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
movzx eax, word [eax + 6]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
movzx eax, word [eax + 4]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov dword [esp], 0x6321f5b8
call fcn.632054e0
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x632209d0
mov dword [esp + 0x14], esi
mov dword [esp + 8], str.dplay_create
mov dword [esp + 4], 0x6321d03c
mov dword [esp], 3
call fcn.63205bb0
jmp 0x6320f1f6
movzx eax, word [ebp + 8]
mov dword [esp], 0x6321f5a6
mov dword [esp + 4], eax
call fcn.632054e0
jmp 0x6320f51a
mov eax, 0x6321f1b0
jmp 0x6320f51a
mov ebx, 0x8007000e
jmp 0x6320f345