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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x28], ecx
mov eax, dword [eax + 0x38]
cmp eax, dword [esp + 0x74]
jle 0x66557faa
mov esi, dword [0x66a1f9dc]
mov dword [esp + 0x3c], esi
test dl, dl
jne 0x66557c1f
mov eax, dword [esp + 0x70]
lea esi, [esp + 0x44]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x44], edx
mov eax, dword [edx]
mov dword [esp + 0x2c], esi
add eax, 1
cmp eax, 1
ja 0x66558086
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x3c]
mov dword [esp], eax
call dword [0x66a200e8]
sub esp, 4
mov eax, dword [esp + 0x44]
mov edx, dword [eax]
test edx, edx
je 0x66557fd3
cmp edx, 0xffffffff
je 0x66557aa8
lock sub dword [eax], 1
mov eax, dword [esp + 0x44]
je 0x66557fd3
mov dword [esp + 4], 0
mov dword [esp], 0x6681e4a0
call dword [0x66a20044]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x40], eax
mov edx, dword [esi + 0x38]
cmp dword [esp + 0x74], edx
jge 0x66557bc2
mov dword [esp + 0x14], 0
mov esi, edx
lea esi, [esi]
mov eax, dword [esp + 0x78]
mov eax, dword [eax]
mov edi, dword [eax + 4]
mov dword [esp + 0x20], edi
cmp edi, dword [esp + 0x14]
jle 0x66557bbe
mov edi, dword [esp + 0x70]
mov edx, dword [esp + 0x14]
mov ebx, dword [edi + 0x6c]
mov edi, dword [esp + 0x74]
lea ecx, [edi*8]
lea edi, [ebx + ecx]
mov dword [esp + 0x1c], ecx
lea ecx, [edx + edx]
cmp byte [edi + 2], 0
mov dword [esp + 0x18], ecx
jne 0x66557d20
mov ecx, dword [esp + 0x18]
lea edx, [eax + ecx]
add edx, dword [eax + 0xc]
movzx eax, word [edi]
movzx ebp, word [edx]
mov ecx, dword [esp + 0x70]
mov word [esp + 4], ax
mov word [esp], bp
call method.QWidgetLineControl.isValidInput_QChar__QChar__const
sub esp, 8
mov ecx, eax
test al, al
je 0x66557c80
mov eax, dword [edi + 4]
mov ebx, dword [esp + 0x40]
cmp eax, 1
je 0x66557f90
cmp eax, 2
je 0x66557f20
mov eax, dword [ebx]
cmp eax, 1
ja 0x66557c47
mov edx, dword [ebx + 4]
mov eax, ebx
mov ebx, dword [ebx + 8]
lea ecx, [edx + 2]
and ebx, 0x7fffffff
cmp ecx, ebx
ja 0x66557c4d
mov ecx, dword [eax + 0xc]
lea ebx, [edx + 1]
lea edx, [eax + edx*2]
mov dword [eax + 4], ebx
lea eax, [eax + ebx*2]
mov word [edx + ecx], bp
xor edx, edx
mov word [eax + ecx], dx
add dword [esp + 0x74], 1
add dword [esp + 0x14], 1
cmp esi, dword [esp + 0x74]
jg 0x66557ae0
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x28]
mov dword [esi], eax
mov eax, dword [0x66a1f9dc]
mov dword [esp + 0x40], eax
mov eax, dword [eax]
test eax, eax
je 0x66558018
cmp eax, 0xffffffff
je 0x66557bf0
mov esi, dword [0x66a1f9dc]
lock sub dword [esi], 1
je 0x66558018
mov eax, dword [esp + 0x3c]
mov edx, dword [eax]
test edx, edx
je 0x66557ff1
cmp edx, 0xffffffff
je 0x66557c11
lock sub dword [eax], 1
mov eax, dword [esp + 0x3c]
je 0x66557ff1
mov eax, dword [esp + 0x28]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x44]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 0x2c], ecx
call method.QWidgetLineControl.clearString_int__int__const
sub esp, 0xc
jmp 0x66557a73
mov ecx, dword [ebx + 4]
add ecx, 2
mov dword [esp], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 4], 1
call dword [0x66a20018]
sub esp, 8
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x70]
mov edx, dword [eax + 4]
mov esi, dword [esi + 0x38]
jmp 0x66557b91
mov eax, dword [esp + 0x74]
test eax, eax
js 0x66557baf
mov eax, dword [esp + 0x74]
mov edx, eax
add eax, 1
cmp esi, eax
je 0x66557de0
cmp byte [ebx + eax*8 + 2], 0
je 0x66557c90
cmp bp, word [ebx + eax*8]
jne 0x66557c90
cmp eax, 0xffffffff
je 0x66557de0
mov edi, dword [esp + 0x74]
test edi, edi
je 0x66557cc6
cmp dword [esp + 0x20], 1
je 0x66558066
sub eax, dword [esp + 0x74]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x18], edx
add eax, 1
mov dword [esp + 8], eax
mov eax, dword [esp + 0x74]
mov ecx, esi
mov dword [esp + 4], eax
lea eax, [esp + 0x3c]
mov dword [esp], eax
call dword [0x66a206e0]
sub esp, 0xc
mov dword [esp], esi
lea ecx, [esp + 0x40]
call dword [0x66a2006c]
sub esp, 4
mov edx, dword [esp + 0x18]
lea eax, [edx + 2]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x70]
mov esi, dword [eax + 0x38]
jmp 0x66557baf
movzx edi, word [edi]
mov edx, dword [esp + 0x40]
mov word [esp + 0x20], di
mov ecx, dword [edx]
cmp ecx, 1
ja 0x66557dd0
mov ecx, dword [edx + 4]
mov ebp, dword [edx + 8]
lea edi, [ecx + 2]
and ebp, 0x7fffffff
cmp edi, ebp
jbe 0x66557d7d
lea ecx, [esp + 0x40]
mov dword [esp + 4], 1
mov dword [esp], edi
call dword [0x66a20018]
sub esp, 8
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x70]
mov esi, dword [eax + 0x38]
mov eax, dword [esp + 0x78]
mov ecx, dword [edx + 4]
mov ebx, dword [ebx + 0x6c]
mov eax, dword [eax]
lea ebp, [ecx + 1]
mov edi, dword [edx + 0xc]
lea ecx, [edx + ecx*2]
mov dword [edx + 4], ebp
mov dword [esp + 0x24], ebp
movzx ebp, word [esp + 0x20]
mov word [ecx + edi], bp
mov ecx, dword [esp + 0x24]
xor ebp, ebp
lea edx, [edx + ecx*2]
mov word [edx + edi], bp
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
add edx, eax
add edx, dword [eax + 0xc]
movzx eax, word [edx]
cmp word [ebx + edi], ax
sete al
add dword [esp + 0x74], 1
movzx eax, al
add dword [esp + 0x14], eax
jmp 0x66557bb4
mov edi, dword [edx + 4]
add edi, 2
jmp 0x66557d4a
mov ebx, dword [esp + 0x74]
jmp 0x66557e1e
movzx eax, word [edi]
mov ecx, dword [esp + 0x70]
mov word [esp], bp
mov word [esp + 4], ax
call method.QWidgetLineControl.isValidInput_QChar__QChar__const
sub esp, 8
test al, al
jne 0x66557e32
add ebx, 1
add edi, 8
cmp esi, ebx
je 0x66557baf
movzx ecx, byte [edi + 2]
test cl, cl
jne 0x66557e0c
lea eax, [ebx*8]
mov dword [esp + 0x1c], eax
test bp, bp
jne 0x66557df0
cmp ebx, 0xffffffff
je 0x66557baf
mov eax, ebx
sub eax, dword [esp + 0x74]
mov esi, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x74]
mov ecx, esi
mov dword [esp + 4], eax
lea eax, [esp + 0x3c]
mov dword [esp], eax
call dword [0x66a206e0]
sub esp, 0xc
mov dword [esp], esi
lea ecx, [esp + 0x40]
call dword [0x66a2006c]
sub esp, 4
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x1c]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + esi + 4]
cmp eax, 1
je 0x6655808f
cmp eax, 2
jne 0x6655803a
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
mov eax, dword [esp + 0x18]
add eax, ecx
add eax, dword [ecx + 0xc]
movzx eax, word [eax]
call dword [0x66a1fee0]
mov edi, eax
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
cmp ecx, 1
ja 0x6655805b
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
lea esi, [ecx + 2]
and edx, 0x7fffffff
cmp esi, edx
jbe 0x66557eef
lea ecx, [esp + 0x40]
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [0x66a20018]
sub esp, 8
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 0xc]
lea esi, [ecx + 1]
lea ecx, [eax + ecx*2]
mov dword [eax + 4], esi
lea eax, [eax + esi*2]
mov word [ecx + edx], di
xor ecx, ecx
mov word [eax + edx], cx
lea eax, [ebx + 1]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x70]
mov esi, dword [eax + 0x38]
jmp 0x66557baf
movzx eax, bp
call dword [0x66a1fee0]
mov edi, eax
mov eax, dword [ebx]
cmp eax, 1
ja 0x66557fa2
mov edx, dword [ebx + 4]
mov eax, ebx
mov ebx, dword [ebx + 8]
lea ecx, [edx + 2]
and ebx, 0x7fffffff
cmp ecx, ebx
jbe 0x66557f6d
mov dword [esp], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 4], 1
call dword [0x66a20018]
sub esp, 8
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x70]
mov edx, dword [eax + 4]
mov esi, dword [esi + 0x38]
lea ebx, [edx + 1]
mov ecx, dword [eax + 0xc]
lea edx, [eax + edx*2]
mov dword [eax + 4], ebx
lea eax, [eax + ebx*2]
xor ebx, ebx
mov word [edx + ecx], di
mov word [eax + ecx], bx
jmp 0x66557baa
movzx eax, bp
call dword [0x66a1fee4]
mov edi, eax
mov eax, dword [ebx]
cmp eax, 1
jbe 0x66557f32
mov ecx, dword [ebx + 4]
add ecx, 2
jmp 0x66557f47
mov dword [esp + 4], 0
mov dword [esp], 0x6681e4a0
call dword [0x66a20044]
mov esi, dword [esp + 0x28]
mov dword [esi], eax
mov eax, dword [esp + 0x28]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x66a1f9d8]
jmp 0x66557aa8
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [0x66a1f9d8]
mov eax, dword [esp + 0x28]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [esp + 0x40]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x66a1f9d8]
jmp 0x66557bf0
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
mov eax, dword [esp + 0x18]
add eax, ecx
add eax, dword [ecx + 0xc]
movzx edi, word [eax]
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
cmp ecx, 1
jbe 0x66557ebd
mov esi, dword [eax + 4]
add esi, 2
jmp 0x66557ed0
mov edi, dword [esp + 0x1c]
lea ecx, [ebx + edi - 8]
cmp byte [ecx + 2], 0
je 0x66557cc6
cmp word [ecx], bp
jne 0x66557cc6
jmp 0x66557baf
lock add dword [edx], 1
jmp 0x66557a73
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
mov eax, dword [esp + 0x18]
add eax, ecx
add eax, dword [ecx + 0xc]
movzx eax, word [eax]
call dword [0x66a1fee4]
jmp 0x66557eac