Function at 0x41bca0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x571c08
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x5dbcc8]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push esi
push edi
mov eax, dword [0x5dbcc8]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov edx, dword [esi]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x30]
call eax
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
call dword [sym.imp.DuiLib_u.dll_public:_struct_tagRECT___thiscall_DuiLib::CLabelUI::GetTextPadding_void_]
mov edx, dword [esi]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0xdc]
push eax
mov ecx, esi
call edx
mov ecx, esi
mov dword [esp + 0x178], 0
call dword [sym.imp.DuiLib_u.dll_public:_int___thiscall_DuiLib::CLabelUI::GetFont_void_const]
mov edi, eax
test edi, edi
js 0x41bd5b
mov ecx, dword [esi + 0x40]
call dword [sym.imp.DuiLib_u.dll_public:_unsigned_long_int___thiscall_DuiLib::CPaintManagerUI::GetCustomFontCount_void_const]
cmp edi, eax
jae 0x41bd5b
mov ecx, dword [esi + 0x40]
push edi
call dword [sym.imp.DuiLib_u.dll_public:_struct_DuiLib::tagTFontInfo____thiscall_DuiLib::CPaintManagerUI::GetFontInfo_int_]
jmp 0x41bd64
mov ecx, dword [esi + 0x40]
call dword [sym.imp.DuiLib_u.dll_public:_struct_DuiLib::tagTFontInfo____thiscall_DuiLib::CPaintManagerUI::GetDefaultFontInfo_void_]
mov edi, dword [eax + 0x88]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
sub eax, ebx
add eax, edi
add ecx, edi
cdq
idiv ecx
mov ecx, eax
mov dword [esp + 0x20], eax
test edx, edx
je 0x41bd8a
inc ecx
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
xor ebx, ebx
cdq
idiv edi
mov dword [esp + 0x1c], eax
test ecx, ecx
jle 0x41bf68
mov dword [esp + 0x18], ebx
jmp 0x41bdb0
lea ecx, [esp + 0xdc]
call dword [sym.imp.DuiLib_u.dll_public:_int___thiscall_DuiLib::CDuiString::GetLength_void_const]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jg 0x41bf68
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x1c]
push edx
mov dword [esp + 0x44], eax
push ecx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0xe8]
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CDuiString___thiscall_DuiLib::CDuiString::Mid_int__int_]
mov byte [esp + 0x178], 1
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x38]
lea edx, [eax + edi]
imul edx, ebx
add ecx, edx
mov dword [esp + 0x38], ecx
add ecx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0xd4]
add ecx, edi
mov dword [esp + 0x40], ecx
mov ecx, esi
call edx
test al, al
je 0x41bebc
cmp byte [esi + 0x4c0], 0
je 0x41be8c
mov eax, dword [esi + 0x4ac]
push eax
lea ecx, [esi + 0x5a8]
push ecx
mov ecx, dword [esi + 0x4a0]
lea edx, [esi + 0x62c]
push edx
lea eax, [esi + 0x5ac]
push eax
push ecx
lea ecx, [esp + 0x68]
call dword [sym.imp.DuiLib_u.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esi + 0x40]
lea edx, [esp + 0x4c]
push edx
push eax
push ecx
call dword [sym.imp.DuiLib_u.dll_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
jmp 0x41bf43
mov edx, dword [esi + 0x4ac]
mov eax, dword [esi + 0x4a8]
mov ecx, dword [esi + 0x4a0]
push edx
push eax
push ecx
lea ecx, [esp + 0x60]
call dword [sym.imp.DuiLib_u.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esi + 0x40]
lea edx, [esp + 0x44]
push edx
push eax
push ecx
jmp 0x41bf3a
cmp byte [esi + 0x4c0], 0
je 0x41bf0c
mov edx, dword [esi + 0x4ac]
push edx
lea eax, [esi + 0x5a8]
push eax
mov eax, dword [esi + 0x4a4]
lea ecx, [esi + 0x62c]
push ecx
lea edx, [esi + 0x5ac]
push edx
push eax
lea ecx, [esp + 0x68]
call dword [sym.imp.DuiLib_u.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
mov edx, dword [esi + 0x40]
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x4c]
push ecx
push edx
push eax
call dword [sym.imp.DuiLib_u.dll_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
jmp 0x41bf43
mov ecx, dword [esi + 0x4ac]
mov edx, dword [esi + 0x4a8]
mov eax, dword [esi + 0x4a4]
push ecx
push edx
push eax
lea ecx, [esp + 0x60]
call dword [sym.imp.DuiLib_u.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
mov edx, dword [esi + 0x40]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x44]
push ecx
push edx
push eax
call dword [sym.imp.DuiLib_u.dll_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
lea ecx, [esp + 0x54]
mov byte [esp + 0x178], 0
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov ecx, dword [esp + 0x1c]
add dword [esp + 0x18], ecx
inc ebx
cmp ebx, dword [esp + 0x20]
jl 0x41bdb0
lea ecx, [esp + 0xdc]
mov dword [esp + 0x178], 0xffffffff
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.00545eb2
mov esp, ebp
pop ebp
ret 8