Function at 0x65283350
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
mov eax, dword [0x652b21d4]
push esi
push edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x28], eax
xor al, al
mov ecx, edi
mov byte [esp + 0x2f], al
call fcn.650058b0
mov ecx, dword [edi]
mov eax, dword [ecx + 8]
add eax, 4
lea esi, [ecx + eax*4]
mov ecx, edi
mov dword [esp + 0x20], esi
call fcn.650058b0
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
add eax, 4
lea eax, [ecx + eax*4]
cmp esi, eax
je 0x652837ef
nop dword [eax + eax]
mov edi, dword [esi]
mov dword [esp + 0x10], edi
cmp dword [edi + 0x10], 1
jne 0x652834e6
mov esi, dword [edi]
cmp dword [esi + 0xc], 1
jne 0x652834e6
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 4]
test eax, eax
je 0x652833d4
mov edx, dword [ecx]
dec eax
cmp edx, esi
jne 0x6528340b
add ecx, 4
test eax, eax
jne 0x652833c6
mov ecx, dword [esi + 8]
mov eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x18], ecx
cmp dword [esi + 0x18], eax
je 0x652833f1
mov eax, dword [esi + 0x1c]
xor eax, ecx
push eax
lea eax, [esp + 0x28]
mov ecx, edi
push eax
call fcn.6500dd30
mov eax, dword [eax]
cmp eax, esi
je 0x6528341e
movsd xmm1, qword [eax + 0x10]
jmp 0x65283421
mov eax, dword [edx + 8]
mov ecx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
jmp 0x652833ec
xorps xmm1, xmm1
movsd xmm0, qword [edi + 8]
lea ecx, [esp + 0x28]
divsd xmm0, xmm1
movsd qword [esp + 8], xmm0
call fcn.652825d0
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x28]
mov eax, dword [esi + 0x1c]
xor eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x28]
push eax
call fcn.6500dd30
mov dword [esp + 0x18], eax
mov eax, dword [eax]
cmp eax, esi
jne 0x652834c7
mov ecx, dword [esi + 0xc]
cmp ecx, dword [esi + 0x18]
jl 0x65283491
movsx eax, word [esi + 0x16]
mov ecx, esi
inc eax
push eax
call dword [0x652b2210]
push dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
call fcn.6500dd30
mov esi, dword [esp + 0x28]
mov dword [esp + 0x18], eax
push 8
mov ecx, esi
call dword [0x652b2214]
mov edx, dword [esp + 0x18]
movsd xmm0, qword [esp + 8]
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
movsd qword [eax + 0x10], xmm0
mov dword [edx], eax
mov eax, dword [esp + 0x28]
inc dword [eax + 0xc]
jmp 0x652834d6
movsd xmm0, qword [esp + 8]
mov ecx, dword [esp + 0x1c]
movsd qword [eax + 0x10], xmm0
movsd qword [ecx], xmm0
mov dword [ecx + 8], 0xffffffff
mov byte [esp + 0x2f], 1
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 4]
test eax, eax
je 0x65283502
mov esi, dword [edx]
dec eax
cmp esi, ecx
jne 0x65283510
add edx, 4
test eax, eax
jne 0x652834f4
mov esi, ecx
cmp esi, ecx
je 0x652835d6
nop dword [eax]
mov eax, dword [edi]
lea edx, [esi + 8]
xor ecx, ecx
cmp dword [eax + 0x18], ecx
je 0x65283521
mov ecx, dword [eax + 0x1c]
xor ecx, dword [edx]
push ecx
push edx
mov ecx, edi
call fcn.6500dd30
mov ecx, dword [edi]
cmp dword [eax], ecx
je 0x652835be
cmp dword [ecx + 0xc], 0
je 0x6528359f
mov ecx, edi
call fcn.652825d0
mov ecx, dword [edi]
xor eax, eax
cmp dword [ecx + 0x18], eax
je 0x65283554
mov eax, dword [ecx + 0x1c]
lea ecx, [esi + 8]
xor eax, dword [ecx]
jmp 0x65283557
lea ecx, [esi + 8]
push eax
push ecx
mov ecx, edi
call fcn.6500dd30
mov ecx, dword [edi]
mov dword [esp + 0x14], eax
mov edx, dword [eax]
cmp edx, ecx
je 0x6528359f
movsd xmm0, qword [edx + 0x10]
mov edi, dword [edx]
push edx
movsd qword [esp + 0xc], xmm0
call dword [0x652b20dc]
mov eax, dword [esp + 0x14]
mov dword [eax], edi
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
dec dword [eax + 0xc]
mov ecx, dword [edi]
call dword [0x652b20d8]
movsd xmm0, qword [esp + 8]
jmp 0x652835a2
xorps xmm0, xmm0
movsd xmm1, qword [esi + 0x10]
mulsd xmm1, xmm0
mov byte [esp + 0x2f], 1
movsd xmm0, qword [edi + 8]
subsd xmm0, xmm1
movsd qword [edi + 8], xmm0
push esi
call dword [0x652b220c]
mov ecx, dword [esp + 0x2c]
mov esi, eax
add esp, 4
cmp esi, ecx
jne 0x65283510
movsd xmm0, qword [edi + 8]
xorps xmm3, xmm3
comisd xmm3, xmm0
jbe 0x6528365f
xorps xmm0, xmmword [0x652b8ca0]
mov eax, 2
sub eax, dword [edi + 0x10]
mov ecx, edi
movsd qword [edi + 8], xmm0
mov dword [edi + 0x10], eax
call fcn.652825d0
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 4]
test eax, eax
je 0x6528361e
nop
mov esi, dword [ecx]
dec eax
cmp esi, edx
jne 0x65283620
add ecx, 4
test eax, eax
jne 0x65283610
mov esi, edx
mov ecx, edi
call fcn.652825d0
cmp esi, dword [edi]
je 0x65283658
nop dword [eax + eax]
movsd xmm0, qword [esi + 0x10]
xorps xmm0, xmmword [0x652b8ca0]
push esi
movsd qword [esi + 0x10], xmm0
call dword [0x652b220c]
add esp, 4
mov ecx, edi
mov esi, eax
call fcn.652825d0
cmp esi, dword [edi]
jne 0x65283630
mov ecx, dword [esp + 0x28]
xorps xmm3, xmm3
mov eax, dword [edi]
mov dword [esp + 0x10], eax
cmp dword [eax + 0xc], 0
jne 0x652837ba
mov edx, dword [eax + 0x18]
xorps xmm1, xmm1
mov esi, dword [eax + 4]
test edx, edx
je 0x65283690
nop dword [eax]
mov eax, dword [esi]
dec edx
cmp eax, dword [esp + 0x10]
jne 0x652836e0
add esi, 4
test edx, edx
jne 0x65283680
mov edx, dword [edi]
movsd xmm2, qword [edi + 8]
ucomisd xmm1, xmm2
lahf
test ah, 0x44
jnp 0x65283727
movaps xmm0, xmm1
subsd xmm0, xmm2
comisd xmm0, xmm3
jae 0x652836b9
xorps xmm0, xmmword [0x652b8ca0]
movsd xmm3, qword [0x652fce28]
comisd xmm3, xmm0
ja 0x65283727
mov eax, dword [edi + 0x10]
sub eax, 0
je 0x65283718
sub eax, 2
jne 0x65283830
comisd xmm1, xmm2
jmp 0x6528371c
mov ecx, dword [eax + 8]
push eax
movsd xmm0, qword [ecx]
mulsd xmm0, qword [eax + 0x10]
addsd xmm0, xmm1
movsd qword [esp + 0xc], xmm0
call dword [0x652b220c]
mov edx, dword [edi]
add esp, 4
movsd xmm1, qword [esp + 8]
cmp eax, edx
jne 0x652836e0
mov ecx, dword [esp + 0x28]
xorps xmm3, xmm3
jmp 0x65283692
comisd xmm2, xmm1
seta al
test al, al
je 0x65283830
mov eax, dword [edx + 8]
add edx, 8
test eax, eax
je 0x65283744
cmp eax, 0xffffffff
je 0x65283751
or eax, 0xffffffff
lock xadd dword [edx], eax
setne al
test al, al
jne 0x65283751
mov ecx, dword [edi]
push sym.Qt5Widgets.dll_public:_void___thiscall_QStyleHintReturn::destructor_void_
call dword [0x652b2364]
push 0x30
push edi
call fcn.652ae47d
mov edi, dword [esp + 0x3c]
add esp, 8
mov esi, dword [esp + 0x20]
mov dword [esp + 0x10], esi
mov eax, dword [edi]
mov eax, dword [eax]
cmp eax, 1
je 0x652837a9
test eax, eax
je 0x652837a9
mov ecx, dword [edi]
mov eax, dword [ecx + 8]
lea eax, [eax*4 + 0x10]
sub esi, eax
sub esi, ecx
mov ecx, edi
sar esi, 2
call fcn.650058b0
mov ecx, dword [edi]
mov eax, dword [ecx + 8]
add eax, 4
add eax, esi
lea eax, [ecx + eax*4]
mov ecx, edi
push eax
call dword [0x652b23c8]
mov esi, eax
jmp 0x652837c5
mov eax, dword [esp + 0x10]
mov ecx, edi
push eax
call dword [0x652b23c8]
mov esi, eax
jmp 0x652837c5
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x34]
add esi, 4
mov ecx, edi
mov dword [esp + 0x20], esi
call fcn.650058b0
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
add eax, 4
lea eax, [ecx + eax*4]
cmp esi, eax
jne 0x652833a0
mov al, byte [esp + 0x2f]
test al, al
jne 0x65283362
mov ecx, dword [esp + 0x28]
mov al, 1
lea edx, [ecx + 8]
mov byte [esp + 0x37], al
mov ecx, dword [edx]
test ecx, ecx
je 0x65283815
cmp ecx, 0xffffffff
je 0x65283828
or ecx, 0xffffffff
lock xadd dword [edx], ecx
setne cl
test cl, cl
jne 0x65283828
mov ecx, dword [esp + 0x28]
push sym.Qt5Widgets.dll_public:_void___thiscall_QStyleHintReturn::destructor_void_
call dword [0x652b2364]
mov al, byte [esp + 0x37]
pop edi
pop esi
add esp, 0x28
ret 4
xor al, al
jmp 0x652837f5