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

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x2c
movzx eax, byte [ecx + 0x28]
mov esi, dword [esp + 0x48]
test al, 0x40
jne 0x66559a80
test al, al
js 0x66559c88
mov eax, dword [ebx + 0x3c]
cmp dword [ebx + 0x18], eax
je 0x66559cb9
mov ecx, ebx
call method.QWidgetLineControl.emitCursorPositionChanged__
mov eax, 1
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
movzx eax, byte [ecx + 0x29]
mov edi, eax
or eax, 1
mov byte [ecx + 0x29], al
mov eax, dword [ecx + 0x54]
and edi, 1
test eax, eax
je 0x66559b58
mov edx, dword [eax + 4]
test edx, edx
je 0x66559b58
mov edx, dword [ecx + 0x58]
test edx, edx
je 0x66559b58
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x14], ecx
mov edx, dword [ecx]
add edx, 1
cmp edx, 1
ja 0x66559d20
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x18], edx
test eax, eax
je 0x667f56e2
mov eax, dword [eax + 4]
test eax, eax
je 0x667f56e2
mov ecx, dword [ebx + 0x58]
lea ebp, [esp + 0x18]
mov eax, dword [ecx]
mov dword [esp + 4], ebp
lea ebp, [esp + 0x14]
mov dword [esp], ebp
call dword [eax + 0x30]
sub esp, 8
test eax, eax
movzx eax, byte [ebx + 0x29]
setne dl
and eax, 0xfffffffe
or eax, edx
mov byte [ebx + 0x29], al
test al, 1
jne 0x66559ce0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xa
mov dword [esp + 4], sym.Qt5Widgets.dll_QWidgetLineControl::staticMetaObject
mov dword [esp], ebx
call dword [0x66a1fa94]
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
test edx, edx
je 0x66559d00
cmp edx, 0xffffffff
je 0x66559b58
lock sub dword [eax], 1
mov eax, dword [esp + 0x14]
je 0x66559d00
lea esi, [esi]
mov eax, dword [esp + 0x40]
test eax, eax
js 0x66559bd0
mov eax, edi
test al, al
je 0x66559bd0
test byte [ebx + 0x29], 1
jne 0x66559bd0
mov edx, dword [ebx + 0x40]
xor eax, eax
mov edi, dword [edx + 8]
cmp dword [edx + 0xc], edi
jne 0x66559a75
mov eax, dword [esp + 0x40]
mov ecx, ebx
mov dword [esp], eax
call method.QWidgetLineControl.internalUndo_int_
mov eax, dword [ebx + 0x74]
lea ecx, [ebx + 0x78]
sub esp, 4
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x78]
lea eax, [eax + edx*4]
mov edx, dword [ebx + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.667ea6b0
mov eax, dword [ebx + 0x74]
sub esp, 8
cmp dword [ebx + 0x70], eax
jle 0x66559bbe
mov dword [ebx + 0x70], 0xffffffff
movzx eax, word [ebx + 0x28]
and ax, 0xfebf
or ah, 1
mov word [ebx + 0x28], ax
lea esi, [esi]
mov dword [esp], 0
mov ecx, ebx
call method.QWidgetLineControl.updateDisplayText_bool_
movzx eax, byte [ebx + 0x28]
sub esp, 4
test al, 0x40
je 0x66559a55
and eax, 0xffffffbf
mov dword [esp], ebx
lea ecx, [esp + 0x14]
mov byte [ebx + 0x28], al
call fcn.667e3380
mov eax, esi
mov edi, dword [0x66a1fa94]
sub esp, 4
lea ebp, [esp + 0x18]
test al, al
jne 0x66559d30
lea eax, [esp + 0x14]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 3
mov dword [esp + 4], sym.Qt5Widgets.dll_QWidgetLineControl::staticMetaObject
mov dword [esp], ebx
call edi
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
test edx, edx
je 0x66559c60
cmp edx, 0xffffffff
je 0x66559c79
lock sub dword [eax], 1
mov eax, dword [esp + 0x14]
jne 0x66559c79
lea esi, [esi]
nop
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x66a1f9d8]
movzx eax, byte [ebx + 0x28]
jmp 0x66559a55
and byte [ebx + 0x28], 0x7f
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], sym.Qt5Widgets.dll_QWidgetLineControl::staticMetaObject
mov dword [esp], ebx
call dword [0x66a1fa94]
mov eax, dword [ebx + 0x3c]
cmp dword [ebx + 0x18], eax
jne 0x66559a69
mov dword [esp + 0xc], 0
mov dword [esp + 8], 6
mov dword [esp + 4], sym.Qt5Widgets.dll_QWidgetLineControl::staticMetaObject
mov dword [esp], ebx
call dword [0x66a1fa94]
jmp 0x66559a69
lea eax, [ebx + 0xc]
mov dword [esp + 4], ebp
mov dword [esp], eax
call dword [0x66a208b4]
test al, al
je 0x66559d60
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x18], eax
jmp 0x66559b33
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x66a1f9d8]
jmp 0x66559b58
lock add dword [ecx], 1
mov eax, dword [ebx + 0x54]
jmp 0x66559ac5
lea eax, [esp + 0x14]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 4
mov dword [esp + 4], sym.Qt5Widgets.dll_QWidgetLineControl::staticMetaObject
mov dword [esp], ebx
call edi
jmp 0x66559c16
mov eax, esi
mov dword [esp], ebp
mov ecx, ebx
movzx esi, al
mov eax, dword [esp + 0x18]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
call method.QWidgetLineControl.internalSetText_QString_const__int__bool_
sub esp, 0xc
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
test edx, edx
je 0x66559d9f
cmp edx, 0xffffffff
je 0x66559a70
lock sub dword [eax], 1
mov eax, dword [esp + 0x14]
jne 0x66559a70
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x66a1f9d8]
jmp 0x66559a70
mov eax, dword [class.QBoxLayout]
ud2