Function at 0x428da0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
push ebx
push ebp
mov ebp, dword [esp + 0x80]
push esi
push edi
mov edi, ecx
mov esi, eax
cmp edi, 0xff000000
je 0x42909f
lea eax, [esp + 0x28]
push eax
push 0
mov dword [esp + 0x30], 0
call sub.gdiplus.dll_GdipCreatePath
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x98]
push 0
add eax, eax
push esi
lea ebx, [esp + 0x30]
call fcn.004276e0
fild dword [esi]
mov edx, dword [esp + 0x94]
add esp, 8
fstp dword [esp + 0x50]
lea ecx, [esp + 0x14]
fild dword [esi + 4]
push ecx
xor ebx, ebx
push ebx
fsub qword [0x5619a8]
push 1
push edx
push edi
fstp dword [esp + 0x68]
lea eax, [esp + 0x64]
fild dword [esi + 8]
push eax
mov dword [esp + 0x2c], ebx
fstp dword [esp + 0x70]
fild dword [esi + 0xc]
fadd qword [0x5619a0]
fstp dword [esp + 0x74]
call sub.gdiplus.dll_GdipCreateLineBrushFromRect
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov edx, dword [ebp]
push ecx
push eax
mov edi, eax
push edx
mov dword [esp + 0x54], edi
call sub.gdiplus.dll_GdipFillPath
cmp eax, ebx
je 0x428e56
mov dword [ebp + 4], eax
cmp byte [esp + 0xa0], bl
jne 0x428e9d
fld1
lea eax, [esp + 0x30]
push eax
push ebx
push ecx
fstp dword [esp]
push edi
mov dword [esp + 0x40], ebx
call sub.gdiplus.dll_GdipCreatePen2
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
push ecx
mov dword [esp + 0x38], eax
mov eax, dword [ebp]
push edx
push eax
call sub.gdiplus.dll_GdipDrawPath
cmp eax, ebx
je 0x428e93
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x30]
push ecx
call sub.gdiplus.dll_GdipDeletePen
mov al, byte [esp + 0x9c]
cmp al, bl
je 0x42901f
movzx ecx, byte [esp + 0xa4]
mov edx, dword [esp + 0x90]
movzx eax, al
shl ecx, 0x18
and edx, 0xffffff
mov dword [esp + 0x1c], eax
shr eax, 1
or ecx, edx
cmp eax, ebx
lea edi, [eax - 1]
jg 0x428ed8
mov edi, eax
mov edx, dword [esi + 4]
fild dword [esi]
sub edx, eax
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x98]
fstp dword [esp + 0x60]
fild dword [esp + 0x18]
lea eax, [edx + eax*2]
lea edx, [esp + 0x18]
push edx
fstp dword [esp + 0x68]
push ebx
fild dword [esi + 8]
push 1
mov dword [esp + 0x24], eax
push ebx
fstp dword [esp + 0x78]
push ecx
fild dword [esp + 0x2c]
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x30], ebx
fstp dword [esp + 0x84]
call sub.gdiplus.dll_GdipCreateLineBrushFromRect
mov eax, dword [esp + 0x18]
fld1
lea ecx, [esp + 0x20]
push ecx
push ebx
push ecx
fstp dword [esp]
push eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x30], ebx
call sub.gdiplus.dll_GdipCreatePen2
lea edx, [esp + 0x30]
push edx
push ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], ebx
call sub.gdiplus.dll_GdipCreatePath
mov ecx, dword [esi + 4]
mov dword [esp + 0x34], eax
mov eax, dword [esi]
add eax, edi
add ecx, edi
mov dword [esp + 0x70], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x74], ecx
lea ecx, [edi + edi]
mov edx, eax
sub edx, ecx
mov dword [esp + 0x78], edx
mov edx, dword [esi + 0xc]
sub edx, ecx
lea ecx, [esp + 0x70]
push 1
push ecx
lea ebx, [esp + 0x38]
mov dword [esp + 0x84], edx
call fcn.004276e0
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp]
add esp, 8
push edx
push eax
push ecx
call sub.gdiplus.dll_GdipDrawPath
test eax, eax
je 0x428fb4
mov dword [ebp + 4], eax
cmp byte [esp + 0x9c], 1
jbe 0x428ffb
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
dec edx
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
push ecx
fstp dword [esp]
push eax
call sub.gdiplus.dll_GdipSetPenWidth
test eax, eax
je 0x428fe1
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov eax, dword [ebp]
push ecx
push edx
push eax
call sub.gdiplus.dll_GdipDrawPath
test eax, eax
je 0x428ffb
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x30]
push ecx
call sub.gdiplus.dll_GdipDeletePath
mov edx, dword [esp + 0x20]
push edx
call sub.gdiplus.dll_GdipDeletePen
mov eax, dword [esp + 0x3c]
push eax
call sub.gdiplus.dll_GdipDeleteBrush
mov edi, dword [esp + 0x48]
xor ebx, ebx
mov dl, byte [esp + 0xa0]
cmp dl, bl
je 0x429053
movzx ecx, byte [esp + 0xa4]
mov eax, dword [esp + 0x90]
movzx edx, dl
and eax, 0xffffff
push ebx
shl ecx, 0x18
push edx
or ecx, eax
push ebp
mov eax, esi
call fcn.00427a70
add esp, 0xc
mov eax, dword [esp + 0x94]
cmp eax, ebx
je 0x42908f
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x20], ebx
call sub.gdiplus.dll_GdipCreateSolidFill
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
push edx
push eax
mov esi, eax
mov eax, dword [ebp]
push eax
call sub.gdiplus.dll_GdipFillPath
cmp eax, ebx
je 0x429089
mov dword [ebp + 4], eax
push esi
call sub.gdiplus.dll_GdipDeleteBrush
push edi
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x28]
push ecx
call sub.gdiplus.dll_GdipDeletePath
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret