Function at 0x495e50
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b8918
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x24]
push ebp
push esi
xor esi, esi
push edi
cmp ebx, esi
jne 0x495e7e
or eax, 0xffffffff
jmp 0x495fe1
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x30], 0
cmp eax, esi
mov word [esp + 0x31], si
jle 0x495e96
mov dword [esp + 0x10], eax
jmp 0x495ea6
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], ecx
lea eax, [esp + 0x14]
push eax
call sub.CLRenderNewEngine.dll_public:_static_struct_CxImage::_XFONT___cdecl_CxImage::GetFont_void_
mov ebp, dword [esp + 0x44]
add esp, 4
test ebp, ebp
mov byte [esp + 0x30], 0x20
jle 0x495f04
mov ecx, dword [esp + 0x1a]
mov edi, dword [esp + 0x38]
and ecx, 0xff
push 0
imul ecx, esi
push 0
push 0
push 0
add ecx, edi
push 0
push ecx
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x4c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
lea eax, [esp + 0x4c]
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, 0x24
inc esi
cmp esi, ebp
jl 0x495ec0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x40], esi
inc ecx
mov dword [esp + 0x3c], ebp
je 0x495fdd
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
cmp ecx, eax
jge 0x495fdd
xor ebp, ebp
test esi, esi
jl 0x495f54
mov edx, dword [esp + 0x40]
push edx
push ebx
call fcn.00497b40
mov ecx, dword [esp + 0x48]
add esp, 8
mov ebp, eax
inc ecx
cmp ebp, esi
mov dword [esp + 0x40], ecx
jle 0x495f37
mov eax, ebp
sub eax, esi
cmp eax, 2
jg 0x495ff6
xor ecx, ecx
add esi, ebx
push eax
lea edx, [esp + 0x34]
mov word [esp + 0x34], cx
push esi
push edx
mov byte [esp + 0x3e], cl
call dword [sym.imp.MSVCRT.dll_strncpy]
mov eax, dword [esp + 0x26]
mov ecx, dword [esp + 0x44]
and eax, 0xff
push 0
imul eax, dword [esp + 0x4c]
push 0
push 0
push 0
add eax, ecx
mov ecx, dword [esp + 0x50]
push 0
push eax
push ecx
lea edi, [esp + 0x58]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x58]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
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 [esp + 0x6c]
add esp, 0x30
inc eax
mov edi, ebx
mov dword [esp + 0x3c], eax
or ecx, 0xffffffff
xor eax, eax
mov esi, ebp
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x40]
not ecx
cmp eax, ecx
jb 0x495f21
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x14
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x38]
push str.Error_Draw_UprightText_draw_text_number___2_
push eax
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x40]
add esp, 8
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x38]
mov esi, 0xfffffffe
mov dword [esp + 0x28], 0xffffffff
call fcn.004ab42e
mov eax, esi
jmp 0x495fe1