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

Disassembly:
sub esp, 0x40
push ebx
xor ebx, ebx
push ebp
push esi
mov esi, ecx
mov bh, byte [esi + 0xbc]
movzx eax, byte [esi + 0xc0]
mov ecx, dword [esi + 0x9c]
push edi
mov edi, eax
or ebx, eax
shl ebx, 8
or ebx, eax
shl ebx, 8
or ebx, eax
shl edi, 8
or edi, eax
shl edi, 8
or edi, eax
movzx eax, cl
xor ecx, ecx
mov ch, byte [esi + 0xa0]
mov edx, dword [esi + 0xa4]
mov dword [esp + 0x1c], ebx
xor ebx, ebx
mov bh, byte [esi + 0xd8]
push edi
or ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xac]
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov ch, byte [esi + 0xb0]
or ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xb4]
mov ebp, ecx
xor ecx, ecx
mov ch, byte [esi + 0xb8]
or ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, eax
movzx eax, dl
xor edx, edx
mov dh, byte [esi + 0xa8]
mov dword [esp + 0x14], ecx
or edx, eax
shl edx, 8
or edx, eax
shl edx, 8
or edx, eax
movzx eax, byte [esi + 0xd4]
or ebx, eax
shl ebx, 8
or ebx, eax
shl ebx, 8
or ebx, eax
mov eax, dword [esi + 0x44]
push eax
mov dword [esp + 0x20], edx
call sub.gdiplus.dll_GdipSetSolidFillColor
test eax, eax
je 0x494a2e
mov dword [esi + 0x48], eax
mov ecx, dword [esi + 0x50]
push ebx
push ecx
call sub.gdiplus.dll_GdipSetSolidFillColor
xor ebx, ebx
cmp eax, ebx
je 0x494a41
mov dword [esi + 0x54], eax
mov edx, dword [esi + 0x58]
push ebp
push edx
call sub.gdiplus.dll_GdipSetPenColor
cmp eax, ebx
je 0x494a52
mov dword [esi + 0x5c], eax
fld1
mov eax, dword [esi + 0x58]
push ecx
fstp dword [esp]
push eax
call sub.gdiplus.dll_GdipSetPenWidth
cmp eax, ebx
je 0x494a68
mov dword [esi + 0x5c], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x60]
push ecx
push edx
call sub.gdiplus.dll_GdipSetPenColor
cmp eax, ebx
je 0x494a7d
mov dword [esi + 0x64], eax
fld1
mov eax, dword [esi + 0x60]
push ecx
fstp dword [esp]
push eax
call sub.gdiplus.dll_GdipSetPenWidth
cmp eax, ebx
je 0x494a93
mov dword [esi + 0x64], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x68]
push ecx
push edx
call sub.gdiplus.dll_GdipSetPenColor
cmp eax, ebx
je 0x494aa8
mov dword [esi + 0x6c], eax
fld1
mov eax, dword [esi + 0x68]
push ecx
fstp dword [esp]
push eax
call sub.gdiplus.dll_GdipSetPenWidth
cmp eax, ebx
je 0x494abe
mov dword [esi + 0x6c], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x70]
push ecx
push edx
call sub.gdiplus.dll_GdipSetPenColor
cmp eax, ebx
je 0x494ad3
mov dword [esi + 0x74], eax
fld dword [0x557470]
mov eax, dword [esi + 0x70]
push ecx
fstp dword [esp]
push eax
call sub.gdiplus.dll_GdipSetPenWidth
cmp eax, ebx
je 0x494aed
mov dword [esi + 0x74], eax
mov ebp, dword [esi + 0x30]
push ebx
push ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov edx, dword [ebp]
push ecx
push edx
call sub.gdiplus.dll_GdipGetPathWorldBoundsI
cmp eax, ebx
je 0x494b17
mov dword [ebp + 4], eax
mov ebp, dword [esi + 0x1c]
push ebx
push ebx
lea eax, [esp + 0x38]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov ecx, dword [ebp]
push eax
push ecx
call sub.gdiplus.dll_GdipGetPathWorldBoundsI
cmp eax, ebx
je 0x494b41
mov dword [ebp + 4], eax
mov edx, dword [esi + 0x78]
push edx
call sub.gdiplus.dll_GdipSetEmpty
cmp eax, ebx
je 0x494b51
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x14]
mov eax, dword [eax]
mov ecx, dword [esi + 0x78]
push 2
push eax
push ecx
call sub.gdiplus.dll_GdipCombineRegionPath
cmp eax, ebx
je 0x494b69
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
mov eax, dword [esi + 0x78]
push 4
push edx
push eax
call sub.gdiplus.dll_GdipCombineRegionPath
cmp eax, ebx
je 0x494b81
mov dword [esi + 0x7c], eax
mov ecx, dword [esi + 0x80]
cmp ecx, ebx
je 0x494b93
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
push 0xc
call sub.gdiplus.dll_GdipAlloc
mov ebx, eax
xor ebp, ebp
cmp ebx, ebp
je 0x494bed
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
push ebp
push ebp
mov dword [esp + 0x54], ecx
push eax
push edi
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x60], 1
push ecx
mov dword [ebx + 8], 6
mov dword [ebx], vtable.Gdiplus::LinearGradientBrush.0
mov dword [esp + 0x28], ebp
call sub.gdiplus.dll_GdipCreateLineBrushFromRectI
mov edx, dword [esp + 0x10]
mov dword [ebx + 8], eax
mov dword [ebx + 4], edx
jmp 0x494bef
xor ebx, ebx
push 5
push 0x595f88
mov dword [esi + 0x80], ebx
mov eax, dword [ebx + 4]
push 0x595f74
push eax
call sub.gdiplus.dll_GdipSetLineBlend
cmp eax, ebp
je 0x494c11
mov dword [ebx + 8], eax
mov ecx, dword [esi + 4]
fldz
mov esi, dword [esi + 0x80]
mov edx, dword [esi + 4]
push ebp
sub esp, 8
fstp dword [esp + 4]
mov dword [esp + 0x28], ecx
fild dword [esp + 0x28]
fstp dword [esp]
push edx
call sub.gdiplus.dll_GdipTranslateLineTransform
cmp eax, ebp
je 0x494c3f
mov dword [esi + 8], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret