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

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff0
push dword [edi - 4]
mov eax, edi
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
push ebx
sub esp, 0x8c
mov ecx, dword [edi]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 8]
mov edi, dword [edi + 4]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [ebp - 0x58], ecx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x50], edx
call method.QCommonStyle.subControlRect_QStyle::ComplexControl__QStyleOptionComplex_const__QStyle::SubControl__QWidget_const__const
sub esp, 0x14
cmp edi, 7
ja case.0x664e60dc.6
mov edx, dword [ebp - 0x50]
jmp dword [edi*4 + 0x66813688]
cmp edx, 2
je 0x664e6550
cmp edx, 4
jne case.0x664e60dc.6
mov dword [esp], ebx
lea edi, [ebp - 0x38]
call method.QStyleHelper.dpi_QStyleOption_const_
lea edx, [ebx + 0x10]
mov dword [esp + 0xc], edi
lea eax, [ebp - 0x48]
mov dword [esp + 8], edx
mov ecx, dword [ebx + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [ebp - 0x6c], edx
fstp qword [ebp - 0x50]
call method.QStyle.visualRect_Qt::LayoutDirection__QRect_const__QRect_const_
mov ecx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x40]
mov dword [esp], 0
movsd xmm1, qword [ebp - 0x50]
mov dword [esp + 4], 0x40330000
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x30], edi
mov edi, dword [ebp - 0x3c]
movsd qword [esp + 8], xmm1
mov dword [ebp - 0x2c], edi
sub edi, ecx
lea edx, [edi + 5]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x58], edx
call method.QStyleHelper.dpiScaled_double__double_
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x30]
mov dword [esp], 0
movsd xmm1, qword [ebp - 0x50]
mov dword [esp + 4], 0x40320000
fstp qword [ebp - 0x60]
movsd xmm0, qword [ebp - 0x60]
sub eax, 2
movsd qword [esp + 8], xmm1
mov dword [ebp - 0x60], eax
movsd qword [ebp - 0x68], xmm0
call method.QStyleHelper.dpiScaled_double__double_
movsd xmm0, qword [ebp - 0x68]
mov eax, dword [ebp - 0x60]
fstp qword [ebp - 0x50]
cvttsd2si ecx, qword [ebp - 0x50]
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x34], eax
sub edi, ecx
cvttsd2si ecx, xmm0
mov dword [ebp - 0x38], edi
lea ecx, [edi + ecx - 1]
mov dword [ebp - 0x30], ecx
lea ecx, [edx + eax - 1]
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x38]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x48]
mov dword [esp + 8], edx
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x2c], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call method.QStyle.visualRect_Qt::LayoutDirection__QRect_const__QRect_const_
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
lea esi, [esi]
mov eax, dword [ebp - 0x38]
mov dword [esi], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0xc], eax
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret 0x14
test ebx, ebx
je case.0x664e60dc.6
mov edi, dword [ebx]
test edi, edi
jle case.0x664e60dc.6
cmp dword [ebx + 4], 0xf0006
jne case.0x664e60dc.6
mov eax, dword [ebx + 0x10]
mov edi, dword [ebx + 0x1c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x30], eax
cmp edx, 8
je 0x664e68b8
cmp edx, 4
jne 0x664e69e8
test byte [ebx + 0x30], 1
jne 0x664e6bc9
mov edx, dword [ebx + 0x3c]
mov eax, 6
mov edx, dword [edx + 4]
test edx, edx
jne 0x664e6d4c
add eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x50]
sub edi, 3
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x6c]
add edx, 3
mov dword [esi + 0xc], edi
sub eax, 3
mov dword [esi], edx
mov dword [esi + 8], eax
jmp 0x664e621f
test ebx, ebx
je case.0x664e60dc.6
mov eax, dword [ebx]
test eax, eax
jle case.0x664e60dc.6
cmp dword [ebx + 4], 0xf0002
jne case.0x664e60dc.6
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x14]
mov dword [ebp - 0x58], edx
add eax, 1
mov ecx, eax
shr ecx, 0x1f
add eax, ecx
sar eax, 1
cmp byte [ebx + 0x40], 1
mov dword [esp + 8], ebx
mov dword [esp], 0
sbb edi, edi
mov dword [esp + 4], 0x402c0000
not edi
mov dword [ebp - 0x68], eax
and edi, 3
call method.QStyleHelper.dpiScaled_double__QStyleOption_const_
mov eax, dword [ebx + 0x18]
fstp qword [ebp - 0x50]
cvttsd2si edx, qword [ebp - 0x50]
mov ecx, eax
sub ecx, dword [ebx + 0x10]
mov dword [ebp - 0x6c], eax
add ecx, 1
sub ecx, edi
mov eax, ecx
mov dword [ebp - 0x60], edx
sub eax, edx
mov edx, dword [ebp - 0x58]
add eax, 2
mov dword [ebp - 0x50], eax
cmp edx, 4
je 0x664e6b3d
ja 0x664e6870
cmp edx, 1
je 0x664e6b60
cmp edx, 2
jne case.0x664e6542.0
cmp dword [ebx + 0x38], 2
je 0x664e6ba9
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebp - 0x50]
sub eax, edi
mov edi, dword [ebp - 0x68]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x60]
lea edx, [edi + edx - 1]
mov dword [ebp - 0x30], edx
nop
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x48]
mov dword [esp + 0xc], edx
lea edx, [ebx + 0x10]
mov dword [esp + 8], edx
mov edx, dword [ebx + 0xc]
mov dword [esp + 4], edx
jmp 0x664e61e4
test ebx, ebx
je case.0x664e60dc.6
mov edi, dword [ebx]
test edi, edi
jle case.0x664e60dc.6
cmp dword [ebx + 4], 0xf0001
jne case.0x664e60dc.6
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x50], edx
call method.QStyle.proxy___const
mov edx, dword [ebp - 0x60]
mov ecx, eax
mov eax, dword [eax]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp], 0xe
call dword [eax + 0x70]
mov edx, dword [ebp - 0x50]
sub esp, 0xc
mov edi, eax
cmp edx, 1
je 0x664e68d8
cmp edx, 2
jne case.0x664e60dc.6
cmp dword [ebx + 0x38], 1
mov ecx, dword [ebp - 0x58]
je 0x664e6c3f
call method.QStyle.proxy___const
mov ecx, eax
mov eax, dword [eax]
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], 0xb
call dword [eax + 0x70]
mov ecx, dword [ebp - 0x58]
add eax, dword [ebp - 0x38]
sub esp, 0xc
sub eax, 1
mov dword [ebp - 0x30], eax
call method.QStyle.proxy___const
mov ecx, eax
mov eax, dword [eax]
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], 0xd
call dword [eax + 0x70]
add eax, dword [ebp - 0x34]
mov ecx, dword [ebx + 0x10]
sub eax, 1
sub esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x50], ecx
sar ecx, 0x1f
mov dword [ebp - 0x4c], ecx
cdq
add eax, dword [ebp - 0x50]
adc edx, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
mov ecx, edx
shr ecx, 0x1f
mov dword [ebp - 0x50], ecx
add eax, dword [ebp - 0x50]
adc edx, dword [ebp - 0x4c]
shrd eax, edx, 1
sar edx, 1
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0x38]
mov dword [ebp - 0x50], eax
add edx, 1
mov ecx, dword [ebp - 0x50]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [ebx + 0x44]
sar edx, 1
sub ecx, edx
test al, 1
lea edx, [ecx + edi]
cmovne ecx, edx
mov edx, ecx
sub edx, edi
test al, 2
cmovne ecx, edx
mov eax, ecx
sub eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], eax
jmp case.0x664e60dc.6
test ebx, ebx
je case.0x664e60dc.6
mov edi, dword [ebx]
test edi, edi
jle case.0x664e60dc.6
cmp dword [ebx + 4], 0xf0005
jne case.0x664e60dc.6
mov eax, dword [ebx + 0x1c]
mov edi, dword [ebx + 0x14]
mov dword [ebp - 0x6c], eax
sub eax, edi
lea ecx, [eax - 5]
mov dword [ebp - 0x68], ecx
lea ecx, [eax - 3]
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebx + 0x40]
and ecx, 1
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebx + 0x40]
and ecx, 2
mov dword [ebp - 0x60], ecx
cmp edx, 0x20
ja 0x664e6798
test edx, edx
je case.0x664e6542.0
cmp edx, 0x20
ja case.0x664e6542.0
jmp dword [edx*4 + 0x668136a8]
lea eax, [ebx + 0x10]
mov edx, eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x38]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x48]
mov dword [esp], eax
call method.QStyle.visualRect_Qt::LayoutDirection__QRect_const__QRect_const_
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x14]
sub eax, 3
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x18]
sub eax, dword [ebx + 0x10]
mov dword [esp + 8], ebx
mov dword [esp], 0
add eax, 1
mov dword [esp + 4], 0x40330000
mov edi, eax
call method.QStyleHelper.dpiScaled_double__QStyleOption_const_
mov edx, dword [ebx + 0x14]
fstp qword [ebp - 0x60]
cvttsd2si ecx, qword [ebp - 0x60]
lea eax, [edx + 2]
mov dword [ebp - 0x6c], edx
mov edx, dword [ebx + 0x10]
mov dword [ebp - 0x34], eax
add eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], edx
add edx, 2
sub edi, ecx
mov dword [ebp - 0x38], edx
lea ecx, [edx + edi - 4]
lea edx, [ecx - 1]
mov dword [ebp - 0x30], edx
lea edx, [eax - 1]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebx]
test edx, edx
jle 0x664e6630
cmp dword [ebx + 4], 0xf0004
jne 0x664e6630
cmp byte [ebx + 0x38], 0
jne 0x664e6630
mov edi, dword [ebp - 0x68]
lea edx, [edi + 4]
mov dword [ebp - 0x38], edx
test byte [ebx + 8], 0x24
je 0x664e6630
lea edx, [edi + 5]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x2c], eax
add edx, 3
mov dword [ebp - 0x34], edx
lea esi, [esi]
lea eax, [ebp - 0x38]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x50]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x48]
jmp 0x664e61e4
mov eax, dword [ebp - 0x50]
test eax, eax
jne case.0x664e6542.0
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], eax
test dword [ebp - 0x70], 0x4000
je 0x664e6dfb
mov eax, dword [ebp - 0x58]
add dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x664e6b1c
cmp edx, 0x10
je case.0x664e6542.0
test dword [ebp - 0x70], 0x8000
je 0x664e6b2f
mov ecx, dword [ebp - 0x58]
add dword [ebp - 0x6c], ecx
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x664e6b87
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x70], eax
test eax, 0x20000
je 0x664e6d8f
mov eax, dword [ebp - 0x58]
add dword [ebp - 0x6c], eax
cmp edx, 0x40
je case.0x664e6542.0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x50], eax
test dword [ebp - 0x50], 0x2000
jne 0x664e6775
cmp edx, 8
je case.0x664e6542.0
mov eax, dword [ebx + 0x18]
lea edx, [edi + 3]
sub eax, 3
sub eax, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x68]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
lea eax, [eax + edi - 1]
mov dword [ebp - 0x30], eax
lea eax, [edx + edi - 1]
mov dword [ebp - 0x2c], eax
jmp case.0x664e6542.0
test byte [ebx + 0x45], 0x20
je case.0x664e6542.0
mov eax, dword [ebx + 0x10]
lea edx, [edi + 3]
add eax, 5
jmp 0x664e66f2
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x664e6b04
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], eax
test dword [ebp - 0x70], 0x4000
je 0x664e6678
mov ecx, dword [ebp - 0x58]
add dword [ebp - 0x6c], ecx
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x664e6b2f
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x70], eax
jmp 0x664e668c
mov dword [ebp - 0x6c], 0
test byte [ebx + 0x45], 0x20
je case.0x664e6542.0
mov edx, dword [ebp - 0x58]
add dword [ebp - 0x6c], edx
jmp 0x664e66e6
mov dword [ebp - 0x6c], 0
jmp 0x664e669f
mov dword [ebp - 0x6c], 0
jmp 0x664e674e
cmp edx, 0x80
je 0x664e6d68
cmp edx, 0x100
jne 0x664e6838
mov edx, dword [ebx + 0x44]
test dh, 0x30
je case.0x664e6542.0
mov dword [ebp - 0x34], edi
mov edi, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x30], edi
mov edi, dword [ebp - 0x6c]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x2c], edi
test dh, 0x20
je 0x664e67e6
mov ecx, 3
lea edi, [eax - 3]
add dword [ebp - 0x38], edi
sub ecx, eax
add dword [ebp - 0x30], ecx
test dh, 0x40
je 0x664e67f5
mov ecx, 3
sub ecx, eax
add dword [ebp - 0x30], ecx
test dh, 0x80
je 0x664e6804
mov ecx, 3
sub ecx, eax
add dword [ebp - 0x30], ecx
test edx, 0x20000
je 0x664e6816
mov ecx, 3
sub ecx, eax
add dword [ebp - 0x30], ecx
and edx, 0x10000
je case.0x664e6542.0
mov edx, 3
sub edx, eax
add dword [ebp - 0x30], edx
jmp case.0x664e6542.0
cmp edx, 0x40
jne case.0x664e6542.0
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je case.0x664e6542.0
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x50], eax
test eax, 0x20000
je case.0x664e6542.0
mov dword [ebp - 0x6c], 0
mov ecx, dword [ebp - 0x58]
add dword [ebp - 0x6c], ecx
jmp 0x664e66d0
cmp edx, 8
jne case.0x664e6542.0
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x14]
sub eax, edi
cmp dword [ebx + 0x38], 2
je 0x664e6dd7
mov edx, dword [ebp - 0x50]
lea ecx, [edi - 1]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
sub edx, ecx
test edi, edi
mov dword [ebp - 0x2c], eax
mov ecx, edx
mov edx, dword [ebp - 0x50]
cmovne edx, ecx
sub edx, 1
mov dword [ebp - 0x30], edx
jmp case.0x664e6542.0
mov eax, dword [ebp - 0x50]
mov dword [esi + 0xc], edi
mov dword [esi], eax
mov eax, dword [ebp - 0x68]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x6c]
mov dword [esi + 8], eax
jmp 0x664e621f
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x50], ecx
mov eax, ecx
mov ecx, dword [ebx + 0x1c]
cdq
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], ecx
sar ecx, 0x1f
add eax, dword [ebp - 0x58]
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x54], ecx
adc edx, dword [ebp - 0x54]
mov dword [ebp - 0x4c], edx
shr edx, 0x1f
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x50], eax
mov eax, edx
xor edx, edx
add eax, dword [ebp - 0x50]
adc edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ecx
sar ecx, 0x1f
shrd eax, edx, 1
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 8], ebx
cdq
add eax, dword [ebp - 0x50]
adc edx, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
mov ecx, edx
mov dword [esp], 0
shr ecx, 0x1f
mov dword [ebp - 0x50], ecx
add eax, dword [ebp - 0x50]
adc edx, dword [ebp - 0x4c]
shrd eax, edx, 1
mov dword [ebp - 0x50], eax
mov dword [esp + 4], 0x401c0000
call method.QStyleHelper.dpiScaled_double__QStyleOption_const_
cmp dword [ebx + 0x38], 1
fstp qword [ebp - 0x60]
cvttsd2si eax, qword [ebp - 0x60]
je 0x664e6c08
mov ecx, dword [ebp - 0x38]
lea eax, [eax + ecx - 1]
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0x44]
mov ebx, dword [ebp - 0x50]
test al, 1
lea edx, [ebx + edi]
mov ebx, edx
mov edx, dword [ebp - 0x34]
cmove ebx, dword [ebp - 0x50]
mov dword [ebp - 0x68], edx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x6c], edx
mov edx, ebx
sub edx, edi
test al, 2
cmove edx, ebx
mov dword [ebp - 0x50], edx
mov edx, dword [ebp - 0x60]
mov ebx, dword [ebp - 0x6c]
sub ebx, dword [ebp - 0x68]
mov edi, dword [ebp - 0x58]
sub edx, ecx
mov ecx, dword [ebp - 0x50]
mov eax, edx
shr eax, 0x1f
add eax, edx
sar eax, 1
sub ecx, eax
mov eax, ebx
shr eax, 0x1f
add edx, ecx
mov dword [ebp - 0x38], ecx
add eax, ebx
mov dword [ebp - 0x30], edx
sar eax, 1
sub edi, eax
lea eax, [ebx + edi]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], eax
jmp case.0x664e60dc.6
lea eax, [ebx + 0x3c]
mov dword [ebp - 0x68], edx
lea ecx, [ebp - 0x28]
mov dword [esp + 4], eax
lea eax, [ebx + 0x20]
mov dword [esp], eax
call dword [0x66a218d8]
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
sub edi, dword [ebp - 0x28]
sub esp, 8
mov ecx, dword [ebp - 0x58]
lea edx, [edi + 3]
add eax, 3
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x6c], eax
call method.QStyle.proxy___const
mov edx, dword [ebp - 0x60]
mov ecx, eax
mov eax, dword [eax]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp], 0x25
call dword [eax + 0x70]
mov ecx, dword [ebp - 0x58]
sub esp, 0xc
mov edi, eax
mov dword [ebp - 0x70], eax
call method.QStyle.proxy___const
mov edx, dword [ebp - 0x60]
mov ecx, eax
mov eax, dword [eax]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp], 0x26
call dword [eax + 0x70]
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x30]
sub esp, 0xc
lea ecx, [edi + edx + 5]
mov dword [ebp - 0x34], 0
and eax, 1
mov dword [ebp - 0x30], 0xffffffff
cmove ecx, edx
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0x18]
sub eax, dword [ebx + 0x10]
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x2c], 0xffffffff
add eax, 1
cmp eax, ecx
jle 0x664e6ad0
mov edi, dword [ebx + 0x40]
and edi, 0x1f
cmp edi, 2
je 0x664e6deb
cmp edi, 4
jne 0x664e6ad0
sub eax, ecx
sar eax, 1
lea ecx, [eax - 1]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], ecx
lea esi, [esi]
cmp edx, 1
je 0x664e6d0d
cmp edx, 2
je 0x664e6d9d
lea eax, [ebp - 0x38]
mov dword [esp + 0xc], eax
lea eax, [ebx + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [esp], esi
mov dword [esp + 4], eax
call method.QStyle.visualRect_Qt::LayoutDirection__QRect_const__QRect_const_
jmp 0x664e621f
mov eax, dword [ebp - 0x60]
test eax, eax
je case.0x664e6542.0
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], eax
test dword [ebp - 0x70], 0x8000
je 0x664e6e09
mov ecx, dword [ebp - 0x58]
add dword [ebp - 0x6c], ecx
cmp edx, 4
jne 0x664e669f
jmp case.0x664e6542.0
mov edx, dword [ebx + 0x10]
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x38], edx
mov edx, dword [ebx + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x2c], eax
jmp case.0x664e6542.0
cmp dword [ebx + 0x38], 2
je 0x664e6ba9
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], eax
lea eax, [edx + eax - 1]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x68]
sub eax, 1
mov dword [ebp - 0x2c], eax
jmp case.0x664e6542.0
cmp edx, 0x20
je case.0x664e6542.0
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x50], eax
test eax, 0x20000
je 0x664e66c1
jmp 0x664e6864
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], 0xffffffff
jmp 0x664e621f
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x28
call dword [eax + 0x70]
mov edx, eax
mov eax, dword [ebx + 0x3c]
sub esp, 0xc
mov eax, dword [eax + 4]
test eax, eax
jne 0x664e6d4e
cmp eax, edx
cmovl eax, edx
add eax, 6
jmp 0x664e6293
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
lea eax, [eax + edx - 1]
mov dword [ebp - 0x68], edx
mov edx, dword [ebx + 0x44]
mov ebx, dword [ebp - 0x58]
mov dword [ebp - 0x6c], eax
test dl, 1
lea eax, [ebx + edi]
cmove eax, ebx
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x60], ebx
mov ebx, eax
sub eax, edi
and edx, 2
cmove eax, ebx
mov dword [ebp - 0x58], eax
jmp 0x664e69a5
call method.QStyle.proxy___const
mov ecx, eax
mov eax, dword [eax]
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], 0xb
call dword [eax + 0x70]
mov ecx, dword [ebp - 0x58]
add eax, dword [ebp - 0x34]
sub esp, 0xc
sub eax, 1
mov dword [ebp - 0x2c], eax
call method.QStyle.proxy___const
mov ecx, eax
mov eax, dword [eax]
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], 0xd
call dword [eax + 0x70]
add eax, dword [ebp - 0x38]
mov ecx, dword [ebx + 0x1c]
sub eax, 1
sub esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x50], ecx
sar ecx, 0x1f
mov dword [ebp - 0x4c], ecx
cdq
add eax, dword [ebp - 0x50]
adc edx, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
mov ecx, edx
shr ecx, 0x1f
mov dword [ebp - 0x50], ecx
add eax, dword [ebp - 0x50]
adc edx, dword [ebp - 0x4c]
shrd eax, edx, 1
sar edx, 1
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x34]
mov dword [ebp - 0x50], eax
add edx, 1
mov ecx, dword [ebp - 0x50]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [ebx + 0x44]
sar edx, 1
sub ecx, edx
test al, 1
lea edx, [ecx + edi]
cmovne ecx, edx
mov edx, ecx
sub edx, edi
test al, 2
cmovne ecx, edx
mov eax, ecx
sub eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x2c], eax
jmp case.0x664e60dc.6
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x70]
xor edx, edx
add edi, eax
mov dword [ebp - 0x50], edi
mov edi, dword [ebp - 0x58]
lea ecx, [edi - 1]
cmp edi, dword [ebp - 0x6c]
jge 0x664e6d35
mov edx, dword [ebp - 0x6c]
sub edx, edi
mov edi, edx
shr edi, 0x1f
add edx, edi
sar edx, 1
add ecx, edx
add eax, 1
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], eax
jmp 0x664e6ae2
xor edx, edx
mov dword [ebp - 0x58], edx
lea ecx, [ebx + 0x20]
call dword [0x66a218f0]
mov edx, dword [ebp - 0x58]
jmp 0x664e6bfb
mov eax, dword [ebx + 0x44]
mov ecx, 0
test eax, 0x10000
cmovne ecx, dword [ebp - 0x58]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x664e6665
jmp 0x664e673b
cmp edx, 0x20
jne 0x664e66c1
jmp case.0x664e6542.0
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x34], 1
mov edi, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x60]
lea edx, [edx + eax - 1]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edi
test ecx, ecx
je 0x664e6ae2
mov ecx, dword [ebp - 0x70]
add ecx, 5
add eax, ecx
add edx, ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], edx
jmp 0x664e6ae2
sub ecx, 1
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
jmp case.0x664e6542.0
sub eax, ecx
lea ecx, [eax - 1]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], ecx
jmp 0x664e6ad0
cmp edx, 2
jne 0x664e6678
jmp case.0x664e6542.0
cmp edx, 0x10
jne 0x664e6b2f
jmp case.0x664e6542.0