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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, ecx
push esi
push edi
mov dword [esp + 0x38], eax
test byte [eax + 0x10c], 1
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
je 0x6512dbff
mov edx, dword [eax + 0xf0]
lea edi, [eax + 0x114]
mov ecx, edi
mov dword [esp + 0x7c], edi
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 8]
push eax
call fcn.65129d10
mov eax, dword [edi]
mov ecx, edi
push dword [eax + 4]
call fcn.65129d10
mov esi, dword [edi]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x6512d73d
mov eax, dword [esi + 0xc]
shl ecx, 4
add ecx, eax
add ecx, esi
lea edx, [eax + esi]
cmp ecx, edx
je 0x6512d73d
movaps xmm0, xmmword [0x652b4bd0]
sub ecx, 0x10
movups xmmword [ecx], xmm0
cmp ecx, edx
jne 0x6512d733
mov ecx, dword [esp + 0x14]
call sym.Qt5Widgets.dll_public:_class_QStyle____thiscall_QWidget::style_void_const
push dword [esp + 0x14]
mov esi, eax
push 0
push 0x22
mov dword [esp + 0x84], esi
mov ecx, dword [esi]
mov edx, dword [ecx + 0x6c]
mov ecx, esi
call edx
xor ecx, ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 0x14]
add ecx, 0x28
mov dword [esp + 0x44], 0xffffffff
push ecx
lea ecx, [esp + 0x60]
call dword [0x652b3c9c]
push dword [esp + 0x14]
mov eax, dword [esi]
mov ecx, esi
push 0
push 0x24
mov eax, dword [eax + 0x6c]
call eax
mov ecx, dword [esi]
push dword [esp + 0x14]
mov dword [esp + 0x5c], eax
push 0
mov edx, dword [ecx + 0x6c]
mov ecx, esi
push 0x23
call edx
mov ecx, dword [esi]
push dword [esp + 0x14]
mov dword [esp + 0x58], eax
push 0
mov edx, dword [ecx + 0x6c]
mov ecx, esi
push 0x41
call edx
mov edx, dword [esp + 0x38]
xor esi, esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x1c], esi
mov edx, dword [edx + 0xf0]
mov ecx, dword [edx + 0xc]
sub ecx, dword [edx + 8]
test ecx, ecx
jle 0x6512da18
mov eax, dword [edx + 8]
add eax, esi
mov eax, dword [edx + eax*4 + 0x10]
mov ecx, eax
mov dword [esp + 0x28], eax
call sym.Qt5Widgets.dll_public:_bool___thiscall_QAction::isVisible_void_const
test al, al
je 0x6512d9fb
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
call sym.Qt5Widgets.dll_public:_bool___thiscall_QAction::isSeparator_void_const
test al, al
je 0x6512d84f
mov ecx, dword [esp + 0x78]
push 0
push dword [esp + 0x18]
mov eax, dword [ecx]
push 0
push 0x2f
mov eax, dword [eax + 0x74]
call eax
test eax, eax
je 0x6512d9fb
mov dword [esp + 0x44], esi
jmp 0x6512d9fb
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x18]
push eax
call sym.Qt5Widgets.dll_public:_class_QString___thiscall_QAction::text_void_
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x20]
push eax
call sym.Qt5Widgets.dll_public:_class_QIcon___thiscall_QAction::icon_void_
lea ecx, [esp + 0x20]
call dword [0x652b392c]
test al, al
jne 0x6512d8a7
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x8c]
push eax
call dword [0x652b216c]
jmp 0x6512d8d1
mov eax, dword [esp + 0x18]
cmp dword [eax + 4], 0
je 0x6512d8de
push 0
push 0
lea eax, [esp + 0x20]
push eax
push 0x800
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x70]
call dword [0x652b3378]
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x20]
call dword [0x652b3dd8]
lea ecx, [esp + 0x18]
call dword [0x652b2410]
lea ecx, [esp + 0xa8]
call sym.Qt5Widgets.dll_public:_void___thiscall_QStyleOptionMenuItem::constructor_void_
push dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xac]
push eax
call sym.Qt5Widgets.dll_protected:_void___thiscall_QMenuBar::initStyleOption_class_QStyleOptionMenuItem___class_QAction_const__const
mov ecx, dword [esp + 0x14]
call sym.Qt5Widgets.dll_public:_class_QStyle____thiscall_QWidget::style_void_const
push dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x70]
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0xb0]
push ecx
push 8
lea ecx, [esp + 0xa8]
push ecx
mov ecx, eax
call edx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
cmp edx, 1
jl 0x6512d9c8
cmp ecx, 1
jl 0x6512d9c8
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
add esi, edx
push dword [esp + 0x1c]
cmp eax, ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
cmovl eax, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x50], eax
lea eax, [edx - 1]
mov dword [esp + 0x6c], eax
lea eax, [ecx - 1]
mov ecx, edi
mov dword [esp + 0x70], eax
call fcn.6512cf60
mov edx, dword [esp + 0x30]
movups xmm0, xmmword [esp + 0x60]
cmp dword [esp + 0x44], 0xffffffff
movups xmmword [eax], xmm0
lea eax, [esi + edx]
cmovne eax, edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x30], eax
lea eax, [esi + edx]
mov esi, dword [esp + 0x1c]
cmovne edx, eax
mov dword [esp + 0x48], edx
lea ecx, [esp + 0x104]
call dword [0x652b2a2c]
lea ecx, [esp + 0xf8]
call dword [0x652b3dd8]
lea ecx, [esp + 0xf4]
call dword [0x652b2410]
lea ecx, [esp + 0xa8]
call sym.Qt5Widgets.dll_public:_void___thiscall_QStyleOption::destructor_void_
mov eax, dword [esp + 0x38]
inc esi
mov dword [esp + 0x1c], esi
mov edx, dword [eax + 0xf0]
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 8]
cmp esi, eax
jl 0x6512d7f0
mov esi, dword [esp + 0x14]
mov ecx, esi
call sym.Qt5Widgets.dll_public:_class_QStyle____thiscall_QWidget::style_void_const
push esi
push 0
push 0x21
mov ecx, dword [eax]
mov edx, dword [ecx + 0x6c]
mov ecx, eax
call edx
mov edx, dword [ebp + 0xc]
cmp edx, 0xffffffff
cmove edx, dword [esp + 0x58]
xor esi, esi
add edx, eax
mov dword [esp + 0x18], esi
add eax, dword [esp + 0x54]
add edx, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], edx
mov eax, dword [eax + 0xf0]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
test ecx, ecx
jle 0x6512dbf5
mov eax, dword [0x652b242c]
mov dword [esp + 0x20], esi
mov dword [esp + 0x54], eax
nop dword [eax]
mov eax, dword [edi]
mov eax, dword [eax]
cmp eax, 1
je 0x6512dac1
test eax, eax
je 0x6512dac1
mov eax, dword [edi]
mov ecx, dword [eax + 8]
and ecx, 0x7fffffff
jne 0x6512daac
push 2
push ecx
push 4
push 0x10
call dword [esp + 0x64]
add esp, 0x10
mov dword [edi], eax
jmp 0x6512dabd
push ecx
mov eax, esp
push ecx
mov ecx, edi
mov dword [eax], 0
call fcn.6501af40
mov edx, dword [esp + 0x28]
mov ecx, dword [edi]
mov edi, dword [ecx + 0xc]
add edi, dword [esp + 0x20]
add edi, ecx
mov eax, dword [edi]
mov ecx, dword [edi + 8]
dec eax
cmp ecx, eax
jne 0x6512dae3
mov eax, dword [edi + 4]
dec eax
cmp dword [edi + 0xc], eax
je 0x6512dbcb
mov eax, dword [edi + 4]
mov dword [esp + 0x24], eax
mov esi, eax
mov eax, dword [esp + 0x4c]
dec esi
add eax, esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x44]
cmp eax, 0xffffffff
je 0x6512db43
cmp esi, eax
jl 0x6512db43
mov esi, dword [esp + 0x58]
mov eax, edx
lea ecx, [esi + esi]
sub eax, ecx
sub eax, dword [esp + 0x48]
sub eax, dword [esp + 0x30]
sub eax, dword [esp + 0x34]
add eax, dword [ebp + 8]
cmp eax, dword [esp + 0x30]
jge 0x6512db3a
mov ecx, dword [esp + 0x1c]
mov edx, esi
add ecx, dword [esp + 0x4c]
mov dword [esp + 0x30], esi
mov dword [esp + 0x1c], ecx
mov ecx, eax
sub ecx, dword [edi]
add ecx, dword [edi + 8]
jmp 0x6512db49
sub ecx, dword [edi]
mov eax, edx
add ecx, edx
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edi], eax
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x24]
add eax, ecx
mov dword [edi + 4], ecx
mov dword [edi + 0xc], eax
mov eax, dword [edi + 8]
sub eax, dword [edi]
inc eax
add eax, dword [esp + 0x34]
add edx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], edx
mov eax, dword [eax + 0x14]
mov esi, dword [eax + 0x1c]
mov edx, dword [eax + 0x14]
sub esi, edx
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x10]
sub ecx, eax
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x6c], esi
call sym.Qt5Widgets.dll_public:_enum_Qt::LayoutDirection___thiscall_QWidget::layoutDirection_void_
push edi
lea ecx, [esp + 0x64]
push ecx
push eax
lea eax, [esp + 0xa4]
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 + 0x28]
add esp, 0x10
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
mov eax, dword [esp + 0x38]
inc esi
add dword [esp + 0x20], 0x10
mov edi, dword [esp + 0x7c]
mov edx, dword [esp + 0x28]
mov eax, dword [eax + 0xf0]
mov dword [esp + 0x18], esi
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
cmp esi, ecx
jl 0x6512da80
lea ecx, [esp + 0x5c]
call dword [0x652b35e4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8