Function at 0x67f86810
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x48
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
mov edi, dword [ecx + 8]
test byte [0x67f8d028], 8
jne 0x67f86950
mov eax, dword [ebx]
cmp dword [0x67f99bd8], eax
je 0x67f86870
mov eax, dword [ebx]
cmp dword [0x67f99be8], eax
je 0x67f86aa0
mov ebx, 0x80004002
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, dword [ebx + 4]
cmp dword [0x67f99bdc], eax
jne 0x67f86843
mov eax, dword [ebx + 8]
cmp dword [0x67f99be0], eax
jne 0x67f86843
mov eax, dword [ebx + 0xc]
cmp dword [0x67f99be4], eax
jne 0x67f86843
mov eax, dword [esi]
cmp dword [0x67f905a8], eax
je 0x67f86b18
mov ebx, 0x80040111
test byte [0x67f8d028], 1
je 0x67f86856
mov eax, esi
shr eax, 0x10
je 0x67f86b99
movzx eax, byte [esi + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [esi + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [esi + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [esi + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [esi + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [esi + 8]
mov dword [esp + 0x10], eax
movzx eax, word [esi + 6]
mov dword [esp + 0xc], eax
movzx eax, word [esi + 4]
mov dword [esp + 8], eax
mov eax, dword [esi]
mov dword [esp], 0x67f902d4
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov dword [esp + 0x10], eax
mov ebx, 0x80040111
mov dword [esp + 0xc], str._s:_no_class_found._n
mov dword [esp + 8], str.DllGetClassObject
mov dword [esp + 4], 0x67f8d028
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
jmp 0x67f86856
test ebx, ebx
je 0x67f86af8
mov eax, ebx
shr eax, 0x10
je 0x67f86a80
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], 0x67f902d4
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov edx, eax
test esi, esi
je 0x67f86b08
mov eax, esi
mov dword [ebp - 0x1c], edx
shr eax, 0x10
je 0x67f86ad8
movzx eax, byte [esi + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [esi + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [esi + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [esi + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [esi + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [esi + 8]
mov dword [esp + 0x10], eax
movzx eax, word [esi + 6]
mov dword [esp + 0xc], eax
movzx eax, word [esi + 4]
mov dword [esp + 8], eax
mov eax, dword [esi]
mov dword [esp], 0x67f902d4
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.rclsid__s__riid__s__out__p._n
mov dword [esp + 8], str.DllGetClassObject
mov dword [esp + 4], 0x67f8d028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x67f86839
movzx eax, bx
mov dword [esp], 0x67f902c3
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov edx, eax
jmp 0x67f869c7
mov eax, dword [ebx + 4]
cmp dword [0x67f99bec], eax
jne 0x67f86851
mov eax, dword [ebx + 8]
cmp dword [0x67f99bf0], eax
jne 0x67f86851
mov eax, dword [ebx + 0xc]
cmp dword [0x67f99bf4], eax
jne 0x67f86851
jmp 0x67f86891
movzx eax, si
mov dword [esp], 0x67f902c3
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov edx, dword [ebp - 0x1c]
jmp 0x67f86a42
mov edx, 0x67f902bc
jmp 0x67f869c7
mov eax, 0x67f902bc
jmp 0x67f86a42
mov eax, dword [esi + 4]
cmp dword [0x67f905ac], eax
jne 0x67f8689f
mov eax, dword [esi + 8]
cmp dword [0x67f905b0], eax
jne 0x67f8689f
mov eax, dword [esi + 0xc]
cmp dword [0x67f905b4], eax
jne 0x67f8689f
mov dword [esp + 8], 0xc
xor ebx, ebx
mov dword [esp + 4], 8
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 0x67f86bb1
mov dword [eax], sym._ddrawex_class_factory_QueryInterface_12
mov dword [eax + 4], 1
mov dword [eax + 8], sym._ddrawex_factory_create
mov dword [edi], eax
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
movzx esi, si
mov dword [esp], 0x67f902c3
mov dword [esp + 4], esi
call sym._wine_dbg_sprintf_1
jmp 0x67f8691a
mov ebx, 0x8007000e
jmp 0x67f86856