Function at 0x906b8d8
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push 0x68
mov eax, 0x90a4c84
call fcn.090070c5
mov edi, ecx
mov dword [ebp - 0x54], edi
mov eax, dword [edi]
push dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x64], esi
call dword [eax + 0x64]
cmp dword [ebp + 0x10], eax
jb 0x906b914
push 0x90d4978
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0x7061726d
push eax
call sub.MSVCR120.dll__CxxThrowException
mov ecx, edi
mov dword [ebp - 0x74], edi
call fcn.09015fe5
and dword [ebp - 4], 0
lea eax, [ebp - 0x50]
cmp dword [ebp + 0x10], 0
jne 0x906babd
push str.Curves
push ebx
push str._s_s
push eax
mov dword [esi], 0x73743164
call fcn.0906767e
push 0
lea eax, [ebp - 0x50]
push eax
push dword [edi + 4]
call fcn.090068e1
mov edx, dword [esi + 0x40]
add esp, 0x1c
cmp dword [ebp + 8], 0x73686673
mov ebx, 0x100
mov dword [esi + 4], eax
jne 0x906b9f3
test edx, edx
je 0x906ba88
lea eax, [edi + 0x46e]
mov esi, ebx
mov ebx, 0x4000
mov edi, eax
movzx eax, word [edi + 0x200]
imul ecx, eax, 0xff
or al, 0xff
add ecx, ebx
sar ecx, 0xf
sub al, cl
mov byte [edx], al
lea edx, [edx + 4]
movzx eax, word [edi]
lea edi, [edi - 2]
imul ecx, eax, 0xff
or al, 0xff
add ecx, ebx
sar ecx, 0xf
sub al, cl
mov byte [edx - 3], al
movzx eax, word [edi - 0x1fe]
imul ecx, eax, 0xff
or al, 0xff
add ecx, ebx
sar ecx, 0xf
sub al, cl
mov byte [edx - 2], al
movzx eax, word [edi + 0x402]
imul ecx, eax, 0xff
or al, 0xff
add ecx, ebx
sar ecx, 0xf
sub al, cl
mov byte [edx - 1], al
dec esi
jne 0x906b986
jmp 0x906ba82
test edx, edx
je 0x906ba88
lea eax, [edi + 0x46e]
mov esi, ebx
mov ebx, 0x4000
mov edi, eax
movzx eax, word [edi - 0x200]
imul ecx, eax, 0xffff
mov eax, 0xffff
add ecx, ebx
sar ecx, 0xf
sub eax, ecx
mov word [edx], ax
lea edx, [edx + 8]
movzx eax, word [edi]
lea edi, [edi - 2]
imul ecx, eax, 0xffff
mov eax, 0xffff
add ecx, ebx
sar ecx, 0xf
sub eax, ecx
mov word [edx - 6], ax
movzx eax, word [edi + 0x202]
imul ecx, eax, 0xffff
mov eax, 0xffff
add ecx, ebx
sar ecx, 0xf
sub eax, ecx
mov word [edx - 4], ax
movzx eax, word [edi + 0x402]
imul ecx, eax, 0xffff
mov eax, 0xffff
add ecx, ebx
sar ecx, 0xf
sub eax, ecx
mov word [edx - 2], ax
dec esi
jne 0x906ba0a
mov edi, dword [ebp - 0x54]
mov esi, dword [ebp - 0x64]
push 0x881a
push 0
xor ebx, ebx
inc ebx
push ebx
push 0x100
push esi
call fcn.0906767e
add esp, 0x14
cmp dword [ebp + 8], 0x73686673
jne 0x906bcb7
mov dword [esi + 0x44], 0x100
mov dword [esi + 0x48], ebx
jmp 0x906bca9
push str.Table
push ebx
push str._s_s
push eax
mov dword [esi], 0x73743364
call fcn.0906767e
push 0
lea eax, [ebp - 0x50]
push eax
push dword [edi + 4]
call fcn.090068e1
add esp, 0x1c
mov dword [esi + 4], eax
cmp dword [ebp + 8], 0x73686673
mov eax, dword [esi + 0x40]
jne 0x906bbc0
mov dword [ebp - 0x54], eax
test eax, eax
je 0x906bc73
push 9
pop esi
xor ecx, ecx
push 8
mov dword [ebp - 0x5c], ecx
pop ebx
push 0x50
pop eax
cmp ecx, eax
cmovl eax, ecx
mov ecx, ebx
cdq
idiv esi
sub ecx, edx
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x58], ecx
mov ecx, ebx
sub ecx, eax
xor esi, esi
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x60], esi
cmp esi, ebx
mov ecx, ebx
mov eax, ebx
cmovl ecx, esi
xor esi, esi
sub eax, ecx
imul eax, eax, 9
add eax, dword [ebp - 0x58]
imul eax, eax, 9
add eax, dword [ebp - 0x68]
imul eax, eax, 3
mov dword [ebp - 0x54], eax
cmp esi, ebx
mov eax, ebx
mov ecx, ebx
mov ebx, dword [ebp - 0x54]
cmovl eax, esi
sub ecx, eax
push 8
mov eax, dword [edi + ecx*4 + 0x870]
mov al, byte [eax + ebx + 2]
mov byte [edx], al
mov eax, dword [edi + ecx*4 + 0x870]
mov al, byte [eax + ebx + 1]
mov byte [edx + 1], al
mov eax, dword [edi + ecx*4 + 0x870]
mov ecx, ebx
pop ebx
mov al, byte [ecx + eax]
mov byte [edx + 2], al
mov byte [edx + 3], 0xff
add edx, 4
inc esi
cmp esi, 0x10
jl 0x906bb4e
mov esi, dword [ebp - 0x60]
inc esi
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x60], esi
cmp esi, 0x10
jl 0x906bb2f
mov ecx, dword [ebp - 0x5c]
inc ecx
mov dword [ebp - 0x5c], ecx
push 9
pop esi
cmp ecx, 0x80
jl 0x906bb0e
jmp 0x906bc70
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x906bc73
push 9
pop esi
xor ecx, ecx
push 8
mov dword [ebp - 0x58], ecx
pop ebx
push 0x50
pop eax
cmp ecx, eax
cmovl eax, ecx
mov ecx, ebx
cdq
idiv esi
sub ecx, edx
mov dword [ebp - 0x68], ecx
mov ecx, ebx
sub ecx, eax
xor esi, esi
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x60], esi
cmp esi, ebx
mov ecx, ebx
mov eax, ebx
cmovl ecx, esi
xor edx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x5c]
imul eax, eax, 9
add eax, dword [ebp - 0x68]
imul eax, eax, 9
add eax, dword [ebp - 0x6c]
imul eax, eax, 3
mov dword [ebp - 0x70], eax
cmp edx, ebx
mov dword [ebp - 0x54], ebx
mov eax, ebx
cmovl eax, edx
sub dword [ebp - 0x54], eax
xor ebx, ebx
mov esi, dword [ebp - 0x54]
mov eax, dword [edi + esi*4 + 0x870]
add eax, dword [ebp - 0x70]
mov al, byte [eax + ebx]
mov byte [ecx], al
inc ecx
inc ebx
cmp ebx, 3
jl 0x906bc28
mov byte [ecx], 0
inc ecx
inc edx
push 8
pop ebx
cmp edx, 0x10
jl 0x906bc16
mov esi, dword [ebp - 0x60]
inc esi
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], esi
cmp esi, 0x10
jl 0x906bbf4
mov ecx, dword [ebp - 0x58]
inc ecx
mov dword [ebp - 0x58], ecx
push 9
pop esi
cmp ecx, 0x80
jl 0x906bbd6
mov esi, dword [ebp - 0x64]
push 0x1907
xor ebx, ebx
inc ebx
push ebx
push 0
push 0x80
push 0x10
push 0x10
push esi
call fcn.0906767e
add esp, 0x1c
cmp dword [ebp + 8], 0x73686673
jne 0x906bcb7
push 0x10
pop eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 0x80
mov dword [esi + 0x58], 0x15
and dword [esi + 0x54], 0
mov dword [esi + 0x50], ebx
or dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.0906767e
call fcn.09008ed9
ret 0x10