Function at 0x6fb50140
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x5c
mov edi, dword [eax + 0xbc]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x2c], ecx
test edi, edi
je 0x6fb501a0
lea esi, [ebp - 0x2c]
jmp 0x6fb5016d
mov eax, dword [edi + 4]
cmovns eax, dword [edi + 8]
mov edi, eax
test eax, eax
je 0x6fb501a0
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [ebx + 0xb8]
test eax, eax
jne 0x6fb50160
test byte [0x6fb5e160], 8
jne 0x6fb502f0
lea eax, [edi - 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0x44
mov edi, dword [sym.imp.kernel32.dll_HeapAlloc]
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 edi
mov dword [ebp - 0x30], eax
sub esp, 0xc
test eax, eax
je 0x6fb50191
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov dword [esi + 4], eax
add eax, dword [ebp - 0x34]
mov edx, dword [eax]
lea ecx, [eax + 4]
mov dword [esi], sym._d3dcompiler_shader_reflection_type_GetDesc_8
mov dword [ebp - 0x1c], ecx
movzx ecx, dx
shr edx, 0x10
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
test byte [0x6fb5e160], 8
jne 0x6fb50320
mov edx, dword [eax + 4]
mov esi, dword [ebp - 0x30]
add eax, 8
mov dword [ebp - 0x1c], eax
movzx ecx, dx
shr edx, 0x10
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
mov edx, dword [eax]
mov esi, dword [ebp - 0x30]
add eax, 4
mov dword [ebp - 0x1c], eax
movzx ecx, dx
shr edx, 0x10
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], edx
mov esi, dword [eax]
add eax, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x18]
cmp word [eax + 0xc], 0x4ff
ja 0x6fb504d8
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x30]
test eax, eax
jne 0x6fb50500
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3c]
lea esi, [ebp - 0x2c]
mov edi, dword [ebx + 0xbc]
mov dword [eax + 0x3c], ecx
test edi, edi
jne 0x6fb50295
jmp 0x6fb5044c
lea ecx, [edi + 4]
lea edx, [edi + 8]
cmovs edx, ecx
mov eax, dword [edx]
test eax, eax
je 0x6fb50458
mov edi, eax
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [ebx + 0xb8]
test eax, eax
jne 0x6fb50280
test byte [0x6fb5e160], 2
jne 0x6fb508e2
mov ecx, dword [ebp - 0x30]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x30], 0
sub esp, 0xc
jmp 0x6fb50191
mov dword [esp + 0xc], str.Returning_existing_type._n
mov dword [esp + 8], str.get_reflection_type
mov dword [esp + 4], 0x6fb5e160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x6fb5018b
mov dword [esp], edx
call sym._debug_d3dcompiler_shader_variable_type
mov esi, eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x1c]
mov dword [esp], eax
call sym._debug_d3dcompiler_shader_variable_class
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Class__s__Type__s_n
mov dword [esp + 8], str.d3dcompiler_parse_type
mov dword [esp + 4], 0x6fb5e160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x30]
mov edx, dword [eax]
add eax, 4
mov dword [ebp - 0x1c], eax
movzx ecx, dx
shr edx, 0x10
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
test byte [0x6fb5e160], 8
je 0x6fb5021f
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], str.Rows__u__Columns__u_n
mov dword [esp + 8], str.d3dcompiler_parse_type
mov dword [esp + 4], 0x6fb5e160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
add eax, 4
mov dword [ebp - 0x1c], eax
movzx ecx, dx
shr edx, 0x10
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], edx
test byte [0x6fb5e160], 8
je 0x6fb50236
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], str.Elements__u__Members__u_n
mov dword [esp + 8], str.d3dcompiler_parse_type
mov dword [esp + 4], 0x6fb5e160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
add eax, 4
mov dword [ebp - 0x1c], eax
test byte [0x6fb5e160], 8
je 0x6fb5023e
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.Member_Offset__u._n
mov dword [esp + 8], str.d3dcompiler_parse_type
mov dword [esp + 4], 0x6fb5e160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x6fb5023e
lea edx, [ebx + 0xbc]
lea esi, [esi]
mov eax, dword [ebp - 0x30]
lea esi, [eax + 8]
mov dword [eax + 0x14], 1
mov dword [eax + 8], edi
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [edx], esi
mov eax, dword [eax + 8]
test eax, eax
je 0x6fb504bd
test byte [eax + 0xc], 1
je 0x6fb504bd
mov edx, dword [eax]
mov ecx, dword [edx + 4]
cmp eax, ecx
je 0x6fb506e9
test ecx, ecx
je 0x6fb5070e
test byte [ecx + 0xc], 1
je 0x6fb5070e
xor dword [edx + 0xc], 1
xor dword [ecx + 0xc], 1
mov eax, dword [edx + 8]
xor dword [eax + 0xc], 1
mov eax, dword [esi]
mov esi, dword [eax]
mov eax, dword [esi]
test eax, eax
jne 0x6fb5047f
mov eax, dword [ebx + 0xbc]
and dword [eax + 0xc], 0xfffffffe
mov eax, dword [ebp - 0x30]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x1c]
mov dword [esp + 4], 4
mov dword [esp], eax
call sym._skip_u32_unknown
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], 0
mov eax, dword [eax + 0x30]
test eax, eax
je 0x6fb50668
lea eax, [eax + eax*2]
mov dword [esp + 4], 8
add esi, dword [ebp - 0x34]
shl eax, 2
mov dword [esp + 8], eax
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov dword [ebp - 0x3c], eax
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x6fb50a43
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov edx, dword [eax + 0x30]
test edx, edx
je 0x6fb50668
mov dword [ebp - 0x48], ebx
mov ebx, ecx
jmp 0x6fb50597
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
call sym._get_reflection_type
mov dword [edi + 8], eax
test eax, eax
je 0x6fb50932
mov eax, dword [esi + 8]
add esi, 0xc
mov dword [edi + 4], eax
test byte [0x6fb5e160], 8
jne 0x6fb50638
mov eax, dword [ebp - 0x30]
inc ebx
add edi, 0xc
cmp ebx, dword [eax + 0x30]
jae 0x6fb50665
mov eax, dword [ebp - 0x30]
mov edx, edi
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
add eax, dword [esi]
call sym._copy_name
test eax, eax
je 0x6fb507ae
test byte [0x6fb5e160], 8
je 0x6fb50558
mov eax, dword [edi]
mov edx, 0xffffffff
call sym._wine_dbgstr_an
mov dword [esp + 0xc], str.Member_name:__s._n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.d3dcompiler_parse_type_members
mov dword [esp + 4], 0x6fb5e160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
mov ecx, dword [esi + 4]
test byte [0x6fb5e160], 8
je 0x6fb5055b
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], str.Member_type_offset:__x._n
mov dword [esp + 8], str.d3dcompiler_parse_type_members
mov dword [esp + 4], 0x6fb5e160
mov dword [esp], 3
mov dword [ebp - 0x40], ecx
call sym._wine_dbg_log.constprop.0_3
mov ecx, dword [ebp - 0x40]
jmp 0x6fb5055b
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Member_offset__x._n
mov dword [esp + 8], str.d3dcompiler_parse_type_members
mov dword [esp + 4], 0x6fb5e160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x6fb50587
mov ebx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + 0x18]
cmp word [eax + 0xc], 0x4ff
jbe 0x6fb50265
mov eax, dword [ebp - 0x1c]
add ecx, 0x40
mov edx, dword [eax]
add eax, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x34]
add eax, edx
mov edx, ecx
call sym._copy_name
test eax, eax
je 0x6fb50a05
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + 0x40]
mov dword [ecx + 0x38], eax
test byte [0x6fb5e160], 8
je 0x6fb50265
mov edx, 0xffffffff
call sym._wine_dbgstr_an
mov dword [esp + 0xc], str.Type_name:__s._n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.d3dcompiler_parse_type
mov dword [esp + 4], 0x6fb5e160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x6fb50265
mov edi, dword [edx + 8]
test edi, edi
je 0x6fb5075e
test byte [edi + 0xc], 1
je 0x6fb5075e
xor dword [edx + 0xc], 1
xor dword [eax + 0xc], 1
mov eax, dword [edx + 8]
xor dword [eax + 0xc], 1
mov eax, dword [esi]
mov esi, dword [eax]
jmp 0x6fb504b7
mov ecx, dword [eax + 4]
cmp esi, ecx
je 0x6fb50913
mov ecx, dword [esi]
and dword [ecx + 0xc], 0xfffffffe
mov eax, dword [esi]
mov eax, dword [eax]
or dword [eax + 0xc], 1
mov eax, dword [esi]
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
test ecx, ecx
je 0x6fb508d7
cmp eax, dword [ecx + 4]
je 0x6fb5090b
mov dword [ecx + 8], edx
mov ecx, dword [edx + 4]
mov dword [eax + 8], ecx
test ecx, ecx
je 0x6fb50750
mov dword [ecx], eax
mov dword [edx + 4], eax
mov ecx, dword [eax]
mov dword [edx], ecx
mov dword [eax], edx
jmp 0x6fb504b7
mov edi, dword [eax + 8]
cmp esi, edi
je 0x6fb509bd
mov eax, dword [esi]
and dword [eax + 0xc], 0xfffffffe
mov eax, dword [esi]
mov eax, dword [eax]
or dword [eax + 0xc], 1
mov eax, dword [esi]
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
test ecx, ecx
je 0x6fb5097a
cmp eax, dword [ecx + 4]
je 0x6fb509b5
mov dword [ecx + 8], edx
mov ecx, dword [edx + 8]
mov dword [eax + 4], ecx
test ecx, ecx
je 0x6fb507a0
mov dword [ecx], eax
mov dword [edx + 8], eax
mov ecx, dword [eax]
mov dword [edx], ecx
mov dword [eax], edx
jmp 0x6fb504b7
movzx eax, byte [0x6fb5e160]
mov dword [ebp - 0x38], 0x8007000e
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
test al, 2
jne 0x6fb50985
test al, 1
jne 0x6fb508ae
mov eax, dword [ebp - 0x30]
xor edi, edi
mov esi, dword fs:[0x18]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x6fb50826
mov eax, esi
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x44]
mov esi, edi
mov edi, eax
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp + 4], 0
inc esi
add ebx, 0xc
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
call eax
mov eax, dword [ebp - 0x30]
sub esp, 0xc
cmp esi, dword [eax + 0x30]
jb 0x6fb507f8
mov ebx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
sub esp, 0xc
test byte [0x6fb5e160], 2
jne 0x6fb50881
mov ecx, dword [ebp - 0x30]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov dword [ebp - 0x30], 0
sub esp, 0xc
jmp 0x6fb50191
mov eax, dword [ebp - 0x38]
mov dword [esp + 0xc], str.Failed_to_parse_type_info__hr__lx._n
mov dword [esp + 8], str.get_reflection_type
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6fb5e160
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_3
jmp 0x6fb50852
mov dword [esp + 0xc], str.Failed_to_parse_type_members._n
mov dword [esp + 8], str.d3dcompiler_parse_type
mov dword [esp + 4], 0x6fb5e160
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_3
jmp 0x6fb507d2
mov dword [ebx + 0xbc], edx
jmp 0x6fb50744
mov dword [esp + 0xc], str.Failed_to_insert_type_entry._n
mov dword [esp + 8], str.get_reflection_type
mov dword [esp + 4], 0x6fb5e160
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_3
jmp 0x6fb502b3
mov dword [ecx + 4], edx
jmp 0x6fb50744
mov dword [edx + 8], ecx
mov edx, dword [ecx + 8]
mov dword [eax + 4], edx
test edx, edx
je 0x6fb50922
mov dword [edx], eax
mov dword [ecx + 8], eax
mov edx, dword [eax]
mov esi, eax
mov dword [ecx], edx
mov dword [eax], ecx
jmp 0x6fb5071b
test byte [0x6fb5e160], 2
jne 0x6fb509dc
mov edx, dword [edi]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov dword [ebp - 0x38], 0x80004005
movzx eax, byte [0x6fb5e160]
sub esp, 0xc
jmp 0x6fb507ca
mov dword [ebx + 0xbc], edx
jmp 0x6fb50794
mov dword [esp + 0xc], str.Failed_to_copy_name._n
mov dword [esp + 8], str.d3dcompiler_parse_type_members
mov dword [esp + 4], 0x6fb5e160
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_3
movzx eax, byte [0x6fb5e160]
jmp 0x6fb507ca
mov dword [ecx + 4], edx
jmp 0x6fb50794
mov dword [edx + 4], edi
mov edx, dword [edi + 4]
mov dword [eax + 8], edx
test edx, edx
je 0x6fb509cc
mov dword [edx], eax
mov dword [edi + 4], eax
mov edx, dword [eax]
mov esi, ecx
mov dword [edi], edx
mov dword [eax], edi
jmp 0x6fb50769
mov dword [esp + 0xc], str.Failed_to_get_member_type_n
mov dword [esp + 8], str.d3dcompiler_parse_type_members
mov dword [esp + 4], 0x6fb5e160
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_3
jmp 0x6fb5093f
test byte [0x6fb5e160], 2
jne 0x6fb50a57
mov ecx, dword [ebp - 0x3c]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], ecx
mov eax, dword [eax + 0x30]
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov dword [ebp - 0x38], 0x8007000e
sub esp, 0xc
jmp 0x6fb50849
test byte [0x6fb5e160], 2
jne 0x6fb50a7d
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x6fb50852
mov dword [esp + 0xc], str.Failed_to_copy_name._n
mov dword [esp + 8], str.d3dcompiler_parse_type
mov dword [esp + 4], 0x6fb5e160
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_3
jmp 0x6fb50a0e
mov dword [esp + 0xc], str.Failed_to_allocate_type_memory._n
mov dword [esp + 8], str.d3dcompiler_parse_type
mov dword [esp + 4], 0x6fb5e160
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_3
mov dword [ebp - 0x38], 0x8007000e
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x6fb50849