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

Disassembly:
sub esp, 0xe4
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x144]
mov ebp, dword [edi + 4]
call sym.Qt5Widgets.dll_public:_class_QStyle____thiscall_QWidget::style_void_const
push 0
push dword [edi + 0x144]
mov ecx, eax
mov edx, dword [eax]
push 0
push 0x61
call dword [edx + 0x74]
test eax, eax
mov eax, dword [edi + 0x150]
setne cl
mov byte [esp + 0x23], cl
cmp eax, 1
je 0x65166d4e
cmp eax, 2
jne 0x65166d0a
test cl, cl
je 0x65166d4a
test eax, eax
je 0x65166d12
test cl, cl
je 0x65166d4e
mov ecx, dword [edi + 0x144]
call sym.Qt5Widgets.dll_public:_class_QOpenGLContext____thiscall_QOpenGLWidget::context_void_const
mov ecx, dword [edi + 0x144]
mov esi, eax
call sym.Qt5Widgets.dll_public:_class_QLineEdit____thiscall_QComboBox::lineEdit_void_const
cmp esi, eax
jge 0x65166d4e
mov ecx, dword [edi + 0x144]
lea edx, [esp + 0x4c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, eax
call dword [0x652b82dc]
test al, al
jne 0x65166d4e
mov bh, 1
jmp 0x65166d50
xor bh, bh
mov ecx, dword [edi + 0x148]
mov byte [esp + 0x34], bh
call sym.Qt5Widgets.dll_public:_class_QStyle____thiscall_QWidget::style_void_const
push 0
push dword [edi + 0x148]
mov ecx, eax
mov edx, dword [eax]
push 0
push 0x61
call dword [edx + 0x74]
test eax, eax
mov eax, dword [edi + 0x14c]
setne cl
mov byte [esp + 0x2b], cl
cmp eax, 1
je 0x65166dd3
cmp eax, 2
jne 0x65166d8f
test cl, cl
je 0x65166dcf
test eax, eax
je 0x65166d97
test cl, cl
je 0x65166dd3
mov ecx, dword [edi + 0x148]
call sym.Qt5Widgets.dll_public:_class_QOpenGLContext____thiscall_QOpenGLWidget::context_void_const
mov ecx, dword [edi + 0x148]
mov esi, eax
call sym.Qt5Widgets.dll_public:_class_QLineEdit____thiscall_QComboBox::lineEdit_void_const
cmp esi, eax
jge 0x65166dd3
mov ecx, dword [edi + 0x148]
lea edx, [esp + 0x4c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, eax
call dword [0x652b82dc]
test al, al
jne 0x65166dd3
mov bl, 1
jmp 0x65166dd5
xor bl, bl
push 0
push 0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x40], bl
call sym.Qt5Widgets.dll_public:_void___thiscall_QStyleOption::constructor_int__int_
push ebp
lea ecx, [esp + 0x98]
call sym.Qt5Widgets.dll_public:_void___thiscall_QStyleOption::init_class_QWidget_const__
mov ecx, dword [edi + 0x144]
call sym.Qt5Widgets.dll_public:_class_QStyle____thiscall_QWidget::style_void_const
push dword [edi + 0x144]
lea ecx, [esp + 0x98]
push ecx
mov edx, dword [eax]
mov ecx, eax
push 0x59
call dword [edx + 0x6c]
mov ecx, dword [edi + 0x148]
mov esi, eax
mov dword [esp + 0x1c], esi
call sym.Qt5Widgets.dll_public:_class_QStyle____thiscall_QWidget::style_void_const
push dword [edi + 0x148]
lea ecx, [esp + 0x98]
push ecx
mov edx, dword [eax]
mov ecx, eax
push 0x59
call dword [edx + 0x6c]
mov ecx, dword [edi + 0x144]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x4c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x30]
mov ecx, eax
call dword [0x652b8528]
mov ecx, dword [edi + 0x148]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x4c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x30]
mov ecx, eax
call dword [0x652b852c]
push dword [esp + 0x18]
lea ecx, [esp + 0xd8]
mov dword [esp + 0x28], eax
push eax
call dword [0x652b854c]
push dword [esp + 0x18]
lea ecx, [esp + 0xe0]
push dword [esp + 0x28]
call dword [0x652b8350]
mov ecx, dword [ebp + 0x14]
add ecx, 0x10
call dword [0x652b84e4]
mov ecx, dword [ebp + 0x14]
push eax
add ecx, 0x10
call dword [0x652b84e8]
push eax
push 0
push 0
lea ecx, [esp + 0xf4]
call dword [0x652b8500]
cmp dword [edi + 0x168], 0
setne byte [esp + 0x13]
test bh, bh
je 0x65166ee8
test esi, esi
jne 0x65166ee8
mov ecx, dword [esp + 0x18]
jmp 0x65166eea
xor ecx, ecx
test bl, bl
je 0x65166efb
cmp dword [esp + 0x14], 0
jne 0x65166efb
mov eax, dword [esp + 0x24]
jmp 0x65166efd
xor eax, eax
push ecx
push eax
lea ecx, [esp + 0x34]
call dword [0x652b854c]
lea ecx, [esp + 0x74]
call dword [0x652b8504]
lea ecx, [esp + 0xc4]
call dword [0x652b8504]
cmp dword [edi + 0x124], 0
je 0x65167050
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_class_QStyle____thiscall_QWidget::style_void_const
push 0
push ebp
lea ecx, [esp + 0x9c]
mov edx, dword [eax]
push ecx
push 0x11
mov ecx, eax
call dword [edx + 0x74]
test eax, eax
je 0x65167050
movdqu xmm0, xmmword [esp + 0xe4]
mov ecx, ebp
movdqu xmmword [esp + 0x74], xmm0
call sym.Qt5Widgets.dll_public:_class_QStyle____thiscall_QWidget::style_void_const
push ebp
lea ecx, [esp + 0x98]
push ecx
mov edx, dword [eax]
mov ecx, eax
push 0x58
call dword [edx + 0x6c]
mov ecx, eax
test bh, bh
je 0x65166f83
lea edx, [ecx + esi]
jmp 0x65166f85
xor edx, edx
test bl, bl
je 0x65166f91
mov eax, dword [esp + 0x14]
add eax, ecx
jmp 0x65166f93
xor eax, eax
push edx
push eax
lea ecx, [esp + 0x54]
call dword [0x652b854c]
movdqu xmm0, xmmword [esp + 0xe4]
lea ecx, [esp + 0x4c]
movdqu xmmword [esp + 0x3c], xmm0
call dword [0x652b8544]
lea ecx, [esp + 0x2c]
mov esi, eax
call dword [0x652b8544]
add esi, eax
lea ecx, [esp + 0x4c]
neg esi
push esi
call dword [0x652b8548]
lea ecx, [esp + 0x30]
mov esi, eax
call dword [0x652b8548]
add esi, eax
lea ecx, [esp + 0x40]
neg esi
push esi
push 0
push 0
call dword [0x652b826c]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0xa8]
lea eax, [esp + 0x70]
push eax
call sym.Qt5Widgets.dll_public:_static_class_QRect___cdecl_QStyle::visualRect_enum_Qt::LayoutDirection__class_QRect_const___class_QRect_const__
add esp, 0x10
mov ecx, ebp
push eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QFrame::setFrameRect_class_QRect_const__
lea eax, [esp + 0x64]
mov ecx, ebp
push eax
call sym.Qt5Widgets.dll_public:_class_QRect___thiscall_QWidget::contentsRect_void_
push eax
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0xa8]
lea eax, [esp + 0x90]
push eax
call sym.Qt5Widgets.dll_public:_static_class_QRect___cdecl_QStyle::visualRect_enum_Qt::LayoutDirection__class_QRect_const___class_QRect_const__
mov esi, dword [esp + 0x2c]
add esp, 0x10
jmp 0x651670e2
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0xa8]
lea eax, [esp + 0x90]
push eax
call sym.Qt5Widgets.dll_public:_static_class_QRect___cdecl_QStyle::visualRect_enum_Qt::LayoutDirection__class_QRect_const___class_QRect_const__
add esp, 0x10
mov ecx, ebp
push eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QFrame::setFrameRect_class_QRect_const__
lea eax, [esp + 0x84]
mov ecx, ebp
push eax
call sym.Qt5Widgets.dll_public:_class_QRect___thiscall_QWidget::contentsRect_void_
lea ecx, [esp + 0x74]
movdqu xmm0, xmmword [eax]
lea eax, [esp + 0x64]
push eax
movdqu xmmword [esp + 0x78], xmm0
call dword [0x652b7f48]
mov ecx, dword [eax + 4]
sub ecx, dword [esp + 0x30]
mov eax, dword [eax]
sub eax, dword [esp + 0x2c]
push ecx
push eax
lea ecx, [esp + 0x54]
call dword [0x652b854c]
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x7c]
call dword [0x652b84f4]
push eax
lea ecx, [esp + 0x8c]
call dword [0x652b8154]
movdqu xmm0, xmmword [eax]
xor eax, eax
lea ecx, [esp + 0x3c]
test bh, bh
movdqu xmmword [esp + 0xc4], xmm0
cmovne eax, dword [esp + 0x18]
push eax
xor eax, eax
test bl, bl
cmovne eax, dword [esp + 0x28]
push eax
call dword [0x652b854c]
cmp byte [esp + 0x13], 0
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
je 0x6516714a
test bl, bl
je 0x6516712c
cmp dword [esp + 0x14], 0
je 0x65167134
test bh, bh
je 0x6516714a
test esi, esi
jne 0x6516714a
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x30], eax
push 1
push 1
lea ecx, [esp + 0x44]
call dword [0x652b854c]
mov esi, eax
lea ecx, [esp + 0x74]
lea eax, [esp + 0x64]
push eax
call dword [0x652b7f48]
mov ecx, dword [eax + 4]
add ecx, dword [esi + 4]
push ecx
mov ecx, dword [eax]
add ecx, dword [esi]
push ecx
lea ecx, [esp + 0x54]
call dword [0x652b854c]
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x5c]
sub eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x30]
push eax
call dword [0x652b854c]
mov esi, dword [esp + 0x1c]
test bl, bl
je 0x65167208
test bh, bh
je 0x65167208
cmp byte [esp + 0x13], 0
jne 0x65167208
test esi, esi
jne 0x65167208
cmp dword [esp + 0x14], esi
jne 0x65167208
lea eax, [esp + 0xdc]
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x8c]
call dword [0x652b82d4]
push eax
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0xa8]
lea eax, [esp + 0x48]
push eax
call sym.Qt5Widgets.dll_public:_static_class_QRect___cdecl_QStyle::visualRect_enum_Qt::LayoutDirection__class_QRect_const___class_QRect_const__
add esp, 0x10
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
movdqu xmm0, xmmword [eax]
movdqu xmmword [edi + 0x16c], xmm0
jmp 0x65167439
lea ecx, [esp + 0x84]
call dword [0x652b8504]
cmp dword [esp + 0x14], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
movdqu xmm0, xmmword [eax]
movdqu xmmword [edi + 0x16c], xmm0
jle 0x6516723c
test bl, bl
jne 0x6516724c
test esi, esi
jle 0x65167439
test bh, bh
je 0x651674f8
lea ecx, [esp + 0x1c]
call dword [0x652b8640]
mov ecx, dword [0x652b845c]
push 1
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
push ecx
push sym.Qt5Widgets.dll_struct_QMetaObject_const_QHeaderView::staticMetaObject
push eax
push ebp
call dword [0x652b81bc]
add esp, 0x14
lea ecx, [esp + 0x1c]
call dword [0x652b8638]
lea ecx, [esp + 0x14]
call dword [0x652b85d8]
or esi, 0xffffffff
cmp eax, 2
jg 0x65167410
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x40]
call fcn.6523ec90
lea ecx, [esp + 0x3c]
call dword [0x652b85cc]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x40], eax
call dword [0x652b85c8]
mov ecx, dword [esp + 0x40]
mov edx, 1
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
mov edi, edi
cmp ecx, eax
je 0x651673dc
mov ebx, dword [ecx]
test edx, edx
je 0x651673c8
mov eax, dword [ebx + 0x14]
mov ecx, ebx
movdqu xmm0, xmmword [eax + 0x10]
movdqu xmmword [esp + 0x64], xmm0
call sym.Qt5Widgets.dll_public:_enum_Qt::Orientation___thiscall_QHeaderView::orientation_void_
cmp eax, 2
jne 0x65167380
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 4]
shr eax, 0xf
test al, 1
je 0x65167380
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0xa8]
lea eax, [esp + 0x90]
push eax
call sym.Qt5Widgets.dll_public:_static_class_QRect___cdecl_QStyle::visualRect_enum_Qt::LayoutDirection__class_QRect_const___class_QRect_const__
add esp, 0x10
mov ecx, eax
call dword [0x652b8284]
lea ecx, [esp + 0xa4]
mov esi, eax
call dword [0x652b84e8]
cdq
sub eax, edx
sar eax, 1
cmp esi, eax
jg 0x65167380
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0xa8]
lea eax, [esp + 0x58]
push eax
call sym.Qt5Widgets.dll_public:_static_class_QRect___cdecl_QStyle::visualRect_enum_Qt::LayoutDirection__class_QRect_const___class_QRect_const__
add esp, 0x10
mov ecx, eax
call dword [0x652b827c]
mov dword [esp + 0x24], eax
jmp 0x651673be
mov ecx, ebx
call sym.Qt5Widgets.dll_public:_enum_Qt::Orientation___thiscall_QHeaderView::orientation_void_
cmp eax, 1
jne 0x651673be
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 4]
shr eax, 0xf
test al, 1
je 0x651673be
lea ecx, [esp + 0x64]
call dword [0x652b8280]
mov ecx, ebp
mov esi, eax
call sym.Qt5Widgets.dll_public:_int___thiscall_QFrame::frameWidth_void_const
cmp esi, eax
jg 0x651673be
lea ecx, [esp + 0x64]
call dword [0x652b8278]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
xor edx, edx
mov ecx, dword [esp + 0x40]
add ecx, 4
xor edx, 1
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], edx
jne 0x651672d0
mov ecx, dword [esp + 0x3c]
or esi, 0xffffffff
mov eax, dword [ecx]
test eax, eax
je 0x651673fe
cmp eax, esi
je 0x65167408
mov eax, esi
lock xadd dword [ecx], eax
setne al
test al, al
jne 0x65167408
mov ecx, dword [esp + 0x3c]
push ecx
call dword [0x652b85e8]
add esp, 4
mov bl, byte [esp + 0x38]
mov bh, byte [esp + 0x34]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
test ecx, ecx
je 0x6516742f
cmp ecx, 0xffffffff
je 0x65167439
lock xadd dword [eax], esi
dec esi
setne al
test al, al
jne 0x65167439
mov eax, dword [esp + 0x14]
push eax
call dword [0x652b85e8]
add esp, 4
test bh, bh
je 0x651674f8
lea ecx, [esp + 0x74]
call dword [0x652b8278]
push eax
lea ecx, [esp + 0x60]
call dword [0x652b8548]
dec eax
lea ecx, [esp + 0x40]
push eax
call dword [0x652b854c]
push eax
lea ecx, [esp + 0x60]
call dword [0x652b8544]
push eax
lea ecx, [esp + 0x7c]
call dword [0x652b8284]
add eax, dword [esp + 0x2c]
lea ecx, [esp + 0x6c]
push eax
call dword [0x652b854c]
push eax
lea ecx, [esp + 0x54]
call dword [0x652b8154]
mov bh, byte [esp + 0x13]
test bh, bh
jne 0x651674bb
cmp byte [esp + 0x23], bh
je 0x651674bb
push 0
lea ecx, [esp + 0x30]
call dword [0x652b8548]
push eax
push 0
push 0
lea ecx, [esp + 0x5c]
call dword [0x652b826c]
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0xa8]
lea eax, [esp + 0x90]
push eax
call sym.Qt5Widgets.dll_public:_static_class_QRect___cdecl_QStyle::visualRect_enum_Qt::LayoutDirection__class_QRect_const___class_QRect_const__
mov ecx, dword [edi + 0x13c]
add esp, 0x10
push eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::setGeometry_class_QRect_const__
mov ecx, dword [edi + 0x13c]
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::raise_void_
jmp 0x651674fc
mov bh, byte [esp + 0x13]
test bl, bl
je 0x651675b5
lea ecx, [esp + 0x5c]
call dword [0x652b8544]
dec eax
lea ecx, [esp + 0x74]
push eax
call dword [0x652b827c]
push eax
lea ecx, [esp + 0x44]
call dword [0x652b854c]
push eax
lea ecx, [esp + 0x78]
call dword [0x652b8280]
add eax, dword [esp + 0x1c]
lea ecx, [esp + 0x60]
push eax
call dword [0x652b8548]
push eax
lea ecx, [esp + 0x70]
call dword [0x652b854c]
push eax
lea ecx, [esp + 0x54]
call dword [0x652b8154]
test bh, bh
jne 0x6516757a
cmp byte [esp + 0x2b], bh
je 0x6516757a
lea ecx, [esp + 0x2c]
call dword [0x652b8544]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x5c]
call dword [0x652b826c]
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0xa8]
lea eax, [esp + 0x90]
push eax
call sym.Qt5Widgets.dll_public:_static_class_QRect___cdecl_QStyle::visualRect_enum_Qt::LayoutDirection__class_QRect_const___class_QRect_const__
mov ecx, dword [edi + 0x140]
add esp, 0x10
push eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::setGeometry_class_QRect_const__
mov ecx, dword [edi + 0x140]
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::raise_void_
cmp dword [edi + 0x168], 0
je 0x6516760d
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x78]
call dword [0x652b7f48]
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x6c]
call dword [0x652b8154]
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0xa8]
lea eax, [esp + 0x90]
push eax
call sym.Qt5Widgets.dll_public:_static_class_QRect___cdecl_QStyle::visualRect_enum_Qt::LayoutDirection__class_QRect_const___class_QRect_const__
mov ecx, dword [edi + 0x168]
add esp, 0x10
push eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::setGeometry_class_QRect_const__
mov ecx, dword [edi + 0x13c]
push dword [esp + 0x34]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [edi + 0x140]
push dword [esp + 0x38]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_enum_Qt::LayoutDirection___thiscall_QWidget::layoutDirection_void_
cmp eax, 1
lea ecx, [esp + 0xc4]
mov eax, dword [edi + 0x188]
jne 0x6516765e
neg eax
push eax
mov eax, dword [edi + 0x17c]
neg eax
push eax
push dword [edi + 0x180]
push dword [edi + 0x184]
jmp 0x65167676
neg eax
push eax
mov eax, dword [edi + 0x184]
neg eax
push eax
push dword [edi + 0x180]
push dword [edi + 0x17c]
call dword [0x652b826c]
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0xa8]
lea eax, [esp + 0x90]
push eax
call sym.Qt5Widgets.dll_public:_static_class_QRect___cdecl_QStyle::visualRect_enum_Qt::LayoutDirection__class_QRect_const___class_QRect_const__
mov ecx, dword [edi + 0x164]
add esp, 0x10
push eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::setGeometry_class_QRect_const__
lea ecx, [esp + 0x94]
call sym.Qt5Widgets.dll_public:_void___thiscall_QStyleOption::destructor_void_
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret