Function at 0x1000ab40
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
test byte [0x10018114], 8
jne 0x1000acd0
test edi, edi
je 0x1000afb8
mov eax, dword [ebx]
cmp eax, dword [0x1001c520]
je 0x1000ac80
cmp eax, dword [0x1001c510]
je 0x1000ad90
cmp eax, dword [0x1001c500]
je 0x1000adc8
cmp eax, dword [0x1001c290]
je 0x1000ae30
cmp eax, dword [0x1001c280]
je 0x1000ae60
cmp eax, dword [0x1001c240]
je 0x1000af08
cmp eax, dword [0x1001c200]
je 0x1000aec8
cmp eax, dword [0x1001ebf0]
je 0x1000af40
cmp eax, dword [str.__a]
je 0x1000afc2
cmp eax, dword [0x1001c830]
je 0x1000b108
cmp eax, dword [0x1001c820]
je 0x1000b1b1
cmp eax, dword [0x1001c7c0]
je 0x1000b227
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0x1001c1d0
mov dword [esp], ebx
call sym._memcmp
test eax, eax
je 0x1000b2a7
mov edx, 0x80004002
test byte [0x10018114], 2
jne 0x1000b2ba
nop
lea esi, [esi]
mov dword [edi], 0
movzx eax, byte [0x10018114]
test al, 8
je 0x1000aeb7
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Returning__08lx_n
mov dword [esp + 8], str.MMDevice_Activate
mov dword [esp + 4], 0x10018114
mov dword [esp], 3
mov dword [ebp - 0x28], edx
call sym._wine_dbg_log.constprop.1_3
mov edx, dword [ebp - 0x28]
lea esp, [ebp - 0xc]
pop ebx
pop esi
mov eax, edx
pop edi
pop ebp
ret 0x14
mov ecx, dword [0x1001c524]
cmp dword [ebx + 4], ecx
jne 0x1000ab75
mov ecx, dword [0x1001c528]
cmp dword [ebx + 8], ecx
jne 0x1000ab75
mov ecx, dword [0x1001c52c]
cmp dword [ebx + 0xc], ecx
jne 0x1000ab75
mov dword [esp + 4], esi
add esi, 0x2c
mov dword [esp + 8], edi
mov dword [esp], esi
call sym._AudioClient_Create
mov edx, eax
jmp 0x1000aea0
test ebx, ebx
je 0x1000ae20
mov eax, ebx
shr eax, 0x10
je 0x1000ae00
movzx eax, byte [ebx + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [ebx + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [ebx + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [ebx + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [ebx + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [ebx + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [ebx + 8]
mov dword [esp + 0x10], eax
movzx eax, word [ebx + 6]
mov dword [esp + 0xc], eax
movzx eax, word [ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp], 0x1001b370
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_3
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__p_____s___lx___p___p__n
mov dword [esp + 8], str.MMDevice_Activate
mov dword [esp + 4], 0x10018114
mov dword [esp], 3
call sym._wine_dbg_log.constprop.1_3
jmp 0x1000ab5f
mov ecx, dword [0x1001c514]
cmp dword [ebx + 4], ecx
jne 0x1000ab81
mov ecx, dword [0x1001c518]
cmp dword [ebx + 8], ecx
jne 0x1000ab81
mov ecx, dword [0x1001c51c]
cmp dword [ebx + 0xc], ecx
jne 0x1000ab81
jmp 0x1000acad
mov ecx, dword [0x1001c504]
cmp dword [ebx + 4], ecx
jne 0x1000ab8d
mov ecx, dword [0x1001c508]
cmp dword [ebx + 8], ecx
jne 0x1000ab8d
mov ecx, dword [0x1001c50c]
cmp dword [ebx + 0xc], ecx
jne 0x1000ab8d
jmp 0x1000acad
movzx eax, bx
mov dword [esp], 0x1001b35f
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_3
jmp 0x1000ad45
mov eax, 0x1001afc0
jmp 0x1000ad45
mov ecx, dword [0x1001c294]
cmp dword [ebx + 4], ecx
jne 0x1000ab99
mov ecx, dword [0x1001c298]
cmp dword [ebx + 8], ecx
jne 0x1000ab99
mov ecx, dword [0x1001c29c]
cmp dword [ebx + 0xc], ecx
jne 0x1000ab99
jmp 0x1000ae8d
mov ecx, dword [0x1001c284]
cmp dword [ebx + 4], ecx
jne 0x1000aba5
mov ecx, dword [0x1001c288]
cmp dword [ebx + 8], ecx
jne 0x1000aba5
mov ecx, dword [0x1001c28c]
cmp dword [ebx + 0xc], ecx
jne 0x1000aba5
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._AudioEndpointVolume_Create
mov edx, eax
nop
lea esi, [esi]
movzx eax, byte [0x10018114]
test edx, edx
js 0x1000ac30
test al, 8
jne 0x1000ac45
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
mov ecx, dword [0x1001c204]
cmp dword [ebx + 4], ecx
jne 0x1000abbd
mov ecx, dword [0x1001c208]
cmp dword [ebx + 8], ecx
jne 0x1000abbd
mov ecx, dword [0x1001c20c]
cmp dword [ebx + 0xc], ecx
jne 0x1000abbd
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._AudioSessionManager_Create
mov edx, eax
jmp 0x1000aea0
mov ecx, dword [0x1001c244]
cmp dword [ebx + 4], ecx
jne 0x1000abb1
mov ecx, dword [0x1001c248]
cmp dword [ebx + 8], ecx
jne 0x1000abb1
mov ecx, dword [0x1001c24c]
cmp dword [ebx + 0xc], ecx
jne 0x1000abb1
jmp 0x1000aef5
mov ecx, dword [0x1001ebf4]
cmp dword [ebx + 4], ecx
jne 0x1000abc9
mov ecx, dword [0x1001ebf8]
cmp dword [ebx + 8], ecx
jne 0x1000abc9
mov ecx, dword [0x1001ebfc]
cmp dword [ebx + 0xc], ecx
jne 0x1000abc9
cmp dword [esi + 0x24], 0
je 0x1000b042
mov edx, 0x80004002
test byte [0x10018114], 2
je 0x1000ac30
mov dword [esp + 0xc], str.Not_supported_for_recording__n
mov dword [esp + 8], str.MMDevice_Activate
mov dword [esp + 4], 0x10018114
mov dword [esp], 1
mov dword [ebp - 0x28], edx
call sym._wine_dbg_log.constprop.0_3
mov edx, dword [ebp - 0x28]
jmp 0x1000ac30
mov edx, 0x80004003
jmp 0x1000aeb7
mov ecx, dword [0x1001c2d4]
cmp dword [ebx + 4], ecx
jne 0x1000abd5
mov ecx, dword [0x1001c2d8]
cmp dword [ebx + 8], ecx
jne 0x1000abd5
mov ecx, dword [0x1001c2dc]
cmp dword [ebx + 0xc], ecx
jne 0x1000abd5
mov dword [esp + 8], 8
xor edx, edx
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x28], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [ebp - 0x28]
sub esp, 0xc
test eax, eax
je 0x1000b359
mov dword [eax], sym._DT_QueryInterface_12
mov dword [eax + 4], 1
mov dword [edi], eax
movzx eax, byte [0x10018114]
jmp 0x1000aeaf
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x1001e270
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
mov edx, eax
test eax, eax
js 0x1000ac30
mov eax, dword [edi]
lea ecx, [ebp - 0x24]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x1001f280
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
test eax, eax
js 0x1000b1e3
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x20], 0x1001c0cc
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [edx + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
sub esp, 0xc
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x28]
movzx eax, byte [0x10018114]
sub esp, 4
test edx, edx
jns 0x1000aeaf
mov eax, dword [edi]
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x28]
push ebx
jmp 0x1000aea0
mov ecx, dword [0x1001c834]
cmp dword [ebx + 4], ecx
jne 0x1000abe1
mov ecx, dword [0x1001c838]
cmp dword [ebx + 8], ecx
jne 0x1000abe1
mov ecx, dword [0x1001c83c]
cmp dword [ebx + 0xc], ecx
jne 0x1000abe1
mov ecx, dword [esi + 0x24]
mov edx, 0x80004002
test ecx, ecx
jne 0x1000ac30
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x1001c870
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
mov edx, eax
test eax, eax
js 0x1000ac30
mov eax, dword [edi]
add esi, 0x2c
mov edx, dword [eax]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x28]
mov edx, eax
sub esp, 8
movzx eax, byte [0x10018114]
test edx, edx
jns 0x1000aeaf
mov eax, dword [edi]
mov dword [ebp - 0x28], edx
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x28]
push eax
jmp 0x1000ac30
mov ecx, dword [0x1001c824]
cmp dword [ebx + 4], ecx
jne 0x1000abed
mov ecx, dword [0x1001c828]
cmp dword [ebx + 8], ecx
jne 0x1000abed
mov ecx, dword [0x1001c82c]
cmp dword [ebx + 0xc], ecx
jne 0x1000abed
jmp 0x1000b135
movzx eax, byte [0x10018114]
test al, 1
jne 0x1000b1f5
xor edx, edx
jmp 0x1000aeaf
mov dword [esp + 0xc], str.Wine_doesnt_support_IPersistPropertyBag_on_DSoundRender_yet__ignoring.._n
mov dword [esp + 8], str.MMDevice_Activate
mov dword [esp + 4], 0x10018114
mov dword [esp], 0
call sym._wine_dbg_log.constprop.2
movzx eax, byte [0x10018114]
xor edx, edx
jmp 0x1000aeaf
mov eax, dword [0x1001c7c4]
cmp dword [ebx + 4], eax
jne 0x1000abf9
mov eax, dword [0x1001c7c8]
cmp dword [ebx + 8], eax
jne 0x1000abf9
mov eax, dword [0x1001c7cc]
cmp dword [ebx + 0xc], eax
jne 0x1000abf9
cmp dword [esi + 0x24], 1
mov edx, 0x80004002
jne 0x1000ac30
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x1001c850
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
mov edx, eax
test eax, eax
js 0x1000ac30
mov eax, dword [edi]
add esi, 0x2c
mov edx, dword [eax]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x14]
jmp 0x1000b187
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._SpatialAudioClient_Create
mov edx, eax
jmp 0x1000aea0
mov eax, ebx
shr eax, 0x10
je 0x1000b363
movzx eax, byte [ebx + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [ebx + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [ebx + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [ebx + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [ebx + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [ebx + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [ebx + 8]
mov dword [esp + 0x10], eax
movzx eax, word [ebx + 6]
mov dword [esp + 0xc], eax
movzx eax, word [ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp], 0x1001b370
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_3
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Invalid_unknown_iid__s_n
mov dword [esp + 8], str.MMDevice_Activate
mov dword [esp + 4], 0x10018114
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_3
mov edx, 0x80004002
jmp 0x1000ac30
mov edx, 0x8007000e
jmp 0x1000ac30
movzx ebx, bx
mov dword [esp], 0x1001b35f
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf_3
jmp 0x1000b327