Function at 0x6709acb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x24
push ebx
mov ebx, dword [esp + 0x34]
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov esi, edx
mov dword [esp + 0x1c], ecx
lea eax, [ebx*2]
mov dword [esp + 0x10], esi
add eax, ebp
mov ecx, esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x4c]
cmp eax, dword [esp + 0x44]
push edi
mov edi, eax
mov dword [esp + 0x1c], eax
cmovl edi, dword [esp + 0x48]
mov eax, dword [ecx + 4]
sub eax, dword [esi + 8]
imul edi, eax
mov eax, dword [esp + 0x1c]
cmp eax, edx
push 0
cmovl eax, edx
imul eax, dword [esi + 8]
add edi, eax
mov eax, ecx
sub edi, dword [eax + 0xc]
add edi, ebx
mov ebx, dword [esp + 0x24]
push edi
mov ecx, ebx
call sym.Qt5Core.dll_public:_void___thiscall_QString::constructor_int__enum_Qt::Initialization_
mov eax, dword [ebx]
mov dword [esp + 0x28], 0
mov esi, dword [eax + 0xc]
add esi, eax
cmp ebp, dword [esp + 0x18]
je 0x6709aeda
nop word [eax + eax]
cmp word [ebp], 0x25
mov dword [esp + 0x24], ebp
je 0x6709ad5a
nop dword [eax + eax]
add ebp, 2
cmp word [ebp], 0x25
jne 0x6709ad50
movzx eax, word [ebp + 2]
mov edi, ebp
add ebp, 2
mov byte [esp + 0x13], 0
mov ecx, eax
cmp eax, 0x4c
jne 0x6709ad7b
movzx ecx, word [ebp + 2]
add ebp, 2
mov byte [esp + 0x13], 1
movzx ecx, cx
call fcn.670907f0
movsx ebx, word [eax + 2]
sar ebx, 0xb
cmp ebx, 0xffffffff
je 0x6709adba
lea eax, [ebp + 2]
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x18]
je 0x6709adba
movzx ecx, word [eax]
call fcn.670907f0
movsx ecx, word [eax + 2]
sar ecx, 0xb
cmp ecx, 0xffffffff
je 0x6709adba
mov ebp, dword [esp + 0x2c]
lea eax, [ebx + ebx*4]
lea ebx, [ecx + eax*2]
mov eax, dword [esp + 0x14]
cmp ebx, dword [eax]
mov eax, dword [esp + 0x24]
je 0x6709addf
mov edi, ebp
sub edi, eax
and edi, 0xfffffffe
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add esi, edi
jmp 0x6709aea4
sub edi, eax
add ebp, 2
and edi, 0xfffffffe
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
mov bl, byte [esp + 0x1f]
add esi, edi
mov eax, dword [esp + 0x54]
add esp, 0xc
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x1c]
test bl, bl
je 0x6709ae11
cmp edi, ecx
cmovl edi, ecx
sub edi, ecx
jmp 0x6709ae18
cmp edi, eax
cmovl edi, eax
sub edi, eax
cmp dword [esp + 0x38], 0
jle 0x6709ae3f
test edi, edi
je 0x6709ae3f
mov edx, edi
mov ax, word [esp + 0x3c]
mov ecx, esi
add esi, 2
mov word [ecx], ax
sub edx, 1
jne 0x6709ae25
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
test bl, bl
je 0x6709ae57
lea eax, [ecx + ecx]
push eax
push dword [esp + 0x58]
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x5c]
jmp 0x6709ae68
add eax, eax
push eax
push dword [esp + 0x50]
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x54]
add eax, eax
add esp, 0xc
add esi, eax
cmp dword [esp + 0x38], 0
mov eax, esi
jge 0x6709ae92
test edi, edi
je 0x6709ae92
nop dword [eax]
mov ax, word [esp + 0x3c]
mov ecx, esi
add esi, 2
mov word [ecx], ax
sub edi, 1
jne 0x6709ae80
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [ecx + 4]
je 0x6709aeba
cmp ebp, dword [esp + 0x18]
jne 0x6709ad40
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x18]
sub eax, ebp
and eax, 0xfffffffe
push eax
push ebp
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x2c]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x24
ret