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

Disassembly:
push ebp
mov ebp, eax
push edi
push esi
push ebx
lea ebx, [ebp + 0x38]
sub esp, 0x4c
mov eax, dword [eax + 0x58]
test eax, eax
jne 0x6f256140
mov eax, dword [ebp + 0x24]
lea ecx, [esp + 0x38]
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x3c]
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 0x6f256020
js 0x6f256328
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x34]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xa8]
lea ebx, [ebp + 0x38]
imul eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x34]
mov dword [esp], eax
call sub.msacm32.dll_acmStreamSize
mov eax, 0x54
xor edx, edx
mov dword [ebp + 0x8c], 0
sub esp, 0x10
mov dword [ebp + 0x38], eax
mov eax, dword [esp + 0x3c]
mov dword [ebp + 0x3c], edx
mov edx, dword [esp + 0x34]
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + 0xa8]
imul eax, dword [esp + 0x30]
mov dword [ebp + 0x48], eax
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_HeapAlloc]
mov dword [ebp + 0x5c], 0
sub esp, 0xc
mov dword [ebp + 0x54], eax
mov eax, dword [esp + 0x34]
mov dword [ebp + 0x60], 0
mov dword [ebp + 0x58], eax
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov eax, dword [ebp + 0x34]
mov dword [esp], eax
call sub.msacm32.dll_acmStreamPrepareHeader
sub esp, 0xc
test eax, eax
jne 0x6f2562e8
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov eax, dword [ebp + 0x34]
mov dword [esp], eax
call sub.msacm32.dll_acmStreamConvert
sub esp, 0xc
test eax, eax
jne 0x6f25639c
mov eax, dword [ebp + 0x24]
mov ecx, dword [esp + 0x30]
mov edx, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [edx + 0x10]
sub esp, 8
test eax, eax
js 0x6f256362
mov eax, dword [esp + 0x30]
add dword [ebp + 0xb4], eax
lea esi, [esi]
mov esi, dword [ebp + 0x90]
mov edi, ebp
mov dword [esp + 0x2c], ebx
test esi, esi
je 0x6f256286
lea esi, [esi]
mov eax, dword [edi + 0x5c]
mov ebp, dword [edi + 0xa8]
mov ebx, dword [esi + 4]
mov dword [esp + 0x28], eax
mov eax, ebx
xor edx, edx
mov ecx, ebx
sub ecx, dword [esi + 8]
div ebp
mov eax, dword [esp + 0x28]
mov ebx, ecx
mov ecx, eax
sub ecx, dword [edi + 0x8c]
sub ebx, edx
xor edx, edx
div ebp
mov eax, dword [esi]
sub ecx, edx
mov edx, dword [edi + 0x54]
cmp ebx, ecx
cmova ebx, ecx
add edx, dword [edi + 0x8c]
add eax, dword [esi + 8]
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.ucrtbase.dll_memcpy
mov eax, dword [esi + 8]
mov ebp, dword [edi + 0xa8]
add eax, ebx
add ebx, dword [edi + 0x8c]
mov dword [esi + 8], eax
mov ecx, ebx
mov dword [edi + 0x8c], ebx
mov ebx, dword [esi + 4]
mov edx, ebx
sub edx, eax
cmp edx, ebp
jb 0x6f256250
mov eax, dword [edi + 0x5c]
xor edx, edx
mov dword [esp + 0x28], eax
div ebp
mov eax, dword [esp + 0x28]
sub eax, edx
cmp ecx, eax
jb 0x6f256168
mov ebx, dword [esp + 0x2c]
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov eax, dword [edi + 0x34]
mov dword [esp], eax
call sub.msacm32.dll_acmStreamUnprepareHeader
mov edx, dword [edi + 0x54]
sub esp, 0xc
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 dword [edi + 0x58], 0
mov eax, edi
sub esp, 0xc
mov dword [edi + 0x5c], 0
call fcn.6f255fc0
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esi + 0x10]
xor edx, edx
and eax, 0xffffffef
or eax, 1
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x5c]
mov esi, dword [esi + 0x18]
mov dword [esp + 0x28], eax
div ebp
mov eax, dword [esp + 0x28]
mov dword [edi + 0x90], esi
sub eax, edx
cmp ecx, eax
jae 0x6f2561e8
test esi, esi
jne 0x6f256158
mov ebx, dword [esp + 0x2c]
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov eax, dword [edi + 0x34]
mov dword [esp], eax
call sub.msacm32.dll_acmStreamUnprepareHeader
mov edx, dword [edi + 0x54]
sub esp, 0xc
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 dword [edi + 0x58], 0
sub esp, 0xc
mov dword [edi + 0x5c], 0
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [0x6f266438], 4
je 0x6f256017
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], 0x6f266438
mov dword [esp], 2
call fcn.6f255f70
jmp 0x6f256017
test byte [0x6f266438], 4
je 0x6f256017
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], 0x6f266438
mov dword [esp], 2
call fcn.6f255f70
jmp 0x6f256017
test byte [0x6f266438], 4
je 0x6f256133
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], 0x6f266438
mov dword [esp], 2
call fcn.6f255f70
jmp 0x6f256133
test byte [0x6f266438], 4
je 0x6f256017
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], 0x6f266438
mov dword [esp], 2
call fcn.6f255f70
jmp 0x6f256017