Function at 0x6e12fe2c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, eax
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x20], eax
mov esi, dword [ebx + 0x74]
shl eax, 1
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x20]
lea ecx, [edx - 0x106]
mov dword [ebp - 0x24], ecx
jmp 0x6e12fed8
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [edx + 4], eax
mov eax, dword [edx + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
je 0x6e130028
cmp eax, 2
je 0x6e130054
add esi, edi
lea eax, [ecx + esi]
mov esi, dword [edx]
mov edi, eax
mov ecx, dword [ebp - 0x1c]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x1c]
add dword [edx], ecx
add dword [edx + 8], ecx
mov eax, ecx
mov esi, dword [ebx + 0x74]
add esi, eax
mov dword [ebx + 0x74], esi
cmp esi, 2
jbe 0x6e12fec8
mov ecx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x6c]
movzx edx, byte [ecx + eax]
mov dword [ebx + 0x48], edx
movzx eax, byte [ecx + eax + 1]
mov ecx, dword [ebx + 0x58]
shl edx, cl
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp esi, 0x105
ja 0x6e12ffac
mov eax, dword [ebx]
mov edi, dword [eax + 4]
test edi, edi
je 0x6e12ffac
mov edx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x3c]
sub ecx, esi
sub ecx, eax
mov dword [ebp - 0x1c], ecx
add edx, dword [ebp - 0x24]
cmp eax, edx
jae 0x6e12ff1c
mov edx, dword [ebx]
mov eax, dword [edx + 4]
test eax, eax
je 0x6e12ffa4
mov ecx, dword [ebx + 0x38]
mov edi, dword [ebx + 0x6c]
mov esi, dword [ebx + 0x74]
cmp dword [ebp - 0x1c], eax
jae 0x6e12fe58
cmp dword [ebp - 0x1c], 0
jne 0x6e13008a
xor eax, eax
jmp 0x6e12fe93
mov eax, dword [ebx + 0x38]
mov edx, dword [ebp - 0x20]
lea esi, [eax + edx]
mov edi, eax
mov ecx, edx
rep movsb byte es:[edi], byte [esi]
sub dword [ebx + 0x70], edx
sub dword [ebx + 0x6c], edx
sub dword [ebx + 0x5c], edx
mov edx, dword [ebx + 0x4c]
lea eax, [edx + edx]
add eax, dword [ebx + 0x44]
mov edi, dword [ebp - 0x20]
jmp 0x6e12ff4c
xor ecx, ecx
mov word [eax], cx
dec edx
je 0x6e12ff62
sub eax, 2
mov cx, word [eax]
movzx esi, cx
cmp edi, esi
ja 0x6e12ff44
sub cx, di
mov word [eax], cx
dec edx
jne 0x6e12ff4c
mov eax, dword [ebp - 0x28]
add eax, dword [ebx + 0x40]
mov edx, dword [ebp - 0x20]
mov edi, edx
jmp 0x6e12ff78
xor ecx, ecx
mov word [eax], cx
dec edx
je 0x6e12ff8e
sub eax, 2
mov cx, word [eax]
movzx esi, cx
cmp edi, esi
ja 0x6e12ff70
sub cx, di
mov word [eax], cx
dec edx
jne 0x6e12ff78
mov ecx, dword [ebp - 0x20]
add dword [ebp - 0x1c], ecx
mov edx, dword [ebx]
mov eax, dword [edx + 4]
test eax, eax
jne 0x6e12fef9
lea esi, [esi]
add esp, 0x3c
pop ebx
pop esi
pop edi
leave
ret
mov eax, dword [ebx + 0x16c0]
mov edx, dword [ebx + 0x3c]
cmp eax, edx
jae 0x6e12ffa4
add esi, dword [ebx + 0x6c]
cmp eax, esi
jae 0x6e12fff0
sub edx, esi
cmp edx, 0x102
ja 0x6e130080
mov eax, dword [ebx + 0x38]
add eax, esi
mov dword [ebp - 0x1c], eax
xor eax, eax
mov edi, dword [ebp - 0x1c]
mov ecx, edx
rep stosb byte es:[edi], al
lea esi, [edx + esi]
mov dword [ebx + 0x16c0], esi
add esp, 0x3c
pop ebx
pop esi
pop edi
leave
ret
lea ecx, [esi + 0x102]
cmp eax, ecx
jae 0x6e12ffa4
sub esi, eax
mov ecx, edx
sub ecx, eax
lea edx, [esi + 0x102]
cmp edx, ecx
jbe 0x6e13000c
mov edx, ecx
mov esi, dword [ebx + 0x38]
add esi, eax
xor eax, eax
mov edi, esi
mov ecx, edx
rep stosb byte es:[edi], al
add dword [ebx + 0x16c0], edx
add esp, 0x3c
pop ebx
pop esi
pop edi
leave
ret
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [edx]
mov dword [esp + 4], eax
mov eax, dword [edx + 0x30]
mov dword [esp], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
call sym.QtCore4.dll_adler32
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x30], eax
mov ecx, dword [ebp - 0x2c]
jmp 0x6e12fe78
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [edx]
mov dword [esp + 4], eax
mov eax, dword [edx + 0x30]
mov dword [esp], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
call sym.QtCore4.dll_crc32
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x30], eax
mov ecx, dword [ebp - 0x2c]
jmp 0x6e12fe78
mov edx, 0x102
jmp 0x6e12ffce
sub eax, dword [ebp - 0x1c]
jmp 0x6e12fe5d