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

Disassembly:
sub esp, 0x98
lea eax, [esp + 0xc]
push ebx
push ebp
mov ebp, dword [sym.imp.Qt5Gui.dll_public:_class_QTextBlock___thiscall_QTextCursor::block_void_]
push esi
push edi
mov edi, ecx
push eax
mov esi, dword [edi + 4]
add esi, 0x6c
mov ecx, esi
call ebp
mov eax, dword [esp + 0xb0]
cmp eax, 0x40
jg 0x100c1b9a
je case.0x100c1a6a.3
add eax, 0xfffffffe
cmp eax, 0x1e
ja case.0x100c1a6a.3
movzx eax, byte [eax + 0x100c1ebc]
jmp dword [eax*4 + 0x100c1ea4]
lea eax, [esp + 0x88]
mov ecx, edi
push eax
call fcn.100c0cc0
mov ecx, dword [esp + 0xac]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_class_QRectF_const__]
jmp 0x100c1e80
lea eax, [esp + 0x60]
mov ecx, esi
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.Qt5Gui.dll_public:_class_QTextCharFormat___thiscall_QTextCursor::charFormat_void_]
mov ecx, eax
call dword [sym.imp.Qt5Gui.dll_public:_class_QFont___thiscall_QTextCharFormat::font_void_]
mov ecx, eax
call dword [sym.imp.Qt5Gui.dll_public:_class_QVariant___thiscall_QFont::operator_class_QVariant_void_]
mov ecx, dword [esp + 0xac]
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_class_QVariant__]
mov esi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
lea ecx, [esp + 0x60]
call esi
lea ecx, [esp + 0x50]
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QFont::destructor_void_]
lea ecx, [esp + 0x58]
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QTextFormat::destructor_void_]
lea ecx, [esp + 0xb4]
call esi
mov eax, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret 0x18
mov ecx, esi
call dword [sym.imp.Qt5Gui.dll_public:_int___thiscall_QTextCursor::position_void_const]
lea ecx, [esp + 0x1c]
mov esi, eax
call dword [sym.imp.Qt5Gui.dll_public:_int___thiscall_QTextBlock::position_void_const]
mov ecx, dword [esp + 0xac]
sub esi, eax
push esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_int_]
jmp 0x100c1e80
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Gui.dll_public:_class_QString___thiscall_QTextBlock::text_void_]
mov ecx, dword [esp + 0xac]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__]
lea ecx, [esp + 0x48]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x100c1e80
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call dword [sym.imp.Qt5Gui.dll_public:_class_QString___thiscall_QTextCursor::selectedText_void_]
mov ecx, dword [esp + 0xac]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__]
lea ecx, [esp + 0x38]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x100c1e80
mov ecx, dword [esp + 0xac]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_void_]
jmp 0x100c1e80
cmp eax, 0x800
jg 0x100c1d5a
je 0x100c1bdd
cmp eax, 0x80
je 0x100c1bd0
cmp eax, 0x400
jne case.0x100c1a6a.3
mov ecx, esi
call dword [sym.imp.Qt5Gui.dll_public:_int___thiscall_QTextCursor::anchor_void_const]
mov ecx, dword [esp + 0xac]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_int_]
jmp 0x100c1e80
mov ecx, esi
call dword [sym.imp.Qt5Gui.dll_public:_int___thiscall_QTextCursor::anchor_void_const]
jmp 0x100c1b11
test dword [esp + 0xbc], 0x3fffffff
je 0x100c1bff
push 0
lea ecx, [esp + 0xb8]
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QVariant::toInt_bool__const]
mov dword [esp + 0x24], eax
jmp 0x100c1c07
mov dword [esp + 0x24], 0x400
push esi
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QTextCursor::constructor_class_QTextCursor_const__]
mov ecx, esi
call dword [sym.imp.Qt5Gui.dll_public:_int___thiscall_QTextCursor::position_void_const]
lea ecx, [esp + 0x1c]
mov esi, eax
call dword [sym.imp.Qt5Gui.dll_public:_int___thiscall_QTextBlock::position_void_const]
sub esi, eax
xor edi, edi
cmp esi, dword [esp + 0x24]
mov ebx, esi
mov dword [esp + 0x2c], esi
mov esi, dword [sym.imp.Qt5Gui.dll_public:_bool___thiscall_QTextCursor::movePosition_enum_QTextCursor::MoveOperation__enum_QTextCursor::MoveMode__int_]
jge 0x100c1c8c
lea esp, [esp]
lea ecx, [esp + 0x10]
call dword [sym.imp.Qt5Gui.dll_public:_int___thiscall_QTextCursor::blockNumber_void_const]
push 1
push 0
push 6
lea ecx, [esp + 0x1c]
mov esi, eax
call dword [sym.imp.Qt5Gui.dll_public:_bool___thiscall_QTextCursor::movePosition_enum_QTextCursor::MoveOperation__enum_QTextCursor::MoveMode__int_]
lea ecx, [esp + 0x10]
call dword [sym.imp.Qt5Gui.dll_public:_int___thiscall_QTextCursor::blockNumber_void_const]
cmp eax, esi
je 0x100c1c86
lea eax, [esp + 0x78]
inc edi
push eax
lea ecx, [esp + 0x14]
call ebp
mov ecx, eax
call dword [sym.imp.Qt5Gui.dll_public:_int___thiscall_QTextBlock::length_void_const]
add ebx, eax
cmp ebx, dword [esp + 0x24]
jl 0x100c1c40
mov esi, dword [sym.imp.Qt5Gui.dll_public:_bool___thiscall_QTextCursor::movePosition_enum_QTextCursor::MoveOperation__enum_QTextCursor::MoveMode__int_]
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov ebx, dword [sym.imp.Qt5Gui.dll_public:_class_QString___thiscall_QTextBlock::text_void_]
test edi, edi
je 0x100c1cf8
lea eax, [esp + 0x1b]
mov dword [esp + 0x28], eax
jmp 0x100c1cb0
lea eax, [esp + 0x4c]
mov byte [esp + 0x1b], 0xa
push eax
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x18]
call ebp
mov ecx, eax
call ebx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.10029fc0
add esp, 8
lea ecx, [esp + 0x4c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 1
push 0
push 0x10
lea ecx, [esp + 0x1c]
call esi
dec edi
jne 0x100c1cb0
push dword [esp + 0x2c]
lea eax, [esp + 0x44]
push 0
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2c]
call ebx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QString::mid_int__int_]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::append_class_QString_const__]
lea ecx, [esp + 0x40]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0xac]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__]
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x10]
jmp 0x100c1e7a
cmp eax, 0x1000
jne case.0x100c1a6a.3
test dword [esp + 0xbc], 0x3fffffff
je 0x100c1d85
push 0
lea ecx, [esp + 0xb8]
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QVariant::toInt_bool__const]
mov ebx, eax
jmp 0x100c1d8a
mov ebx, 0x400
push esi
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QTextCursor::constructor_class_QTextCursor_const__]
mov ecx, esi
call dword [sym.imp.Qt5Gui.dll_public:_int___thiscall_QTextCursor::position_void_const]
lea ecx, [esp + 0x1c]
mov esi, eax
call dword [sym.imp.Qt5Gui.dll_public:_int___thiscall_QTextBlock::position_void_const]
sub esi, eax
lea ecx, [esp + 0x1c]
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.Qt5Gui.dll_public:_class_QString___thiscall_QTextBlock::text_void_]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QString::mid_int__int_]
lea ecx, [esp + 0x3c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x10]
cmp dword [eax + 4], ebx
jge 0x100c1e5a
mov edi, dword [sym.imp.Qt5Gui.dll_public:_int___thiscall_QTextCursor::blockNumber_void_const]
lea ecx, [esp + 0x14]
call edi
push 1
push 0
push 0x10
lea ecx, [esp + 0x20]
mov esi, eax
call dword [sym.imp.Qt5Gui.dll_public:_bool___thiscall_QTextCursor::movePosition_enum_QTextCursor::MoveOperation__enum_QTextCursor::MoveMode__int_]
lea ecx, [esp + 0x14]
call edi
cmp eax, esi
je 0x100c1e5a
lea eax, [esp + 0x1a]
mov byte [esp + 0x1a], 0xa
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x14]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x84]
push eax
call ebp
mov ecx, eax
call dword [sym.imp.Qt5Gui.dll_public:_class_QString___thiscall_QTextBlock::text_void_]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.100bfa90
add esp, 8
lea ecx, [esp + 0x44]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x10]
cmp dword [eax + 4], ebx
jl 0x100c1de7
mov ecx, dword [esp + 0xac]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__]
lea ecx, [esp + 0x10]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QTextCursor::destructor_void_]
lea ecx, [esp + 0xb4]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
mov eax, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret 0x18