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

Disassembly:
push 0xffffffffffffffff
push 0x4dae1d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1bc]
mov eax, dword [ecx + 0x14]
sub eax, 1
mov dword [esp + 0x10], edi
je 0x47a8c1
sub eax, 3
jne 0x47a8ed
cmp dword [ecx + 0x38], 0x10
jb 0x47a3e9
mov ecx, dword [ecx + 0x24]
jmp 0x47a3ec
add ecx, 0x24
lea eax, [esp + 0xa8]
push 0xfde9
mov dword [esp + 0xa8], eax
push ecx
lea eax, [esp + 0xac]
call fcn.00403980
lea ecx, [esp + 0x40]
xor edi, edi
mov dword [esp + 0x1b0], edi
push ecx
mov ecx, dword [esp + 0xa8]
call fcn.004034e0
mov byte [esp + 0x1b0], 2
mov eax, dword [esp + 0xa4]
lea edx, [esp + 0xa8]
cmp eax, edx
je 0x47a449
push eax
call fcn.0049f15f
add esp, 4
mov eax, dword [esp + 0x40]
mov ecx, dword [eax - 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0x1c0]
mov dword [esp + 0x1c], eax
push esi
xor eax, eax
fldz
sub ecx, eax
mov ebx, ecx
fst dword [esp + 0x28]
cmp ebx, edi
fstp dword [esp + 0x2c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x48], ebx
jle 0x47a5e9
mov edi, edi
mov eax, dword [ebp]
lea ecx, [esp + 0x10]
push ecx
push eax
mov dword [esp + 0x18], edi
call sub.gdiplus.dll_GdipCreateFromHDC
mov edx, dword [esp + 0x10]
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], edx
lea esi, [esp + 0xa8]
mov eax, ebp
call fcn.00478c10
mov byte [esp + 0x1bc], 4
mov eax, dword [eax]
mov ecx, dword [ebp]
push eax
push ecx
lea eax, [esp + 0x1c]
push eax
call fcn.004738d0
lea ecx, [esp + 0x3c]
push ecx
push edi
push edi
mov dword [esp + 0x48], edi
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x40], eax
mov byte [esp + 0x1bc], 7
fldz
mov edx, dword [esp + 0x3c]
fst dword [esp + 0x70]
fst dword [esp + 0x6c]
push 1
fst dword [esp + 0x6c]
push edx
fstp dword [esp + 0x6c]
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
cmp eax, edi
je 0x47a507
mov dword [esp + 0x40], eax
fldz
mov eax, dword [esp + 0x14]
cmp eax, edi
fst dword [esp + 0x98]
fst dword [esp + 0x9c]
fst dword [esp + 0xa0]
fstp dword [esp + 0xa4]
je 0x47a531
mov eax, dword [eax]
jmp 0x47a533
xor eax, eax
push edi
push edi
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x1c]
push edi
lea edx, [esp + 0xa8]
push edx
push eax
mov eax, dword [esp + 0x38]
push ebx
push eax
push ecx
call sub.gdiplus.dll_GdipMeasureString
cmp eax, edi
je 0x47a55c
mov dword [esp + 0x78], eax
fld dword [esp + 0x6c]
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 0x4c]
fstp dword [esp + 0x28]
fld dword [esp + 0x70]
fstp dword [esp + 0x2c]
call fcn.00472db0
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x1c]
sub edx, dword [eax + 0x34]
mov esi, dword [esp + 0x1d0]
fld dword [esi]
mov dword [esp + 0x18], edx
fadd dword [esp + 0x28]
fild dword [esp + 0x18]
fcompp
fnstsw ax
test ah, 1
mov eax, dword [esp + 0x3c]
push eax
je 0x47a75f
sub ebx, 1
call sub.gdiplus.dll_GdipDeleteStringFormat
mov esi, dword [esp + 0x14]
cmp esi, edi
je 0x47a5cb
mov ecx, dword [esi]
push ecx
call sub.gdiplus.dll_GdipDeleteFont
push esi
call sub.gdiplus.dll_GdipFree
mov dword [esp + 0x14], edi
mov byte [esp + 0x1bc], 2
mov edx, dword [esp + 0x10]
push edx
call sub.gdiplus.dll_GdipDeleteGraphics
cmp ebx, edi
jg 0x47a480
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x1d0]
cmp dword [esp + 0x1d4], edi
jne 0x47a811
mov eax, dword [ebp]
lea ecx, [esp + 0x10]
push ecx
push eax
mov dword [esp + 0x18], edi
call sub.gdiplus.dll_GdipCreateFromHDC
mov edx, dword [esp + 0x10]
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], edx
lea esi, [esp + 0xac]
mov eax, ebp
call fcn.00478c10
mov byte [esp + 0x1bc], 9
mov eax, dword [eax]
mov ecx, dword [ebp]
push eax
push ecx
lea eax, [esp + 0x38]
push eax
call fcn.004738d0
lea ecx, [esp + 0x34]
push ecx
push edi
push edi
mov dword [esp + 0x40], edi
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x38], eax
mov edx, dword [ebp]
mov ebx, dword [sym.imp.GDI32.dll_GetTextColor]
push edx
call ebx
mov esi, eax
mov eax, dword [ebp]
push eax
call ebx
mov ecx, dword [ebp]
push ecx
mov ebx, eax
call dword [sym.imp.GDI32.dll_GetTextColor]
movzx eax, al
or eax, 0xfffffe00
shl eax, 8
movzx edx, bh
or eax, edx
mov ecx, esi
shr ecx, 0x10
movzx edx, cl
shl eax, 8
lea ecx, [esp + 0x44]
or eax, edx
push ecx
push eax
mov dword [esp + 0x84], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x4c], edi
call sub.gdiplus.dll_GdipCreateSolidFill
mov esi, dword [esp + 0x44]
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], esi
mov eax, dword [esp + 0x1d0]
mov byte [esp + 0x1bc], 0xd
fld dword [eax]
fstp dword [esp + 0x54]
fld dword [eax + 4]
fstp dword [esp + 0x50]
fld dword [esp + 0x28]
fld1
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x58]
fadd dword [esp + 0x2c]
fstp dword [esp + 0x24]
fld dword [esp + 0x54]
fstp dword [esp + 0x88]
fld dword [esp + 0x50]
fstp dword [esp + 0x8c]
fld dword [esp + 0x58]
mov edx, dword [esp + 0x34]
fstp dword [esp + 0x90]
push 1
fld dword [esp + 0x28]
push edx
fstp dword [esp + 0x9c]
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
cmp eax, edi
je 0x47a731
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x4c]
call fcn.00472db0
mov eax, dword [eax + 0x5c]
mov ebx, dword [esp + 0x10]
push eax
push ebx
call sub.gdiplus.dll_GdipSetTextRenderingHint
cmp eax, edi
je 0x47a753
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x47a79d
mov eax, dword [eax]
jmp 0x47a79f
mov dword [esp + 0x1c], ebx
call sub.gdiplus.dll_GdipDeleteStringFormat
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x47a786
mov ecx, dword [eax]
push ecx
call sub.gdiplus.dll_GdipDeleteFont
mov edx, dword [esp + 0x14]
push edx
call sub.gdiplus.dll_GdipFree
mov dword [esp + 0x14], edi
mov byte [esp + 0x1bc], 2
mov eax, dword [esp + 0x10]
push eax
call sub.gdiplus.dll_GdipDeleteGraphics
jmp 0x47a5f0
xor eax, eax
mov ecx, dword [esp + 0x34]
push esi
push ecx
lea edx, [esp + 0x90]
push edx
push eax
mov eax, dword [esp + 0x30]
push 0xffffffffffffffff
push eax
push ebx
call sub.gdiplus.dll_GdipDrawString
cmp eax, edi
je 0x47a7c3
mov dword [esp + 0x60], eax
push esi
mov dword [esp + 0x80], vtable.Gdiplus::Brush.0
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x34]
push ecx
call sub.gdiplus.dll_GdipDeleteStringFormat
mov esi, dword [esp + 0x30]
cmp esi, edi
je 0x47a7f8
mov edx, dword [esi]
push edx
call sub.gdiplus.dll_GdipDeleteFont
push esi
call sub.gdiplus.dll_GdipFree
mov dword [esp + 0x30], edi
push ebx
mov byte [esp + 0x1c0], 2
call sub.gdiplus.dll_GdipDeleteGraphics
mov esi, dword [esp + 0x1d0]
mov ebx, dword [esp + 0x18]
cmp dword [esp + 0x48], ebx
je 0x47a860
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x4c]
call fcn.00472db0
mov ecx, dword [eax + 0x34]
mov eax, dword [esp + 0x1c]
add ecx, dword [eax + 0x14]
mov dword [esp + 0x24], ecx
fild dword [esp + 0x24]
fstp dword [esi]
mov ecx, dword [eax + 0x4c]
call fcn.00472db0
fild dword [eax + 0x40]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
fadd dword [esi + 4]
lea eax, [edx + ebx*2]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
fstp dword [esi + 4]
jmp 0x47a460
fld dword [esi]
mov ecx, dword [esp + 0x1c]
fadd dword [esp + 0x28]
fstp dword [esi]
mov ecx, dword [ecx + 0x4c]
call fcn.00472db0
fild dword [eax + 0x3c]
or ecx, 0xffffffff
fadd dword [esi]
mov dword [esp + 0x1bc], 0xffffffff
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
fstp dword [esi]
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
pop esi
pop ebp
pop ebx
jg 0x47a8ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov ecx, dword [esp + 0x1a4]
mov dword fs:[0], ecx
add esp, 0x1b0
ret 0x14
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [esp + 0x1c4]
mov edx, dword [esp + 0x1c0]
push ecx
mov ecx, dword [esp + 0x1cc]
push edx
push eax
mov eax, dword [esp + 0x1c4]
push eax
call fcn.00479aa0
mov ecx, dword [esp + 0x1a8]
pop edi
mov dword fs:[0], ecx
add esp, 0x1b0
ret 0x14