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

Disassembly:
push 0xffffffffffffffff
push 0x5e2d4e
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x680f10]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x680f10]
xor eax, esp
push eax
lea eax, [esp + 0x144]
mov dword fs:[0], eax
mov edi, dword [esp + 0x154]
lea eax, [esp + 0x4c]
mov esi, ecx
mov ecx, dword [edi]
push eax
push ecx
call sub.gdiplus.dll_GdipSaveGraphics
xor ebp, ebp
cmp eax, ebp
je 0x5c3f8a
mov dword [edi + 4], eax
fld dword [esi + 0x3c]
mov edx, dword [edi]
push 1
sub esp, 0x10
fstp dword [esp + 0xc]
fld dword [esi + 0x38]
fstp dword [esp + 8]
fld dword [esi + 0x34]
fstp dword [esp + 4]
fld dword [esi + 0x30]
fstp dword [esp]
push edx
call sub.gdiplus.dll_GdipSetClipRect
cmp eax, ebp
je 0x5c3fb9
mov dword [edi + 4], eax
fld qword [esi + 0x40]
mov eax, dword [esi + 0x30]
fstp dword [esp + 0x14]
mov ecx, dword [esi + 0x34]
fld dword [esp + 0x14]
mov edx, dword [esi + 0x38]
fchs
mov dword [esp + 0x1c], eax
fstp dword [esp + 0x14]
mov eax, dword [esi + 0x3c]
fld dword [esp + 0x14]
mov dword [esp + 0x20], ecx
fst dword [esp + 0x14]
mov dword [esp + 0x24], edx
fstp dword [esp + 0x40]
mov dword [esp + 0x28], eax
fld dword [esp + 0x1c]
mov eax, dword [esi + 0x4c]
fld dword [esp + 0x14]
lea ecx, [esp + 0x2c]
fld st(0)
push ecx
fsubp st(2)
push eax
fxch st(1)
mov dword [esp + 0x38], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x34], ebp
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fld dword [esp + 0x48]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x28]
fld qword [0x5fdc90]
fmul st(2), st(0)
fld dword [esp + 0x2c]
faddp st(3)
fxch st(2)
fstp dword [esp + 0x2c]
fmulp st(1)
fadd dword [esp + 0x30]
fstp dword [esp + 0x30]
call sub.gdiplus.dll_GdipCreateSolidFill
mov ebx, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
mov dword [esp + 0x38], eax
push edx
lea eax, [esp + 0x34]
push eax
mov ecx, edi
mov dword [esp + 0x3c], ebx
call fcn.0053df10
push ebx
call sub.gdiplus.dll_GdipDeleteBrush
fldz
fcomp qword [esi + 0x40]
fnstsw ax
test ah, 0x44
jnp 0x5c415c
fld qword [esi + 0x40]
mov ecx, dword [esi + 0x30]
fstp dword [esp + 0x14]
mov edx, dword [esi + 0x34]
fld dword [esp + 0x14]
mov eax, dword [esi + 0x38]
fchs
mov dword [esp + 0x30], ecx
fmul qword [0x659f30]
mov ecx, dword [esi + 0x3c]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
fstp dword [esp + 0x14]
mov eax, dword [esi + 0x48]
fld dword [esp + 0x14]
mov dword [esp + 0x3c], ecx
fst dword [esp + 0x14]
lea edx, [esp + 0x2c]
fstp dword [esp + 0x40]
push edx
fld dword [esp + 0x34]
push eax
fld dword [esp + 0x1c]
mov dword [esp + 0x34], ebp
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fld dword [esp + 0x48]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x3c]
fld qword [0x5fdc90]
fmul st(2), st(0)
fld dword [esp + 0x40]
faddp st(3)
fxch st(2)
fstp dword [esp + 0x40]
fmulp st(1)
fadd dword [esp + 0x44]
fstp dword [esp + 0x44]
call sub.gdiplus.dll_GdipCreateSolidFill
fld qword [esi + 0x40]
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x44]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
push eax
push ebp
push ecx
fstp dword [esp]
push ebx
mov dword [esp + 0x54], ebp
call sub.gdiplus.dll_GdipCreatePen2
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x48]
push edx
mov ecx, edi
mov dword [esp + 0x50], eax
call fcn.0050dd50
mov eax, dword [esp + 0x44]
push eax
call sub.gdiplus.dll_GdipDeletePen
push ebx
call sub.gdiplus.dll_GdipDeleteBrush
fld dword [esp + 0x28]
mov ecx, dword [edi]
push 1
sub esp, 0x10
fstp dword [esp + 0xc]
fld dword [esp + 0x38]
fstp dword [esp + 8]
fld dword [esp + 0x34]
fstp dword [esp + 4]
fld dword [esp + 0x30]
fstp dword [esp]
push ecx
call sub.gdiplus.dll_GdipSetClipRect
cmp eax, ebp
je 0x5c418f
mov dword [edi + 4], eax
mov ecx, esi
call fcn.005c3510
test al, al
je 0x5c41ed
fld dword [esp + 0x24]
fcom qword [esi + 0x60]
fnstsw ax
test ah, 0x41
jne 0x5c41e7
fld qword [esi + 0x60]
fstp dword [esp + 0x18]
fldz
fld dword [esp + 0x18]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x5c41fd
fld st(0)
fadd st(1)
fld dword [esp + 0x28]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x5c4249
fstp st(1)
fld qword [0x659f30]
fmul st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
jmp 0x5c424b
fst dword [esp + 0x18]
jmp 0x5c41af
fldz
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fld dword [esp + 0x24]
fxch st(1)
fcom st(1)
fnstsw ax
test ah, 5
jp 0x5c45b1
fsubp st(1)
mov ecx, dword [esi + 0x74]
cmp ecx, ebp
fstp dword [esp + 0x24]
fld dword [esp + 0x20]
fadd dword [esp + 0x28]
fstp dword [esp + 0x20]
fld qword [esi + 0x58]
fstp dword [esp + 0x28]
fld dword [esp + 0x20]
fld dword [esp + 0x28]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x20]
jne 0x5c4333
mov dword [esp + 0x2c], ebp
jmp 0x5c433f
fxch st(1)
mov eax, dword [esi + 0x168]
cmp eax, ebp
je 0x5c4290
fld dword [esp + 0x1c]
lea edx, [esp + 0x30]
faddp st(3)
push edx
push eax
push edi
fld st(0)
fsubp st(3)
fxch st(2)
fstp dword [esp + 0x3c]
fld dword [esp + 0x2c]
fstp dword [esp + 0x40]
fxch st(1)
fstp dword [esp + 0x44]
fstp dword [esp + 0x48]
call fcn.005c3780
fld dword [esp + 0x30]
add esp, 0xc
fld dword [esp + 0x18]
jmp 0x5c4292
fstp st(1)
mov eax, dword [esi + 0x16c]
cmp eax, ebp
je 0x5c42e9
fld dword [esp + 0x1c]
lea ecx, [esp + 0x30]
faddp st(2)
push ecx
push eax
push edi
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x2c]
fadd dword [esp + 0x34]
fsub st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x20]
fstp dword [esp + 0x3c]
fld dword [esp + 0x4c]
fstp dword [esp + 0x40]
fst dword [esp + 0x44]
fstp dword [esp + 0x48]
call fcn.005c3780
fld dword [esp + 0x30]
add esp, 0xc
fld dword [esp + 0x18]
mov eax, dword [esi + 0x170]
cmp eax, ebp
je 0x5c41fd
fld dword [esp + 0x1c]
lea edx, [esp + 0x30]
faddp st(2)
push edx
push eax
push edi
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x3c]
fld dword [esp + 0x2c]
fstp dword [esp + 0x40]
fst dword [esp + 0x44]
fstp dword [esp + 0x48]
call fcn.005c3780
fld dword [esp + 0x30]
add esp, 0xc
fld dword [esp + 0x18]
jmp 0x5c41fd
mov eax, dword [esi + 0x78]
sub eax, ecx
sar eax, 5
mov dword [esp + 0x2c], eax
mov ebp, dword [esi + 0x68]
cmp ebp, dword [esp + 0x2c]
mov dword [esp + 0x14], ebp
jae 0x5c45ad
fmul qword [0x659f30]
mov ebx, ebp
shl ebx, 5
mov dword [esp + 0x18], ebx
fstp qword [esp + 0x58]
jmp 0x5c4369
mov ebx, dword [esp + 0x18]
mov ecx, dword [edi]
lea eax, [esp + 0x44]
push eax
push ecx
call sub.gdiplus.dll_GdipSaveGraphics
test eax, eax
je 0x5c437d
mov dword [edi + 4], eax
fld dword [esp + 0x28]
mov edx, dword [edi]
push 1
sub esp, 0x10
fstp dword [esp + 0xc]
fld dword [esp + 0x38]
fstp dword [esp + 8]
fld dword [esp + 0x34]
fstp dword [esp + 4]
fld dword [esp + 0x30]
fstp dword [esp]
push edx
call sub.gdiplus.dll_GdipSetClipRect
test eax, eax
je 0x5c43b0
mov dword [edi + 4], eax
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x5c43c3
mov eax, dword [esi + 0x78]
sub eax, ecx
sar eax, 5
cmp ebp, eax
jb 0x5c43c8
call fcn.0044b7ad
mov eax, dword [esi + 0x74]
mov bl, byte [eax + ebx + 0x1c]
test bl, bl
je 0x5c4420
mov eax, dword [esi + 0x50]
lea ecx, [esp + 0x40]
push ecx
push eax
mov dword [esp + 0x38], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x48], 0
call sub.gdiplus.dll_GdipCreateSolidFill
mov ebp, dword [esp + 0x40]
lea edx, [esp + 0x1c]
mov dword [esp + 0x38], eax
push edx
lea eax, [esp + 0x34]
push eax
mov ecx, edi
mov dword [esp + 0x3c], ebp
call fcn.0053df10
push ebp
mov dword [esp + 0x34], vtable.Gdiplus::Brush.0
call sub.gdiplus.dll_GdipDeleteBrush
mov ebp, dword [esp + 0x14]
lea ecx, [esp + 0x68]
call fcn.005c7440
test bl, bl
mov dword [esp + 0x14c], 0
lea eax, [esi + 0xf8]
jne 0x5c4444
lea eax, [esi + 0x88]
push eax
lea ecx, [esp + 0x6c]
call fcn.005c7170
test bl, bl
je 0x5c4457
mov eax, dword [esi + 0x50]
jmp 0x5c445a
mov eax, dword [esi + 0x4c]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x18], eax
call fcn.005c6a70
fld dword [esp + 0x24]
fstp dword [esp + 0x50]
lea edx, [esp + 0x50]
fld dword [esp + 0x28]
push edx
lea ecx, [esp + 0x6c]
fstp dword [esp + 0x58]
call fcn.005c6990
push 1
lea ecx, [esp + 0x6c]
call fcn.005c69f0
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x5c44a8
mov eax, dword [esi + 0x78]
sub eax, ecx
sar eax, 5
cmp ebp, eax
jb 0x5c44ad
call fcn.0044b7ad
mov eax, dword [esi + 0x74]
add eax, dword [esp + 0x18]
lea ecx, [esp + 0x68]
push eax
call fcn.005c6aa0
fld dword [esp + 0x20]
fadd qword [esp + 0x58]
mov ecx, dword [edi]
push 0
sub esp, 8
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp + 4]
fldz
fstp dword [esp]
push ecx
call sub.gdiplus.dll_GdipTranslateWorldTransform
test eax, eax
je 0x5c44eb
mov dword [edi + 4], eax
fld dword [0x5f2d50]
mov edx, dword [edi]
push 0
sub esp, 8
fstp dword [esp + 4]
fld1
fstp dword [esp]
push edx
call sub.gdiplus.dll_GdipScaleWorldTransform
test eax, eax
je 0x5c450e
mov dword [edi + 4], eax
fld dword [esp + 0x20]
mov eax, dword [edi]
fchs
push 0
fsub qword [esp + 0x5c]
sub esp, 8
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp + 4]
fldz
fstp dword [esp]
push eax
call sub.gdiplus.dll_GdipTranslateWorldTransform
test eax, eax
je 0x5c453d
mov dword [edi + 4], eax
fld dword [esp + 0x1c]
lea ecx, [esp + 0x60]
fadd qword [esi + 0x28]
push ecx
push edi
lea ecx, [esp + 0x70]
fstp dword [esp + 0x68]
fld dword [esp + 0x28]
fstp dword [esp + 0x6c]
call fcn.005c9100
mov edx, dword [esp + 0x44]
mov eax, dword [edi]
push edx
push eax
call sub.gdiplus.dll_GdipRestoreGraphics
test eax, eax
je 0x5c4573
mov dword [edi + 4], eax
fld dword [esp + 0x20]
lea ecx, [esp + 0x68]
fsub dword [esp + 0x28]
mov dword [esp + 0x14c], 0xffffffff
fstp dword [esp + 0x20]
call fcn.005c30a0
add dword [esp + 0x18], 0x20
add ebp, 1
cmp ebp, dword [esp + 0x2c]
mov dword [esp + 0x14], ebp
jb 0x5c4365
xor ebp, ebp
jmp 0x5c45b5
xor ebp, ebp
jmp 0x5c45b3
fstp st(0)
fstp st(0)
mov ecx, dword [esp + 0x4c]
mov edx, dword [edi]
push ecx
push edx
call sub.gdiplus.dll_GdipRestoreGraphics
cmp eax, ebp
je 0x5c45c9
mov dword [edi + 4], eax
mov ecx, dword [esp + 0x144]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.0044abb9
add esp, 0x13c
ret 4