Function at 0x1000fb40
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10251056
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [ebp - 0x20], esi
mov dword [esi + 4], eax
mov dword [esi], vtable.nme::OpenALSound.0
mov ecx, 0xf
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], eax
mov dword [ebp - 4], eax
mov byte [esi + 0x20], al
mov dword [esi + 0x50], ecx
mov dword [esi + 0x4c], eax
mov byte [esi + 0x3c], al
inc dword [esi + 4]
lea ebx, [esi + 0x18]
lea ecx, [ebp - 0x38]
mov dword [ebx], eax
mov byte [esi + 0x1c], al
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x28], 0x10
mov dword [ebp - 0x24], eax
mov edx, dword [ebp + 0xc]
mov byte [ebp - 0xd], al
mov eax, dword [ebp + 8]
push edx
push eax
mov byte [ebp - 4], 3
call fcn.10010960
add esp, 8
sub eax, 2
je 0x1000fbf0
dec eax
je 0x1000fbd1
push str.Error_opening_sound_file__unsupported_type._n
call fcn.10231b66
add esp, 4
jmp 0x1000fc13
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x14]
push edx
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x3c]
push ecx
push edx
push eax
call fcn.10010de0
jmp 0x1000fc0d
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x14]
push edx
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x3c]
push ecx
push edx
push eax
call fcn.10010bf0
mov byte [ebp - 0xd], al
add esp, 0x18
mov eax, dword [ebp - 0x18]
cmp eax, 1
jne 0x1000fc3a
mov eax, dword [ebp - 0x14]
cmp eax, 8
jne 0x1000fc2c
mov dword [ebp + 0xc], 0x1100
jmp 0x1000fc5c
cmp eax, 0x10
jne 0x1000fc5c
mov dword [ebp + 0xc], 0x1101
jmp 0x1000fc5c
cmp eax, 2
jne 0x1000fc5c
mov eax, dword [ebp - 0x14]
cmp eax, 8
jne 0x1000fc50
mov dword [ebp + 0xc], 0x1102
jmp 0x1000fc5c
cmp eax, 0x10
jne 0x1000fc5c
mov dword [ebp + 0xc], 0x1103
cmp byte [ebp - 0xd], 0
jne 0x1000fc83
push str.Error_opening_sound_data_n
call fcn.10231b66
add esp, 4
push 0x18
push str.Error_opening_sound_data
lea ecx, [esi + 0x3c]
call fcn.10002080
jmp 0x1000fd14
call fcn.101c2770
test eax, eax
je 0x1000fcaa
push str.Error_after_opening_sound_data_n
call fcn.10231b66
add esp, 4
push 0x1e
push str.Error_after_opening_sound_data
lea ecx, [esi + 0x3c]
call fcn.10002080
jmp 0x1000fd14
push ebx
push 1
call fcn.101c1490
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebx]
push eax
push ecx
push edx
call fcn.101c22c0
mov ecx, dword [ebx]
lea eax, [esi + 8]
push eax
push 0x2004
push ecx
call fcn.101c1d10
mov eax, dword [ebx]
lea edx, [esi + 0xc]
push edx
push 0x2001
push eax
call fcn.101c1d10
mov edx, dword [ebx]
lea ecx, [esi + 0x14]
push ecx
push 0x2003
push edx
call fcn.101c1d10
mov ecx, dword [ebx]
add esp, 0x40
lea eax, [esi + 0x10]
push eax
push 0x2002
push ecx
call fcn.101c1d10
add esp, 0xc
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
mov byte [ebp - 4], 2
cmp eax, edx
je 0x1000fd2f
test eax, eax
je 0x1000fd2f
push eax
call fcn.1023138c
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8