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

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 8]
xor edi, edi
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
mov dword [ecx], eax
cmp eax, edi
je 0x45d4e7
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea ecx, [esp + 0x18]
call fcn.004529f0
cmp eax, edi
jge 0x45d501
cmp eax, 0x80004002
je 0x45d501
push eax
call fcn.004859b0
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x45d953
mov ecx, dword [eax]
lea edx, [esp + 0x54]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.USER32.dll_CopyRect]
cmp byte [esp + 0x74], 0
mov dword [esp + 0x10], edi
mov edx, 3
jne 0x45d540
mov dword [esp + 0x10], edx
jmp 0x45d560
cmp byte [esp + 0x6c], 0
je 0x45d551
mov dword [esp + 0x10], 2
jmp 0x45d560
cmp byte [esp + 0x70], 0
je 0x45d560
mov dword [esp + 0x10], 1
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esi + 0x44]
add edi, dword [esi + 0x48]
sub eax, dword [esi + 0x50]
sub ebx, dword [esi + 0x4c]
add ebp, ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], edi
mov dword [esp + 0x60], eax
cmp dword [esi + 0x18], edx
jne 0x45d7db
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx]
lea eax, [esp + 0x70]
push eax
push edx
mov dword [esp + 0x78], 0xffffffff
call sub.gdiplus.dll_GdipGetSmoothingMode
test eax, eax
je 0x45d5bb
mov ecx, dword [esp + 0x68]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
push 4
push eax
call sub.gdiplus.dll_GdipSetSmoothingMode
test eax, eax
je 0x45d5d4
mov ecx, dword [esp + 0x68]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x10]
cmp dword [esi + edx*4 + 0x78], 0xff000000
je 0x45d763
mov esi, dword [esi + 0x20]
mov eax, ebx
add esi, esi
sub eax, ebp
cmp eax, esi
jge 0x45d5f5
mov esi, eax
mov eax, dword [esp + 0x60]
sub eax, edi
cmp eax, esi
jge 0x45d601
mov esi, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x20]
push eax
push 0
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x28], 0
call sub.gdiplus.dll_GdipCreatePath
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
push edi
sub eax, dword [esp + 0x70]
add eax, ebp
push eax
push edi
push ebp
push ecx
call sub.gdiplus.dll_GdipAddPathLineI
test eax, eax
je 0x45d654
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x4c]
fld dword [0x4bf3bc]
sub edx, dword [esp + 0x44]
sub esp, 8
fstp dword [esp + 4]
sub edx, esi
fld dword [0x4bf3b4]
lea ecx, [esp + 0x3c]
fstp dword [esp]
lea eax, [edx + ebp - 1]
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], eax
call fcn.00452ad0
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x20]
push edx
push ebx
add eax, edi
push eax
push ebx
push ecx
call sub.gdiplus.dll_GdipAddPathLineI
test eax, eax
je 0x45d6aa
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x20]
push edx
push ebp
push eax
push ebp
push ecx
call sub.gdiplus.dll_GdipAddPathLineI
test eax, eax
je 0x45d6c8
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x20]
push edx
call sub.gdiplus.dll_GdipClosePathFigure
test eax, eax
je 0x45d6da
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx*4 + 0x78]
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x70], edx
call fcn.00452550
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x68]
mov edx, dword [esi]
push ecx
push edi
push edx
call sub.gdiplus.dll_GdipFillPath
test eax, eax
je 0x45d715
mov dword [esi + 4], eax
fld1
lea eax, [esp + 0x28]
push eax
push 0
push ecx
fstp dword [esp]
push edi
mov dword [esp + 0x38], 0
call sub.gdiplus.dll_GdipCreatePen2
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
mov dword [esp + 0x34], eax
call fcn.00452760
mov eax, dword [esp + 0x28]
push eax
call sub.gdiplus.dll_GdipDeletePen
push edi
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x20]
push ecx
call sub.gdiplus.dll_GdipDeletePath
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov esi, dword [esi + edx*4 + 0x88]
cmp esi, 0xff000000
je 0x45d7b6
fld1
lea eax, [esp + 0x28]
push eax
push 0
push ecx
fstp dword [esp]
push esi
mov dword [esp + 0x38], 0
call sub.gdiplus.dll_GdipCreatePen1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
dec eax
push eax
push ebx
push eax
push ebp
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x7c]
call fcn.00458da0
mov edx, dword [esp + 0x28]
push edx
call sub.gdiplus.dll_GdipDeletePen
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx]
push eax
push edx
call sub.gdiplus.dll_GdipSetSmoothingMode
test eax, eax
je 0x45d947
mov ecx, dword [esp + 0x68]
mov dword [ecx + 4], eax
jmp 0x45d947
fild dword [esp + 0x54]
mov edx, dword [esp + 0x10]
sub ebx, ebp
mov dword [esp + 0x74], ebx
fstp dword [esp + 0x34]
sub eax, edi
fild dword [esp + 0x58]
mov edi, dword [esp + 0x68]
fstp dword [esp + 0x38]
fild dword [esp + 0x74]
mov dword [esp + 0x74], eax
mov eax, dword [esi + edx*4 + 0x78]
fstp dword [esp + 0x3c]
fild dword [esp + 0x74]
fstp dword [esp + 0x40]
cmp eax, 0xff000000
je 0x45d84b
test eax, eax
je 0x45d84b
mov dword [esp + 0x74], eax
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x2c]
call fcn.00452550
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ecx, edi
call fcn.0045a790
mov eax, dword [esp + 0x2c]
push eax
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + esi + 0xbd]
test al, al
je 0x45d89f
cmp byte [esp + 0x6c], 0
jne 0x45d868
cmp byte [esp + 0x70], 0
je 0x45d89f
movzx eax, al
shl eax, 0x18
test eax, eax
je 0x45d89f
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x70], eax
call fcn.00452550
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.0045a790
mov edx, dword [esp + 0x2c]
push edx
call sub.gdiplus.dll_GdipDeleteBrush
mov eax, dword [esp + 0x10]
mov eax, dword [esi + eax*4 + 0x88]
cmp eax, 0xff000000
je 0x45d947
test eax, eax
je 0x45d947
fild dword [esi + 0x54]
mov ecx, dword [esi + 0x68]
push ecx
lea edx, [esp + 0x70]
fstp dword [esp + 0x70]
fld dword [esp + 0x70]
mov dword [esp + 0x70], ecx
fld qword [0x4c9e38]
lea ecx, [esp + 0x1c]
fmul st(1)
fstp dword [esp + 0x74]
fstp dword [esp]
push edx
call fcn.004521b0
fld dword [esp + 0x3c]
fld dword [esp + 0x34]
lea eax, [esp + 0x28]
fld st(0)
push eax
faddp st(2)
lea ecx, [esp + 0x24]
fxch st(1)
push ecx
lea edx, [esp + 0x20]
fstp dword [esp + 0x30]
push edx
fld dword [esp + 0x4c]
mov ecx, edi
fadd dword [esp + 0x44]
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
fsub dword [esp + 0x7c]
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
fst dword [esp + 0x38]
fstp dword [esp + 0x30]
fstp dword [esp + 0x2c]
call fcn.00458d30
mov eax, dword [esp + 0x18]
push eax
call sub.gdiplus.dll_GdipDeletePen
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x10