Function at 0x6901e5c0
Capabilities:
Get process heap flags
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov dword [esp + 0x3c], eax
mov ebp, dword [esp + 0x74]
mov edi, dword fs:[0x18]
mov dword [esp + 0x30], edx
mov esi, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 0x34], ecx
lea eax, [ebp*8]
mov dword [esp + 8], eax
mov ebx, eax
mov dword [esp + 0x38], eax
mov eax, 8
mov dword [esp + 4], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
mov dword [esp + 0x24], eax
mov eax, 8
mov dword [esp + 8], ebp
mov dword [esp + 4], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
mov dword [esp + 0x28], eax
mov eax, 8
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
test ebp, ebp
mov dword [esp + 0x2c], eax
je 0x6901e740
mov edi, dword [esp + 0x24]
mov esi, eax
mov eax, dword [esp + 0x28]
test edi, edi
sete dl
test eax, eax
sete al
or dl, al
jne 0x6901eeb6
test esi, esi
je 0x6901eeb6
cmp ebp, 1
jle 0x6901ed43
mov ebx, dword [esp + 0x70]
mov eax, 1
jmp 0x6901e699
inc eax
cmp ebp, eax
jle 0x6901e748
movzx edx, byte [ebx + eax]
mov ecx, eax
and dl, 7
cmp dl, 3
jne 0x6901e690
add eax, 2
cmp eax, ebp
jge 0x6901e6bc
test byte [ebx + ecx + 1], 3
je 0x6901e6bc
test byte [ebx + ecx + 2], 3
jne 0x6901e690
test byte [0x6907a0c8], 2
jne 0x6901eb3e
mov esi, 1
mov eax, dword [esp + 0x24]
mov edi, 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 [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
xor edx, edx
sub esp, 0xc
mov dword [esp + 4], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
xor ecx, ecx
sub esp, 0xc
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, esi
sub esp, 0xc
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
xor esi, esi
jmp 0x6901e6ce
mov eax, dword [esp + 0x38]
mov dword [esp + 0x70], ebx
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
cmp eax, 8
mov ecx, eax
mov edi, edx
jae 0x6901ea20
rep movsb byte es:[edi], byte [esi]
mov ebx, dword [esp + 0x78]
test ebx, ebx
je 0x6901eb6a
mov eax, dword [esp + 0x70]
movzx eax, byte [eax + ebp - 1]
and al, 7
cmp al, 1
je 0x6901ea6f
cmp al, 3
jne 0x6901ea54
mov eax, dword [esp + 0x30]
mov edi, dword [eax + 0xc]
movss xmm4, dword [eax + 8]
cmp edi, 0x14
je 0x6901ed6f
mov eax, dword [esp + 0x30]
cmp edi, 0xff
mov esi, dword [eax + 0x1c]
je 0x6901ec11
mov ecx, dword [esp + 0x38]
movss dword [esp + 0x4c], xmm4
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
lea eax, [eax + ecx - 8]
movss xmm5, dword [eax + 4]
movss xmm3, dword [eax]
lea eax, [edx + ecx - 8]
movss xmm0, dword [eax + 4]
movups xmm2, xmm5
subss xmm0, dword [edx + ecx - 0xc]
movups xmm1, xmm3
movss dword [esp + 0x48], xmm5
movss dword [esp + 0x40], xmm3
subss xmm2, xmm0
movss xmm0, dword [eax]
mov eax, dword [esp + 0x30]
subss xmm0, dword [edx + ecx - 0x10]
movss dword [esp + 0x44], xmm2
mov eax, dword [eax + 0x38]
subss xmm1, xmm0
movss dword [esp + 0x38], xmm1
call sym._get_gdi_brush_color
movss xmm1, dword [esp + 0x38]
movss xmm3, dword [esp + 0x40]
movss xmm2, dword [esp + 0x44]
movss xmm5, dword [esp + 0x48]
ucomiss xmm3, xmm1
movss xmm4, dword [esp + 0x4c]
mov edx, eax
jp 0x6901e852
jne 0x6901e852
ucomiss xmm5, xmm2
jp 0x6901e852
lea esi, [esi]
je 0x6901e86f
movss dword [esp + 8], xmm5
mov eax, dword [esp + 0x3c]
mov ecx, edi
movss dword [esp + 4], xmm3
mov dword [esp], esi
movups xmm0, xmm4
call sym._draw_cap.part.0
mov eax, dword [esp + 0x70]
mov edx, 1
mov esi, 1
movzx eax, byte [eax + 1]
and al, 7
cmp ebp, 1
jle 0x6901e8af
mov ebx, dword [esp + 0x70]
jmp 0x6901e8a1
lea edx, [esi + 1]
cmp ebp, edx
movzx eax, byte [ebx + edx]
mov esi, edx
je 0x6901ec48
movzx eax, byte [ebx + edx]
mov esi, edx
and al, 7
je 0x6901e890
mov dword [esp + 0x70], ebx
cmp al, 1
je 0x6901ec6e
cmp al, 3
jne 0x6901ec53
mov eax, dword [esp + 0x30]
lea esi, [esi*8 - 8]
mov edi, dword [eax + 0x10]
movss xmm4, dword [eax + 8]
mov eax, dword [esp + 0x2c]
add eax, esi
cmp edi, 0x14
je 0x6901ee44
mov ecx, dword [esp + 0x30]
cmp edi, 0xff
mov ecx, dword [ecx + 0x18]
je 0x6901ed9f
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x34]
movss dword [esp + 0x48], xmm4
mov ecx, dword [esp + 0x2c]
movss xmm0, dword [eax + 4]
add edx, esi
movss xmm5, dword [edx + 4]
subss xmm0, dword [ecx + esi + 0xc]
movss xmm3, dword [edx]
movups xmm2, xmm5
movss dword [esp + 0x44], xmm5
subss xmm2, xmm0
movss xmm0, dword [eax]
movups xmm1, xmm3
mov eax, dword [esp + 0x30]
subss xmm0, dword [ecx + esi + 8]
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x38], xmm3
mov eax, dword [eax + 0x38]
subss xmm1, xmm0
movss dword [esp + 0x34], xmm1
call sym._get_gdi_brush_color
mov ecx, dword [esp + 0x4c]
movss xmm1, dword [esp + 0x34]
movss xmm3, dword [esp + 0x38]
movss xmm2, dword [esp + 0x40]
movss xmm5, dword [esp + 0x44]
ucomiss xmm3, xmm1
movss xmm4, dword [esp + 0x48]
mov edx, eax
jp 0x6901e992
jne 0x6901e992
ucomiss xmm5, xmm2
jp 0x6901e992
lea esi, [esi]
nop
je 0x6901e9af
movss dword [esp + 8], xmm5
mov eax, dword [esp + 0x3c]
movss dword [esp + 4], xmm3
mov dword [esp], ecx
mov ecx, edi
movups xmm0, xmm4
call sym._draw_cap.part.0
mov dword [esp + 0x10], ebp
xor eax, eax
mov edi, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, 4
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], edi
mov dword [esp], eax
call sym._gdip_transform_points
mov eax, dword [esp + 0x24]
mov ecx, ebp
mov edx, edi
call sym._round_points
test ebp, ebp
jg 0x6901eb9e
lea esi, [esi]
nop
mov dword [esp + 0xc], ebp
mov eax, dword [esp + 0x28]
xor esi, esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_PolyDraw]
sub esp, 0x10
jmp 0x6901e6ce
test dl, 1
jne 0x6901ee2d
test edi, 2
jne 0x6901ee18
test edi, 4
je 0x6901e765
mov eax, dword [esi]
add edi, 4
add esi, 4
sub ecx, 4
mov dword [edi - 4], eax
jmp 0x6901e765
test byte [0x6907a0c8], 2
je 0x6901e6c9
mov eax, str.Bad_path_last_point_n
mov dword [esp + 0xc], eax
jmp 0x6901eb47
mov eax, dword [esp + 0x30]
mov edi, dword [eax + 0xc]
movss xmm0, dword [eax + 8]
mov eax, dword [esp + 0x38]
cmp edi, 0x14
lea esi, [eax - 8]
lea ecx, [eax - 0x10]
je 0x6901ed85
mov eax, dword [esp + 0x30]
cmp edi, 0xff
mov eax, dword [eax + 0x1c]
mov ebx, eax
je 0x6901ebc6
movss dword [esp + 0x48], xmm0
mov eax, dword [esp + 0x34]
add ecx, eax
add esi, eax
mov eax, dword [esp + 0x30]
movss xmm3, dword [esi]
movss xmm2, dword [ecx + 4]
movss xmm1, dword [ecx]
movss dword [esp + 0x44], xmm3
mov eax, dword [eax + 0x38]
movss xmm6, dword [esi + 4]
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x4c], xmm6
call sym._get_gdi_brush_color
movss xmm1, dword [esp + 0x38]
movss xmm3, dword [esp + 0x44]
movss xmm2, dword [esp + 0x40]
movss xmm0, dword [esp + 0x48]
ucomiss xmm3, xmm1
jp 0x6901eb17
jne 0x6901eb17
movss xmm6, dword [esp + 0x4c]
ucomiss xmm6, xmm2
jp 0x6901eb17
je 0x6901e86f
movss xmm7, dword [esp + 0x4c]
mov edx, eax
movss dword [esp + 4], xmm3
mov eax, dword [esp + 0x3c]
mov ecx, edi
mov dword [esp], ebx
movss dword [esp + 8], xmm7
call sym._draw_cap.part.0
jmp 0x6901e86f
mov esi, 0x6907e300
mov dword [esp + 0xc], esi
mov dword [esp], 1
mov ecx, str.draw_poly
mov ebx, 0x6907a0c8
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
call sym._wine_dbg_log.constprop.0_4
jmp 0x6901e6c9
mov eax, 4
mov edi, dword [esp + 0x2c]
xor esi, esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp], eax
call sym._gdip_transform_points
mov eax, dword [esp + 0x24]
mov ecx, ebp
mov edx, edi
call sym._round_points
mov edi, dword [esp + 0x28]
xor esi, esi
mov ebx, dword [esp + 0x70]
lea esi, [esi]
nop
movzx eax, byte [ebx + esi]
call sym._convert_path_point_type
mov byte [edi + esi], al
inc esi
cmp ebp, esi
jg 0x6901ebb0
jmp 0x6901e9f0
test eax, eax
je 0x6901eaa3
movss xmm2, dword [ebx + 0x18]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x2c]
mulss xmm2, xmm0
lea eax, [edx + esi]
lea edi, [edx + ecx]
lea edx, [edx + esi + 4]
movss xmm0, dword [edi]
movss xmm1, dword [edi + 4]
call sym._shorten_line_amt
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov edi, dword [eax + 0x1c]
movss xmm0, dword [eax + 8]
mov ebx, edi
mov edi, dword [eax + 0xc]
jmp 0x6901eaa3
test esi, esi
je 0x6901e7b6
mulss xmm4, dword [esi + 0x18]
xor edx, edx
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x38]
movups xmm0, xmm4
lea eax, [eax + edi - 0x20]
call sym._shorten_bezier_amt
mov eax, dword [esp + 0x30]
mov esi, dword [eax + 0x1c]
mov edi, dword [eax + 0xc]
movss xmm4, dword [eax + 8]
jmp 0x6901e7b6
mov dword [esp + 0x70], ebx
and al, 7
jmp 0x6901e8af
test byte [0x6907a0c8], 2
je 0x6901e6c9
mov eax, str.Bad_path_points_n
mov dword [esp + 0xc], eax
jmp 0x6901eb47
mov eax, dword [esp + 0x30]
lea edi, [esi*8 - 8]
shl esi, 3
mov ecx, dword [eax + 0x10]
movss xmm0, dword [eax + 8]
cmp ecx, 0x14
je 0x6901ee51
mov eax, dword [esp + 0x30]
cmp ecx, 0xff
mov eax, dword [eax + 0x18]
mov ebx, eax
je 0x6901edd5
movss dword [esp + 0x48], xmm0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], ecx
add edi, eax
add esi, eax
mov eax, dword [esp + 0x30]
movss xmm3, dword [edi]
movss xmm2, dword [esi + 4]
movss xmm1, dword [esi]
movss dword [esp + 0x40], xmm3
mov eax, dword [eax + 0x38]
movss xmm7, dword [edi + 4]
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x4c], xmm7
call sym._get_gdi_brush_color
mov ecx, dword [esp + 0x44]
movss xmm1, dword [esp + 0x34]
movss xmm3, dword [esp + 0x40]
movss xmm2, dword [esp + 0x38]
movss xmm0, dword [esp + 0x48]
ucomiss xmm3, xmm1
jp 0x6901ed1e
jne 0x6901ed1e
movss xmm7, dword [esp + 0x4c]
ucomiss xmm7, xmm2
jp 0x6901ed1e
je 0x6901e9af
movss xmm6, dword [esp + 0x4c]
mov edx, eax
movss dword [esp + 4], xmm3
mov eax, dword [esp + 0x3c]
mov dword [esp], ebx
movss dword [esp + 8], xmm6
call sym._draw_cap.part.0
jmp 0x6901e9af
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
cmp eax, 8
mov ecx, eax
mov edi, edx
jae 0x6901ee64
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x78]
test edx, edx
jne 0x6901e773
jmp 0x6901e9af
mov eax, dword [esp + 0x2c]
xor edx, edx
movups xmm0, xmm4
mov edi, dword [esp + 0x38]
lea eax, [eax + edi - 0x20]
jmp 0x6901ec2f
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x2c]
movups xmm2, xmm0
lea eax, [edx + esi]
lea edi, [edx + ecx]
lea edx, [edx + esi + 4]
jmp 0x6901ebe9
test ecx, ecx
je 0x6901e8f4
mulss xmm4, dword [ecx + 0x18]
mov edx, 1
movups xmm0, xmm4
mov dword [esp + 0x38], eax
call sym._shorten_bezier_amt
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x18]
mov edi, dword [eax + 0x10]
movss xmm4, dword [eax + 8]
mov eax, dword [esp + 0x38]
jmp 0x6901e8f4
test eax, eax
je 0x6901eca2
movss xmm2, dword [ebx + 0x18]
mov edx, dword [esp + 0x2c]
mulss xmm2, xmm0
lea eax, [edx + edi]
lea ecx, [edx + esi]
lea edx, [edx + edi + 4]
movss xmm0, dword [ecx]
movss xmm1, dword [ecx + 4]
call sym._shorten_line_amt
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x18]
movss xmm0, dword [eax + 8]
mov ebx, ecx
mov ecx, dword [eax + 0x10]
jmp 0x6901eca2
movzx eax, word [esi]
add edi, 2
add esi, 2
sub ecx, 2
mov word [edi - 2], ax
jmp 0x6901ea35
movzx eax, byte [esi]
inc edi
inc esi
mov byte [esp + 0x40], al
mov byte [edx], al
mov eax, dword [esp + 0x38]
lea ecx, [eax - 1]
jmp 0x6901ea29
movups xmm0, xmm4
mov edx, 1
jmp 0x6901edb4
movups xmm2, xmm0
mov edx, dword [esp + 0x2c]
lea eax, [edx + edi]
lea ecx, [edx + esi]
lea edx, [edx + edi + 4]
jmp 0x6901edf4
test dl, 1
jne 0x6901ee90
test edi, 2
jne 0x6901eea4
test edi, 4
je 0x6901ed5c
mov eax, dword [esi]
add edi, 4
add esi, 4
sub ecx, 4
mov dword [edi - 4], eax
jmp 0x6901ed5c
movzx eax, byte [esi]
inc edi
inc esi
mov byte [esp + 0x40], al
mov byte [edx], al
mov eax, dword [esp + 0x38]
lea ecx, [eax - 1]
jmp 0x6901ee69
movzx eax, word [esi]
add edi, 2
add esi, 2
sub ecx, 2
mov word [edi - 2], ax
jmp 0x6901ee71
mov esi, 3
jmp 0x6901e6ce