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

Disassembly:
sub esp, 0xf4
push ebx
mov ebx, dword [esp + 0xfc]
push ebp
push esi
mov esi, ecx
cmp dword [ebx + 0x10], 0
push edi
mov dword [esp + 0x20], esi
jl 0x651f7d98
cmp dword [ebx + 0x14], 0
mov byte [esp + 0x13], 0
jge 0x651f7d9d
mov byte [esp + 0x13], 1
push ebx
lea eax, [esp + 0x58]
push eax
call fcn.651fb350
cmp dword [ebx + 0x28], 0
mov eax, dword [ebx + 0x18]
jne 0x651f7df6
add eax, dword [ebx]
cmp byte [esp + 0x13], 0
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x18], eax
je 0x651f7de1
mov ebp, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov edi, dword [esi + 0x18]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], eax
jmp 0x651f7e2a
mov ebp, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov edi, dword [ebx + 0x14]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], eax
jmp 0x651f7e2a
add eax, dword [ebx + 4]
cmp byte [esp + 0x13], 0
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x18], eax
je 0x651f7e17
mov edi, dword [esi + 0x18]
jmp 0x651f7e1a
mov edi, dword [ebx + 0x10]
mov eax, dword [esp + 0x58]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebp
lea eax, [esi + 0x2c]
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], eax
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov eax, dword [esp + 0x20]
add eax, 0x30
mov ecx, eax
mov dword [esp + 0x4c], eax
call dword [0x652b1368]
cmp eax, esi
mov esi, dword [esp + 0x30]
je 0x651f7e64
mov eax, dword [esi]
mov ecx, dword [esp + 0x4c]
push dword [eax + 4]
call dword [0x652b19fc]
mov ecx, dword [ebx + 0x1c]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x44], ebp
xor ebp, ebp
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], ecx
cmp ecx, dword [ebx + 0x20]
jg 0x651f8143
mov edx, dword [0x652b242c]
lea ebp, [ecx + ecx*4]
mov eax, dword [0x652b2098]
shl ebp, 2
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], edx
mov dword [esp + 0x2c], eax
jmp 0x651f7eb5
mov ebp, dword [esp + 0x34]
mov eax, dword [esi]
mov eax, dword [eax]
cmp eax, 1
je 0x651f7ef0
test eax, eax
je 0x651f7ef0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
and ecx, 0x7fffffff
jne 0x651f7edf
push 2
push ecx
push 4
push 0x14
call edx
add esp, 0x10
mov dword [esi], eax
jmp 0x651f7ef0
push ecx
mov eax, esp
push ecx
mov ecx, esi
mov dword [eax], 0
call fcn.6516c3a0
mov ecx, dword [esi]
mov eax, dword [esp + 0x20]
push dword [esp + 0x28]
add ebp, dword [ecx + 0xc]
add ebp, ecx
mov ecx, dword [eax + 4]
call fcn.651fba10
test al, al
je 0x651f7f27
mov edi, dword [esp + 0x24]
xor eax, eax
mov dword [ebp], 0xffffffff
mov dword [ebp + 4], 0xffffffff
mov dword [ebp + 8], eax
jmp 0x651f8128
mov cl, byte [esp + 0x13]
test cl, cl
je 0x651f7f4f
cmp dword [ebx + 0x28], 0
jne 0x651f7f42
movsx eax, word [ebp + 8]
add eax, dword [ebx + 0x18]
mov dword [esp + 0x18], eax
jmp 0x651f7f87
movsx eax, word [ebp + 0xa]
add eax, dword [ebx + 0x18]
mov dword [esp + 0x18], eax
jmp 0x651f7f87
movzx eax, word [ebp + 8]
mov edx, dword [ebx + 0x10]
mov esi, eax
movsx ecx, ax
cmp edx, ecx
movzx eax, dx
cmovl esi, eax
movzx eax, word [ebp + 0xa]
movsx ecx, ax
mov word [ebp + 8], si
mov esi, eax
mov edx, dword [ebx + 0x14]
cmp edx, ecx
mov cl, byte [esp + 0x13]
movzx eax, dx
cmovl esi, eax
mov eax, dword [esp + 0x18]
mov word [ebp + 0xa], si
cmp byte [ebx + 0x24], 0
mov esi, dword [esp + 0x14]
je 0x651f7fb7
add eax, esi
cmp eax, dword [esp + 0x64]
jle 0x651f7fb7
mov eax, dword [esp + 0x6c]
cmp esi, eax
jle 0x651f7fb7
mov edi, dword [esp + 0x24]
mov esi, eax
add dword [esp + 0x1c], edi
mov dword [esp + 0x14], esi
test cl, cl
je 0x651f7fdb
xor edi, edi
jmp 0x651f7fbf
mov edi, dword [esp + 0x24]
test cl, cl
je 0x651f7fdb
cmp dword [ebx + 0x28], 0
jne 0x651f7fcb
movsx eax, word [ebp + 0xa]
jmp 0x651f7fcf
movsx eax, word [ebp + 8]
add eax, dword [ebx + 0x18]
cmp edi, eax
cmovl edi, eax
mov dword [esp + 0x24], edi
push dword [esp + 0x28]
mov ecx, dword [esp + 0x50]
call dword [0x652b19f8]
test al, al
jne 0x651f801a
cmp dword [ebx + 0x28], 0
jne 0x651f806f
cmp byte [esp + 0x13], al
je 0x651f7ffd
mov eax, esi
jmp 0x651f8010
movsx eax, word [ebp + 8]
mov ecx, dword [esp + 0x18]
sub ecx, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, esi
mov dword [ebp], eax
mov eax, dword [esp + 0x1c]
mov dword [ebp + 4], eax
cmp byte [esp + 0x13], 0
je 0x651f8096
movsx ecx, word [ebp + 8]
mov edx, dword [ebp + 4]
dec ecx
mov eax, dword [ebp]
movsx esi, word [ebp + 0xa]
mov dword [esp + 0x74], eax
add eax, ecx
mov dword [esp + 0x7c], eax
lea ecx, [esp + 0x3c]
lea eax, [edx - 1]
mov dword [esp + 0x78], edx
add eax, esi
mov dword [esp + 0x80], eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0xd8]
push eax
call dword [esp + 0x34]
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x18]
jmp 0x651f811b
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0x1c]
mov dword [ebp], eax
je 0x651f8082
mov dword [ebp + 4], esi
jmp 0x651f8021
movsx ecx, word [ebp + 0xa]
mov eax, dword [esp + 0x18]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, esi
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x18]
add eax, esi
cmp dword [ebx + 0x28], 0
mov dword [esp + 0x14], eax
lea ecx, [eax - 1]
mov eax, dword [esp + 0x1c]
jne 0x651f80dd
mov dword [esp + 0x88], eax
dec eax
add eax, edi
mov dword [esp + 0x84], esi
mov dword [esp + 0x90], eax
lea eax, [esp + 0x84]
push eax
mov dword [esp + 0x90], ecx
lea eax, [esp + 0xe8]
jmp 0x651f810b
mov dword [esp + 0x94], eax
dec eax
add eax, edi
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x94]
push eax
mov dword [esp + 0xa4], ecx
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x44]
call dword [esp + 0x34]
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
movups xmmword [esp + 0x3c], xmm0
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x28]
add dword [esp + 0x34], 0x14
inc ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x28], ecx
cmp ecx, dword [ebx + 0x20]
jle 0x651f7eb1
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x18], edi
mov eax, dword [ebx + 0x20]
inc eax
mov dword [ecx + 0x14], eax
mov ecx, dword [ecx + 4]
mov edi, dword [ecx + 0x198]
add ecx, 0x200
mov eax, dword [edi]
mov esi, dword [eax + 0x38]
call dword [0x652b1c0c]
push eax
mov ecx, edi
call esi
lea edi, [eax - 1]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x38], eax
cmp eax, edi
jge 0x651f81c6
movsx ecx, word [ebp + 8]
mov edx, dword [ebp + 4]
dec ecx
mov eax, dword [ebp]
movsx esi, word [ebp + 0xa]
mov dword [esp + 0xa4], eax
add eax, ecx
mov dword [esp + 0xac], eax
mov ecx, ebx
lea eax, [edx - 1]
mov dword [esp + 0xa8], edx
add eax, esi
mov dword [esp + 0xb0], eax
lea eax, [esp + 0xa4]
push 0
push eax
call dword [0x652b2194]
test al, al
jne 0x651f81fb
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x40]
call dword [0x652b219c]
mov esi, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
cmp dword [ebx + 0x28], 0
mov eax, dword [ebx + 0x18]
jne 0x651f81f4
add eax, edx
mov dword [esi + 0x10], eax
jmp 0x651f81ff
add eax, ecx
mov dword [esi + 0xc], eax
jmp 0x651f81ff
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x40]
call dword [0x652b219c]
cmp dword [eax], 1
jl 0x651f832a
cmp dword [eax + 4], 1
jl 0x651f832a
mov ebp, dword [ebx + 0x1c]
cmp dword [esp + 0x38], edi
jge 0x651f822e
test ebp, ebp
jne 0x651f8247
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x40]
call dword [0x652b219c]
push eax
mov ecx, esi
call fcn.651fb1e0
xor ebp, ebp
cmp ebp, dword [ebx + 0x20]
jg 0x651f82cd
lea ecx, [ebp*4]
add ecx, ebp
shl ecx, 2
mov dword [esp + 0x4c], ecx
mov eax, dword [esi + 0x2c]
push 0
mov esi, dword [eax + 0xc]
add esi, ecx
movsx ecx, word [esi + eax + 8]
add esi, eax
push ecx
movsx edi, word [esi + 0xa]
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov esi, dword [esp + 0x28]
mov dword [esp + 0xbc], eax
dec eax
add eax, ecx
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], eax
lea eax, [edx - 1]
add eax, edi
lea ecx, [esi + 0x1c]
mov dword [esp + 0xc8], eax
mov eax, esp
push 0x651e51f0
mov dword [eax], ebp
lea eax, [esp + 0xc0]
push eax
call fcn.651e4b20
mov ecx, dword [esp + 0x4c]
inc ebp
add ecx, 0x14
mov dword [esp + 0x4c], ecx
cmp ebp, dword [ebx + 0x20]
jle 0x651f8260
mov eax, dword [esp + 0x54]
mov ecx, dword [esi + 4]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xd0], eax
lea eax, [esp + 0x54]
push eax
call sym.Qt5Widgets.dll_public:_class_QRect___thiscall_QWidgetPrivate::clipRect_void_
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x58]
call dword [0x652b2094]
test al, al
je 0x651f832a
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x15c]
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::update_void_
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret 4