Function at 0x6f24d6e0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
push ebx
sub esp, 0x4c
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ebx]
mov dword [ebp - 0x34], edx
lea edx, [ebp - 0x24]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 1
mov dword [esp + 4], ecx
mov dword [esp], ebx
call dword [eax + 0xc]
sub esp, 0x10
mov esi, eax
test eax, eax
js 0x6f24d753
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 8
mov esi, eax
test eax, eax
js 0x6f24d988
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
test eax, eax
jne 0x6f24d760
mov eax, dword [ebp - 0x24]
xor esi, esi
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
imul eax, eax, 0x4e0
mov dword [esp + 4], 8
mov edi, dword [sym.imp.kernel32.dll_HeapAlloc]
mov esi, dword fs:[0x18]
mov dword [ebp - 0x20], 0
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov ecx, dword [ebp - 0x30]
sub esp, 0xc
mov dword [ecx], eax
test eax, eax
je 0x6f24d9a7
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov dword [esp + 4], 8
mov dword [ebp - 0x38], eax
shl eax, 2
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov edi, dword [ebp - 0x34]
sub esp, 0xc
mov dword [edi], eax
test eax, eax
je 0x6f24d9bd
mov eax, dword [ebx]
mov edi, dword [ebp + 8]
lea edx, [ebp - 0x20]
mov dword [esp + 8], 0
mov dword [esp + 0xc], edx
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [eax + 0x10]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], 1
sub esp, 0x10
mov ecx, dword [eax]
test ecx, ecx
je 0x6f24d923
xor ebx, ebx
jmp 0x6f24d81c
mov eax, dword [ebp - 0x2c]
inc ebx
cmp dword [eax], ebx
jbe 0x6f24d923
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x1c]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0xc
test eax, eax
js 0x6f24d810
mov edi, dword [ebp - 0x30]
imul eax, ebx, 0x4e0
mov esi, dword [edi]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
add esi, eax
mov eax, dword [ebp + 8]
mov dword [esi + 0xa8], eax
test eax, eax
jne 0x6f24d940
mov dword [esi], 0xff00ff
mov eax, edi
mov dword [esi + 4], 0x10001
call sym._WINMM_GetSupportedFormats
xor edx, edx
mov dword [esi + 0x4c], 2
mov dword [esi + 0x48], eax
mov eax, edi
mov word [esi + 8], dx
lea edx, [esi + 8]
mov dword [esi + 0x50], 0x2c
call sym._WINMM_GetFriendlyName.constprop.0
test eax, eax
js 0x6f24d8e6
mov eax, dword [edi]
lea edx, [esi + 0xa4]
mov dword [esp], edi
mov dword [esp + 4], edx
call dword [eax + 0x14]
sub esp, 8
test eax, eax
js 0x6f24d8e6
lea eax, [esi + 0xb0]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea eax, [esi + 0xc8]
mov dword [esi + 0xc0], ebx
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov eax, dword [esi + 0xc8]
sub esp, 4
mov dword [eax + 0x18], str..._src_wine_dlls_winmm_waveform.c:_WINMM_Device.lock
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x38]
mov eax, dword [eax]
add edi, dword [ecx]
mov ecx, dword [ebp - 0x20]
cmp dword [ebp - 0x1c], ecx
je 0x6f24d9a0
mov ecx, dword [ebp - 0x3c]
mov dword [eax + ecx*4], edi
inc ecx
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x1c]
inc ebx
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x2c]
sub esp, 4
cmp dword [eax], ebx
ja 0x6f24d81c
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x3c]
sub esp, 4
mov dword [eax], ebx
jmp 0x6f24d743
mov dword [esi + 0x54], 0xff00ff
mov eax, edi
mov dword [esi + 0x58], 0x10001
call sym._WINMM_GetSupportedFormats
lea edx, [esi + 0x5c]
mov dword [esi + 0xa0], 2
mov dword [esi + 0x9c], eax
xor eax, eax
mov word [esi + 0x5c], ax
mov eax, edi
call sym._WINMM_GetFriendlyName.constprop.0
test eax, eax
jns 0x6f24d896
jmp 0x6f24d8e6
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, esi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [eax], edi
jmp 0x6f24d909
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push esi
mov esi, 0x8007000e
jmp 0x6f24d753
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x30]
push ebx
mov eax, dword [eax]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x6f24d9b3