Function at 0x6f24bde0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x4c
mov eax, dword [eax + 0x58]
test eax, eax
je 0x6f24bf18
lea eax, [esi + 0x38]
mov dword [ebp - 0x2c], eax
mov ebx, dword [esi + 0x90]
jmp 0x6f24beb1
mov eax, dword [ebx + 4]
xor edx, edx
mov ecx, dword [esi + 0x5c]
sub ecx, dword [esi + 0x8c]
mov edi, eax
sub edi, dword [ebx + 8]
div dword [esi + 0xa8]
mov eax, dword [esi + 0x5c]
sub edi, edx
xor edx, edx
div dword [esi + 0xa8]
mov eax, dword [ebx]
sub ecx, edx
mov edx, dword [esi + 0x54]
cmp edi, ecx
cmova edi, ecx
add eax, dword [ebx + 8]
add edx, dword [esi + 0x8c]
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [esp], eax
call sym._memcpy
add dword [ebx + 8], edi
mov ecx, dword [esi + 0x8c]
add ecx, edi
mov edi, dword [esi + 0xa8]
mov dword [esi + 0x8c], ecx
mov eax, dword [ebx + 4]
sub eax, dword [ebx + 8]
cmp eax, edi
jae 0x6f24be9d
mov eax, dword [ebx + 0x10]
and eax, 0xffffffef
or eax, 1
mov dword [ebx + 0x10], eax
mov ebx, dword [ebx + 0x18]
mov ecx, dword [esi + 0x8c]
mov edi, dword [esi + 0xa8]
mov dword [esi + 0x90], ebx
mov eax, dword [esi + 0x5c]
xor edx, edx
div edi
mov eax, dword [esi + 0x5c]
sub eax, edx
cmp eax, ecx
jbe 0x6f24bf90
test ebx, ebx
jne 0x6f24be10
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [esi + 0x34]
mov dword [esp], eax
call sym._acmStreamUnprepareHeader_12
mov edx, dword [esi + 0x54]
sub esp, 0xc
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]
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esi + 0x24]
lea ecx, [ebp - 0x20]
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
lea ecx, [ebp - 0x28]
mov dword [esp + 8], ecx
lea ecx, [ebp - 0x1c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0x18
test eax, eax
je 0x6f24bff8
jns 0x6f24bf0b
test byte [0x6f266638], 4
je 0x6f24bf0b
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.GetBuffer_failed:__08lx_n
mov dword [esp + 8], str.WID_PullACMData
mov dword [esp + 4], 0x6f266638
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_7
jmp 0x6f24bf0b
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [esi + 0x34]
mov dword [esp], eax
call sym._acmStreamUnprepareHeader_12
mov edx, dword [esi + 0x54]
sub esp, 0xc
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]
mov dword [esi + 0x58], 0
mov eax, esi
mov dword [esi + 0x5c], 0
sub esp, 0xc
call sym._WID_PullACMData
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x24]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [esi + 0xa8]
imul eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x34]
mov dword [esp], eax
call sym._acmStreamSize_16
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov dword [esi + 0x8c], 0
sub esp, 0x10
mov dword [esi + 0x38], 0x54
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0xa8]
imul eax, dword [ebp - 0x28]
mov dword [esp + 8], edx
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
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_HeapAlloc]
mov dword [esi + 0x5c], 0
mov dword [esi + 0x54], eax
mov eax, dword [ebp - 0x24]
sub esp, 0xc
mov dword [esi + 0x60], 0
mov dword [esi + 0x58], eax
lea eax, [esi + 0x38]
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 8], 0
mov dword [esp], eax
call sym._acmStreamPrepareHeader_12
sub esp, 0xc
test eax, eax
je 0x6f24c100
test byte [0x6f266638], 4
je 0x6f24bf0b
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.acmStreamPrepareHeader_failed:__d_n
mov dword [esp + 8], str.WID_PullACMData
mov dword [esp + 4], 0x6f266638
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_7
jmp 0x6f24bf0b
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [esi + 0x34]
mov dword [esp], eax
call sym._acmStreamConvert_12
sub esp, 0xc
test eax, eax
jne 0x6f24c17b
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp - 0x28]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 8
test eax, eax
js 0x6f24c148
mov eax, dword [ebp - 0x28]
add dword [esi + 0xb4], eax
jmp 0x6f24bdfc
test byte [0x6f266638], 4
je 0x6f24c13a
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.ReleaseBuffer_failed:__08lx_n
mov dword [esp + 8], str.WID_PullACMData
mov dword [esp + 4], 0x6f266638
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_7
jmp 0x6f24c13a
test byte [0x6f266638], 4
je 0x6f24bf0b
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.acmStreamConvert_failed:__d_n
mov dword [esp + 8], str.WID_PullACMData
mov dword [esp + 4], 0x6f266638
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_7
jmp 0x6f24bf0b