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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a33f0
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push ebx
push esi
push edi
mov eax, dword [0x4c9144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], ebx
mov esi, dword [ebp + 0xc]
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x19], bl
cmp esi, ebx
jne 0x459c9d
push 0x80004003
call fcn.00487440
lea edi, [ebp - 0x38]
call fcn.00461c90
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x38]
xor edi, edi
mov dword [ebp - 0x70], edi
cmp esi, ebx
je 0x459c93
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
lea ecx, [ebp - 0x14]
push ecx
push esi
mov dword [ebp - 0x14], ebx
call edx
cmp eax, ebx
jge 0x459cd4
push 0x4af2d8
push esi
push eax
call fcn.00487460
cmp edi, dword [ebp - 0x14]
jge 0x45afd2
mov edx, edi
lea edi, [ebp - 0x28]
call fcn.00461c10
mov byte [ebp - 4], 2
cmp dword [ebp - 0x28], ebx
je 0x459c93
mov ecx, dword [ebp - 0x28]
lea ebx, [ebp - 0x80]
call fcn.00461b70
mov eax, dword [eax]
xor esi, esi
cmp eax, esi
je 0x459d07
mov eax, dword [eax]
jmp 0x459d09
xor eax, eax
push str.Figure
push eax
call fcn.00489d2d
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x80]
sete bl
cmp eax, esi
je 0x459d60
mov edi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, esi
jne 0x459d5d
cmp edi, esi
je 0x459d5d
mov eax, dword [edi]
cmp eax, esi
je 0x459d44
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
cmp eax, esi
je 0x459d54
push eax
call fcn.00487ef3
add esp, 4
push edi
call fcn.00487ef3
add esp, 4
mov dword [ebp - 0x80], esi
test bl, bl
je 0x45a4f4
mov dword [ebp - 0x18], esi
push ecx
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], esp
mov ebx, esp
push 0xc
call fcn.004881ae
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x459db5
push 0x4aecd8
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
jne 0x459db7
push 0x8007000e
call fcn.00487440
xor edi, edi
mov byte [ebp - 4], 3
mov dword [ebx], edi
test edi, edi
je 0x459dab
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x28]
lea ebx, [ebp - 0xdc]
mov byte [ebp - 4], 3
call fcn.0041ee00
mov eax, dword [eax]
test eax, eax
je 0x459deb
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
mov dword [ebp - 0x18], eax
call edx
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0xdc]
test eax, eax
je 0x459dfd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test esi, esi
je 0x459e20
mov ecx, dword [ebp + 0x10]
mov eax, 1
mov dword [ecx + 0x38], eax
mov byte [ebp - 4], 2
mov edx, dword [esi]
mov byte [ebp - 0x1a], al
mov eax, dword [edx + 8]
push esi
call eax
jmp 0x45a9ba
push ecx
mov edx, esp
mov dword [ebp - 0x14], esp
push edx
mov edi, 0x4aecec
call fcn.0041f200
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x28]
lea ebx, [ebp - 0xb4]
mov byte [ebp - 4], 3
call fcn.0041ee00
mov eax, dword [eax]
test eax, eax
je 0x459e5b
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
mov dword [ebp - 0x18], eax
call edx
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x459e6d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test esi, esi
je 0x459ea4
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x38], 2
add eax, 0x40
push eax
mov edx, str.Radius
lea ecx, [ebp - 0x18]
mov byte [ebp - 0x1a], 1
call fcn.0041e9e0
mov byte [ebp - 4], 2
mov edx, dword [esi]
mov eax, dword [edx + 8]
add esp, 4
push esi
call eax
jmp 0x45a9ba
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov edi, str.Ellipse
call fcn.0041f200
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x28]
lea ebx, [ebp - 0xbc]
mov byte [ebp - 4], 3
call fcn.0041ee00
mov eax, dword [eax]
test eax, eax
je 0x459edf
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
mov dword [ebp - 0x18], eax
call edx
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x459ef1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test esi, esi
je 0x459f14
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x38], 3
mov byte [ebp - 4], 2
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
mov byte [ebp - 0x1a], 1
call eax
jmp 0x45a9ba
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push ecx
mov edi, str.Custom
call fcn.0041f200
mov byte [ebp - 4], 8
mov edi, dword [ebp - 0x28]
lea ebx, [ebp - 0xc4]
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.0041ee00
mov eax, dword [eax]
xor ebx, ebx
cmp eax, ebx
je 0x459f53
mov edx, dword [eax]
mov dword [ebp - 0x18], eax
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc4]
cmp eax, ebx
je 0x459f65
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
je 0x45af5d
mov eax, dword [ebp + 0x10]
or edi, 0xffffffff
cmp dword [eax + 0x18], edi
jne 0x45af0c
cmp dword [eax + 0x1c], edi
jne 0x45af0c
lea edi, [ebp - 0x78]
mov byte [ebp - 0x1a], 1
mov dword [eax + 0x38], ebx
call fcn.00461c90
xor edi, edi
mov byte [ebp - 4], 9
mov dword [ebp - 0x2c], edi
lea ecx, [ecx]
mov esi, dword [ebp - 0x78]
cmp esi, ebx
je 0x459c93
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
lea ecx, [ebp - 0x14]
push ecx
push esi
mov dword [ebp - 0x14], ebx
call edx
cmp eax, ebx
jge 0x459fca
push 0x4af2d8
push esi
push eax
call fcn.00487460
cmp edi, dword [ebp - 0x14]
jge 0x45a4d4
mov edx, edi
lea edi, [ebp - 0x20]
call fcn.00461c10
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x20]
cmp esi, ebx
je 0x459c93
lea ebx, [ebp - 0xcc]
mov ecx, esi
call fcn.00461b70
mov eax, dword [eax]
xor ebx, ebx
cmp eax, ebx
je 0x45a005
mov eax, dword [eax]
jmp 0x45a007
xor eax, eax
push str.PathChunk
push eax
call fcn.00489d2d
add esp, 8
test eax, eax
lea edi, [ebp - 0xcc]
sete byte [ebp - 0x21]
call fcn.0041bb80
cmp byte [ebp - 0x21], bl
je 0x45a4bb
lea eax, [ebp - 0x3c]
push eax
call fcn.0041b8b0
lea edi, [ebp - 0xc0]
mov byte [ebp - 4], 0xb
call fcn.00461ce0
lea ecx, [ebp - 0x3c]
push ecx
mov edx, str.xsi:type
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.0041dba0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0xc0]
add esp, 4
cmp eax, ebx
je 0x45a074
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x3c]
push str.ArcChunk
push ecx
call fcn.00489d2d
add esp, 8
test eax, eax
jne 0x45a1d2
push 0x1c
call fcn.004881ae
add esp, 4
cmp eax, ebx
je 0x45a0b1
mov dword [eax], vtable.CInterfaceFigureElmt::CPathArc.0
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 8], ebx
mov dword [eax + 4], ebx
mov esi, eax
jmp 0x45a0b3
xor esi, esi
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x4c], esi
call fcn.0045f780
push esi
lea edx, [ebp - 0x4c]
push esi
push edx
call fcn.0043ed50
add esp, 0xc
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x4c]
add eax, 4
push eax
mov edx, str.Left
lea ecx, [ebp - 0x20]
call fcn.0041e860
add esp, 4
test al, al
je 0x45a1c1
mov ecx, dword [ebp - 0x4c]
add ecx, 8
push ecx
mov edx, 0x4ada94
lea ecx, [ebp - 0x20]
call fcn.0041e860
add esp, 4
test al, al
je 0x45a1c1
mov edx, dword [ebp - 0x4c]
add edx, 0xc
push edx
mov edx, str.Width
lea ecx, [ebp - 0x20]
call fcn.0041e860
add esp, 4
test al, al
je 0x45a1c1
mov eax, dword [ebp - 0x4c]
add eax, 0x10
push eax
mov edx, str.Height
lea ecx, [ebp - 0x20]
call fcn.0041e860
add esp, 4
test al, al
je 0x45a1c1
mov ecx, dword [ebp - 0x4c]
add ecx, 0x14
push ecx
mov edx, str.StartAngle
lea ecx, [ebp - 0x20]
call fcn.0041e860
add esp, 4
test al, al
je 0x45a1c1
mov edx, dword [ebp - 0x4c]
add edx, 0x18
push edx
mov edx, str.SweepAngle
lea ecx, [ebp - 0x20]
call fcn.0041e860
add esp, 4
test al, al
je 0x45a1c1
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xd4], eax
cmp eax, ebx
je 0x45a1a1
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov ebx, dword [ebp + 0x10]
add ebx, 0x78
lea esi, [ebp - 0xd8]
mov byte [ebp - 4], 0xe
call fcn.0045cfb0
mov eax, esi
mov byte [ebp - 4], 0xd
call fcn.00440440
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0xb
call fcn.00440440
jmp 0x45a495
mov edx, dword [ebp - 0x3c]
push str.LineChunk
push edx
call fcn.00489d2d
add esp, 8
test eax, eax
jne 0x45a2f2
push 0x14
call fcn.004881ae
add esp, 4
cmp eax, ebx
je 0x45a20f
mov dword [eax], vtable.CInterfaceFigureElmt::CPathLine.0
mov dword [eax + 8], ebx
mov dword [eax + 4], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov esi, eax
jmp 0x45a211
xor esi, esi
push esi
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x58], esi
call fcn.0045f810
push esi
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.0043ed50
add esp, 0xc
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x58]
add ecx, 4
push ecx
mov edx, 0x4aed8c
lea ecx, [ebp - 0x20]
call fcn.0041e860
add esp, 4
test al, al
je 0x45a2e1
mov edx, dword [ebp - 0x58]
add edx, 8
push edx
mov edx, 0x4aed94
lea ecx, [ebp - 0x20]
call fcn.0041e860
add esp, 4
test al, al
je 0x45a2e1
mov eax, dword [ebp - 0x58]
add eax, 0xc
push eax
mov edx, 0x4aed9c
lea ecx, [ebp - 0x20]
call fcn.0041e860
add esp, 4
test al, al
je 0x45a2e1
mov ecx, dword [ebp - 0x58]
add ecx, 0x10
push ecx
mov edx, 0x4aeda4
lea ecx, [ebp - 0x20]
call fcn.0041e860
add esp, 4
test al, al
je 0x45a2e1
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0xe0], eax
cmp eax, ebx
je 0x45a2c1
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov ebx, dword [ebp + 0x10]
add ebx, 0x78
lea esi, [ebp - 0xe4]
mov byte [ebp - 4], 0x10
call fcn.0045cfb0
mov eax, esi
mov byte [ebp - 4], 0xf
call fcn.00440440
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xb
call fcn.00440440
jmp 0x45a495
mov edx, dword [ebp - 0x3c]
push str.BezierChunk
push edx
call fcn.00489d2d
add esp, 8
test eax, eax
jne 0x45aeb1
push 0x24
call fcn.004881ae
add esp, 4
cmp eax, ebx
je 0x45a33b
mov dword [eax], vtable.CInterfaceFigureElmt::CPathBezier.0
mov dword [eax + 8], ebx
mov dword [eax + 4], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x1c], ebx
mov esi, eax
jmp 0x45a33d
xor esi, esi
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x44], esi
call fcn.0045f8a0
push esi
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.0043ed50
add esp, 0xc
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x44]
add ecx, 4
push ecx
mov edx, 0x4aed8c
lea ecx, [ebp - 0x20]
call fcn.0041e860
add esp, 4
test al, al
je 0x45a489
mov edx, dword [ebp - 0x44]
add edx, 8
push edx
mov edx, 0x4aed94
lea ecx, [ebp - 0x20]
call fcn.0041e860
add esp, 4
test al, al
je 0x45a489
mov eax, dword [ebp - 0x44]
add eax, 0xc
push eax
mov edx, 0x4aed9c
lea ecx, [ebp - 0x20]
call fcn.0041e860
add esp, 4
test al, al
je 0x45a489
mov ecx, dword [ebp - 0x44]
add ecx, 0x10
push ecx
mov edx, 0x4aeda4
lea ecx, [ebp - 0x20]
call fcn.0041e860
add esp, 4
test al, al
je 0x45a489
mov edx, dword [ebp - 0x44]
add edx, 0x14
push edx
mov edx, 0x4aedc4
lea ecx, [ebp - 0x20]
call fcn.0041e860
add esp, 4
test al, al
je 0x45a489
mov eax, dword [ebp - 0x44]
add eax, 0x18
push eax
mov edx, 0x4aedcc
lea ecx, [ebp - 0x20]
call fcn.0041e860
add esp, 4
test al, al
je 0x45a489
mov ecx, dword [ebp - 0x44]
add ecx, 0x1c
push ecx
mov edx, 0x4aedd4
lea ecx, [ebp - 0x20]
call fcn.0041e860
add esp, 4
test al, al
je 0x45a489
mov edx, dword [ebp - 0x44]
add edx, 0x20
push edx
mov edx, 0x4aeddc
lea ecx, [ebp - 0x20]
call fcn.0041e860
add esp, 4
test al, al
je 0x45a489
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xec], eax
cmp eax, ebx
je 0x45a469
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov ebx, dword [ebp + 0x10]
add ebx, 0x78
lea esi, [ebp - 0xf0]
mov byte [ebp - 4], 0x12
call fcn.0045cfb0
mov eax, esi
mov byte [ebp - 4], 0x11
call fcn.00440440
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.00440440
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45a4b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x20]
mov byte [ebp - 4], 9
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
inc dword [ebp - 0x2c]
mov edi, dword [ebp - 0x2c]
xor ebx, ebx
jmp 0x459fa0
mov byte [ebp - 4], 3
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 2
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
jmp 0x45a9ba
mov ecx, dword [ebp - 0x28]
lea ebx, [ebp - 0x7c]
call fcn.00461b70
mov eax, dword [eax]
xor esi, esi
cmp eax, esi
je 0x45a50b
mov eax, dword [eax]
jmp 0x45a50d
xor eax, eax
push str.Border
push eax
call fcn.00489d2d
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x7c]
sete bl
cmp eax, esi
je 0x45a564
mov edi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, esi
jne 0x45a561
cmp edi, esi
je 0x45a561
mov eax, dword [edi]
cmp eax, esi
je 0x45a548
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
cmp eax, esi
je 0x45a558
push eax
call fcn.00487ef3
add esp, 4
push edi
call fcn.00487ef3
add esp, 4
mov dword [ebp - 0x7c], esi
test bl, bl
je 0x45a672
lea ecx, [ebp - 0x14]
push ecx
mov edx, str.Size
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 1
call fcn.0041e9e0
mov dword [ebp - 0x2c], esi
mov bl, 0x13
mov byte [ebp - 4], bl
mov edx, esp
mov dword [ebp - 0x18], esp
push edx
mov edi, str.Color
call fcn.0041f200
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], bl
lea ebx, [ebp - 0xa0]
call fcn.0041ee00
mov eax, dword [eax]
test eax, eax
je 0x45a5c4
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov esi, eax
push eax
mov dword [ebp - 0x2c], esi
call edx
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x45a5d6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test esi, esi
je 0x45a9ac
mov edi, dword [ebp + 0x10]
push 0
push 0
lea ebx, [edi + 0x8c]
push ebx
push ecx
mov eax, esp
mov dword [eax], esi
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], esp
push esi
call ecx
mov ecx, dword [ebp + 8]
push edi
call fcn.00449800
test al, al
je 0x45a9aa
push 8
mov byte [ebp - 0x31], 1
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov edi, eax
test edi, edi
je 0x45a660
mov edx, dword [ebp - 0x14]
fild dword [ebp - 0x14]
mov ebx, dword [ebx]
test edx, edx
jns 0x45a631
fadd dword [0x4b2c58]
push edi
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
push 0
push ecx
fstp dword [esp]
push ebx
mov dword [edi], 0
call dword [sym.imp.gdiplus.dll_GdipCreatePen1]
mov dword [edi + 4], eax
mov eax, edi
mov edi, dword [ebp + 0x10]
add edi, 0x44
call fcn.0045e390
jmp 0x45a9aa
mov edi, dword [ebp + 0x10]
xor eax, eax
add edi, 0x44
call fcn.0045e390
jmp 0x45a9aa
mov ecx, dword [ebp - 0x28]
lea ebx, [ebp - 0x88]
call fcn.00461b70
mov eax, dword [eax]
test eax, eax
je 0x45a68a
mov eax, dword [eax]
jmp 0x45a68c
xor eax, eax
push str.Fill
push eax
call fcn.00489d2d
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x88]
sete bl
test eax, eax
je 0x45a6e9
mov edi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45a6e3
test edi, edi
je 0x45a6e3
mov eax, dword [edi]
test eax, eax
je 0x45a6ca
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x45a6da
push eax
call fcn.00487ef3
add esp, 4
push edi
call fcn.00487ef3
add esp, 4
mov dword [ebp - 0x88], esi
test bl, bl
je 0x45a9ba
xor esi, esi
mov dword [ebp - 0x18], esi
push ecx
mov bl, 0x15
mov byte [ebp - 4], bl
mov edx, esp
mov dword [ebp - 0x14], esp
push edx
mov edi, str.PlainColor
call fcn.0041f200
mov byte [ebp - 4], 0x16
mov edi, dword [ebp - 0x28]
mov byte [ebp - 4], bl
lea ebx, [ebp - 0xe8]
mov ecx, edi
call fcn.0041ee00
mov eax, dword [eax]
test eax, eax
je 0x45a737
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
mov dword [ebp - 0x18], eax
call edx
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0xe8]
test eax, eax
je 0x45a749
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test esi, esi
je 0x45a7a0
mov ebx, dword [ebp + 0x10]
or eax, 0xffffffff
cmp dword [ebx + 0x18], eax
je 0x45a75d
cmp dword [ebx + 0x1c], eax
jne 0x45a767
cmp dword [ebx + 0x38], 0
jne 0x45af80
lea eax, [ebx + 0x4c]
push eax
push 0
push 0
push ecx
mov eax, esp
mov dword [eax], esi
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x14], esp
push esi
call edx
mov ecx, dword [ebp + 8]
push ebx
call fcn.00449800
test al, al
je 0x45a9aa
mov eax, 1
mov byte [ebp - 0x19], al
mov dword [ebx + 0x3c], eax
jmp 0x45a9aa
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov edi, str.LinearGradient
call fcn.0041f200
mov byte [ebp - 4], 0x17
mov edi, dword [ebp - 0x28]
lea ebx, [ebp - 0xa8]
mov ecx, edi
mov byte [ebp - 4], 0x15
call fcn.0041ee00
mov eax, dword [eax]
test eax, eax
je 0x45a7dd
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
mov dword [ebp - 0x18], eax
call edx
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x45a7ef
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test esi, esi
je 0x45a9dd
mov ebx, dword [ebp + 0x10]
or eax, 0xffffffff
cmp dword [ebx + 0x18], eax
je 0x45a807
cmp dword [ebx + 0x1c], eax
jne 0x45a811
cmp dword [ebx + 0x38], 0
jne 0x45af80
lea edi, [ebp - 0xc8]
call fcn.00461ce0
add ebx, 0x54
push ebx
mov edx, str.Angle
mov ecx, eax
mov byte [ebp - 4], 0x18
call fcn.0041e030
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0xc8]
xor esi, esi
add esp, 4
cmp eax, esi
je 0x45a84b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x5c], esi
push ecx
mov bl, 0x1a
mov byte [ebp - 4], bl
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov edi, str.Color1
call fcn.0041f200
mov byte [ebp - 4], 0x1b
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], bl
lea ebx, [ebp - 0x94]
mov ecx, esi
call fcn.0041ee00
mov bl, 0x1c
mov byte [ebp - 4], bl
mov eax, dword [eax]
or dword [ebp - 0x30], 1
test eax, eax
je 0x45a8d5
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
mov dword [ebp - 0x2c], eax
call edx
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov edi, str.Color2
call fcn.0041f200
mov dword [ebp - 4], 0x1d
mov byte [ebp - 4], bl
lea ebx, [ebp - 0xb0]
mov ecx, esi
call fcn.0041ee00
or dword [ebp - 0x30], 2
lea edi, [ebp - 0x5c]
call fcn.0041ed30
cmp dword [eax], 0
je 0x45a8d5
mov bl, 1
jmp 0x45a8d7
xor bl, bl
test byte [ebp - 0x30], 2
je 0x45a8f3
mov eax, dword [ebp - 0xb0]
and dword [ebp - 0x30], 0xfffffffd
test eax, eax
je 0x45a8f3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 0x1a
test byte [ebp - 0x30], 1
je 0x45a916
mov eax, dword [ebp - 0x94]
and dword [ebp - 0x30], 0xfffffffe
test eax, eax
je 0x45a916
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [ebp - 0x2c]
test bl, bl
je 0x45a984
mov esi, dword [ebp + 0x10]
push 0
push 0
lea eax, [esi + 0x58]
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
mov dword [eax], edi
test edi, edi
je 0x45a93c
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov ebx, dword [ebp + 8]
push esi
mov ecx, ebx
call fcn.00449800
test al, al
je 0x45a984
push 0
push 0
lea eax, [esi + 0x5c]
push eax
push ecx
mov ecx, dword [ebp - 0x5c]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], esp
test eax, eax
je 0x45a96d
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
push esi
mov ecx, ebx
call fcn.00449800
test al, al
je 0x45a984
mov byte [ebp - 0x19], 1
mov dword [esi + 0x3c], 2
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x45a997
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 0x15
test edi, edi
je 0x45a9a7
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov esi, dword [ebp - 0x18]
test esi, esi
mov byte [ebp - 4], 2
je 0x45a9ba
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov ebx, 1
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
add dword [ebp - 0x70], ebx
mov edi, dword [ebp - 0x70]
mov esi, dword [ebp - 0x38]
xor ebx, ebx
jmp 0x459cb5
push ecx
mov edx, esp
mov dword [ebp - 0x14], esp
push edx
mov edi, str.PathGradient
call fcn.0041f200
mov byte [ebp - 4], 0x1e
mov edi, dword [ebp - 0x28]
lea ebx, [ebp - 0xb8]
mov ecx, edi
mov byte [ebp - 4], 0x15
call fcn.0041ee00
mov eax, dword [eax]
xor ebx, ebx
cmp eax, ebx
je 0x45aa1c
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
mov dword [ebp - 0x18], eax
call edx
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0xb8]
cmp eax, ebx
je 0x45aa2e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
je 0x45ad3f
mov eax, dword [ebp + 0x10]
or ecx, 0xffffffff
cmp dword [eax + 0x18], ecx
je 0x45aa46
cmp dword [eax + 0x1c], ecx
jne 0x45aa4f
cmp dword [eax + 0x38], ebx
jne 0x45afb5
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x50], ebx
push ecx
mov bl, 0x20
mov byte [ebp - 4], bl
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov edi, str.CenterColor
call fcn.0041f200
mov byte [ebp - 4], 0x21
mov byte [ebp - 4], bl
lea ebx, [ebp - 0x98]
mov ecx, esi
call fcn.0041ee00
mov bl, 0x22
mov byte [ebp - 4], bl
or dword [ebp - 0x30], 4
lea edi, [ebp - 0x60]
call fcn.0041ed30
cmp dword [eax], 0
je 0x45aad2
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push ecx
mov edi, str.SurroundColor
call fcn.0041f200
mov dword [ebp - 4], 0x23
mov byte [ebp - 4], bl
lea ebx, [ebp - 0xd0]
mov ecx, esi
call fcn.0041ee00
or dword [ebp - 0x30], 8
lea edi, [ebp - 0x50]
call fcn.0041ed30
cmp dword [eax], 0
mov byte [ebp - 0x21], 1
jne 0x45aad6
mov byte [ebp - 0x21], 0
mov ebx, dword [ebp - 0x30]
test bl, 8
je 0x45aaf6
mov eax, dword [ebp - 0xd0]
and ebx, 0xfffffff7
mov dword [ebp - 0x30], ebx
test eax, eax
je 0x45aaf6
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 4], 0x20
test bl, 4
je 0x45ab1a
mov eax, dword [ebp - 0x98]
and ebx, 0xfffffffb
mov dword [ebp - 0x30], ebx
test eax, eax
je 0x45ab1a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp byte [ebp - 0x21], 0
je 0x45ad10
mov edi, dword [ebp + 0x10]
push 0
push 0
lea eax, [edi + 0x60]
push eax
push ecx
mov ecx, dword [ebp - 0x60]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x14], esp
test eax, eax
je 0x45ab49
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp + 8]
push edi
mov ecx, ebx
call fcn.00449800
test al, al
je 0x45ad10
mov edx, dword [ebp - 0x50]
push 0
push 0
lea ecx, [edi + 0x64]
push ecx
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x14], esp
test eax, eax
je 0x45ab7e
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
push edi
mov ecx, ebx
call fcn.00449800
test al, al
je 0x45ad10
mov dword [ebp - 0x2c], 0
push ecx
mov bl, 0x24
mov byte [ebp - 4], bl
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov edi, str.CenterPoint
call fcn.0041f200
mov byte [ebp - 4], 0x25
mov byte [ebp - 4], bl
lea ebx, [ebp - 0x9c]
mov ecx, esi
call fcn.0041ee00
lea edi, [ebp - 0x2c]
call fcn.0041ed30
mov edi, dword [eax]
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x45abdb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test edi, edi
je 0x45ac35
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x459c93
lea edi, [ebp - 0x74]
call fcn.00461ce0
mov esi, dword [ebp + 0x10]
lea eax, [esi + 0x68]
push eax
mov edx, 0x4aeeac
mov ecx, edi
mov byte [ebp - 4], 0x26
call fcn.0041e030
add esp, 4
add esi, 0x6c
push esi
mov edx, 0x4aeeb0
mov ecx, edi
call fcn.0041e030
mov byte [ebp - 4], 0x24
mov eax, dword [ebp - 0x74]
add esp, 4
test eax, eax
je 0x45ac32
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x68], 0
push ecx
mov bl, 0x27
mov byte [ebp - 4], bl
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov edi, 0x4aeeb4
call fcn.0041f200
mov byte [ebp - 4], 0x28
mov byte [ebp - 4], bl
lea ebx, [ebp - 0xa4]
mov ecx, esi
call fcn.0041ee00
lea edi, [ebp - 0x68]
call fcn.0041ed30
mov edi, dword [eax]
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x45ac82
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test edi, edi
je 0x45acdc
mov esi, dword [ebp - 0x68]
test esi, esi
je 0x459c93
lea edi, [ebp - 0x6c]
call fcn.00461ce0
mov esi, dword [ebp + 0x10]
lea eax, [esi + 0x70]
push eax
mov edx, 0x4aeeac
mov ecx, edi
mov byte [ebp - 4], 0x29
call fcn.0041dd30
add esp, 4
add esi, 0x74
push esi
mov edx, 0x4aeeb0
mov ecx, edi
call fcn.0041dd30
mov byte [ebp - 4], 0x27
mov eax, dword [ebp - 0x6c]
add esp, 4
test eax, eax
je 0x45acd9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x3c], 3
mov byte [ebp - 4], 0x24
mov eax, dword [ebp - 0x68]
mov byte [ebp - 0x19], 1
test eax, eax
je 0x45acfd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 0x20
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x45ad10
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x45ad23
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x45a9aa
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x45a9aa
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov edi, str.Image
call fcn.0041f200
mov byte [ebp - 4], 0x2a
mov ecx, dword [ebp - 0x28]
lea ebx, [ebp - 0xac]
mov byte [ebp - 4], 0x15
call fcn.0041ee00
mov eax, dword [eax]
test eax, eax
je 0x45ad7a
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
mov dword [ebp - 0x18], eax
call edx
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x45ad8c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test esi, esi
je 0x45a9ac
lea eax, [ebp - 0x84]
push eax
call fcn.0041b8b0
xor eax, eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x84]
push ecx
push ecx
mov byte [ebp - 4], 0x2c
mov eax, esp
mov dword [eax], esi
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov dword [ebp - 0x14], esp
push esi
lea edi, [ebp - 0x90]
call eax
mov ebx, dword [ebp + 8]
mov ecx, edi
call fcn.0044a490
test al, al
je 0x45ae92
xor eax, eax
lea edi, [ebp - 0x64]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], eax
call fcn.00461ce0
lea ecx, [ebp - 0x14]
push ecx
mov edx, str.MarginX
mov ecx, edi
mov byte [ebp - 4], 0x2d
call fcn.0041e030
lea edx, [ebp - 0x2c]
add esp, 4
push edx
mov edx, str.MarginY
mov ecx, edi
call fcn.0041e030
mov ebx, dword [ebp - 0x90]
add esp, 4
mov esi, ebx
call fcn.0041ad10
mov edi, eax
sub edi, dword [ebp - 0x14]
call fcn.0041ad40
mov esi, eax
sub esi, dword [ebp - 0x2c]
test edi, edi
jle 0x45ae7c
test esi, esi
jle 0x45ae7c
push 0xc
call dword [sym.imp.gdiplus.dll_GdipAlloc]
test eax, eax
je 0x45ae61
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x14]
push ecx
push edx
mov ecx, esi
push ebx
mov edx, edi
mov esi, eax
call fcn.00461830
jmp 0x45ae63
xor eax, eax
mov esi, dword [ebp + 0x10]
lea edi, [esi + 0x84]
call fcn.0045e400
mov byte [ebp - 0x19], 1
mov dword [esi + 0x3c], 4
mov byte [ebp - 4], 0x2c
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x45ae8f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x2b
call fcn.0041aa50
lea eax, [ebp - 0x84]
call fcn.0041b950
jmp 0x45a9aa
lea eax, [ebp - 0x3c]
call fcn.0041b950
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 0xffffffff
jmp 0x45af38
mov byte [ebp - 4], 2
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x45af47
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov byte [ebp - 4], 1
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 4], 0xffffffff
jmp 0x45af38
mov byte [ebp - 4], 2
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov byte [ebp - 4], 1
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
test eax, eax
jmp 0x45af3d
mov byte [ebp - 4], 2
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov byte [ebp - 4], 1
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
call eax
jmp 0x45aef5
cmp byte [ebp - 0x1a], bl
je 0x45afe7
cmp byte [ebp - 0x19], bl
jne 0x45afe1
cmp byte [ebp - 0x31], bl
je 0x45afe7
mov byte [ebp + 0x13], 1
jmp 0x45afea
mov byte [ebp + 0x13], bl
mov byte [ebp - 4], bl
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x45b00b
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov al, byte [ebp + 0x13]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc