Function at 0x69070450
Capabilities:
Get process heap flags

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff0
push dword [edi - 4]
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov eax, dword [edi]
mov dword [ebp - 8], esi
mov esi, ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 4], edi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 8]
sub ecx, eax
cmp ecx, 3
jle 0x690705a0
lea ecx, [eax + 4]
add eax, dword [ebx]
mov dword [ebx + 8], ecx
mov edi, eax
je 0x690705a0
test byte [0x6907a148], 8
mov eax, dword [eax]
jne 0x69070658
mov dword [esi], eax
cmp eax, 0x10000001
je 0x690706b0
ja 0x69070580
cmp eax, 5
ja 0x690705b8
mov eax, 0x14
mov edx, 8
mov edi, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x38], ecx
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov dword [ebp - 0x34], eax
sub esp, 0xc
test eax, eax
je 0x690709b0
mov ecx, dword [ebp - 0x38]
mov eax, 0x14
mov dword [esp + 8], eax
mov eax, 8
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov ecx, dword [ebp - 0x38]
sub esp, 0xc
test eax, eax
mov edi, eax
je 0x69070b1f
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov dword [esp], eax
mov eax, ebx
call sym._read_element
test eax, eax
mov edx, eax
jne 0x69070608
mov eax, dword [ebp - 0x2c]
mov ecx, edi
mov edx, dword [ebp - 0x30]
mov dword [esp], eax
mov eax, ebx
call sym._read_element
test eax, eax
mov edx, eax
jne 0x69070608
mov dword [esi + 8], edi
mov eax, dword [ebp - 0x34]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x30]
add dword [eax], 2
jmp 0x690705a2
lea edx, [eax - 0x10000002]
cmp edx, 1
ja 0x69070690
mov eax, dword [ebp - 0x2c]
inc dword [eax]
lea esi, [esi]
lea esi, [esi]
nop
xor edx, edx
mov edi, dword [ebp - 4]
mov eax, edx
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov esp, ebp
pop ebp
lea esp, [edi - 8]
pop edi
ret
cmp eax, 0x10000000
jne 0x69070690
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 4]
sub edx, eax
cmp edx, 0xf
jle 0x69070728
lea edx, [eax + 0x10]
add eax, dword [ebx]
mov dword [ebx + 8], edx
je 0x69070728
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
xor edx, edx
mov eax, dword [eax + 0xc]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x2c]
inc dword [eax]
jmp 0x690705a2
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x34]
mov esi, dword fs:[0x18]
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
xor eax, eax
sub esp, 0xc
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x2c]
sub esp, 0xc
jmp 0x690705a2
mov dword [esp + 0x10], eax
mov eax, str.read_element
mov ecx, 0x69085768
mov dword [esp + 8], eax
mov eax, 0x6907a148
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_12
mov eax, dword [edi]
jmp 0x690704a6
test byte [0x6907a148], 1
jne 0x69070780
mov edx, 2
jmp 0x690705a2
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
sub eax, edx
cmp eax, 0xf
jle 0x69070768
lea eax, [edx + 0x10]
add edx, dword [ebx]
mov dword [ebx + 8], eax
mov dword [ebp - 0x30], edx
je 0x69070768
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
mov ecx, eax
and ecx, 0xfffff000
cmp ecx, 0xdbc01000
je 0x690707b0
test byte [0x6907a148], 2
je 0x6907069d
mov dword [esp + 0x10], eax
mov eax, str.invalid_path_header_magic__lx_n
mov dword [esp + 0xc], eax
mov dword [esp], 1
mov ebx, str.read_element
mov esi, 0x6907a148
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
call sym._wine_dbg_log.constprop.0_12
jmp 0x6907069d
test byte [0x6907a148], 2
je 0x6907069d
mov ebx, str.failed_to_read_rect_data_n
mov dword [esp + 0xc], ebx
mov dword [esp], 1
mov edx, 0x6907a148
mov eax, str.read_element
mov dword [esp + 8], eax
mov dword [esp + 4], edx
call sym._wine_dbg_log.constprop.0_12
jmp 0x6907069d
test byte [0x6907a148], 2
je 0x6907069d
mov ecx, str.failed_to_read_path_header_n
mov dword [esp + 0xc], ecx
jmp 0x6907073e
mov dword [esp + 0x10], eax
mov edx, str.read_element
mov ecx, 0x6907a148
mov dword [esp + 8], edx
mov eax, str.element_type__lx_is_not_supported_n
mov dword [esp + 0xc], eax
mov dword [esp + 4], ecx
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_12
jmp 0x6907069d
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
test eax, eax
jne 0x69070800
test byte [0x6907a148], 8
mov edx, 1
je 0x690705a2
mov dword [esp], 3
mov eax, str.read_element
mov edi, str.refusing_to_create_an_empty_path_in_a_region_n
mov dword [esp + 8], eax
mov eax, 0x6907a148
mov dword [esp + 0xc], edi
mov dword [esp + 4], eax
mov dword [ebp - 0x2c], edx
call sym._wine_dbg_log.constprop.0_12
mov edx, dword [ebp - 0x2c]
jmp 0x690705a2
mov dword [esp], 0
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
call sym.gdiplus.dll_GdipCreatePath
sub esp, 8
test eax, eax
mov edx, eax
jne 0x690705a2
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 4], eax
mov esi, dword [ebp - 0x30]
mov ecx, dword [esi + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym._lengthen_path
test eax, eax
je 0x690709b0
mov ecx, dword [esi + 0xc]
mov edi, dword [esi + 8]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x34]
test ecx, 0xffffbfff
mov dword [eax + 4], edi
je 0x69070867
test byte [0x6907a148], 1
jne 0x69070a4d
mov esi, dword [ebx + 4]
mov eax, dword [ebx + 8]
mov dword [ebp - 0x34], esi
sub esi, eax
test ch, 0x40
je 0x690709ba
lea ecx, [edi*4]
cmp ecx, esi
jg 0x69070a2f
add ecx, eax
add eax, dword [ebx]
mov dword [ebx + 8], ecx
mov esi, eax
je 0x69070a2f
test edi, edi
je 0x69070943
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 8]
lea eax, [edi - 1]
cmp eax, 2
mov dword [ebp - 0x3c], ecx
jbe 0x69070b12
mov eax, ecx
mov ecx, edi
pxor xmm3, xmm3
shr ecx, 2
shl ecx, 4
add ecx, esi
mov dword [ebp - 0x38], ecx
mov ecx, esi
movdqu xmm0, xmmword [ecx]
movdqu xmm2, xmm3
movdqu xmm1, xmm0
pcmpgtw xmm2, xmm0
punpcklwd xmm1, xmm2
punpckhwd xmm0, xmm2
cvtdq2ps xmm1, xmm1
add ecx, 0x10
add eax, 0x20
cvtdq2ps xmm0, xmm0
movlps qword [eax - 0x20], xmm1
movhps qword [eax - 0x18], xmm1
movlps qword [eax - 0x10], xmm0
movhps qword [eax - 8], xmm0
cmp ecx, dword [ebp - 0x38]
jne 0x690708cb
mov eax, edi
and eax, 0xfffffffc
test edi, 3
je 0x69070943
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp - 0x3c]
movsx edx, word [esi + eax*4]
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
movsx edx, word [esi + eax*4 + 2]
movss dword [ecx + eax*8], xmm0
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
movss dword [ecx + eax*8 + 4], xmm0
inc eax
cmp eax, edi
jb 0x69070917
mov edx, dword [ebp - 0x38]
mov esi, dword [ebx + 8]
mov eax, dword [ebp - 0x34]
sub eax, esi
cmp edi, eax
jg 0x69070a11
lea eax, [edi + esi]
add esi, dword [ebx]
mov dword [ebx + 8], eax
je 0x69070a11
mov eax, dword [ebp - 0x1c]
mov ecx, edi
cmp ecx, 8
mov edi, dword [eax + 0xc]
jae 0x69070abd
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
and eax, 3
mov ecx, eax
je 0x690709a6
mov eax, 4
mov esi, dword [ebx + 8]
sub eax, ecx
mov ecx, dword [ebx + 4]
sub ecx, esi
cmp eax, ecx
jg 0x69070af4
lea ecx, [eax + esi]
add esi, dword [ebx]
mov dword [ebx + 8], ecx
je 0x69070af4
mov eax, dword [ebp - 0x2c]
inc dword [eax]
jmp 0x690705a2
mov edx, 3
jmp 0x690705a2
lea ecx, [edi*8]
cmp ecx, esi
jg 0x690709f3
lea esi, [ecx + eax]
add eax, dword [ebx]
mov dword [ebx + 8], esi
je 0x690709f3
mov esi, dword [ebp - 0x1c]
cmp ecx, 8
mov edi, dword [esi + 8]
mov esi, eax
jae 0x69070a86
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov edi, dword [eax + 8]
jmp 0x69070943
test byte [0x6907a148], 2
je 0x6907069d
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.failed_to_read__lu_path_points_n
jmp 0x69070702
test byte [0x6907a148], 2
je 0x6907069d
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.failed_to_read__lu_path_types_n
jmp 0x69070702
test byte [0x6907a148], 2
je 0x6907069d
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.failed_to_read_packed__lu_path_points_n
jmp 0x69070702
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], str.unhandled_path_flags__lx_n
mov dword [esp + 8], str.read_element
mov dword [esp + 4], 0x6907a148
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_12
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov ecx, dword [eax + 0xc]
mov edi, dword [eax + 8]
jmp 0x69070867
test edi, 1
jne 0x69070b5f
test edi, 2
jne 0x69070b4a
test edi, 4
je 0x690709e0
mov eax, dword [esi]
add edi, 4
add esi, 4
sub ecx, 4
mov dword [edi - 4], eax
jmp 0x690709e0
test edi, 1
jne 0x69070b82
test edi, 2
jne 0x69070b6d
test edi, 4
je 0x69070972
mov eax, dword [esi]
add edi, 4
add esi, 4
sub ecx, 4
mov dword [edi - 4], eax
jmp 0x69070972
test byte [0x6907a148], 2
je 0x6907069d
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.failed_to_read_rounding__lu_bytes_n
jmp 0x69070702
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp - 0x3c]
xor eax, eax
jmp 0x69070917
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x34]
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]
mov edx, 3
sub esp, 0xc
jmp 0x690705a2
movzx eax, word [esi]
add edi, 2
add esi, 2
sub ecx, 2
mov word [edi - 2], ax
jmp 0x69070a9e
movzx eax, byte [eax]
inc edi
inc esi
dec ecx
mov byte [edi - 1], al
jmp 0x69070a92
movzx eax, word [esi]
add edi, 2
add esi, 2
sub ecx, 2
mov word [edi - 2], ax
jmp 0x69070ad5
movzx eax, byte [esi]
inc edi
inc esi
dec ecx
mov byte [edi - 1], al
jmp 0x69070ac9