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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x5023a4]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
call sym.Setup.exe_public_virtual:_void___thiscall_DuiLib::CLabelUI::PaintText_struct_HDC____
mov ecx, esi
call sym.Setup.exe_public:_int___thiscall_DuiLib::CScrollBarUI::GetLineSize_void_const
cmp dword [esi + 0x630], 0
jne 0x407c29
mov ecx, dword [esi + 0x44]
call sym.Setup.exe_public:_unsigned_long_int___thiscall_DuiLib::CPaintManagerUI::GetDefaultFontColor_void_const
mov dword [esi + 0x630], eax
cmp dword [esi + 0x634], 0
jne 0x407c40
mov ecx, dword [esi + 0x44]
call sym.Setup.exe_public:_unsigned_long_int___thiscall_DuiLib::CPaintManagerUI::GetDefaultDisabledColor_void_const
mov dword [esi + 0x634], eax
movups xmm0, xmmword [esi + 0x158]
mov ecx, esi
movd eax, xmm0
movaps xmmword [esp + 0x60], xmm0
add eax, dword [esi + 0x640]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x648]
sub dword [esp + 0x68], eax
mov eax, dword [esi + 0x644]
add dword [esp + 0x64], eax
mov eax, dword [esi + 0x64c]
sub dword [esp + 0x6c], eax
call sym.Setup.exe_public:_bool___thiscall_DuiLib::CLabelUI::GetEnabledEffect_void_
test al, al
jne 0x407d93
lea ecx, [esi + 0x1c4]
call sym.Setup.exe_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
test al, al
jne 0x4083bd
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0xc], 0
mov eax, dword [eax + 0xd4]
call eax
mov cl, byte [esi + 0x650]
mov edx, dword [esi + 0x63c]
test al, al
je 0x407d0d
mov eax, dword [esi + 0x630]
test cl, cl
je 0x407d58
or edx, 0x20
lea ecx, [esp + 0xc]
push edx
push ecx
push 0
push 0
push eax
lea ecx, [esi + 0x1c4]
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
lea eax, [esp + 0x78]
push eax
push dword [esi + 0x44]
push edi
call sym.Setup.exe_public:_static_void___cdecl_DuiLib::CRenderEngine::DrawHtmlText_struct_HDC_____class_DuiLib::CPaintManagerUI___struct_tagRECT___wchar_t_const___unsigned_long_int__struct_tagRECT___class_DuiLib::CDuiString___int___unsigned_int_
add esp, 0x24
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.0049765c
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x634]
test cl, cl
je 0x407d58
or edx, 0x20
lea ecx, [esp + 0xc]
push edx
push ecx
push 0
push 0
push eax
lea ecx, [esi + 0x1c4]
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
lea eax, [esp + 0x78]
push eax
push dword [esi + 0x44]
push edi
call sym.Setup.exe_public:_static_void___cdecl_DuiLib::CRenderEngine::DrawHtmlText_struct_HDC_____class_DuiLib::CPaintManagerUI___struct_tagRECT___wchar_t_const___unsigned_long_int__struct_tagRECT___class_DuiLib::CDuiString___int___unsigned_int_
add esp, 0x24
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.0049765c
mov esp, ebp
pop ebp
ret 4
push edx
push dword [esi + 0x638]
lea ecx, [esi + 0x1c4]
push eax
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
lea eax, [esp + 0x70]
push eax
push dword [esi + 0x44]
push edi
call sym.Setup.exe_public:_static_void___cdecl_DuiLib::CRenderEngine::DrawTextW_struct_HDC_____class_DuiLib::CPaintManagerUI___struct_tagRECT___wchar_t_const___unsigned_long_int__int__unsigned_int_
add esp, 0x1c
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.0049765c
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
call sym.Setup.exe_public:_int___thiscall_DuiLib::CLabelUI::GetFont_void_const
mov ecx, dword [esi + 0x44]
push eax
call sym.Setup.exe_public:_struct_HFONT______thiscall_DuiLib::CPaintManagerUI::GetFont_int_
mov dword [esp + 0x38], 0
test eax, eax
je 0x407dd4
lea ecx, [esp + 0x70]
push ecx
push 0x3c
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
lea eax, [esp + 0x38]
push eax
je 0x407dd9
lea eax, [esp + 0x74]
push eax
push edi
call dword [sym.imp.gdiplus.dll_GdipCreateFontFromLogfontA]
jmp 0x407de0
lea eax, [esp + 0x38]
push eax
push edi
call dword [sym.imp.gdiplus.dll_GdipCreateFontFromDC]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x4c]
push eax
push edi
mov dword [esp + 0x54], 0
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
push dword [esi + 0x734]
mov eax, dword [esp + 0x50]
push eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.gdiplus.dll_GdipSetTextRenderingHint]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 0
push 0
call dword [sym.imp.gdiplus.dll_GdipCreateStringFormat]
push dword [esi + 0x654]
mov dword [esp + 0x24], eax
push dword [esp + 0x20]
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatAlign]
mov ecx, dword [esp + 0x20]
test eax, eax
push dword [esi + 0x658]
cmovne ecx, eax
push dword [esp + 0x20]
mov dword [esp + 0x28], ecx
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatLineAlign]
movd xmm3, dword [esp + 0x60]
test eax, eax
movd xmm2, dword [esp + 0x64]
movd xmm1, dword [esp + 0x68]
movd xmm0, dword [esp + 0x6c]
mov ecx, dword [esp + 0x20]
cvtdq2ps xmm3, xmm3
cmovne ecx, eax
mov dword [esp + 0x20], ecx
mov ecx, esi
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
subss xmm1, xmm3
movss dword [esp + 0x24], xmm3
addss xmm3, dword [esi + 0x68c]
subss xmm0, xmm2
movss dword [esp + 0x28], xmm2
addss xmm2, dword [esi + 0x690]
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x58], xmm1
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x50], xmm3
movss dword [esp + 0x54], xmm2
call sym.Setup.exe_public:_int___thiscall_DuiLib::CLabelUI::GetGradientLength_void_
mov dword [esp + 8], eax
test eax, eax
jne 0x407eed
mov edi, dword [esp + 0x6c]
sub edi, dword [esp + 0x64]
mov dword [esp + 8], edi
mov ecx, esi
call sym.Setup.exe_public:_unsigned_long_int___thiscall_DuiLib::CLabelUI::GetTextShadowColorB_void_
mov ecx, esi
cmp eax, 0xffffffff
jne 0x407f02
call sym.Setup.exe_public:_unsigned_long_int___thiscall_DuiLib::CLabelUI::GetTextShadowColorA_void_
jmp 0x407f07
call sym.Setup.exe_public:_unsigned_long_int___thiscall_DuiLib::CLabelUI::GetTextShadowColorB_void_
mov ecx, esi
mov dword [esp + 0xc], eax
call sym.Setup.exe_public:_int___thiscall_DuiLib::CLabelUI::GetTransShadow1_void_
mov ecx, dword [esp + 0xc]
movzx edi, al
mov eax, ecx
shr eax, 0x10
movzx eax, al
shl edi, 8
or edi, eax
mov eax, ecx
shr eax, 8
shl edi, 8
movzx eax, al
or edi, eax
movzx eax, cl
shl edi, 8
mov ecx, esi
or edi, eax
call sym.Setup.exe_public:_unsigned_long_int___thiscall_DuiLib::CLabelUI::GetTextShadowColorA_void_
mov ecx, esi
mov dword [esp + 0x10], eax
call sym.Setup.exe_public:_int___thiscall_DuiLib::CLabelUI::GetTransShadow_void_
movzx esi, al
mov eax, dword [esp + 0x10]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
shl esi, 8
or esi, ecx
mov dword [esp + 0x3c], 0
mov ecx, eax
shl esi, 8
shr ecx, 8
movzx ecx, cl
or esi, ecx
movzx eax, al
mov ecx, dword [esp + 0x14]
shl esi, 8
or esi, eax
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
call sym.Setup.exe_public:_int___thiscall_DuiLib::CLabelUI::GetGradientAngle_void_
mov dword [esp + 0x44], eax
lea eax, [esp + 0xc]
push eax
push 0
push edi
push esi
lea eax, [esp + 0x4c]
mov dword [esp + 0x58], 0
push eax
lea eax, [esp + 0x58]
mov dword [esp + 0x20], 0
push eax
call dword [sym.imp.gdiplus.dll_GdipCreateLineBrushI]
mov esi, dword [esp + 0x14]
mov ecx, esi
call sym.Setup.exe_public:_unsigned_long_int___thiscall_DuiLib::CLabelUI::GetTextColor1_void_
mov ecx, esi
cmp eax, 0xffffffff
jne 0x407fd5
call sym.Setup.exe_public:_unsigned_long_int___thiscall_DuiLib::CLabelUI::GetTextColor_void_const
jmp 0x407fda
call sym.Setup.exe_public:_unsigned_long_int___thiscall_DuiLib::CLabelUI::GetTextColor1_void_
mov ecx, esi
mov dword [esp + 0x10], eax
call sym.Setup.exe_public:_int___thiscall_DuiLib::CLabelUI::GetTransText1_void_
mov ecx, dword [esp + 0x10]
movzx edi, al
mov eax, ecx
shr eax, 0x10
movzx eax, al
shl edi, 8
or edi, eax
mov eax, ecx
shr eax, 8
shl edi, 8
movzx eax, al
or edi, eax
movzx eax, cl
shl edi, 8
mov ecx, esi
or edi, eax
call sym.Setup.exe_public:_unsigned_long_int___thiscall_DuiLib::CLabelUI::GetTextColor_void_const
mov ecx, esi
mov dword [esp + 0x10], eax
call sym.Setup.exe_public:_int___thiscall_DuiLib::CLabelUI::GetTransText_void_
movzx esi, al
mov eax, dword [esp + 0x10]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
shl esi, 8
or esi, ecx
mov dword [esp + 0x44], 0
mov ecx, eax
shl esi, 8
shr ecx, 8
movzx ecx, cl
or esi, ecx
movzx eax, al
mov ecx, dword [esp + 0x14]
shl esi, 8
or esi, eax
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
call sym.Setup.exe_public:_int___thiscall_DuiLib::CLabelUI::GetGradientAngle_void_
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x10]
push eax
push 0
push edi
push esi
lea eax, [esp + 0x54]
mov dword [esp + 0x50], 0
push eax
lea eax, [esp + 0x50]
mov dword [esp + 0x24], 0
push eax
call dword [sym.imp.gdiplus.dll_GdipCreateLineBrushI]
mov esi, dword [esp + 0x14]
mov ecx, esi
call sym.Setup.exe_public:_bool___thiscall_DuiLib::CLabelUI::GetEnabledStroke_void_
test al, al
je 0x408302
mov ecx, esi
call sym.Setup.exe_public:_unsigned_long_int___thiscall_DuiLib::CLabelUI::GetStrokeColor_void_
test eax, eax
je 0x408302
mov ecx, esi
call sym.Setup.exe_public:_unsigned_long_int___thiscall_DuiLib::CLabelUI::GetStrokeColor_void_
mov ecx, esi
mov dword [esp + 8], eax
call sym.Setup.exe_public:_int___thiscall_DuiLib::CLabelUI::GetTransStroke_void_
movzx edi, al
mov eax, dword [esp + 8]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
shl edi, 8
or edi, ecx
mov ecx, eax
shr ecx, 8
shl edi, 8
movzx ecx, cl
or edi, ecx
movzx eax, al
shl edi, 8
mov ecx, esi
or edi, eax
call sym.Setup.exe_public:_unsigned_long_int___thiscall_DuiLib::CLabelUI::GetStrokeColor_void_
mov ecx, esi
mov dword [esp + 8], eax
call sym.Setup.exe_public:_int___thiscall_DuiLib::CLabelUI::GetTransStroke_void_
movzx esi, al
mov eax, dword [esp + 8]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
shl esi, 8
or esi, ecx
mov dword [esp + 0x44], 0
mov ecx, eax
shl esi, 8
shr ecx, 8
movzx ecx, cl
or esi, ecx
movzx eax, al
mov ecx, dword [esp + 0x14]
shl esi, 8
or esi, eax
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x64]
add eax, 2
mov dword [esp + 0x48], eax
call sym.Setup.exe_public:_int___thiscall_DuiLib::CLabelUI::GetGradientAngle_void_
mov dword [esp + 0x3c], eax
lea eax, [esp + 8]
push eax
push 0
push edi
push esi
lea eax, [esp + 0x54]
mov dword [esp + 0x50], 0
push eax
lea eax, [esp + 0x50]
mov dword [esp + 0x1c], 0
push eax
call dword [sym.imp.gdiplus.dll_GdipCreateLineBrushI]
movss xmm0, dword [esp + 0x24]
xorps xmm1, xmm1
subss xmm0, dword [0x4de6f4]
mov edi, dword [esp + 0x14]
add edi, 0x69c
mov ecx, edi
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x28]
addss xmm0, xmm1
movss dword [esp + 0x28], xmm0
call sym.Setup.exe_public:_int___thiscall_DuiLib::CDuiString::GetLength_void_const
mov ecx, edi
mov esi, eax
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push dword [esp + 8]
lea ecx, [esp + 0x28]
push dword [esp + 0x20]
push ecx
push dword [esp + 0x24]
push esi
push eax
push dword [esp + 0x4c]
call dword [sym.imp.gdiplus.dll_GdipDrawString]
movss xmm0, dword [esp + 0x24]
xorps xmm1, xmm1
addss xmm0, dword [0x4de700]
mov ecx, edi
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x28]
addss xmm0, xmm1
movss dword [esp + 0x28], xmm0
call sym.Setup.exe_public:_int___thiscall_DuiLib::CDuiString::GetLength_void_const
mov ecx, edi
mov esi, eax
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push dword [esp + 8]
lea ecx, [esp + 0x28]
push dword [esp + 0x20]
push ecx
push dword [esp + 0x24]
push esi
push eax
push dword [esp + 0x4c]
call dword [sym.imp.gdiplus.dll_GdipDrawString]
movss xmm0, dword [esp + 0x24]
mov ecx, edi
subss xmm0, dword [0x4de6f4]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x28]
subss xmm0, dword [0x4de6f4]
movss dword [esp + 0x28], xmm0
call sym.Setup.exe_public:_int___thiscall_DuiLib::CDuiString::GetLength_void_const
mov ecx, edi
mov esi, eax
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push dword [esp + 8]
lea ecx, [esp + 0x28]
push dword [esp + 0x20]
push ecx
push dword [esp + 0x24]
push esi
push eax
push dword [esp + 0x4c]
call dword [sym.imp.gdiplus.dll_GdipDrawString]
movss xmm0, dword [esp + 0x24]
xorps xmm1, xmm1
addss xmm0, xmm1
mov ecx, edi
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x28]
addss xmm0, dword [0x4de700]
movss dword [esp + 0x28], xmm0
call sym.Setup.exe_public:_int___thiscall_DuiLib::CDuiString::GetLength_void_const
mov ecx, edi
mov esi, eax
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
mov edi, dword [esp + 8]
lea ecx, [esp + 0x24]
push edi
push dword [esp + 0x20]
push ecx
push dword [esp + 0x24]
push esi
push eax
push dword [esp + 0x4c]
call dword [sym.imp.gdiplus.dll_GdipDrawString]
movss xmm0, dword [esp + 0x24]
xorps xmm1, xmm1
addss xmm0, xmm1
push edi
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x2c]
subss xmm0, dword [0x4de6f4]
movss dword [esp + 0x2c], xmm0
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
mov esi, dword [esp + 0x14]
mov ecx, esi
call sym.Setup.exe_public:_bool___thiscall_DuiLib::CLabelUI::GetEnabledShadow_void_
test al, al
je 0x40835c
mov ecx, esi
call sym.Setup.exe_public:_unsigned_long_int___thiscall_DuiLib::CLabelUI::GetTextShadowColorA_void_
test eax, eax
jne 0x408323
mov ecx, esi
call sym.Setup.exe_public:_unsigned_long_int___thiscall_DuiLib::CLabelUI::GetTextShadowColorB_void_
test eax, eax
je 0x40835c
lea ecx, [esi + 0x69c]
call sym.Setup.exe_public:_int___thiscall_DuiLib::CDuiString::GetLength_void_const
lea ecx, [esi + 0x69c]
mov edi, eax
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push dword [esp + 0xc]
lea ecx, [esp + 0x54]
push dword [esp + 0x20]
push ecx
push dword [esp + 0x24]
push edi
push eax
push dword [esp + 0x4c]
call dword [sym.imp.gdiplus.dll_GdipDrawString]
mov esi, dword [esp + 0x14]
lea ecx, [esi + 0x69c]
call sym.Setup.exe_public:_int___thiscall_DuiLib::CDuiString::GetLength_void_const
lea ecx, [esi + 0x69c]
mov edi, eax
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push esi
push dword [esp + 0x20]
push ecx
push dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x48]
push eax
push edi
call dword [sym.imp.gdiplus.dll_GdipDrawString]
push esi
mov esi, dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
call esi
push dword [esp + 0xc]
call esi
push dword [esp + 0x1c]
call dword [sym.imp.gdiplus.dll_GdipDeleteStringFormat]
push edi
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push dword [esp + 0x18]
call dword [sym.imp.gdiplus.dll_GdipDeleteFont]
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.0049765c
mov esp, ebp
pop ebp
ret 4