Function at 0x6320f6d0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x48
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov edi, dword [ecx + 8]
test byte [0x6321d03c], 8
jne 0x6320f828
test edi, edi
jne 0x6320fac8
test esi, esi
je 0x6320fad8
test ebx, ebx
je 0x6320fad8
mov dword [esp + 4], esi
mov dword [esp], 0x63225710
call fcn.6320f1e0
test eax, eax
jne 0x6320fae2
mov eax, dword [ebx]
cmp dword [0x6322cdb8], eax
je 0x6320f8d8
test byte [0x6321d03c], 8
jne 0x6320f970
mov eax, dword [esi]
lea ecx, [ebp - 0x24]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x632256d0
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
mov esi, eax
test eax, eax
js 0x6320f910
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], ebx
mov edx, dword [eax]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0x6320e0b0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x8c]
sub esp, 0x14
test eax, eax
js 0x6320faec
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x6320faec
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [ecx + 0x98]
sub esp, 0xc
mov esi, eax
test eax, eax
js 0x6320fa10
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov edx, dword [ebp - 0x20]
sub esp, 4
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
xor esi, esi
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
test ebx, ebx
je 0x6320fa60
mov eax, ebx
shr eax, 0x10
je 0x6320f958
movzx eax, byte [ebx + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [ebx + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [ebx + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [ebx + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [ebx + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [ebx + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [ebx + 8]
mov dword [esp + 0x10], eax
movzx eax, word [ebx + 6]
mov dword [esp + 0xc], eax
movzx eax, word [ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp], 0x6321f5b8
mov dword [esp + 4], eax
call fcn.632054e0
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.lpGUID_s_lplpDP_p_pUnk_p_n
mov dword [esp + 8], str.DirectPlayCreate
mov dword [esp + 4], 0x6321d03c
mov dword [esp], 3
call fcn.63205bb0
jmp 0x6320f6f9
mov eax, dword [ebx + 4]
cmp dword [0x6322cdbc], eax
jne 0x6320f737
mov eax, dword [ebx + 8]
cmp dword [0x6322cdc0], eax
jne 0x6320f737
mov eax, dword [ebx + 0xc]
cmp dword [0x6322cdc4], eax
jne 0x6320f737
jmp 0x6320f812
test byte [0x6321d03c], 2
je 0x6320f814
mov dword [esp], eax
call fcn.632132a0
mov dword [esp + 0xc], str.Failed_to_get_DP3_interface:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.DirectPlayCreate
mov dword [esp + 4], 0x6321d03c
mov dword [esp], 1
call fcn.63205bb0
jmp 0x6320f814
movzx eax, bx
mov dword [esp], 0x6321f5a6
mov dword [esp + 4], eax
call fcn.632054e0
jmp 0x6320f89d
mov eax, ebx
shr eax, 0x10
je 0x6320fa70
movzx eax, byte [ebx + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [ebx + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [ebx + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [ebx + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [ebx + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [ebx + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [ebx + 8]
mov dword [esp + 0x10], eax
movzx eax, word [ebx + 6]
mov dword [esp + 0xc], eax
movzx eax, word [ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp], 0x6321f5b8
mov dword [esp + 4], eax
call fcn.632054e0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Service_Provider_binding_for__s_n
mov dword [esp + 8], str.DirectPlayCreate
mov dword [esp + 4], 0x6321d03c
mov dword [esp], 3
call fcn.63205bb0
jmp 0x6320f744
test byte [0x6321d03c], 2
jne 0x6320fa90
mov edx, dword [ebp - 0x20]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x24]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, esi
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, 0x6321f1b0
jmp 0x6320f89d
movzx eax, bx
mov dword [esp], 0x6321f5a6
mov dword [esp + 4], eax
call fcn.632054e0
jmp 0x6320f9dd
mov dword [esp], eax
call fcn.632132a0
mov dword [esp + 0xc], str.Failed_to_Initialize_SP:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.DirectPlayCreate
mov dword [esp + 4], 0x6321d03c
mov dword [esp], 1
call fcn.63205bb0
jmp 0x6320fa19
mov esi, 0x80040110
jmp 0x6320f814
mov esi, 0x80070057
jmp 0x6320f814
mov esi, 0x887700fa
jmp 0x6320f814
test byte [0x6321d03c], 2
jne 0x6320fb0d
mov eax, dword [ebp - 0x24]
mov esi, 0x887700fa
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x6320f814
mov dword [esp], eax
call fcn.632132a0
mov dword [esp + 0xc], str.Failed_to_get_Enum_for_SP:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.DirectPlayCreate
mov dword [esp + 4], 0x6321d03c
mov dword [esp], 1
call fcn.63205bb0
jmp 0x6320faf5