Function at 0x64aa7860
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x4c
mov eax, dword [eax + 8]
mov ecx, dword [ebx + 4]
sub ecx, eax
cmp ecx, 3
jle 0x64aa78f4
lea ecx, [eax + 4]
add eax, dword [ebx]
mov dword [ebx + 8], ecx
mov edi, eax
je 0x64aa78f4
test byte [0x64ab5130], 8
jne 0x64aa7a10
mov eax, dword [edi]
mov dword [esi], eax
cmp eax, 0x10000001
je 0x64aa7a78
ja 0x64aa7a48
cmp eax, 5
jbe 0x64aa7900
cmp eax, 0x10000000
jne 0x64aa7a60
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 4]
sub edx, eax
cmp edx, 0xf
jle 0x64aa7b18
lea edx, [eax + 0x10]
mov dword [ebx + 8], edx
add eax, dword [ebx]
je 0x64aa7b18
mov edx, dword [eax]
mov dword [esi + 4], edx
mov edx, dword [eax + 4]
mov dword [esi + 8], edx
mov edx, dword [eax + 8]
mov dword [esi + 0xc], edx
mov eax, dword [eax + 0xc]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 8]
add dword [eax], 1
xor ecx, ecx
jmp 0x64aa7a02
mov dword [ebp - 0x34], edx
mov edi, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 8], 0x14
mov dword [esp + 4], 8
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x30], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov dword [ebp - 0x2c], eax
sub esp, 0xc
test eax, eax
je 0x64aa7d19
mov dword [esp + 8], 0x14
mov dword [esp + 4], 8
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
sub esp, 0xc
test eax, eax
mov edi, eax
je 0x64aa7cf8
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov eax, ebx
mov dword [ebp - 0x30], edx
call sym._read_element
mov ecx, eax
test eax, eax
jne 0x64aa79b8
mov eax, dword [ebp + 8]
mov ecx, edi
mov dword [esp], eax
mov edx, dword [ebp - 0x30]
mov eax, ebx
call sym._read_element
mov edx, dword [ebp - 0x30]
test eax, eax
mov ecx, eax
jne 0x64aa79b8
mov eax, dword [ebp - 0x2c]
mov dword [esi + 8], edi
xor ecx, ecx
mov dword [esi + 4], eax
add dword [edx], 2
jmp 0x64aa7a02
mov eax, dword [ebp - 0x2c]
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x30], ecx
mov esi, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
sub esp, 0xc
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov ecx, dword [ebp - 0x30]
sub esp, 0xc
lea esp, [ebp - 0xc]
mov eax, ecx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [eax]
mov dword [ebp - 0x2c], edx
mov dword [esp + 0xc], 0x64ac0610
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.read_element
mov dword [esp + 4], 0x64ab5130
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_12
mov edx, dword [ebp - 0x2c]
jmp 0x64aa7893
lea edx, [eax - 0x10000002]
cmp edx, 1
ja 0x64aa7a60
mov eax, dword [ebp + 8]
xor ecx, ecx
add dword [eax], 1
jmp 0x64aa7a02
test byte [0x64ab5130], 1
jne 0x64aa7b50
mov ecx, 2
jmp 0x64aa7a02
mov edi, dword [ebx + 8]
mov eax, dword [ebx + 4]
sub eax, edi
cmp eax, 0xf
jle 0x64aa7ae0
lea eax, [edi + 0x10]
mov dword [ebx + 8], eax
add edi, dword [ebx]
je 0x64aa7ae0
mov eax, dword [edi + 4]
mov edx, eax
and edx, 0xfffff000
cmp edx, 0xdbc01000
je 0x64aa7b80
test byte [0x64ab5130], 2
je 0x64aa7a6d
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.invalid_path_header_magic__lx_n
mov dword [esp + 8], str.read_element
mov dword [esp + 4], 0x64ab5130
mov dword [esp], 1
call sym._wine_dbg_log.constprop.1_7
jmp 0x64aa7a6d
test byte [0x64ab5130], 2
je 0x64aa7a6d
mov dword [esp + 0xc], str.failed_to_read_path_header_n
mov dword [esp + 8], str.read_element
mov dword [esp + 4], 0x64ab5130
mov dword [esp], 1
call sym._wine_dbg_log.constprop.1_7
jmp 0x64aa7a6d
test byte [0x64ab5130], 2
je 0x64aa7a6d
mov dword [esp + 0xc], str.failed_to_read_rect_data_n
mov dword [esp + 8], str.read_element
mov dword [esp + 4], 0x64ab5130
mov dword [esp], 1
call sym._wine_dbg_log.constprop.1_7
jmp 0x64aa7a6d
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.element_type__lx_is_not_supported_n
mov dword [esp + 8], str.read_element
mov dword [esp + 4], 0x64ab5130
mov dword [esp], 0
call sym._wine_dbg_log.constprop.1_7
jmp 0x64aa7a6d
mov edx, dword [edi + 8]
test edx, edx
jne 0x64aa7ba0
test byte [0x64ab5130], 8
jne 0x64aa7d23
mov ecx, 1
jmp 0x64aa7a02
lea eax, [ebp - 0x1c]
mov dword [esp], 0
mov dword [esp + 4], eax
call sym.gdiplus.dll_GdipCreatePath
sub esp, 8
mov ecx, eax
test eax, eax
jne 0x64aa7a02
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 4], eax
mov edx, dword [edi + 8]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._lengthen_path
test eax, eax
je 0x64aa7d19
mov eax, dword [ebp - 0x1c]
mov edx, dword [edi + 8]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 4], edx
mov eax, dword [edi + 0xc]
test eax, 0xffffbfff
mov dword [ebp - 0x2c], eax
je 0x64aa7c06
test byte [0x64ab5130], 1
jne 0x64aa7e42
mov esi, dword [ebx + 4]
mov eax, dword [ebx + 8]
mov edx, dword [edi + 8]
mov dword [ebp - 0x30], esi
sub esi, eax
mov dword [ebp - 0x34], esi
test dword [ebp - 0x2c], 0x4000
je 0x64aa7d4c
shl edx, 2
mov esi, edx
mov edx, dword [ebp - 0x34]
cmp esi, edx
jg 0x64aa7dc8
add esi, eax
add eax, dword [ebx]
mov dword [ebx + 8], esi
mov esi, eax
je 0x64aa7dc8
cmp dword [edi + 8], 0
mov edx, dword [ebp - 0x30]
je 0x64aa7c7e
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x1c]
xor eax, eax
fild word [esi + eax*4]
mov edx, dword [edx + 8]
fstp dword [edx + eax*8]
mov edx, dword [ebp - 0x1c]
fild word [esi + eax*4 + 2]
mov ecx, dword [edx + 8]
fstp dword [ecx + eax*8 + 4]
add eax, 1
cmp eax, dword [edi + 8]
jb 0x64aa7c54
mov eax, dword [ebx + 4]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov edx, eax
mov eax, dword [ebx + 8]
mov esi, dword [edi + 8]
sub edx, eax
cmp esi, edx
jg 0x64aa7e05
add esi, eax
mov dword [ebx + 8], esi
add eax, dword [ebx]
je 0x64aa7e05
mov edx, dword [ebp - 0x1c]
mov esi, dword [edi + 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [edx + 0xc]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], edx
call sym._memcpy
mov edx, dword [edi + 8]
mov ecx, dword [ebp - 0x2c]
and edx, 3
je 0x64aa7ce6
mov eax, 4
mov esi, dword [ebx + 4]
sub eax, edx
mov edx, dword [ebx + 8]
sub esi, edx
cmp eax, esi
jg 0x64aa7e76
add eax, edx
add edx, dword [ebx]
mov dword [ebx + 8], eax
je 0x64aa7e76
mov eax, dword [ebp + 8]
add dword [eax], 1
jmp 0x64aa7a02
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
mov ecx, 3
jmp 0x64aa7a02
mov dword [esp + 0xc], str.refusing_to_create_an_empty_path_in_a_region_n
mov dword [esp + 8], str.read_element
mov dword [esp + 4], 0x64ab5130
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_12
jmp 0x64aa7b94
shl edx, 3
cmp edx, esi
jg 0x64aa7d8b
add edx, eax
mov dword [ebx + 8], edx
add eax, dword [ebx]
je 0x64aa7d8b
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], ecx
mov esi, dword [edx + 8]
mov edx, dword [edi + 8]
mov dword [esp + 4], eax
shl edx, 3
mov dword [esp], esi
mov dword [esp + 8], edx
call sym._memcpy
mov eax, dword [ebx + 4]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov edx, eax
jmp 0x64aa7c7e
test byte [0x64ab5130], 2
je 0x64aa7a6d
mov eax, dword [edi + 8]
mov dword [esp + 0xc], str.failed_to_read__lu_path_points_n
mov dword [esp + 8], str.read_element
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x64ab5130
mov dword [esp], 1
call sym._wine_dbg_log.constprop.1_7
jmp 0x64aa7a6d
test byte [0x64ab5130], 2
je 0x64aa7a6d
mov eax, dword [edi + 8]
mov dword [esp + 0xc], str.failed_to_read_packed__lu_path_points_n
mov dword [esp + 8], str.read_element
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x64ab5130
mov dword [esp], 1
call sym._wine_dbg_log.constprop.1_7
jmp 0x64aa7a6d
test byte [0x64ab5130], 2
je 0x64aa7a6d
mov eax, dword [edi + 8]
mov dword [esp + 0xc], str.failed_to_read__lu_path_types_n
mov dword [esp + 8], str.read_element
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x64ab5130
mov dword [esp], 1
call sym._wine_dbg_log.constprop.1_7
jmp 0x64aa7a6d
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], str.unhandled_path_flags__lx_n
mov dword [esp + 8], str.read_element
mov dword [esp + 4], 0x64ab5130
mov dword [esp], eax
call sym._wine_dbg_log.constprop.1_7
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
jmp 0x64aa7c06
test byte [0x64ab5130], 2
je 0x64aa7a6d
mov edx, dword [edi + 8]
mov eax, 4
mov dword [esp + 0xc], str.failed_to_read_rounding__lu_bytes_n
mov dword [esp + 8], str.read_element
and edx, 3
mov dword [esp + 4], 0x64ab5130
sub eax, edx
mov dword [esp], 1
mov dword [esp + 0x10], eax
call sym._wine_dbg_log.constprop.1_7
jmp 0x64aa7a6d