Function at 0x4ab050
Capabilities:
Access peb ldr_data
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4b9558
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
lea eax, [esp + 0x1c]
push edi
mov ebx, ecx
push eax
call sub.CLRenderNewEngine.dll_public:_static_struct_CxImage::_XFONT___cdecl_CxImage::GetFont_void_
mov eax, dword [ebx + 0x20]
xor ecx, ecx
mov dword [esp + 0x14], ecx
xor edx, edx
shl eax, 0x18
mov dword [esp + 0x18], ecx
mov ecx, eax
or ecx, 0x81858
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ecx
or eax, 0xff2400
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebx + 0x34]
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx + 0x10]
cmp eax, 0xa
mov dword [esp + 0x38], 0
jle 0x4ab16e
mov edx, dword [ebx + 0x28]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
add esi, 0x11
add edi, 0x13
call sub.CLRenderNewEngine.dll_public:_static_struct_CxImage::_XFONT___cdecl_CxImage::SetFont_struct_CxImage::_XFONT___struct_HFONT____
add esp, 0xc
lea edx, [esp + 0xc]
push 0x4d86d4
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
mov ecx, dword [eax - 8]
push 0
push 0
push edi
push esi
push ecx
push eax
call sub.CLRenderNewEngine.dll_public:_static_void___cdecl_CxImage::DrawTextA_char_const___int__int__int__int__int__unsigned_int__struct_tagRECT_const___struct_HFONT____
mov eax, dword [ebx + 0x28]
lea ecx, [esp + 0x44]
push eax
lea edx, [esp + 0x58]
push ecx
push edx
call sub.CLRenderNewEngine.dll_public:_static_struct_CxImage::_XFONT___cdecl_CxImage::SetFont_struct_CxImage::_XFONT___struct_HFONT____
mov eax, dword [esp + 0x44]
push 0
mov ecx, dword [eax - 8]
push ecx
push eax
call sub.CLRenderNewEngine.dll_public:_static_int___cdecl_CxImage::GetTextWidth_char_const___int__struct_HFONT____
add esp, 0x44
add esi, eax
mov eax, dword [ebx + 0x34]
lea ecx, [esp + 0xc]
push eax
push 0x4cc98c
push ecx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x18]
push 0
push 0
push 0
mov ecx, dword [eax - 8]
push 0
push 0
push edi
push esi
push ecx
push eax
call sub.CLRenderNewEngine.dll_public:_static_void___cdecl_CxImage::DrawTextA_char_const___int__int__int__int__int__unsigned_int__struct_tagRECT_const___struct_HFONT____
add esp, 0x30
jmp 0x4ab258
mov edx, dword [ebx + 0x28]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
add esi, 0x41
add edi, 0x13
call sub.CLRenderNewEngine.dll_public:_static_struct_CxImage::_XFONT___cdecl_CxImage::SetFont_struct_CxImage::_XFONT___struct_HFONT____
add esp, 0xc
lea edx, [esp + 0xc]
push 0x4d86c8
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
mov ecx, dword [eax - 8]
push 0
push 0
push edi
push esi
push ecx
push eax
call sub.CLRenderNewEngine.dll_public:_static_void___cdecl_CxImage::DrawTextA_char_const___int__int__int__int__int__unsigned_int__struct_tagRECT_const___struct_HFONT____
mov eax, dword [ebx + 0x28]
lea ecx, [esp + 0x44]
push eax
lea edx, [esp + 0x58]
push ecx
push edx
call sub.CLRenderNewEngine.dll_public:_static_struct_CxImage::_XFONT___cdecl_CxImage::SetFont_struct_CxImage::_XFONT___struct_HFONT____
mov eax, dword [esp + 0x44]
push 0
mov ecx, dword [eax - 8]
push ecx
push eax
call sub.CLRenderNewEngine.dll_public:_static_int___cdecl_CxImage::GetTextWidth_char_const___int__struct_HFONT____
add esp, 0x44
add esi, eax
lea eax, [esp + 0xc]
push 0x4d86c4
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
mov ecx, dword [eax - 8]
push 0
push 0
push edi
push esi
push ecx
push eax
call sub.CLRenderNewEngine.dll_public:_static_void___cdecl_CxImage::DrawTextA_char_const___int__int__int__int__int__unsigned_int__struct_tagRECT_const___struct_HFONT____
mov ecx, dword [ebx + 0x28]
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x58]
push edx
push eax
call sub.CLRenderNewEngine.dll_public:_static_struct_CxImage::_XFONT___cdecl_CxImage::SetFont_struct_CxImage::_XFONT___struct_HFONT____
mov eax, dword [esp + 0x44]
push 0
mov ecx, dword [eax - 8]
push ecx
push eax
call sub.CLRenderNewEngine.dll_public:_static_int___cdecl_CxImage::GetTextWidth_char_const___int__struct_HFONT____
add esp, 0x44
lea ecx, [esp + 0xc]
add esi, eax
push 0x4d86b8
push ecx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
mov ecx, dword [eax - 8]
push 0
push 0
push edi
push esi
push ecx
push eax
call sub.CLRenderNewEngine.dll_public:_static_void___cdecl_CxImage::DrawTextA_char_const___int__int__int__int__int__unsigned_int__struct_tagRECT_const___struct_HFONT____
add esp, 0x2c
lea edx, [esp + 0x20]
push 0
lea eax, [esp + 0x2c]
push edx
push eax
call sub.CLRenderNewEngine.dll_public:_static_struct_CxImage::_XFONT___cdecl_CxImage::SetFont_struct_CxImage::_XFONT___struct_HFONT____
mov edx, dword [0x50ae58]
add esp, 0xc
test edx, edx
je 0x4ab2ca
mov eax, dword [ebx + 0x34]
mov edi, 0x4d6238
cmp eax, 0xa
jle 0x4ab29f
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [ebx + 0xc]
not ecx
dec ecx
push ecx
mov ecx, dword [ebx + 0x10]
add ecx, 0x1c
add eax, 0x133
push ecx
jmp 0x4ab2b9
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [ebx + 0xc]
not ecx
dec ecx
push ecx
mov ecx, dword [ebx + 0x10]
add ecx, 0x1c
add eax, 0x11f
push ecx
push eax
push 0x4d6238
lea ecx, [edx + 0xa8]
call fcn.004451d0
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.004ab42e
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret