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

Disassembly:
push 0xffffffffffffffff
push 0x54c85d
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5a5084]
xor eax, esp
push eax
lea eax, [esp + 0x1b8]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x1cc]
mov eax, dword [ecx + 0x14]
sub eax, 1
je 0x457f4c
sub eax, 3
jne 0x457f78
cmp dword [ecx + 0x38], 0x10
jb 0x457a8a
mov ecx, dword [ecx + 0x24]
jmp 0x457a8d
add ecx, 0x24
lea eax, [esp + 0xb8]
push 0xfde9
mov dword [esp + 0xb8], eax
push ecx
lea eax, [esp + 0xbc]
call fcn.00407a80
lea ecx, [esp + 0x50]
xor edi, edi
mov dword [esp + 0x1c0], edi
push ecx
mov ecx, dword [esp + 0xb8]
call fcn.00413730
mov byte [esp + 0x1c0], 2
mov eax, dword [esp + 0xb4]
lea edx, [esp + 0xb8]
cmp eax, edx
je 0x457aeb
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov eax, dword [esp + 0x50]
mov ecx, dword [eax - 0xc]
mov ebp, dword [esp + 0x1c8]
mov dword [esp + 0x24], eax
xor eax, eax
fldz
sub ecx, eax
mov ebx, ecx
fst dword [esp + 0x2c]
cmp ebx, edi
fstp dword [esp + 0x30]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x54], ebx
jle 0x457c91
lea ecx, [ecx]
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push eax
mov dword [esp + 0x1c], edi
call sub.gdiplus.dll_GdipCreateFromHDC
mov edx, dword [esp + 0x14]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], edx
lea esi, [esp + 0xb0]
mov eax, ebp
call fcn.00420ee0
mov byte [esp + 0x1c0], 4
mov ecx, dword [ebp]
mov eax, dword [eax]
push ecx
mov ecx, eax
lea ebx, [esp + 0x24]
call fcn.00420cc0
lea eax, [esp + 0x44]
push eax
push edi
push edi
mov dword [esp + 0x50], edi
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x48], eax
mov byte [esp + 0x1c0], 7
fldz
mov ecx, dword [esp + 0x44]
fst dword [esp + 0x74]
fst dword [esp + 0x70]
push 1
fst dword [esp + 0x70]
push ecx
fstp dword [esp + 0x70]
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
cmp eax, edi
je 0x457ba7
mov dword [esp + 0x48], eax
fldz
mov eax, dword [esp + 0x20]
cmp eax, edi
fst dword [esp + 0x9c]
fst dword [esp + 0xa0]
fst dword [esp + 0xa4]
fstp dword [esp + 0xa8]
je 0x457bd1
mov eax, dword [eax]
jmp 0x457bd3
xor eax, eax
mov ebx, dword [esp + 0x1c]
push edi
push edi
lea edx, [esp + 0x70]
push edx
mov edx, dword [esp + 0x30]
push edi
lea ecx, [esp + 0xac]
push ecx
push eax
mov eax, dword [esp + 0x2c]
push ebx
push edx
push eax
call sub.gdiplus.dll_GdipMeasureString
cmp eax, edi
je 0x457c00
mov dword [esp + 0x7c], eax
fld dword [esp + 0x70]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x50]
fstp dword [esp + 0x2c]
fld dword [esp + 0x74]
fstp dword [esp + 0x30]
call fcn.0041fb60
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x20]
sub ecx, dword [eax + 0x34]
mov esi, dword [esp + 0x1d4]
fld dword [esi]
mov edx, dword [esp + 0x44]
fadd dword [esp + 0x2c]
mov dword [esp + 0x34], ecx
fild dword [esp + 0x34]
push edx
fcompp
fnstsw ax
test ah, 1
je 0x457e07
sub ebx, 1
mov dword [esp + 0x20], ebx
call sub.gdiplus.dll_GdipDeleteStringFormat
mov esi, dword [esp + 0x20]
cmp esi, edi
je 0x457c73
mov eax, dword [esi]
push eax
call sub.gdiplus.dll_GdipDeleteFont
push esi
call sub.gdiplus.dll_GdipFree
mov dword [esp + 0x20], edi
mov byte [esp + 0x1c0], 2
mov ecx, dword [esp + 0x14]
push ecx
call sub.gdiplus.dll_GdipDeleteGraphics
cmp ebx, edi
jg 0x457b20
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x1d4]
cmp dword [esp + 0x1d8], edi
jne 0x457eb5
mov eax, dword [ebp]
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], edi
call sub.gdiplus.dll_GdipCreateFromHDC
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], eax
lea esi, [esp + 0xac]
mov eax, ebp
call fcn.00420ee0
mov byte [esp + 0x1c0], 9
mov ecx, dword [ebp]
mov eax, dword [eax]
push ecx
mov ecx, eax
lea ebx, [esp + 0x3c]
call fcn.00420cc0
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 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 + 0x4c]
or eax, edx
push ecx
push eax
mov dword [esp + 0x88], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x54], edi
call sub.gdiplus.dll_GdipCreateSolidFill
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], esi
mov eax, dword [esp + 0x1d4]
mov byte [esp + 0x1c0], 0xd
fld dword [eax]
fstp dword [esp + 0x34]
fld dword [eax + 4]
fstp dword [esp + 0x60]
fld dword [esp + 0x2c]
fld1
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x64]
fadd dword [esp + 0x30]
fstp dword [esp + 0x28]
fld dword [esp + 0x34]
fstp dword [esp + 0x8c]
fld dword [esp + 0x60]
fstp dword [esp + 0x90]
fld dword [esp + 0x64]
mov edx, dword [esp + 0x3c]
fstp dword [esp + 0x94]
fld dword [esp + 0x28]
push 1
push edx
fstp dword [esp + 0xa0]
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
cmp eax, edi
je 0x457dd9
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x50]
call fcn.0041fb60
mov eax, dword [eax + 0x5c]
mov ebx, dword [esp + 0x14]
push eax
push ebx
call sub.gdiplus.dll_GdipSetTextRenderingHint
cmp eax, edi
je 0x457dfb
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x38]
cmp eax, edi
je 0x457e41
mov eax, dword [eax]
jmp 0x457e43
call sub.gdiplus.dll_GdipDeleteStringFormat
mov ebx, dword [esp + 0x20]
cmp ebx, edi
je 0x457e26
mov eax, dword [ebx]
push eax
call sub.gdiplus.dll_GdipDeleteFont
push ebx
call sub.gdiplus.dll_GdipFree
mov dword [esp + 0x20], edi
mov byte [esp + 0x1c0], 2
mov ecx, dword [esp + 0x14]
push ecx
call sub.gdiplus.dll_GdipDeleteGraphics
mov ebx, dword [esp + 0x1c]
jmp 0x457c98
xor eax, eax
mov ecx, dword [esp + 0x3c]
push esi
push ecx
lea edx, [esp + 0x94]
push edx
push eax
mov eax, dword [esp + 0x34]
push 0xffffffffffffffff
push eax
push ebx
call sub.gdiplus.dll_GdipDrawString
cmp eax, edi
je 0x457e67
mov dword [esp + 0x5c], eax
push esi
mov dword [esp + 0x84], vtable.Gdiplus::Brush.0
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x3c]
push ecx
call sub.gdiplus.dll_GdipDeleteStringFormat
mov esi, dword [esp + 0x38]
cmp esi, edi
je 0x457e9c
mov edx, dword [esi]
push edx
call sub.gdiplus.dll_GdipDeleteFont
push esi
call sub.gdiplus.dll_GdipFree
mov dword [esp + 0x38], edi
push ebx
mov byte [esp + 0x1c4], 2
call sub.gdiplus.dll_GdipDeleteGraphics
mov esi, dword [esp + 0x1d4]
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x54], ebx
je 0x457f04
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x50]
call fcn.0041fb60
mov ecx, dword [eax + 0x34]
mov eax, dword [esp + 0x18]
add ecx, dword [eax + 0x18]
mov dword [esp + 0x28], ecx
fild dword [esp + 0x28]
fstp dword [esi]
mov ecx, dword [eax + 0x50]
call fcn.0041fb60
fild dword [eax + 0x40]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x54]
fadd dword [esi + 4]
lea eax, [edx + ebx*2]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
fstp dword [esi + 4]
jmp 0x457aff
fld dword [esi]
mov ecx, dword [esp + 0x18]
fadd dword [esp + 0x2c]
fstp dword [esi]
mov ecx, dword [ecx + 0x50]
call fcn.0041fb60
fild dword [eax + 0x3c]
or ecx, 0xffffffff
fadd dword [esi]
mov dword [esp + 0x1c0], 0xffffffff
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
fstp dword [esi]
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x457f78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x457f78
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [esp + 0x1d4]
mov edx, dword [esp + 0x1d0]
push ecx
mov ecx, dword [esp + 0x1dc]
push edx
push eax
mov eax, dword [esp + 0x1d4]
push eax
call fcn.004570f0
mov ecx, dword [esp + 0x1b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1b0
ret 0x14