Function at 0x10001980
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov esi, eax
sub esp, 0xc
mov ebx, dword [0x10016020]
test ebx, ebx
je 0x100019f8
mov dword [esp + 8], 0xa0
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 ebx, eax
sub esp, 0xc
mov eax, dword [section..bss]
mov dword [ebx], eax
mov dword [ebx + 4], 1
mov dword [esp], ebx
call sym._MapLS_4
mov dword [esi], eax
push edx
mov dword [ebx + 8], eax
mov dword [ebx + 0x98], 0
mov dword [ebx + 0x9c], 0
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov dword [esp], str.STORAGE
call sym._GetModuleHandle16_4
cmp ax, 0x1f
mov ebx, eax
push ecx
ja 0x10001a58
mov dword [0x10016020], dbg.IStream16_fnQueryInterface
mov dword [0x10016024], 0x100016a0
mov dword [0x10016028], 0x10002140
mov dword [0x1001602c], 0x10002ed0
mov dword [0x10016030], 0x10004970
mov dword [0x10016034], 0x10001ed0
mov dword [section..bss], 0x10016020
jmp 0x10001994
and ebx, 0xffff
mov dword [esp + 4], str.IStream16_QueryInterface
mov dword [esp], ebx
call sym._GetProcAddress16_8
mov dword [0x10016020], eax
test eax, eax
push edx
push edx
je 0x10001c1f
mov dword [esp + 4], str.IStream16_AddRef
mov dword [esp], ebx
call sym._GetProcAddress16_8
mov dword [0x10016024], eax
test eax, eax
push ecx
push ecx
je 0x10001d98
mov dword [esp + 4], str.IStream16_Release
mov dword [esp], ebx
call sym._GetProcAddress16_8
mov dword [0x10016028], eax
test eax, eax
push edx
push edx
je 0x10001d7b
mov dword [esp + 4], str.IStream16_Read
mov dword [esp], ebx
call sym._GetProcAddress16_8
mov dword [0x1001602c], eax
test eax, eax
push ecx
push ecx
je 0x10001d5e
mov dword [esp + 4], str.IStream16_Write
mov dword [esp], ebx
call sym._GetProcAddress16_8
mov dword [0x10016030], eax
test eax, eax
push edx
push edx
je 0x10001d41
mov dword [esp + 4], str.IStream16_Seek
mov dword [esp], ebx
call sym._GetProcAddress16_8
mov dword [0x10016034], eax
test eax, eax
push ecx
push ecx
je 0x10001d24
mov dword [esp + 4], str.IStream16_SetSize
mov dword [esp], ebx
call sym._GetProcAddress16_8
mov dword [0x10016038], eax
test eax, eax
push edx
push edx
je 0x10001d07
mov dword [esp + 4], str.IStream16_CopyTo
mov dword [esp], ebx
call sym._GetProcAddress16_8
mov dword [0x1001603c], eax
test eax, eax
push ecx
push ecx
je 0x10001cea
mov dword [esp + 4], str.IStream16_Commit
mov dword [esp], ebx
call sym._GetProcAddress16_8
mov dword [0x10016040], eax
test eax, eax
push edx
push edx
je 0x10001ccd
mov dword [esp + 4], str.IStream16_Revert
mov dword [esp], ebx
call sym._GetProcAddress16_8
mov dword [0x10016044], eax
test eax, eax
push ecx
push ecx
je 0x10001cb0
mov dword [esp + 4], str.IStream16_LockRegion
mov dword [esp], ebx
call sym._GetProcAddress16_8
mov dword [0x10016048], eax
test eax, eax
push edx
push edx
je 0x10001c93
mov dword [esp + 4], str.IStream16_UnlockRegion
mov dword [esp], ebx
call sym._GetProcAddress16_8
mov dword [0x1001604c], eax
test eax, eax
push ecx
push ecx
je 0x10001c76
mov dword [esp + 4], str.IStream16_Stat
mov dword [esp], ebx
call sym._GetProcAddress16_8
mov dword [0x10016050], eax
test eax, eax
push edx
push edx
je 0x10001c59
mov dword [esp], ebx
mov dword [esp + 4], str.IStream16_Clone
call sym._GetProcAddress16_8
mov dword [0x10016054], eax
test eax, eax
push ebx
push ebx
je 0x10001c3c
mov dword [esp], 0x10016020
call sym._MapLS_4
mov dword [section..bss], eax
push ecx
jmp 0x10001994
mov dword [esp + 8], 0x60a
mov dword [esp + 4], str..._wine_9.10_dlls_storage.dll16_storage.c
mov dword [esp], str.strvt16.QueryInterface
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x617
mov dword [esp + 4], str..._wine_9.10_dlls_storage.dll16_storage.c
mov dword [esp], str.strvt16.Clone
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x616
mov dword [esp + 4], str..._wine_9.10_dlls_storage.dll16_storage.c
mov dword [esp], str.strvt16.Stat
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x615
mov dword [esp + 4], str..._wine_9.10_dlls_storage.dll16_storage.c
mov dword [esp], str.strvt16.UnlockRegion
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x614
mov dword [esp + 4], str..._wine_9.10_dlls_storage.dll16_storage.c
mov dword [esp], str.strvt16.LockRegion
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x613
mov dword [esp + 4], str..._wine_9.10_dlls_storage.dll16_storage.c
mov dword [esp], str.strvt16.Revert
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x612
mov dword [esp + 4], str..._wine_9.10_dlls_storage.dll16_storage.c
mov dword [esp], str.strvt16.Commit
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x611
mov dword [esp + 4], str..._wine_9.10_dlls_storage.dll16_storage.c
mov dword [esp], str.strvt16.CopyTo
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x610
mov dword [esp + 4], str..._wine_9.10_dlls_storage.dll16_storage.c
mov dword [esp], str.strvt16.SetSize
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x60f
mov dword [esp + 4], str..._wine_9.10_dlls_storage.dll16_storage.c
mov dword [esp], str.strvt16.Seek
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x60e
mov dword [esp + 4], str..._wine_9.10_dlls_storage.dll16_storage.c
mov dword [esp], str.strvt16.Write
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x60d
mov dword [esp + 4], str..._wine_9.10_dlls_storage.dll16_storage.c
mov dword [esp], str.strvt16.Read
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x60c
mov dword [esp + 4], str..._wine_9.10_dlls_storage.dll16_storage.c
mov dword [esp], str.strvt16.Release
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x60b
mov dword [esp + 4], str..._wine_9.10_dlls_storage.dll16_storage.c
mov dword [esp], str.strvt16.AddRef
call dword [sym.imp.ucrtbase.dll__assert]
lea esi, [esi]
lea esi, [esi]