Function at 0x6e3fd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xc], eax
jmp 0x6e400e
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x10]
jge 0x6e4191
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 4]
jg 0x6e4191
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx]
cmp edx, 0x98
jne 0x6e404a
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp + 0x14]
je 0x6e404f
jmp 0x6e4191
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.006c2540
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x6e4071
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x6e40c9
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx + 4]
jge 0x6e40c9
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [edx + 4]
jne 0x6e40a8
mov dword [ebp - 0x1c], 0xffffffff
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x28]
mov eax, dword [ebp - 8]
movzx ecx, byte [edx + eax]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x2c]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x30], edx
jmp 0x6e40df
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x2c]
movsx eax, word [edx + 0x1c]
cmp eax, dword [ebp - 0x1c]
jne 0x6e4101
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
push eax
call fcn.00687230
add esp, 8
test eax, eax
je 0x6e4126
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x1c]
jge 0x6e4110
jmp 0x6e4005
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
cmp eax, dword [edx + 4]
jne 0x6e411f
jmp 0x6e4191
xor eax, eax
jmp 0x6e41f4
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 0xc]
xor edx, dword [ebp - 0x28]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x1c]
jle 0x6e414c
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x14]
je 0x6e414a
xor eax, eax
jmp 0x6e41f4
jmp 0x6e4152
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x14
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0x1c], 0
jge 0x6e418c
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x18]
push edx
call fcn.006e4200
add esp, 0x10
test eax, eax
jne 0x6e418c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
jmp 0x6e4005
xor ecx, ecx
cmp dword [ebp - 0x14], 0
setne cl
mov edx, dword [ebp + 0x24]
mov dword [edx], ecx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x10]
jl 0x6e41ae
mov eax, 1
jmp 0x6e41f4
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx + 0x18]
test edx, edx
je 0x6e41f2
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 4]
jne 0x6e41f2
mov edx, dword [ebp + 0x20]
and edx, 0x80000
jne 0x6e41f2
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x18]
push eax
call fcn.006e4200
add esp, 0x10
test eax, eax
jne 0x6e41f2
mov eax, 1
jmp 0x6e41f4
xor eax, eax
mov esp, ebp
pop ebp
ret