Function at 0x4b9820
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
mov dword [ebp - 0x18], ecx
cmp dword [ebp + 0xc], 0
jne 0x4b99f4
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0x74
je 0x4b99f4
call fcn.00404880
test eax, eax
je 0x4b985b
call fcn.00403cd0
mov ecx, eax
call fcn.0044a710
mov dword [ebp - 0x1c], eax
jmp 0x4b9862
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
push 0x2801
call fcn.005cd8ee
add esp, 4
mov dword [ebp - 4], eax
xor edx, edx
je 0x4b98a5
push 0x76a700
push 0xffffffffffffffff
push 0x2800
mov eax, dword [ebp - 4]
push eax
call fcn.00413eb0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x28]
mov byte [ecx], 0
jmp 0x4b9929
push 0x5002
call fcn.005cd8ee
add esp, 4
mov dword [ebp - 0x10], eax
push str.set_default_char_format_failed__only_CHARFORMAT2W_can_be_set_for_default_char_format
push 0xffffffffffffffff
push 0x2800
mov edx, dword [ebp - 0x10]
push edx
call fcn.00413de0
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0xc], 0x2800
jge 0x4b991d
push 0
push 0
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov byte [eax], 0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.005cd8e9
add esp, 4
cmp dword [ebp - 8], 0
je 0x4b9976
push 1
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x2c]
call edx
movzx eax, al
test eax, eax
je 0x4b9976
mov ecx, dword [ebp + 4]
push ecx
push 0x76a6dc
push 0x4c4
push 0x76a888
mov edx, dword [ebp - 4]
push edx
push 0x76a8d8
push 1
push 0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x34]
call eax
jmp 0x4b99dc
mov ecx, 1
test ecx, ecx
je 0x4b99dc
push 0x2801
call fcn.005cd8ee
add esp, 4
mov dword [ebp - 0x14], eax
push 0x4c4
push str.F:PROJECT_BASE_st_pdfcommunalThirdParty_soui3SOUI_srccontrolSRichEdit.cpp
push str.SOUI::SRichEdit::OnSetCharFormat
mov edx, dword [ebp - 4]
push edx
push 0x76a930
push 0xffffffffffffffff
push 0x2800
mov eax, dword [ebp - 0x14]
push eax
call fcn.00413eb0
add esp, 0x20
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x30]
mov byte [ecx], 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x14]
push eax
call fcn.005cd8e9
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
call fcn.005cd8e9
add esp, 4
xor edx, edx
jne 0x4b9841
xor eax, eax
jmp 0x4b9a66
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x464]
call fcn.00447bf0
mov dword [ebp - 0x20], eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x20]
mov eax, dword [edx + 0xc]
call eax
cmp dword [ebp + 0xc], 0
jne 0x4b9a61
mov edi, dword [ebp - 0x18]
add edi, 0x2fc
mov ecx, 0x1d
mov esi, dword [ebp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x464]
call fcn.00447bf0
mov dword [ebp - 0x24], eax
push 0x20000
push 0x20000
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + 0x4c]
call edx
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc