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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [esp + 0x78], ecx
mov eax, dword [esi]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
test eax, eax
jne 0x6516cc84
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push dword [eax + 4]
call dword [0x652b23d4]
mov ecx, dword [esi]
mov eax, dword [ecx + 8]
add ecx, 0x10
lea esi, [ecx + eax*4]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
add ecx, 4
lea edx, [eax + ecx*4]
mov ecx, dword [eax + 8]
add ecx, 4
lea ecx, [eax + ecx*4]
cmp esi, ecx
je 0x6516cc90
sub edx, ecx
sar edx, 2
test edx, edx
jle 0x6516cc90
lea eax, [edx*4]
push eax
push esi
push ecx
call fcn.652afd9b
add esp, 0xc
jmp 0x6516cc90
cmp eax, 0xffffffff
je 0x6516cc90
mov eax, dword [esp + 0x14]
lock inc dword [eax]
mov esi, dword [ebp + 8]
lea eax, [esp + 0x3c]
mov edi, dword [0x652b2148]
mov ecx, esi
push eax
call edi
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
jle 0x6516d1a8
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call edi
cmp dword [esp + 0x28], 3
ja 0x6516d1e4
lea eax, [esp + 0x34]
mov ecx, esi
push eax
call edi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x78]
movaps xmm0, xmmword [0x652b4bd0]
add ecx, 0x14
shl eax, 5
add eax, ecx
mov dword [esp + 0x1c], eax
movups xmmword [esp + 0x60], xmm0
mov eax, dword [eax + 0x14]
mov dword [esp + 0x70], eax
call dword [0x652b2424]
cmp dword [esp + 0x34], 0
mov edi, eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x30], 0
jle 0x6516d04f
nop dword [eax + eax]
lea ecx, [esp + 0x24]
mov byte [esp + 0x50], 0
call dword [0x652b2418]
lea eax, [esp + 0x24]
push eax
push esi
call dword [0x652b1ae0]
add esp, 8
lea eax, [esp + 0x13]
mov ecx, esi
push eax
call dword [0x652b207c]
lea eax, [esp + 0x7c]
mov ecx, esi
push eax
call dword [0x652b2148]
mov eax, dword [esp + 0x7c]
mov ecx, esi
mov dword [esp + 0x44], eax
lea eax, [esp + 0x2c]
push eax
call dword [0x652b2148]
mov eax, dword [esp + 0x2c]
mov ecx, esi
movaps xmm0, xmmword [0x652b4bd0]
mov dword [esp + 0x48], eax
xor al, al
mov byte [esp + 0x20], al
lea eax, [esp + 0x80]
push eax
movaps xmmword [esp + 0xa4], xmm0
call dword [0x652b2148]
cmp byte [ebp + 0x10], 0xfc
jne 0x6516ce2c
lea eax, [esp + 0x84]
mov ecx, esi
push eax
call dword [0x652b2148]
mov eax, dword [esp + 0x80]
mov cl, al
and cl, 1
mov byte [esp + 0x20], cl
jne 0x6516cdd7
movaps xmm0, xmmword [0x652b4bd0]
movaps xmmword [esp + 0x90], xmm0
jmp 0x6516ce24
mov ecx, dword [esp + 0x84]
shr eax, 1
movzx esi, ax
shr eax, 0x10
sub esi, 0x7fff
movzx edx, cx
dec eax
shr ecx, 0x10
add eax, esi
mov dword [esp + 0x98], eax
sub edx, 0x7fff
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], edx
lea eax, [ecx - 1]
add eax, edx
mov dword [esp + 0x9c], eax
movaps xmm0, xmmword [esp + 0x90]
movaps xmmword [esp + 0xa0], xmm0
mov eax, dword [esp + 0x14]
xor esi, esi
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
sub ecx, edx
test ecx, ecx
jle 0x6516d02f
lea ecx, [edx + esi]
mov ecx, dword [eax + ecx*4 + 0x10]
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x8c]
push edx
call dword [0x652b2160]
push eax
call dword [0x652b23ec]
add esp, 8
mov byte [esp + 0x1b], al
lea ecx, [esp + 0x88]
call dword [0x652b2410]
cmp byte [esp + 0x1b], 0
mov eax, dword [esp + 0x14]
jne 0x6516ce94
mov ecx, dword [eax + 0xc]
inc esi
mov edx, dword [eax + 8]
sub ecx, edx
cmp esi, ecx
jl 0x6516ce42
jmp 0x6516d02f
mov eax, dword [eax]
cmp eax, 1
je 0x6516cf25
test eax, eax
je 0x6516cf25
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
push dword [eax + 4]
add ecx, 4
lea ecx, [eax + ecx*4]
mov dword [esp + 0x90], ecx
lea ecx, [esp + 0x18]
call dword [0x652b23d4]
mov ecx, dword [esp + 0x14]
mov edi, eax
mov edx, dword [ecx + 0xc]
add edx, 4
lea eax, [ecx + edx*4]
mov edx, dword [ecx + 8]
lea ecx, [ecx + edx*4]
mov edx, dword [esp + 0x8c]
add ecx, 0x10
cmp edx, ecx
je 0x6516cf02
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x6516cf02
shl eax, 2
push eax
push edx
push ecx
call fcn.652afd9b
add esp, 0xc
mov eax, dword [edi]
test eax, eax
je 0x6516cf1b
cmp eax, 0xffffffff
je 0x6516cf25
or eax, 0xffffffff
lock xadd dword [edi], eax
setne al
test al, al
jne 0x6516cf25
push edi
call dword [0x652b23cc]
add esp, 4
mov eax, dword [esp + 0x14]
push esi
mov ecx, dword [eax + 8]
add ecx, esi
mov edi, dword [eax + ecx*4 + 0x10]
lea ecx, [esp + 0x18]
call dword [0x652b224c]
test edi, edi
je 0x6516d02b
cmp byte [ebp + 0x14], 0
jne 0x6516d02b
push 0x44
call fcn.652ae448
add esp, 4
mov ecx, eax
push edi
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidgetItemV2::constructor_class_QWidget__
cmp byte [esp + 0x20], 0
mov dword [esp + 0x40], eax
je 0x6516cf7c
test byte [esp + 0x13], 2
mov eax, 0
setne al
inc eax
jmp 0x6516cf83
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x14]
push eax
mov ecx, edi
call sym.Qt5Widgets.dll_public:_void___thiscall_QToolBar::setOrientation_enum_Qt::Orientation_
mov al, byte [esp + 0x13]
mov ecx, edi
mov edx, dword [edi]
and al, 1
movzx eax, al
push eax
call dword [edx + 0x2c]
mov ecx, dword [edi + 4]
lea eax, [esp + 0xa0]
push eax
push 1
push dword [esp + 0x28]
call fcn.651653c0
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x2c]
lea edx, [edi + 4]
mov ecx, dword [edx]
mov dword [esp + 0x4c], eax
inc ecx
mov eax, dword [edi + 8]
mov esi, dword [edi]
and eax, 0x7fffffff
cmp esi, 1
je 0x6516cfd7
test esi, esi
jne 0x6516cfe1
cmp eax, ecx
jb 0x6516cfe3
mov edi, dword [esp + 0x74]
jmp 0x6516d00b
cmp eax, ecx
sbb esi, esi
and esi, 8
cmp ecx, eax
jbe 0x6516cff1
mov eax, dword [edx]
inc eax
jmp 0x6516cff9
mov eax, dword [edi + 8]
and eax, 0x7fffffff
push esi
push eax
lea ecx, [esp + 0x7c]
call fcn.6516c3a0
mov edi, dword [esp + 0x74]
lea edx, [edi + 4]
mov eax, dword [edx]
movups xmm0, xmmword [esp + 0x40]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0xc]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x50]
movups xmmword [ecx + edi], xmm0
mov dword [ecx + edi + 0x10], eax
inc dword [edx]
jmp 0x6516d02f
mov edi, dword [esp + 0x74]
lea ecx, [esp + 0x24]
call dword [0x652b2410]
mov eax, dword [esp + 0x30]
mov esi, dword [ebp + 8]
inc eax
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x34]
jl 0x6516cd20
cmp byte [ebp + 0x14], 0
jne 0x6516d161
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov esi, dword [eax + 8]
mov edi, dword [eax + 4]
and esi, 0x7fffffff
mov eax, dword [eax]
inc edi
cmp eax, 1
je 0x6516d077
test eax, eax
jne 0x6516d0ac
cmp edi, esi
ja 0x6516d0ac
mov edx, dword [ecx]
movups xmm0, xmmword [esp + 0x60]
mov eax, dword [edx + 4]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 0xc]
lea ecx, [eax + ecx*8]
mov eax, dword [esp + 0x70]
add ecx, edx
mov dword [ecx + 0x10], eax
lea eax, [esp + 0x74]
movups xmmword [ecx], xmm0
push eax
add ecx, 0x14
call fcn.65168fe0
jmp 0x6516d154
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x54]
movups xmm0, xmmword [esp + 0x60]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x74]
push eax
movups xmmword [esp + 0x44], xmm0
call fcn.65168fe0
mov edx, dword [esp + 0x1c]
cmp esi, edi
sbb ecx, ecx
and ecx, 8
mov eax, dword [edx]
cmp edi, esi
jbe 0x6516d0e3
mov eax, dword [eax + 4]
inc eax
jmp 0x6516d0eb
mov eax, dword [eax + 8]
and eax, 0x7fffffff
push ecx
push eax
mov ecx, edx
call fcn.6516c460
mov eax, dword [esp + 0x1c]
movups xmm0, xmmword [esp + 0x40]
mov edx, dword [eax]
mov eax, dword [edx + 4]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 0xc]
lea ecx, [eax + ecx*8]
mov eax, dword [esp + 0x50]
mov dword [ecx + edx + 0x10], eax
mov eax, dword [esp + 0x54]
movups xmmword [ecx + edx], xmm0
mov dword [ecx + edx + 0x14], eax
call dword [0x652b2424]
mov dword [esp + 0x54], eax
mov eax, dword [eax]
mov ecx, dword [esp + 0x54]
test eax, eax
je 0x6516d146
cmp eax, 0xffffffff
je 0x6516d154
or eax, 0xffffffff
lock xadd dword [ecx], eax
setne al
test al, al
jne 0x6516d154
push 4
push 0x14
push ecx
call dword [0x652b2428]
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x74]
mov eax, dword [eax]
inc dword [eax + 4]
mov eax, dword [edi]
mov ecx, dword [esp + 0x74]
test eax, eax
je 0x6516d17e
cmp eax, 0xffffffff
je 0x6516d18c
or eax, 0xffffffff
lock xadd dword [ecx], eax
setne al
test al, al
jne 0x6516d18c
push 4
push 0x14
push ecx
call dword [0x652b2428]
add esp, 0xc
mov eax, dword [esp + 0x38]
mov esi, dword [ebp + 8]
inc eax
mov edi, dword [0x652b2148]
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0x3c]
jl 0x6516ccb5
mov ecx, esi
call dword [0x652b1acc]
test eax, eax
sete dl
mov eax, dword [esp + 0x14]
mov byte [esp + 0x13], dl
mov eax, dword [eax]
test eax, eax
je 0x6516d1e8
cmp eax, 0xffffffff
je 0x6516d1da
mov ecx, dword [esp + 0x14]
or eax, 0xffffffff
lock xadd dword [ecx], eax
setne cl
test cl, cl
je 0x6516d1e8
mov al, dl
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
xor dl, dl
jmp 0x6516d1b5
push dword [esp + 0x14]
call dword [0x652b23cc]
mov al, byte [esp + 0x17]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10