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

Disassembly:
sub esp, 0x70
lea eax, [esp + 8]
push ebx
push eax
mov ebx, ecx
call fcn.650bd400
mov eax, dword [ebx + 0x128]
test eax, eax
je 0x650bce66
mov eax, dword [eax + 4]
mov al, byte [eax + 0x3c]
mov dword [esp + 0x14], eax
jmp 0x650bce79
mov ebx, dword [ebx + 0x124]
shr ebx, 3
and ebx, 0xffffff01
mov dword [esp + 0x14], ebx
call sym.Qt5Widgets.dll_public:_static_class_QWidget____cdecl_QApplication::focusWidget_void_
push eax
mov ecx, sym.Qt5Widgets.dll_struct_QMetaObject_const_QAbstractButton::staticMetaObject
mov dword [esp + 8], eax
call dword [0x652b23e8]
mov dword [esp + 0x20], eax
test eax, eax
je 0x650bd1b3
mov ecx, dword [esp + 0xc]
push esi
mov edx, dword [ecx + 0xc]
add edx, 4
lea esi, [ecx + edx*4]
mov edx, dword [ecx + 8]
lea ecx, [ecx + edx*4]
add ecx, 0x10
cmp ecx, esi
je 0x650bd1b2
nop dword [eax]
cmp dword [ecx], eax
je 0x650bced0
add ecx, 4
cmp ecx, esi
jne 0x650bcec0
jmp 0x650bd1b2
mov esi, dword [esp + 8]
push ebp
push edi
xor ebp, ebp
mov dword [esp + 0x1c], 0xffffffff
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x14], ebp
mov eax, dword [ecx + 0x1c]
sub eax, dword [ecx + 0x14]
inc eax
push eax
mov eax, dword [ecx + 0x18]
sub eax, dword [ecx + 0x10]
lea ecx, [esp + 0x64]
inc eax
push eax
push ebp
push ebp
call dword [0x652b21f8]
lea eax, [esp + 0x38]
mov dword [esp + 0x38], ebp
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x40], ebp
push eax
mov ecx, esi
call sym.Qt5Widgets.dll_public:_class_QPoint___thiscall_QWidget::mapToGlobal_class_QPoint_const__
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x68]
call dword [0x652b233c]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x54]
call dword [0x652b20a4]
call sym.Qt5Widgets.dll_bool___cdecl_qt_tab_all_widgets_void_
test al, al
mov edx, 1
mov ecx, 0xb
cmovne ecx, edx
xor edi, edi
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], edi
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
sub eax, edx
test eax, eax
jle 0x650bd1b0
mov ebx, dword [esp + 0x84]
mov eax, dword [esp + 0x18]
lea ecx, [edx + edi]
mov edi, dword [eax + ecx*4 + 0x10]
cmp edi, esi
je 0x650bd148
mov ecx, edi
call sym.Qt5Widgets.dll_public:_class_QWidget____thiscall_QWidget::topLevelWidget_void_const
mov ecx, dword [esp + 0x10]
mov esi, eax
call sym.Qt5Widgets.dll_public:_class_QWidget____thiscall_QWidget::topLevelWidget_void_const
cmp esi, eax
jne 0x650bd144
mov eax, dword [edi + 0x14]
test dword [eax + 4], 0x10001
jne 0x650bd144
cmp byte [esp + 0x20], 0
jne 0x650bcfcd
mov ecx, edi
call sym.Qt5Widgets.dll_public:_enum_Qt::FocusPolicy___thiscall_QWidget::focusPolicy_void_
and eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x28]
jne 0x650bd144
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx + 0x1c]
sub eax, dword [ecx + 0x14]
inc eax
push eax
mov eax, dword [ecx + 0x18]
sub eax, dword [ecx + 0x10]
lea ecx, [esp + 0x74]
inc eax
push eax
push 0
push 0
call dword [0x652b21f8]
lea eax, [esp + 0x40]
mov dword [esp + 0x40], 0
push eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x48], 0
push eax
mov ecx, edi
call sym.Qt5Widgets.dll_public:_class_QPoint___thiscall_QWidget::mapToGlobal_class_QPoint_const__
push eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x78]
call dword [0x652b233c]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x64]
call dword [0x652b20a4]
mov eax, dword [esp + 0x60]
cmp eax, dword [esp + 0x58]
jge 0x650bd07b
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x68]
jge 0x650bd07b
cmp ebx, 0x1000013
je 0x650bd052
cmp ebx, 0x1000015
jne 0x650bd07b
mov ebp, dword [esp + 0x3c]
mov eax, ebp
mov ecx, dword [esp + 0x38]
sub eax, dword [esp + 0x34]
sub ecx, dword [esp + 0x30]
cdq
mov esi, eax
mov eax, ecx
xor esi, edx
sub esi, edx
cdq
xor eax, edx
shl esi, 0x10
sub eax, edx
mov edx, dword [esp + 0x34]
jmp 0x650bd0d3
mov eax, dword [esp + 0x64]
cmp eax, dword [esp + 0x5c]
jge 0x650bd0b3
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x6c]
jge 0x650bd0b3
cmp ebx, 0x1000012
je 0x650bd09f
cmp ebx, 0x1000014
jne 0x650bd0b3
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
mov ecx, ebp
sub eax, dword [esp + 0x30]
sub ecx, dword [esp + 0x34]
jmp 0x650bd064
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x3c]
mov eax, ebp
mov edx, dword [esp + 0x34]
sub eax, edx
imul ecx, ecx
imul eax, eax
lea esi, [ecx + 0x40000000]
add esi, eax
cmp esi, dword [esp + 0x1c]
jle 0x650bd0e2
cmp dword [esp + 0x14], 0
jne case.default.0x650bd0ed
lea eax, [ebx - 0x1000012]
cmp eax, 3
ja case.default.0x650bd0ed
jmp dword [eax*4 + 0x650bd1e8]
cmp ebp, edx
jge case.default.0x650bd0ed
mov ebp, edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], ebp
jmp 0x650bd144
cmp ebp, edx
jle case.default.0x650bd0ed
mov ebp, edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], ebp
jmp 0x650bd144
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x38], eax
jge case.default.0x650bd0ed
mov ebp, edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], ebp
jmp 0x650bd144
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x38], eax
jle case.default.0x650bd0ed
mov ebp, edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], ebp
jmp 0x650bd144
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
inc edi
mov dword [esp + 0x24], edi
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
sub eax, edx
cmp edi, eax
jl 0x650bcf74
test ebp, ebp
je 0x650bd1b0
cmp byte [esp + 0x20], 0
je 0x650bd193
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
test byte [eax + 0x124], 2
je 0x650bd193
mov eax, dword [ebp + 4]
test byte [eax + 0x124], 1
je 0x650bd193
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_void___thiscall_QAbstractButton::click_void_
cmp ebx, 0x1000013
je 0x650bd1a7
cmp ebx, 0x1000012
je 0x650bd1a7
push 1
jmp 0x650bd1a9
push 2
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::setFocus_enum_Qt::FocusReason_
pop edi
pop ebp
pop esi
mov eax, dword [esp + 0xc]
pop ebx
mov eax, dword [eax]
test eax, eax
je 0x650bd1d5
cmp eax, 0xffffffff
je 0x650bd1e2
mov eax, dword [esp + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x650bd1e2
push dword [esp + 8]
call dword [0x652b23cc]
add esp, 4
add esp, 0x70
ret 4