Function at 0x100043c0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
lea ecx, [ebp + 8]
sub esp, 0xd8
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov esi, dword [ecx + 8]
mov dword [ebp - 0xac], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x94], 0
mov ebx, dword [ecx + 0xc]
mov dword [ebp - 0xa4], eax
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x90], 0
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x84], 0
test byte [0x10006038], 8
jne 0x100048f8
mov eax, dword [ebp - 0xa4]
test esi, esi
sete cl
test eax, eax
sete al
or cl, al
jne 0x100048e8
test edi, edi
je 0x100048e8
test edx, edx
je 0x1000446a
test byte [0x10006038], 1
jne 0x10004878
test ebx, ebx
je 0x100048a4
mov eax, dword [ebx]
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x90]
mov dword [esp], 0x236
mov dword [esp + 4], eax
call sym._WICCreateImagingFactory_Proxy_8
mov dword [ebp - 0xa8], 0
sub esp, 8
mov ebx, eax
test eax, eax
js 0x100047b8
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x84]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x38]
sub esp, 8
mov ebx, eax
test eax, eax
js 0x100047b8
mov eax, dword [ebp - 0x84]
mov edx, dword [eax]
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [edx + 0x40]
sub esp, 0xc
mov ebx, eax
test eax, eax
js 0x100047b8
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x8c]
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp - 0x84]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0x14
mov ebx, eax
test eax, eax
js 0x100047b8
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0xa0]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x30]
sub esp, 8
mov ebx, eax
test eax, eax
js 0x100047b8
mov edx, dword [ebp - 0xa0]
test edx, edx
je 0x100047b8
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x94]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x34]
sub esp, 0xc
mov ebx, eax
test eax, eax
js 0x100047b8
mov eax, dword [ebp - 0x94]
lea esi, [ebp - 0x70]
mov edx, dword [eax]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 8
mov ebx, eax
test eax, eax
js 0x100047b8
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xb4], eax
xor eax, eax
jmp 0x100045f8
add eax, 1
cmp eax, 0x15
je 0x10004625
cmp edx, dword [eax*4 + str.FGHIJKLMNOPQRST__abc]
jne 0x100045f0
mov eax, dword [ebp - 0xb0]
add eax, 3
and eax, 0xfffffffc
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb4]
add eax, 3
and eax, 0xfffffffc
mov dword [ebp - 0xb4], eax
lea eax, [edx - 1]
cmp eax, 0x72
ja 0x10004958
movzx eax, byte [edx + 0x100088df]
imul eax, dword [ebp - 0xb0]
mov edi, dword [ebp - 0xb4]
add eax, 7
shr eax, 3
mov dword [ebp - 0xb8], eax
imul edi, eax
mov dword [esp + 8], edi
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 dword [ebp - 0xa8], eax
sub esp, 0xc
test eax, eax
je 0x10004baa
mov edx, dword [ebp - 0x48]
xor eax, eax
jmp 0x1000469c
add eax, 1
cmp eax, 0x15
je 0x10004970
cmp edx, dword [eax*4 + str.FGHIJKLMNOPQRST__abc]
jne 0x10004690
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x98]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], str.a_fL
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
mov ebx, eax
test eax, eax
js 0x100047b8
mov eax, dword [ebp - 0x98]
mov esi, dword [ebp - 0xa8]
mov edx, dword [eax]
mov dword [esp + 0x10], esi
mov esi, dword [ebp - 0xb8]
mov dword [esp + 0xc], edi
mov dword [esp + 4], 0
lea ecx, [esi*4]
mov dword [esp], eax
mov dword [esp + 8], ecx
call dword [edx + 0x14]
sub esp, 0x14
mov ebx, eax
test eax, eax
js 0x100047b8
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x74], edi
lea ecx, [ebp - 0x88]
lea edx, [ebp - 0x3c]
mov edi, dword [ebp - 0xac]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x1c], 8
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x78], eax
mov eax, dword [edi]
mov dword [esp + 0xc], ecx
lea ecx, [ebp - 0x7c]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], edi
call dword [eax + 0x14]
sub esp, 0x10
mov ebx, eax
test eax, eax
js 0x100047b8
mov eax, dword [ebp - 0x88]
mov edi, dword [ebp - 0xa4]
xor ebx, ebx
mov dword [edi], eax
lea esi, [esi]
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x100047cd
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x100047e2
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov esi, dword [ebp - 0xa8]
test esi, esi
je 0x10004810
mov dword [esp + 8], esi
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_HeapFree]
sub esp, 0xc
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x10004825
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x1000483a
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x1000484f
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x10004864
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
mov dword [esp + 0xc], str.Thread_pump_is_not_supported_yet._n
mov dword [esp + 8], str.D3DX11CreateTextureFromMemory
mov dword [esp + 4], 0x10006038
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_2
test ebx, ebx
jne 0x10004472
lea eax, [ebp - 0x60]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], edi
call sym.d3dx11_43.dll_D3DX11GetImageInfoFromMemory
sub esp, 0x14
test eax, eax
js 0x100048e8
test byte [ebp - 0x4c], 4
je 0x1000449c
test byte [0x10006038], 1
jne 0x10004b81
lea esi, [esi]
mov ebx, 0x80004005
jmp 0x10004864
mov dword [esp + 0x28], eax
mov eax, dword [ebp - 0xa4]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.device__p__data__p__data_size__Iu__load_info__p__pump__p__texture__p__hresult__p._n
mov dword [esp + 8], str.D3DX11CreateTextureFromMemory
mov dword [esp + 4], 0x10006038
mov dword [esp], 3
mov dword [ebp - 0xa8], edx
call sym._wine_dbg_log.constprop.0_2
mov edx, dword [ebp - 0xa8]
jmp 0x10004439
mov dword [ebp - 0xb8], 0
xor edi, edi
jmp 0x10004654
xor eax, eax
jmp 0x10004984
add eax, 1
cmp eax, 0x12
je 0x10004af0
cmp edx, dword [eax*8 + 0x10008b44]
jne 0x10004978
mov eax, dword [eax*8 + 0x10008b40]
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x10004af0
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax]
cmp dword [ebp - 0x70], eax
je 0x10004ab0
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x9c]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x28]
sub esp, 8
mov ebx, eax
test eax, eax
js 0x100047b8
mov eax, dword [ebp - 0x9c]
mov ebx, dword [ebp - 0xbc]
lea ecx, [ebp - 0x80]
mov edx, dword [eax]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x24]
sub esp, 0x10
mov ebx, eax
test eax, eax
js 0x100047b8
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x10004b2f
mov eax, dword [ebp - 0x9c]
mov esi, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x94]
mov edx, dword [eax]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 8
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x20]
sub esp, 0x20
mov ebx, eax
test eax, eax
js 0x100047b8
mov eax, dword [ebp - 0x9c]
mov esi, dword [ebp - 0xa8]
mov edx, dword [eax]
mov dword [esp + 0xc], edi
mov dword [esp + 4], 0
mov dword [esp + 0x10], esi
mov esi, dword [ebp - 0xb8]
mov dword [esp], eax
mov dword [esp + 8], esi
call dword [edx + 0x1c]
sub esp, 0x14
mov ebx, eax
test eax, eax
jns 0x10004713
jmp 0x100047b8
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 4]
cmp dword [ebp - 0x6c], eax
jne 0x100049b3
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 8]
cmp dword [esi + 8], eax
jne 0x100049b3
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0xc]
cmp dword [esi + 0xc], eax
jne 0x100049b3
mov eax, dword [ebp - 0x94]
jmp 0x10004a70
mov ebx, 0x80004005
test byte [0x10006038], 1
je 0x100047b8
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Unsupported_DXGI_format__x._n
mov dword [esp + 8], str.D3DX11CreateTextureFromMemory
mov dword [esp + 4], 0x10006038
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_2
jmp 0x100047b8
test byte [0x10006038], 4
je 0x100047b8
mov eax, dword [ebp - 0xbc]
call sym._wine_dbgstr_guid
mov edi, eax
mov eax, esi
call sym._wine_dbgstr_guid
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Format_converting__s_to__s_is_not_supported_by_WIC._n
mov dword [esp + 8], str.D3DX11CreateTextureFromMemory
mov dword [esp + 4], 0x10006038
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_2
jmp 0x100047b8
mov dword [esp + 0xc], str.Cube_map_is_not_supported._n
mov dword [esp + 8], str.D3DX11CreateTextureFromMemory
mov dword [esp + 4], 0x10006038
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_2
jmp 0x100048e8
mov ebx, 0x80004005
jmp 0x100047b8