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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e31c2
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebx
push esi
push edi
mov eax, dword [0x680f10]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x58], edi
call fcn.005c76e0
lea eax, [esp + 0x1c]
xor ebx, ebx
push eax
mov dword [esp + 0x20], ebx
call sub.gdiplus.dll_GdipCreateMatrix
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
mov esi, dword [ebp + 0x10]
cmp esi, ebx
mov dword [esp + 0xc8], ebx
je 0x5c807f
mov eax, dword [esi]
lea edx, [esp + 0x24]
push edx
push eax
call sub.gdiplus.dll_GdipGetMatrixElements
cmp eax, ebx
je 0x5c803b
mov dword [esi + 4], eax
fld dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
sub esp, 0x18
fstp dword [esp + 0x14]
fld dword [esp + 0x4c]
fstp dword [esp + 0x10]
fld dword [esp + 0x48]
fstp dword [esp + 0xc]
fld dword [esp + 0x44]
fstp dword [esp + 8]
fld dword [esp + 0x40]
fstp dword [esp + 4]
fld dword [esp + 0x3c]
fstp dword [esp]
push ecx
call sub.gdiplus.dll_GdipSetMatrixElements
cmp eax, ebx
je 0x5c807f
mov dword [esp + 0x60], eax
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0x68], ebx
call sub.gdiplus.dll_GdipCreateMatrix
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x3c], eax
mov esi, dword [edi + 0xa0]
add edi, 0x9c
cmp esi, dword [edi + 8]
mov byte [esp + 0xc8], 1
jbe 0x5c80b7
call fcn.0044b7ad
mov ebx, esi
lea esp, [esp]
mov esi, dword [edi + 8]
cmp dword [edi + 4], esi
jbe 0x5c80cd
call fcn.0044b7ad
cmp edi, edi
je 0x5c80d6
call fcn.0044b7ad
cmp ebx, esi
je 0x5c873d
cmp ebx, dword [edi + 8]
jb 0x5c80e8
call fcn.0044b7ad
mov esi, dword [ebx + 0x10]
test esi, esi
je 0x5c872b
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
cmp ebx, dword [edi + 8]
mov dword [esp + 0x14], eax
jb 0x5c810a
call fcn.0044b7ad
test byte [ebx + 0x14], 1
je 0x5c81b8
cmp ebx, dword [edi + 8]
jb 0x5c811e
call fcn.0044b7ad
fld qword [ebx + 8]
mov ecx, dword [esp + 0x1c]
fld qword [esi + 0x48]
push 0
fchs
sub esp, 8
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp + 4]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp]
push ecx
call sub.gdiplus.dll_GdipTranslateMatrix
test eax, eax
je 0x5c8154
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x24]
push edx
push eax
call sub.gdiplus.dll_GdipGetMatrixElements
test eax, eax
je 0x5c816b
mov dword [esp + 0x60], eax
fld dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
sub esp, 0x18
fstp dword [esp + 0x14]
fld dword [esp + 0x4c]
fstp dword [esp + 0x10]
fld dword [esp + 0x48]
fstp dword [esp + 0xc]
fld dword [esp + 0x44]
fstp dword [esp + 8]
fld dword [esp + 0x40]
fstp dword [esp + 4]
fld dword [esp + 0x3c]
fstp dword [esp]
push ecx
call sub.gdiplus.dll_GdipSetMatrixElements
test eax, eax
je 0x5c872b
mov dword [esp + 0x40], eax
jmp 0x5c872b
mov edx, dword [esp + 0x58]
cmp dword [edx + 0x18], 0
jne 0x5c826c
cmp ebx, dword [edi + 8]
jb 0x5c81d0
call fcn.0044b7ad
test byte [ebx + 0x14], 4
je 0x5c826c
cmp ebx, dword [edi + 8]
jb 0x5c81e4
call fcn.0044b7ad
fld qword [ebx + 8]
mov eax, dword [esp + 0x1c]
fld qword [esi + 0x48]
push 0
fchs
sub esp, 8
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp + 4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp]
push eax
call sub.gdiplus.dll_GdipTranslateMatrix
test eax, eax
je 0x5c821a
mov dword [esp + 0x60], eax
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
push edx
call sub.gdiplus.dll_GdipGetMatrixElements
test eax, eax
je 0x5c8231
mov dword [esp + 0x60], eax
fld dword [esp + 0x38]
sub esp, 0x18
fstp dword [esp + 0x14]
lea ecx, [esp + 0x54]
fld dword [esp + 0x4c]
fstp dword [esp + 0x10]
fld dword [esp + 0x48]
fstp dword [esp + 0xc]
fld dword [esp + 0x44]
fstp dword [esp + 8]
fld dword [esp + 0x40]
fstp dword [esp + 4]
fld dword [esp + 0x3c]
fstp dword [esp]
call fcn.004bb8d0
mov ecx, dword [esi + 0x58]
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x18], 0
call sub.gdiplus.dll_GdipIsMatrixIdentity
test eax, eax
je 0x5c8289
mov dword [esi + 0x5c], eax
cmp dword [esp + 0x10], 0
sete al
test al, al
mov byte [esp + 0x23], al
je 0x5c82dc
cmp dword [ebp + 8], 0
je 0x5c82dc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
push edx
push ecx
call sub.gdiplus.dll_GdipSaveGraphics
test eax, eax
je 0x5c82b9
mov edx, dword [ebp + 8]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [esi + 0x58]
mov edx, dword [ebp + 8]
push 0
mov dword [esp + 0x6c], eax
mov eax, dword [edx]
push ecx
push eax
call sub.gdiplus.dll_GdipMultiplyWorldTransform
test eax, eax
je 0x5c82dc
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
fld qword [esi + 0x28]
lea edx, [esp + 0x10]
fst qword [esp + 0x94]
push edx
fld qword [esi + 0x68]
sub esp, 0x18
fst qword [esp + 0xc0]
mov dword [esp + 0x2c], 0
fld qword [esi + 0x38]
fstp qword [esp + 0xb8]
fld qword [esi + 0x40]
fstp qword [esp + 0xc8]
fld qword [esi + 0x50]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp + 0x14]
fldz
fst dword [esp + 0x10]
fxch st(2)
fst dword [esp + 0x34]
fld dword [esp + 0x34]
fchs
fstp dword [esp + 0xc]
fxch st(2)
fst dword [esp + 8]
fstp dword [esp + 4]
fmulp st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp]
call sub.gdiplus.dll_GdipCreateMatrix2
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x8c], eax
cmp dword [ebp + 0xc], 0
mov byte [esp + 0xc8], 2
je 0x5c845d
cmp dword [esp + 0x14], 0
je 0x5c866f
cmp ebx, dword [edi + 8]
jb 0x5c838e
call fcn.0044b7ad
mov ecx, dword [esp + 0x14]
movzx eax, word [ebx]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
call edx
test eax, eax
je 0x5c866f
mov ecx, eax
call fcn.0056e4f0
mov esi, eax
test esi, esi
je 0x5c866f
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x24]
push eax
push ecx
call sub.gdiplus.dll_GdipGetMatrixElements
test eax, eax
je 0x5c83cd
mov dword [esp + 0x40], eax
fld dword [esp + 0x38]
sub esp, 0x18
fstp dword [esp + 0x14]
lea ecx, [esp + 0xcc]
fld dword [esp + 0x4c]
fstp dword [esp + 0x10]
fld dword [esp + 0x48]
fstp dword [esp + 0xc]
fld dword [esp + 0x44]
fstp dword [esp + 8]
fld dword [esp + 0x40]
fstp dword [esp + 4]
fld dword [esp + 0x3c]
fstp dword [esp]
call fcn.0049d310
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0xb4]
push 0
push edx
push edi
call sub.gdiplus.dll_GdipMultiplyMatrix
mov eax, dword [esi]
push edi
push eax
call sub.gdiplus.dll_GdipTransformPath
test eax, eax
je 0x5c842f
mov dword [esi + 4], eax
mov eax, dword [esi]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push 0
push eax
push edx
call sub.gdiplus.dll_GdipAddPathPath
test eax, eax
je 0x5c8449
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov edx, dword [esi]
push edx
call sub.gdiplus.dll_GdipDeletePath
push esi
call sub.gdiplus.dll_GdipFree
push edi
jmp 0x5c866a
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x24]
push eax
push ecx
call sub.gdiplus.dll_GdipGetMatrixElements
test eax, eax
je 0x5c8474
mov dword [esp + 0x40], eax
fld dword [esp + 0x38]
sub esp, 0x18
fstp dword [esp + 0x14]
lea ecx, [esp + 0x5c]
fld dword [esp + 0x4c]
fstp dword [esp + 0x10]
fld dword [esp + 0x48]
fstp dword [esp + 0xc]
fld dword [esp + 0x44]
fstp dword [esp + 8]
fld dword [esp + 0x40]
fstp dword [esp + 4]
fld dword [esp + 0x3c]
fstp dword [esp]
call fcn.0049d310
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
push 0
push edx
push eax
mov byte [esp + 0xd4], 3
call sub.gdiplus.dll_GdipMultiplyMatrix
test eax, eax
je 0x5c84d0
mov dword [esp + 0x48], eax
cmp dword [esp + 0x14], 0
je 0x5c8504
cmp dword [ebp + 8], 0
je 0x5c8504
cmp ebx, dword [edi + 8]
jb 0x5c84e7
call fcn.0044b7ad
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
lea eax, [esp + 0x44]
push eax
movzx eax, word [ebx]
push eax
mov eax, dword [ebp + 8]
push eax
call edx
jmp 0x5c8665
cmp dword [esi + 0x20], 8
jb 0x5c850f
mov eax, dword [esi + 0xc]
jmp 0x5c8512
lea eax, [esi + 0xc]
mov ecx, dword [esi + 0x30]
fld1
push 0
push 3
push ecx
push ecx
fstp dword [esp]
push eax
lea ecx, [esp + 0x98]
call fcn.0040ed60
mov esi, dword [esi + 0x34]
lea edx, [esp + 0x14]
push edx
push esi
mov dword [esp + 0x1c], 0
call sub.gdiplus.dll_GdipCreateSolidFill
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
push ecx
call sub.gdiplus.dll_GdipGetMatrixElements
test eax, eax
je 0x5c855e
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [esp + 0x70]
push edx
push ecx
call sub.gdiplus.dll_GdipGetPageUnit
test eax, eax
je 0x5c8578
mov edx, dword [ebp + 8]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x70]
sub eax, 1
jne 0x5c85ff
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
lea eax, [esp + 0x74]
push eax
push edx
call sub.gdiplus.dll_GdipGetDpiY
test eax, eax
je 0x5c859b
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
fld dword [esp + 0x74]
mov ecx, dword [eax]
fstp dword [esp + 0x18]
lea edx, [esp + 0x78]
push edx
push ecx
call sub.gdiplus.dll_GdipGetDpiX
test eax, eax
je 0x5c85bd
mov edx, dword [ebp + 8]
mov dword [edx + 4], eax
fld dword [esp + 0x78]
mov eax, dword [esp + 0x44]
fld qword [0x659f08]
push 0
fld st(0)
sub esp, 8
fdivrp st(2)
fxch st(1)
fstp dword [esp + 0x58]
fdiv dword [esp + 0x24]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp + 4]
fld dword [esp + 0x58]
fstp dword [esp]
push eax
call sub.gdiplus.dll_GdipScaleMatrix
test eax, eax
je 0x5c85ff
mov dword [esp + 0x48], eax
fld dword [esp + 0x34]
mov eax, dword [esp + 0x58]
fstp dword [esp + 0x7c]
add eax, 0x9c
cmp ebx, dword [eax + 8]
fld dword [esp + 0x38]
fstp dword [esp + 0x80]
jb 0x5c8625
call fcn.0044b7ad
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x84]
mov edi, dword [ebp + 8]
push ecx
mov ecx, dword [edi]
push 1
lea edx, [esp + 0x84]
push edx
push esi
push eax
push 1
push ebx
push ecx
call sub.gdiplus.dll_GdipDrawDriverString
test eax, eax
je 0x5c8652
mov dword [edi + 4], eax
push esi
call sub.gdiplus.dll_GdipDeleteBrush
mov edx, dword [esp + 0x84]
push edx
call sub.gdiplus.dll_GdipDeleteFont
mov eax, dword [esp + 0x44]
push eax
call sub.gdiplus.dll_GdipDeleteMatrix
cmp byte [esp + 0x23], 0
je 0x5c8691
mov esi, dword [ebp + 8]
test esi, esi
je 0x5c8691
mov ecx, dword [esp + 0x68]
mov edx, dword [esi]
push ecx
push edx
call sub.gdiplus.dll_GdipRestoreGraphics
test eax, eax
je 0x5c8691
mov dword [esi + 4], eax
mov edi, dword [esp + 0x58]
add edi, 0x9c
cmp ebx, dword [edi + 8]
jb 0x5c86a5
call fcn.0044b7ad
cmp ebx, dword [edi + 8]
fld dword [ebx + 0x20]
fadd qword [esp + 0x9c]
fstp qword [esp + 0x4c]
jb 0x5c86bd
call fcn.0044b7ad
test byte [ebx + 0x14], 2
je 0x5c86d2
fld qword [esp + 0x4c]
fadd qword [esp + 0xac]
fstp qword [esp + 0x4c]
cmp ebx, dword [edi + 8]
jb 0x5c86dc
call fcn.0044b7ad
fld qword [ebx + 8]
mov eax, dword [esp + 0x3c]
fmul qword [esp + 0x94]
push 0
sub esp, 8
fadd qword [esp + 0x58]
fmul qword [esp + 0xb0]
fldz
fstp dword [esp + 4]
fstp dword [esp + 0x58]
fld dword [esp + 0x58]
fstp dword [esp]
push eax
call sub.gdiplus.dll_GdipTranslateMatrix
test eax, eax
je 0x5c8719
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x10]
push ecx
mov byte [esp + 0xcc], 1
call sub.gdiplus.dll_GdipDeleteMatrix
cmp ebx, dword [edi + 8]
jb 0x5c8735
call fcn.0044b7ad
add ebx, 0x28
jmp 0x5c80c0
mov edx, dword [esp + 0x3c]
push edx
call sub.gdiplus.dll_GdipDeleteMatrix
mov eax, dword [esp + 0x1c]
push eax
call sub.gdiplus.dll_GdipDeleteMatrix
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc