Function at 0x6fc41470
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
mov eax, ecx
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x58
mov edi, dword [ecx]
mov ebx, dword [eax + 8]
mov ecx, dword [ecx + 4]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x2c], edi
mov edi, dword [eax + 0xc]
test byte [0x6fc43018], 8
jne 0x6fc41658
cmp ebx, 0x6052
ja case.0x6fc414bf.24578
cmp ebx, 0x6000
jbe 0x6fc414e0
lea eax, [ebx - 0x6001]
cmp eax, 0x51
ja case.0x6fc414bf.24578
jmp dword [eax*4 + 0x6fc4519c]
mov esi, 8
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
cmp ebx, 0xa
ja case.0x6fc414bf.24578
mov esi, 2
cmp ebx, 8
ja 0x6fc414cb
cmp ebx, 7
je 0x6fc41a40
cmp ebx, 8
jne 0x6fc41512
lea esp, [ebp - 0x10]
mov esi, 1
pop ecx
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
lea eax, [ebx - 1]
cmp eax, 5
jbe 0x6fc414fd
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym._DefDriverProc_20
sub esp, 0x14
mov esi, eax
jmp 0x6fc414cb
movdqu xmm0, xmmword [0x6fc459a0]
lea eax, [edi + 0x28]
mov dword [edi + 4], 0x63647561
mov dword [edi + 8], 0
mov ebx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
movups xmmword [edi + 0x10], xmm0
mov dword [edi + 0xc], 0x250001
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [esp + 0x14], 0x20
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], str.Microsoft_CCITT_G.711
mov dword [esp + 4], 0
mov dword [esp], 0
call ebx
lea eax, [edi + 0x68]
sub esp, 0x18
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], str.Wine_G711_converter
mov dword [esp + 4], 0
mov dword [esp], 0
call ebx
lea eax, [edi + 0x168]
sub esp, 0x18
mov dword [esp + 0x14], 0x50
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], str.Brought_to_you_by_the_Wine_team...
mov dword [esp + 4], 0
mov dword [esp], 0
call ebx
lea eax, [edi + 0x208]
sub esp, 0x18
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], str.Refer_to_LICENSE_file
mov dword [esp + 4], 0
mov dword [esp], 0
call ebx
xor ecx, ecx
mov word [edi + 0x308], cx
sub esp, 0x18
xor esi, esi
jmp 0x6fc414cb
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__08Ix__p__04x__08Ix__08Ix___n
mov dword [esp + 8], str.G711_DriverProc
mov dword [esp + 4], 0x6fc43018
mov dword [esp], 3
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], ecx
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
jmp 0x6fc414a4
cmp edx, 1
je 0x6fc41c08
cmp edx, 2
je 0x6fc41b90
test edx, edx
je 0x6fc41a20
mov esi, 8
test byte [0x6fc43018], 4
je 0x6fc414cb
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Unsupported_query__08lx_n
mov dword [esp + 8], str.G711_FormatTagDetails
mov dword [esp + 4], 0x6fc43018
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x6fc414cb
test edx, edx
je 0x6fc41ad8
cmp edx, 1
je 0x6fc41ab0
mov esi, 8
test byte [0x6fc43018], 4
je 0x6fc414cb
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Unsupported_query__08lx_n
mov dword [esp + 8], str.G711_FormatDetails
mov dword [esp + 4], 0x6fc43018
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x6fc414cb
cmp dword [edi + 0xc], 0xf
jbe 0x6fc41a30
cmp dword [edi + 0x14], 0xf
jbe 0x6fc41a30
mov esi, dword [edi + 8]
mov eax, esi
call sym._G711_GetFormatIndex
cmp eax, 0xffffffff
je 0x6fc41a30
mov eax, dword [edi + 4]
mov ebx, dword [edi + 0x10]
test eax, 0x20000
jne 0x6fc4178f
movzx eax, word [esi + 2]
mov word [ebx + 2], ax
mov eax, dword [edi + 4]
mov ebx, dword [edi + 0x10]
test eax, 0x40000
jne 0x6fc417a5
mov eax, dword [edi + 8]
mov eax, dword [eax + 4]
mov dword [ebx + 4], eax
mov eax, dword [edi + 4]
mov ebx, dword [edi + 0x10]
test eax, 0x80000
jne 0x6fc417c8
mov eax, dword [edi + 8]
cmp word [eax], 1
je 0x6fc41e13
mov ecx, 0x10
mov word [ebx + 0xe], cx
mov eax, dword [edi + 4]
mov ebx, dword [edi + 0x10]
test eax, 0x10000
jne 0x6fc417f3
mov eax, dword [edi + 8]
movzx eax, word [eax]
cmp ax, 6
je 0x6fc41da9
cmp ax, 7
je 0x6fc41da9
cmp ax, 1
je 0x6fc41f87
mov eax, ebx
call sym._G711_GetFormatIndex
cmp eax, 0xffffffff
je 0x6fc41a30
movzx eax, word [ebx]
cmp ax, 6
je 0x6fc41cb0
cmp ax, 7
je 0x6fc41cb0
cmp ax, 1
jne case.0x6fc414bf.24577
movzx eax, word [ebx + 2]
xor esi, esi
add eax, eax
mov word [ebx + 0xc], ax
mov eax, dword [edi + 0x10]
movzx edx, word [eax + 0xc]
imul edx, dword [eax + 4]
mov dword [eax + 8], edx
jmp 0x6fc414cb
test byte [edi + 0x18], 2
jne 0x6fc42019
mov eax, dword [edi + 4]
call sym._G711_GetFormatIndex
cmp eax, 0xffffffff
je 0x6fc41a30
mov eax, dword [edi + 8]
call sym._G711_GetFormatIndex
cmp eax, 0xffffffff
je 0x6fc41a30
mov dword [esp + 8], 4
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]
sub esp, 0xc
test eax, eax
je 0x6fc42036
mov ecx, dword [edi + 4]
mov dword [edi + 0x20], eax
movzx edx, word [ecx]
cmp dx, 1
je 0x6fc41cd0
cmp dx, 6
jne 0x6fc41c70
mov edx, dword [edi + 8]
movzx ebx, word [edx]
cmp bx, 1
je 0x6fc41f55
cmp bx, 7
jne 0x6fc41c38
mov esi, dword [edx + 4]
cmp dword [ecx + 4], esi
jne 0x6fc41c38
movzx edx, word [edx + 2]
cmp word [ecx + 2], dx
jne 0x6fc41c38
mov dword [eax], sym._cvtXXalawulawK
xor esi, esi
jmp 0x6fc414cb
mov eax, dword [edx + 4]
test eax, eax
je 0x6fc41b40
cmp eax, 1
jne 0x6fc41a70
mov eax, dword [edi + 4]
movzx eax, word [eax]
cmp ax, 1
je 0x6fc41db9
sub eax, 6
mov esi, 8
cmp ax, 1
ja 0x6fc414cb
mov eax, dword [edi + 8]
movzx eax, word [eax]
cmp ax, 1
je 0x6fc4200a
sub eax, 6
cmp ax, 1
ja 0x6fc414cb
mov eax, dword [edx + 0xc]
xor esi, esi
mov dword [edx + 8], eax
jmp 0x6fc414cb
mov eax, dword [edx + 0x10]
mov ebx, dword [edi + 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 0x2c]
test eax, 0xffffffcb
je 0x6fc419b0
test byte [0x6fc43018], 1
je 0x6fc419b0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unsupported_fdwConvert___08lx___ignoring_it_n
mov dword [esp + 8], 0x6fc452e4
mov dword [esp + 4], 0x6fc43018
mov dword [esp], 0
mov dword [ebp - 0x2c], edx
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x2c]
lea esi, [esi]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x2c], edx
xor esi, esi
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x1c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x20]
mov dword [esp + 8], eax
mov eax, dword [edx + 0xc]
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [ebx]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x24], eax
jmp 0x6fc414cb
mov edx, dword [edi + 0x20]
mov dword [esp + 4], 0
xor esi, esi
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]
sub esp, 0xc
jmp 0x6fc414cb
cmp dword [edi + 4], 2
jbe 0x6fc41b9e
lea esi, [esi]
mov esi, 0x200
jmp 0x6fc414cb
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.Wine_Driver
mov dword [esp + 4], str.MS_G711__a_Law__mu_Law__filter__
mov dword [esp], 0
call dword [sym.imp.user32.dll_MessageBoxA]
sub esp, 0x10
jmp 0x6fc414fd
mov esi, 8
test byte [0x6fc43018], 4
je 0x6fc414cb
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unsupported_query__08lx_n
mov dword [esp + 8], str.G711_StreamSize
mov dword [esp + 4], 0x6fc43018
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x6fc414cb
mov eax, dword [edi + 0x10]
call sym._G711_GetFormatIndex
cmp eax, 0xffffffff
je 0x6fc41a30
xor eax, eax
mov dword [edi + 0xc], 1
xor esi, esi
mov word [edi + 0x18], ax
jmp 0x6fc414cb
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 8]
mov word [eax], dx
mov eax, dword [edi + 8]
cmp eax, 6
je 0x6fc41eff
cmp eax, 7
je 0x6fc41e8b
cmp eax, 1
je 0x6fc41e27
mov esi, 0xb
test byte [0x6fc43018], 4
je 0x6fc414cb
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unsupported_tag__08lx_n
mov dword [esp + 8], str.G711_FormatDetails
mov dword [esp + 4], 0x6fc43018
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x6fc414cb
mov eax, dword [edi + 4]
movzx eax, word [eax]
cmp ax, 1
je 0x6fc41de0
sub eax, 6
mov esi, 8
cmp ax, 1
ja 0x6fc414cb
mov eax, dword [edi + 8]
movzx eax, word [eax]
cmp ax, 1
je 0x6fc41ffb
sub eax, 6
cmp ax, 1
ja 0x6fc414cb
mov eax, dword [edx + 8]
xor esi, esi
mov dword [edx + 0xc], eax
jmp 0x6fc414cb
mov eax, dword [edi + 8]
test eax, eax
jne 0x6fc41c0b
mov dword [edi + 4], 1
mov eax, dword [edi + 4]
mov dword [edi + 0x10], 1
cmp eax, 1
je 0x6fc41d69
cmp eax, 2
je 0x6fc41d30
test eax, eax
jne case.0x6fc414bf.24577
mov dword [edi + 8], 1
mov ebx, 0x6fc450ca
lea eax, [edi + 0x18]
mov dword [edi + 0xc], 0x10
sub ebx, edi
mov dword [edi + 0x14], 8
lea esi, [esi]
mov ecx, eax
movzx edx, word [eax + ebx - 0x18]
add eax, 2
mov word [ecx], dx
test dx, dx
jne 0x6fc41be8
xor esi, esi
jmp 0x6fc414cb
mov eax, dword [edi + 8]
cmp eax, 6
je 0x6fc41b97
cmp eax, 7
je 0x6fc41e07
mov esi, 0x200
cmp eax, 1
jne 0x6fc414cb
mov dword [edi + 4], 0
jmp 0x6fc41b9e
mov dword [esp + 8], eax
mov esi, 8
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov dword [edi + 0x20], 0
sub esp, 0xc
jmp 0x6fc414cb
cmp dx, 7
jne 0x6fc41c38
mov edx, dword [edi + 8]
movzx ebx, word [edx]
cmp bx, 1
je 0x6fc41fc9
cmp bx, 6
jne 0x6fc41c38
mov esi, dword [edx + 4]
cmp dword [ecx + 4], esi
jne 0x6fc41c38
movzx edx, word [edx + 2]
cmp word [ecx + 2], dx
jne 0x6fc41c38
mov dword [eax], sym._cvtXXulawalawK
xor esi, esi
jmp 0x6fc414cb
movzx eax, word [ebx + 2]
xor esi, esi
mov word [ebx + 0xc], ax
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 8]
movzx eax, word [eax + 2]
imul eax, dword [edx + 4]
mov dword [edx + 8], eax
jmp 0x6fc414cb
mov ebx, dword [edi + 8]
movzx edx, word [ebx]
cmp dx, 1
je 0x6fc41c38
cmp dx, 6
je 0x6fc41f97
cmp dx, 7
jne 0x6fc41c38
mov edx, dword [ebx + 4]
cmp dword [ecx + 4], edx
jne 0x6fc41c38
movzx edx, word [ebx + 2]
cmp word [ecx + 2], dx
jne 0x6fc41c38
cmp word [ecx + 0xe], 0x10
jne 0x6fc41c38
mov dword [eax], sym._cvtXX16ulawK
xor esi, esi
jmp 0x6fc414cb
mov dword [edi + 8], 7
mov ebx, str.U_Law
lea eax, [edi + 0x18]
mov dword [edi + 0xc], 0x12
sub ebx, edi
mov dword [edi + 0x14], 8
nop
mov ecx, eax
movzx edx, word [eax + ebx - 0x18]
add eax, 2
mov word [ecx], dx
test dx, dx
jne 0x6fc41d50
xor esi, esi
jmp 0x6fc414cb
mov dword [edi + 8], 6
mov ebx, str.A_Law
lea eax, [edi + 0x18]
mov dword [edi + 0xc], 0x12
sub ebx, edi
mov dword [edi + 0x14], 8
nop
lea esi, [esi]
mov ecx, eax
movzx edx, word [eax + ebx - 0x18]
add eax, 2
mov word [ecx], dx
test dx, dx
jne 0x6fc41d90
xor esi, esi
jmp 0x6fc414cb
mov eax, 1
mov word [ebx], ax
mov ebx, dword [edi + 0x10]
jmp 0x6fc417f3
mov eax, dword [edi + 8]
mov esi, 8
movzx eax, word [eax]
sub eax, 6
cmp ax, 1
ja 0x6fc414cb
mov eax, dword [edx + 0xc]
xor esi, esi
add eax, eax
mov dword [edx + 8], eax
jmp 0x6fc414cb
mov eax, dword [edi + 8]
mov esi, 8
movzx eax, word [eax]
sub eax, 6
cmp ax, 1
ja 0x6fc414cb
mov eax, dword [edx + 8]
xor esi, esi
shr eax, 1
mov dword [edx + 0xc], eax
jmp 0x6fc414cb
mov dword [edi + 4], 2
jmp 0x6fc41b9e
mov esi, 8
mov word [ebx + 0xe], si
mov eax, dword [edi + 4]
mov ebx, dword [edi + 0x10]
jmp 0x6fc417c8
mov eax, dword [edi + 4]
cmp eax, 7
ja 0x6fc41a30
lea eax, [eax + eax*2]
mov edx, dword [edi + 0x10]
mov eax, dword [eax*4 + 0x6fc45940]
mov word [edx + 2], ax
mov eax, dword [edi + 4]
mov edx, dword [edi + 0x10]
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x6fc45948]
mov dword [edx + 4], eax
mov eax, dword [edi + 4]
mov edx, dword [edi + 0x10]
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x6fc45944]
mov word [edx + 0xe], ax
mov edx, dword [edi + 0x10]
movzx eax, word [edx + 2]
add eax, eax
mov word [edx + 0xc], ax
mov eax, dword [edi + 0x10]
movzx edx, word [eax + 0xc]
imul edx, dword [eax + 4]
mov dword [eax + 8], edx
jmp 0x6fc41ac1
mov eax, dword [edi + 4]
cmp eax, 7
ja 0x6fc41a30
lea eax, [eax + eax*2]
mov edx, dword [edi + 0x10]
mov eax, dword [eax*4 + 0x6fc45880]
mov word [edx + 2], ax
mov eax, dword [edi + 4]
mov edx, dword [edi + 0x10]
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x6fc45888]
mov dword [edx + 4], eax
mov eax, dword [edi + 4]
mov edx, dword [edi + 0x10]
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x6fc45884]
mov word [edx + 0xe], ax
mov eax, dword [edi + 4]
mov edx, dword [edi + 0x10]
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x6fc45880]
mov word [edx + 0xc], ax
mov eax, dword [edi + 0x10]
movzx edx, word [eax + 2]
imul edx, dword [eax + 4]
mov dword [eax + 8], edx
mov eax, dword [edi + 0x10]
xor edx, edx
mov word [eax + 0x10], dx
jmp 0x6fc41ac1
mov eax, dword [edi + 4]
cmp eax, 7
ja 0x6fc41a30
lea eax, [eax + eax*2]
mov edx, dword [edi + 0x10]
mov eax, dword [eax*4 + 0x6fc458e0]
mov word [edx + 2], ax
mov eax, dword [edi + 4]
mov edx, dword [edi + 0x10]
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x6fc458e8]
mov dword [edx + 4], eax
mov eax, dword [edi + 4]
mov edx, dword [edi + 0x10]
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x6fc458e4]
mov word [edx + 0xe], ax
mov eax, dword [edi + 4]
mov edx, dword [edi + 0x10]
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x6fc458e0]
jmp 0x6fc41edf
mov esi, dword [edx + 4]
cmp dword [ecx + 4], esi
jne 0x6fc41c38
movzx esi, word [edx + 2]
cmp word [ecx + 2], si
jne 0x6fc41c38
cmp word [edx + 0xe], 0x10
jne 0x6fc41c38
mov dword [eax], sym._cvtXXalaw16K
xor esi, esi
jmp 0x6fc414cb
mov edx, 6
mov word [ebx], dx
mov ebx, dword [edi + 0x10]
jmp 0x6fc417f3
mov edx, dword [ebx + 4]
cmp dword [ecx + 4], edx
jne 0x6fc41c38
movzx edx, word [ebx + 2]
cmp word [ecx + 2], dx
jne 0x6fc41c38
cmp word [ecx + 0xe], 0x10
jne 0x6fc41c38
mov dword [eax], sym._cvtXX16alawK
xor esi, esi
jmp 0x6fc414cb
mov esi, dword [edx + 4]
cmp dword [ecx + 4], esi
jne 0x6fc41c38
movzx esi, word [edx + 2]
cmp word [ecx + 2], si
jne 0x6fc41c38
cmp word [edx + 0xe], 0x10
jne 0x6fc41c38
mov dword [eax], sym._cvtXXulaw16K
xor esi, esi
jmp 0x6fc414cb
mov eax, dword [edx + 8]
xor esi, esi
add eax, eax
mov dword [edx + 0xc], eax
jmp 0x6fc414cb
mov eax, dword [edx + 0xc]
xor esi, esi
shr eax, 1
mov dword [edx + 8], eax
jmp 0x6fc414cb
mov dword [esp + 8], 0x35a
mov dword [esp + 4], str._home_nellokudo_build_wine_wine_dlls_msg711.acm_msg711.c
mov dword [esp], str.__adsi__fdwOpen__ACM_STREAMOPENF_ASYNC_
call dword [sym.imp.ucrtbase.dll__assert]
mov esi, 7
jmp 0x6fc414cb