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

Disassembly:
push 0xffffffffffffffff
push 0x4ae799
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0x1b8]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
mov ecx, dword [esp + 0x1cc]
mov eax, dword [ecx + 0x14]
sub eax, 1
je 0x4689e3
sub eax, 3
jne 0x468a12
mov eax, dword [ecx + 0x20]
lea ecx, [esp + 0xb8]
add eax, 8
push 0xfde9
mov dword [esp + 0xb8], ecx
push eax
lea ecx, [esp + 0xbc]
call fcn.00404950
mov edx, dword [esp + 0xb4]
xor ebp, ebp
push edx
lea ecx, [esp + 0x54]
mov dword [esp + 0x1c4], ebp
call fcn.004079b0
mov eax, dword [esp + 0xb4]
lea ecx, [esp + 0xb8]
cmp eax, ecx
mov byte [esp + 0x1c0], 2
je 0x468583
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov eax, dword [esp + 0x50]
mov ecx, dword [eax - 0xc]
mov esi, dword [esp + 0x1c8]
mov dword [esp + 0x24], eax
xor eax, eax
fldz
sub ecx, eax
mov ebx, ecx
fst dword [esp + 0x2c]
cmp ebx, ebp
fstp dword [esp + 0x30]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x4c], ebx
jle 0x46871c
mov eax, dword [esi]
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ebp
call sub.gdiplus.dll_GdipCreateFromHDC
mov edi, dword [esp + 0x14]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], edi
lea eax, [esp + 0xac]
push eax
mov ecx, esi
call fcn.0044d500
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c8], 4
call fcn.0045f520
lea ecx, [esp + 0x40]
push ecx
push ebp
push ebp
mov dword [esp + 0x4c], ebp
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x44], eax
fldz
mov edx, dword [esp + 0x40]
fst dword [esp + 0x74]
fst dword [esp + 0x70]
push 1
fst dword [esp + 0x70]
push edx
fstp dword [esp + 0x70]
mov byte [esp + 0x1c8], 7
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
cmp eax, ebp
je 0x46863a
mov dword [esp + 0x44], eax
fldz
mov eax, dword [esp + 0x18]
cmp eax, ebp
fst dword [esp + 0x9c]
fst dword [esp + 0xa0]
fst dword [esp + 0xa4]
fstp dword [esp + 0xa8]
je 0x468664
mov eax, dword [eax]
jmp 0x468666
xor eax, eax
push ebp
push ebp
lea ecx, [esp + 0x70]
push ecx
push ebp
lea edx, [esp + 0xac]
push edx
push eax
mov eax, dword [esp + 0x3c]
push ebx
push eax
push edi
call sub.gdiplus.dll_GdipMeasureString
cmp eax, ebp
je 0x46868b
mov dword [esp + 0x7c], eax
fld dword [esp + 0x70]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x4c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x74]
push eax
fstp dword [esp + 0x34]
call fcn.0045cc50
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x1c]
sub ecx, dword [eax + 0x28]
mov edi, dword [esp + 0x1d8]
fld dword [edi]
mov edx, dword [esp + 0x44]
fadd dword [esp + 0x30]
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
add esp, 4
push edx
fcompp
fnstsw ax
test ah, 1
je 0x468891
sub ebx, 1
call sub.gdiplus.dll_GdipDeleteStringFormat
mov edi, dword [esp + 0x18]
cmp edi, ebp
je 0x4686fe
mov eax, dword [edi]
push eax
call sub.gdiplus.dll_GdipDeleteFont
push edi
call sub.gdiplus.dll_GdipFree
mov dword [esp + 0x18], ebp
mov ecx, dword [esp + 0x14]
push ecx
mov byte [esp + 0x1c4], 2
call sub.gdiplus.dll_GdipDeleteGraphics
cmp ebx, ebp
jg 0x4685b5
mov dword [esp + 0x1c], ebx
mov edi, dword [esp + 0x1d4]
cmp dword [esp + 0x1d8], ebp
jne 0x468943
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push eax
mov dword [esp + 0x1c], ebp
call sub.gdiplus.dll_GdipCreateFromHDC
mov edx, dword [esp + 0x14]
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], edx
lea eax, [esp + 0xb0]
push eax
mov ecx, esi
call fcn.0044d500
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1c8], 9
call fcn.0045f520
lea ecx, [esp + 0x38]
push ecx
push ebp
push ebp
mov dword [esp + 0x44], ebp
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x3c], eax
mov edx, dword [esi]
mov ebx, dword [sym.imp.GDI32.dll_GetTextColor]
push edx
call ebx
mov edi, eax
mov eax, dword [esi]
push eax
call ebx
mov ecx, dword [esi]
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, edi
shr ecx, 0x10
movzx edx, cl
shl eax, 8
lea ecx, [esp + 0x48]
or eax, edx
push ecx
push eax
mov dword [esp + 0x88], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x50], ebp
call sub.gdiplus.dll_GdipCreateSolidFill
mov edi, dword [esp + 0x48]
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], edi
mov eax, dword [esp + 0x1d4]
fld dword [eax]
mov byte [esp + 0x1c0], 0xd
fstp dword [esp + 0x58]
fld dword [eax + 4]
fstp dword [esp + 0x54]
fld dword [esp + 0x2c]
fld1
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x5c]
fadd dword [esp + 0x30]
fstp dword [esp + 0x28]
fld dword [esp + 0x58]
fstp dword [esp + 0x8c]
fld dword [esp + 0x54]
fstp dword [esp + 0x90]
fld dword [esp + 0x5c]
mov edx, dword [esp + 0x38]
fstp dword [esp + 0x94]
push 1
fld dword [esp + 0x2c]
push edx
fstp dword [esp + 0xa0]
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
cmp eax, ebp
je 0x46885f
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x4c]
push eax
call fcn.0045cc50
mov eax, dword [eax + 0x50]
mov ebx, dword [esp + 0x18]
add esp, 4
push eax
push ebx
call sub.gdiplus.dll_GdipSetTextRenderingHint
cmp eax, ebp
je 0x468885
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x4688cf
mov eax, dword [eax]
jmp 0x4688d1
mov dword [esp + 0x20], ebx
call sub.gdiplus.dll_GdipDeleteStringFormat
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x4688b8
mov eax, dword [eax]
push eax
call sub.gdiplus.dll_GdipDeleteFont
mov ecx, dword [esp + 0x18]
push ecx
call sub.gdiplus.dll_GdipFree
mov dword [esp + 0x18], ebp
mov edx, dword [esp + 0x14]
push edx
mov byte [esp + 0x1c4], 2
call sub.gdiplus.dll_GdipDeleteGraphics
jmp 0x468723
xor eax, eax
mov ecx, dword [esp + 0x38]
push edi
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, ebp
je 0x4688f5
mov dword [esp + 0x64], eax
push edi
mov dword [esp + 0x84], vtable.Gdiplus::Brush.0
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x38]
push ecx
call sub.gdiplus.dll_GdipDeleteStringFormat
mov edi, dword [esp + 0x34]
cmp edi, ebp
je 0x46892a
mov edx, dword [edi]
push edx
call sub.gdiplus.dll_GdipDeleteFont
push edi
call sub.gdiplus.dll_GdipFree
mov dword [esp + 0x34], ebp
push ebx
mov byte [esp + 0x1c4], 2
call sub.gdiplus.dll_GdipDeleteGraphics
mov edi, dword [esp + 0x1d4]
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x4c], ebx
je 0x468997
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x4c]
push eax
call fcn.0045cc50
mov ecx, dword [eax + 0x28]
mov eax, dword [esp + 0x24]
add ecx, dword [eax + 0x14]
mov dword [esp + 0x2c], ecx
fild dword [esp + 0x2c]
fstp dword [edi]
mov eax, dword [eax + 0x4c]
push eax
call fcn.0045cc50
fild dword [eax + 0x34]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
fadd dword [edi + 4]
lea eax, [edx + ebx*2]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
fstp dword [edi + 4]
add esp, 8
jmp 0x468597
fld dword [edi]
mov ecx, dword [esp + 0x20]
fadd dword [esp + 0x2c]
fstp dword [edi]
mov eax, dword [ecx + 0x4c]
push eax
call fcn.0045cc50
fild dword [eax + 0x30]
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
fadd dword [edi]
add esp, 4
mov dword [esp + 0x1c0], 0xffffffff
lea edx, [eax + 0xc]
fstp dword [edi]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x468a12
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x468a12
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [esp + 0x1d8]
mov edx, dword [esp + 0x1d4]
push ecx
mov ecx, dword [esp + 0x1d4]
push edx
mov edx, dword [esp + 0x1d0]
push ecx
push eax
push edx
mov ecx, esi
call fcn.00467f20
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