Function at 0x100018d0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x34
test byte [0x10003018], 8
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
jne 0x10001608
cmp ebx, 0x6052
ja case.0x10001460.24578
cmp ebx, 0x6000
jbe 0x10001468
lea eax, [ebx - 0x6001]
cmp eax, 0x51
ja case.0x10001460.24578
jmp dword [eax*4 + 0x10005188]
cmp ebx, 0xa
ja case.0x10001460.24578
cmp ebx, 8
ja 0x100015f0
cmp ebx, 7
je 0x10001960
cmp ebx, 8
jne 0x10001495
mov ebx, 1
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
lea eax, [ebx - 1]
cmp eax, 5
jbe 0x10001484
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], esi
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0xc], ecx
mov dword [ebp + 8], edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp dword [sym.imp.winmm.dll_DefDriverProc]
lea eax, [esi + 0x28]
mov dword [esi + 4], 0x63647561
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0x250001
mov dword [esi + 0x10], 0x1000000
mov dword [esi + 0x14], 0x1000000
mov dword [esi + 0x18], 1
mov dword [esi + 0x1c], 3
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov ebx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
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, [esi + 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, [esi + 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, [esi + 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
mov word [esi + 0x308], 0
sub esp, 0x18
xor ebx, ebx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
lea esp, [ebp - 0xc]
mov ebx, 2
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], str.__08Ix__p__04x__08Ix__08Ix___n
mov dword [esp + 8], str.G711_DriverProc
mov dword [esp + 4], 0x10003018
mov dword [esp], 3
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
jmp 0x10001445
lea esp, [ebp - 0xc]
mov ebx, 8
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
test edi, edi
je 0x10001ad8
cmp edi, 1
je 0x10001a20
test byte [0x10003018], 4
mov ebx, 8
je 0x10001489
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.Unsupported_query__08lx_n
mov dword [esp + 8], str.G711_FormatDetails
mov dword [esp + 4], 0x10003018
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x10001489
mov eax, dword [edi + 0x10]
mov ebx, dword [esi + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x2c]
test eax, 0xffffffcb
je 0x10001710
test byte [0x10003018], 1
je 0x10001710
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unsupported_fdwConvert___08lx___ignoring_it_n
mov dword [esp + 8], str.G711_StreamConvert
mov dword [esp + 4], 0x10003018
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
lea esi, [esi]
lea eax, [ebp - 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x14]
mov dword [esp + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [ebx]
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x24], eax
xor ebx, ebx
jmp 0x10001489
cmp edi, 1
je 0x10001bc8
cmp edi, 2
je 0x10001bb8
test edi, edi
je 0x10001b40
test byte [0x10003018], 4
mov ebx, 8
je 0x10001489
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.Unsupported_query__08lx_n
mov dword [esp + 8], str.G711_FormatTagDetails
mov dword [esp + 4], 0x10003018
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x10001489
cmp dword [esi + 0xc], 0xf
jbe 0x100018c0
cmp dword [esi + 0x14], 0xf
jbe 0x100018c0
mov ebx, dword [esi + 8]
mov eax, ebx
call dbg.G711_GetFormatIndex
inc eax
je 0x100018c0
mov eax, dword [esi + 4]
test eax, 0x20000
jne 0x100017e5
mov eax, dword [esi + 0x10]
mov dx, word [ebx + 2]
mov word [eax + 2], dx
mov eax, dword [esi + 4]
test eax, 0x40000
jne 0x100017fb
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x10]
mov edx, dword [edx + 4]
mov dword [eax + 4], edx
mov eax, dword [esi + 4]
test eax, 0x80000
jne 0x1000181b
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x10]
cmp word [edx], 1
je 0x10001dd8
mov word [eax + 0xe], 0x10
mov eax, dword [esi + 4]
mov ebx, dword [esi + 0x10]
test eax, 0x10000
jne 0x10001847
mov eax, dword [esi + 8]
mov ax, word [eax]
cmp ax, 6
je 0x10001d71
cmp ax, 7
je 0x10001d71
dec ax
je 0x10001f4e
mov eax, ebx
call dbg.G711_GetFormatIndex
inc eax
je 0x100018c0
mov ax, word [ebx]
cmp ax, 6
je 0x10001c70
cmp ax, 7
je 0x10001c70
dec ax
jne case.0x10001460.24577
mov ax, word [ebx + 2]
xor edx, edx
add eax, eax
mov word [ebx + 0xc], ax
xor ebx, ebx
mov eax, dword [esi + 0x10]
mov dx, word [eax + 0xc]
mov ecx, dword [eax + 4]
imul edx, ecx
mov dword [eax + 8], edx
jmp 0x10001489
test byte [esi + 0x18], 2
jne 0x10001fe7
mov eax, dword [esi + 4]
call dbg.G711_GetFormatIndex
inc eax
je 0x100018c0
mov eax, dword [esi + 8]
call dbg.G711_GetFormatIndex
inc eax
jne 0x10001990
lea esi, [esi]
mov ebx, 0x200
jmp 0x10001489
mov edx, dword [esi + 0x20]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
xor ebx, ebx
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]
sub esp, 0xc
jmp 0x10001489
mov eax, dword [edi + 4]
test eax, eax
je 0x10001a88
cmp eax, 1
jne 0x10001a48
mov eax, dword [esi + 4]
mov ax, word [eax]
cmp ax, 1
je 0x10001da5
sub eax, 6
mov ebx, 8
cmp ax, 1
ja 0x10001489
mov eax, dword [esi + 8]
mov ax, word [eax]
cmp ax, 1
je 0x10001fbf
sub eax, 6
cmp ax, 1
ja 0x10001489
mov eax, dword [edi + 0xc]
xor ebx, ebx
mov dword [edi + 8], eax
jmp 0x10001489
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 0x10001484
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 0x10001fdd
mov ecx, dword [esi + 4]
mov dword [esi + 0x20], eax
mov dx, word [ecx]
cmp dx, 1
je 0x10001c98
cmp dx, 6
jne 0x10001c30
mov edx, dword [esi + 8]
mov bx, word [edx]
cmp bx, 1
je 0x10001f1c
cmp bx, 7
jne 0x10001bf8
mov edi, dword [edx + 4]
cmp dword [ecx + 4], edi
jne 0x10001bf8
mov di, word [edx + 2]
cmp word [ecx + 2], di
jne 0x10001bf8
mov dword [eax], dbg.cvtXXalawulawK
xor ebx, ebx
jmp 0x10001489
mov eax, dword [esi + 0x10]
call dbg.G711_GetFormatIndex
inc eax
je 0x100018c0
mov dword [esi + 0xc], 1
mov word [esi + 0x18], 0
xor ebx, ebx
jmp 0x10001489
test byte [0x10003018], 4
mov ebx, 8
je 0x10001489
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], 0x10003018
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x10001489
mov eax, dword [esi + 4]
mov ax, word [eax]
cmp ax, 1
je 0x10001d7e
sub eax, 6
mov ebx, 8
cmp ax, 1
ja 0x10001489
mov eax, dword [esi + 8]
mov ax, word [eax]
cmp ax, 1
je 0x10001fce
sub eax, 6
cmp ax, 1
ja 0x10001489
mov eax, dword [edi + 8]
xor ebx, ebx
mov dword [edi + 0xc], eax
jmp 0x10001489
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 8]
mov word [eax], dx
mov eax, dword [esi + 8]
cmp eax, 6
je 0x10001ec6
cmp eax, 7
je 0x10001e4e
cmp eax, 1
je 0x10001de6
test byte [0x10003018], 4
mov ebx, 0xb
je 0x10001489
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], 0x10003018
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x10001489
cmp dword [esi + 4], 2
ja 0x100018c0
mov eax, dword [esi + 4]
mov dword [esi + 0x10], 1
cmp eax, 1
je 0x10001d31
cmp eax, 2
je 0x10001cf0
test eax, eax
jne case.0x10001460.24577
mov ebx, 0x100050ca
mov dword [esi + 8], 1
mov dword [esi + 0xc], 0x10
mov dword [esi + 0x14], 8
lea edx, [esi + 0x18]
mov eax, 0x50
sub ebx, esi
jmp 0x10001b9f
mov ax, word [ecx + ebx - 0x18]
mov edx, ecx
lea ecx, [edx + 2]
mov word [edx], ax
test ax, ax
jne 0x10001b98
xor ebx, ebx
jmp 0x100015e2
mov eax, dword [esi + 8]
test eax, eax
jne 0x10001bcb
mov dword [esi + 4], 1
jmp 0x10001b4a
mov eax, dword [esi + 8]
cmp eax, 6
je 0x10001bbf
cmp eax, 7
je 0x10001dcc
mov ebx, 0x200
dec eax
jne 0x10001489
mov dword [esi + 4], 0
jmp 0x10001b4a
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov ebx, 8
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esi + 0x20], 0
sub esp, 0xc
jmp 0x10001489
cmp dx, 7
jne 0x10001bf8
mov edx, dword [esi + 8]
mov bx, word [edx]
cmp bx, 1
je 0x10001f8d
cmp bx, 6
jne 0x10001bf8
mov edi, dword [edx + 4]
cmp dword [ecx + 4], edi
jne 0x10001bf8
mov di, word [edx + 2]
cmp word [ecx + 2], di
jne 0x10001bf8
mov dword [eax], dbg.cvtXXulawalawK
xor ebx, ebx
jmp 0x10001489
mov ax, word [ebx + 2]
xor edi, edi
mov word [ebx + 0xc], ax
xor ebx, ebx
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x10]
mov di, word [eax + 2]
mov eax, dword [edx + 4]
imul eax, edi
mov dword [edx + 8], eax
jmp 0x10001489
mov ebx, dword [esi + 8]
mov dx, word [ebx]
cmp dx, 1
je 0x10001bf8
cmp dx, 6
je 0x10001f5b
cmp dx, 7
jne 0x10001bf8
mov edi, dword [ebx + 4]
cmp dword [ecx + 4], edi
jne 0x10001bf8
mov di, word [ebx + 2]
cmp word [ecx + 2], di
jne 0x10001bf8
cmp word [ecx + 0xe], 0x10
jne 0x10001bf8
mov dword [eax], dbg.cvtXX16ulawK
xor ebx, ebx
jmp 0x10001489
mov ebx, str.U_Law
mov dword [esi + 8], 7
mov dword [esi + 0xc], 0x12
mov dword [esi + 0x14], 8
lea edx, [esi + 0x18]
mov eax, 0x55
sub ebx, esi
jmp 0x10001d1f
mov ax, word [edx + ebx - 0x16]
mov edx, ecx
lea ecx, [edx + 2]
mov word [edx], ax
test ax, ax
jne 0x10001d18
xor ebx, ebx
jmp 0x100015e2
mov ebx, str.A_Law
mov dword [esi + 8], 6
mov dword [esi + 0xc], 0x12
mov dword [esi + 0x14], 8
lea edx, [esi + 0x18]
mov eax, 0x41
sub ebx, esi
jmp 0x10001d5f
mov ax, word [edx + ebx - 0x16]
mov edx, ecx
lea ecx, [edx + 2]
mov word [edx], ax
test ax, ax
jne 0x10001d58
xor ebx, ebx
jmp 0x100015e2
mov word [ebx], 1
mov ebx, dword [esi + 0x10]
jmp 0x10001847
mov eax, dword [esi + 8]
mov ebx, 8
mov ax, word [eax]
sub eax, 6
cmp ax, 1
ja 0x10001489
mov eax, dword [edi + 8]
xor ebx, ebx
shr eax, 1
mov dword [edi + 0xc], eax
jmp 0x10001489
mov eax, dword [esi + 8]
mov ebx, 8
mov ax, word [eax]
sub eax, 6
cmp ax, 1
ja 0x10001489
mov eax, dword [edi + 0xc]
xor ebx, ebx
add eax, eax
mov dword [edi + 8], eax
jmp 0x10001489
mov dword [esi + 4], 2
jmp 0x10001b4a
mov word [eax + 0xe], 8
mov eax, dword [esi + 4]
jmp 0x1000181b
mov eax, dword [esi + 4]
cmp eax, 7
ja 0x100018c0
lea eax, [eax + eax*2]
mov edx, dword [esi + 0x10]
mov eax, dword [eax*4 + 0x10005920]
mov word [edx + 2], ax
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x10]
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x10005928]
mov dword [edx + 4], eax
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x10]
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x10005924]
mov word [edx + 0xe], ax
mov edx, dword [esi + 0x10]
mov ax, word [edx + 2]
add eax, eax
mov word [edx + 0xc], ax
xor edx, edx
mov eax, dword [esi + 0x10]
mov dx, word [eax + 0xc]
mov edi, dword [eax + 4]
imul edx, edi
mov dword [eax + 8], edx
jmp 0x10001a2f
mov eax, dword [esi + 4]
cmp eax, 7
ja 0x100018c0
lea eax, [eax + eax*2]
mov edx, dword [esi + 0x10]
mov eax, dword [eax*4 + 0x10005860]
mov word [edx + 2], ax
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x10]
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x10005868]
mov dword [edx + 4], eax
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x10]
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x10005864]
mov word [edx + 0xe], ax
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x10]
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x10005860]
mov word [edx + 0xc], ax
xor edx, edx
mov eax, dword [esi + 0x10]
mov dx, word [eax + 2]
mov ebx, dword [eax + 4]
imul edx, ebx
mov dword [eax + 8], edx
mov eax, dword [esi + 0x10]
mov word [eax + 0x10], 0
jmp 0x10001a2f
mov eax, dword [esi + 4]
cmp eax, 7
ja 0x100018c0
lea eax, [eax + eax*2]
mov edx, dword [esi + 0x10]
mov eax, dword [eax*4 + 0x100058c0]
mov word [edx + 2], ax
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x10]
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x100058c8]
mov dword [edx + 4], eax
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x10]
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x100058c4]
mov word [edx + 0xe], ax
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x10]
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x100058c0]
jmp 0x10001ea2
mov edi, dword [edx + 4]
cmp dword [ecx + 4], edi
jne 0x10001bf8
mov di, word [edx + 2]
cmp word [ecx + 2], di
jne 0x10001bf8
cmp word [edx + 0xe], 0x10
jne 0x10001bf8
mov dword [eax], dbg.cvtXXalaw16K
xor ebx, ebx
jmp 0x10001489
mov word [ebx], 6
mov ebx, dword [esi + 0x10]
jmp 0x10001847
mov edi, dword [ebx + 4]
cmp dword [ecx + 4], edi
jne 0x10001bf8
mov di, word [ebx + 2]
cmp word [ecx + 2], di
jne 0x10001bf8
cmp word [ecx + 0xe], 0x10
jne 0x10001bf8
mov dword [eax], dbg.cvtXX16alawK
xor ebx, ebx
jmp 0x10001489
mov edi, dword [edx + 4]
cmp dword [ecx + 4], edi
jne 0x10001bf8
mov di, word [edx + 2]
cmp word [ecx + 2], di
jne 0x10001bf8
cmp word [edx + 0xe], 0x10
jne 0x10001bf8
mov dword [eax], dbg.cvtXXulaw16K
xor ebx, ebx
jmp 0x10001489
mov eax, dword [edi + 0xc]
xor ebx, ebx
shr eax, 1
mov dword [edi + 8], eax
jmp 0x10001489
mov eax, dword [edi + 8]
xor ebx, ebx
add eax, eax
mov dword [edi + 0xc], eax
jmp 0x10001489
mov ebx, 7
jmp 0x10001489
mov dword [esp + 8], 0x35a
mov dword [esp + 4], str..._wine_9.10_dlls_msg711.acm_msg711.c
mov dword [esp], str.__adsi__fdwOpen__ACM_STREAMOPENF_ASYNC_
call dword [sym.imp.ucrtbase.dll__assert]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop