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

Disassembly:
sub esp, 0xc0
push ebp
mov ebp, dword [esp + 0xcc]
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0xd0]
mov eax, dword [esi + 4]
mov dword [esp + 0x10], eax
test edi, edi
je 0x6509c5c3
cmp dword [edi], 1
jl 0x6509c5c3
cmp dword [edi + 4], 0xf0001
jne 0x6509c5c3
mov eax, dword [edi + 8]
push ebx
mov bl, byte [edi + 8]
shr eax, 2
and bl, 1
mov bh, al
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x38]
and bh, 1
mov dword [esp + 0x10], eax
call sym.Qt5Widgets.dll_public:_enum_Qt::ShortcutContext___thiscall_QShortcut::context_void_
push dword [esp + 0xdc]
lea ecx, [esp + 0x38]
push 2
mov edx, dword [eax]
push edi
push 3
push ecx
mov ecx, eax
call dword [edx + 0x68]
test byte [edi + 0x30], 1
je 0x6509c53d
mov ecx, esi
call sym.Qt5Widgets.dll_public:_enum_Qt::ShortcutContext___thiscall_QShortcut::context_void_
push dword [esp + 0xdc]
lea ecx, [esp + 0x20]
push 1
mov edx, dword [eax]
push edi
push 3
push ecx
mov ecx, eax
call dword [edx + 0x68]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x24]
jg 0x6509c53d
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x28]
jg 0x6509c53d
movzx eax, bl
lea ecx, [esp + 0x1c]
push ebp
xor eax, 1
cmp dword [esp + 0x14], 1
push ecx
mov ecx, esi
jne 0x6509c45e
add eax, 0x12
push eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QPixmapStyle::drawCachedPixmap_enum_QPixmapStyle::ControlDescriptor__class_QRect_const___class_QPainter__const
test bl, bl
je 0x6509c457
movzx esi, bh
add esi, 0x14
jmp 0x6509c478
mov esi, 0x16
jmp 0x6509c478
add eax, 0x17
push eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QPixmapStyle::drawCachedPixmap_enum_QPixmapStyle::ControlDescriptor__class_QRect_const___class_QPainter__const
test bl, bl
je 0x6509c473
movzx esi, bh
add esi, 0x19
jmp 0x6509c478
mov esi, 0x1b
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x70]
mov dword [esp + 0x30], esi
push eax
add ecx, 0x78
call fcn.6509ddb0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
call dword [0x652b219c]
mov ecx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x70]
push eax
push esi
lea eax, [esp + 0x50]
push eax
call fcn.6509c920
lea ecx, [esp + 0x44]
call dword [0x652b33bc]
test al, al
jne 0x6509c525
cmp dword [esp + 0x10], 1
lea ecx, [esp + 0x34]
jne 0x6509c4de
lea eax, [esp + 0x2c]
push eax
call dword [0x652b20a4]
mov eax, dword [eax]
jmp 0x6509c4ec
lea eax, [esp + 0x64]
push eax
call dword [0x652b20a4]
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x90]
lea eax, [esp + 0x1c]
push eax
call dword [0x652b2330]
mov esi, eax
lea ecx, [esp + 0xb0]
lea eax, [esp + 0x1c]
push eax
call dword [0x652b2330]
push esi
lea ecx, [esp + 0x48]
push ecx
push eax
mov ecx, ebp
call dword [0x652b3490]
mov esi, dword [0x652b3a58]
lea ecx, [esp + 0x44]
call esi
lea ecx, [esp + 0x6c]
call dword [0x652b2410]
jmp 0x6509c543
mov esi, dword [0x652b3a58]
test byte [edi + 0x30], 2
je 0x6509c5c2
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x3c]
jg 0x6509c5c2
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x40]
jg 0x6509c5c2
cmp dword [esp + 0x10], 1
jne 0x6509c57b
test bl, bl
je 0x6509c574
movzx eax, bh
lea eax, [eax*2 + 0xb]
jmp 0x6509c594
mov eax, 0xc
jmp 0x6509c594
test bl, bl
je 0x6509c58f
mov eax, dword [esp + 0x18]
and eax, 1
lea eax, [eax*2 + 0xe]
jmp 0x6509c594
mov eax, 0xf
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [ecx + 0x7c]
call fcn.6509de70
push eax
lea eax, [esp + 0x38]
mov ecx, ebp
push eax
call dword [0x652b3338]
lea ecx, [esp + 0x44]
call esi
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xc0
ret 0xc