Function at 0x710d40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x713e70
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x24], 0
cmp byte [esi + 0xd], 0
nop
mov dword [ebp - 0x30], eax
je 0x710d91
mov dword [ebp - 0x28], esi
jmp 0x710e1d
nop
cmp dword [ebx + 0x18], 0x10
jb 0x710d9d
mov edi, dword [ebx + 4]
jmp 0x710da0
lea edi, [ebx + 4]
nop
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
jmp 0x710dd0
cmp eax, dword [ebp - 0x24]
setb bl
test bl, bl
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
cmove eax, ecx
mov dword [ebp - 0x20], eax
movzx eax, bl
mov esi, dword [ecx + eax*8]
cmp byte [esi + 0xd], 0
jne 0x710e11
mov eax, esi
cmp dword [esi + 0x28], 0x10
jb 0x710de0
mov esi, dword [eax + 0x14]
jmp 0x710de3
lea esi, [eax + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [eax + 0x24]
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
mov ebx, eax
cmovb ebx, ecx
test ebx, ebx
je 0x710db0
xor edx, edx
nop dword [eax]
nop
movzx ecx, byte [edi + edx]
cmp byte [esi + edx], cl
jne 0x710db3
inc edx
cmp ebx, edx
jne 0x710e00
jmp 0x710db0
xor bl, 1
movzx eax, bl
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0xd], 0
je 0x710eac
nop
mov eax, dword [ebp - 0x34]
cmp dword [eax + 4], 0x5555555
mov dword [ebp - 0x10], 0xffffffff
je 0x710f1f
push 0x30
call fcn.0091d7fd
add esp, 4
mov dword [ebp - 0x20], eax
lea ecx, [eax + 0x10]
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.00794f90
nop
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov word [edx + 0xc], 0
mov ecx, dword [ebp - 0x34]
push edx
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.0069f650
mov dl, 1
nop
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov byte [ecx + 4], dl
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, ecx
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret 8
cmp dword [eax + 0x28], 0x10
jb 0x710eb7
mov ecx, dword [eax + 0x14]
jmp 0x710eba
lea ecx, [eax + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x14]
cmp dword [eax + 0x18], 0x10
jb 0x710ed4
mov edi, dword [eax + 4]
jmp 0x710ed7
lea edi, [eax + 4]
mov eax, dword [ebp - 0x2c]
cmp eax, esi
mov ebx, esi
cmovb ebx, eax
test ebx, ebx
je 0x710f01
xor edx, edx
nop word [eax + eax]
nop
movzx eax, byte [edi + edx]
mov ah, byte [ecx + edx]
cmp al, ah
jne 0x710f0f
inc edx
cmp ebx, edx
jne 0x710ef0
cmp esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
jb 0x710e27
jmp 0x710f18
mov eax, dword [ebp - 0x20]
jb 0x710e27
xor edx, edx
jmp 0x710e8e
call fcn.00682d60
nop word cs:[eax + eax]
push ebp
sub esp, 0xc
add ebp, 0xc
push 0x30
push dword [ebp - 0x20]
call fcn.0091d82d
add esp, 8
add esp, 0xc
pop ebp
ret