Function at 0x90702f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push 0x68
mov eax, 0x90ac1cd
call fcn.09007445
mov ebx, ecx
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
mov eax, dword [ebx]
mov dword [ebp - 0x64], edi
mov esi, dword [eax + 0x64]
mov ecx, esi
call dword [0x90ae2d0]
mov ecx, ebx
call esi
cmp dword [ebp + 0x10], eax
jae 0x90706c5
mov ecx, ebx
mov dword [ebp - 0x74], ebx
call fcn.090168fd
and dword [ebp - 4], 0
lea eax, [ebp - 0x50]
cmp dword [ebp + 0x10], 0
jne 0x90704a9
push str.Curves
push dword [ebp - 0x54]
mov dword [edi], 0x73743164
push str._s_s
push eax
call fcn.0905791c
push 0
lea eax, [ebp - 0x50]
push eax
push dword [ebx + 4]
call fcn.09006939
mov ecx, dword [edi + 0x40]
add esp, 0x1c
cmp dword [ebp + 8], 0x73686673
mov dword [edi + 4], eax
jne 0x90703f7
test ecx, ecx
je 0x9070474
lea esi, [ebx + 0x46e]
mov edi, 0x100
mov edx, 0x4000
movzx eax, word [esi + 0x200]
imul eax, eax, 0xff
add eax, edx
shr eax, 0xf
not al
mov byte [ecx], al
lea ecx, [ecx + 4]
movzx eax, word [esi]
lea esi, [esi - 2]
imul eax, eax, 0xff
add eax, edx
shr eax, 0xf
not al
mov byte [ecx - 3], al
movzx eax, word [esi - 0x1fe]
imul eax, eax, 0xff
add eax, edx
shr eax, 0xf
not al
mov byte [ecx - 2], al
movzx eax, word [esi + 0x402]
imul eax, eax, 0xff
add eax, edx
shr eax, 0xf
not al
mov byte [ecx - 1], al
sub edi, 1
jne 0x9070393
jmp 0x9070471
test ecx, ecx
je 0x9070474
lea esi, [ebx + 0x46e]
mov edi, 0x100
mov edx, 0x4000
movzx eax, word [esi - 0x200]
imul eax, eax, 0xffff
add eax, edx
sar eax, 0xf
not eax
mov word [ecx], ax
lea ecx, [ecx + 8]
movzx eax, word [esi]
lea esi, [esi - 2]
imul eax, eax, 0xffff
add eax, edx
sar eax, 0xf
not eax
mov word [ecx - 6], ax
movzx eax, word [esi + 0x202]
imul eax, eax, 0xffff
add eax, edx
sar eax, 0xf
not eax
mov word [ecx - 4], ax
movzx eax, word [esi + 0x402]
imul eax, eax, 0xffff
add eax, edx
sar eax, 0xf
not eax
mov word [ecx - 2], ax
sub edi, 1
jne 0x907040b
mov edi, dword [ebp - 0x64]
push 0x881a
push 0
xor esi, esi
inc esi
push esi
push 0x100
push edi
call fcn.0905791c
add esp, 0x14
cmp dword [ebp + 8], 0x73686673
jne 0x90706b2
mov dword [edi + 0x44], 0x100
mov dword [edi + 0x48], esi
jmp 0x90706a4
push str.Table
push dword [ebp - 0x54]
mov dword [edi], 0x73743364
push str._s_s
push eax
call fcn.0905791c
push 0
lea eax, [ebp - 0x50]
push eax
push dword [ebx + 4]
call fcn.09006939
mov esi, dword [edi + 0x40]
add esp, 0x1c
cmp dword [ebp + 8], 0x73686673
mov dword [edi + 4], eax
jne 0x90705b1
test esi, esi
je 0x907066e
xor edi, edi
mov dword [ebp - 0x60], edi
push 0x50
pop ecx
cmp edi, ecx
push 9
cmovb ecx, edi
xor edx, edx
pop edi
mov eax, ecx
div edi
push 8
pop eax
sub eax, edx
mov dword [ebp - 0x68], eax
mov eax, ecx
cdq
idiv edi
push 8
pop edx
mov ecx, edx
sub ecx, eax
xor edi, edi
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x5c], edi
cmp edi, edx
mov eax, edx
mov ecx, edx
cmovb eax, edi
xor edi, edi
sub ecx, eax
mov dword [ebp - 0x58], edi
imul eax, ecx, 9
add eax, dword [ebp - 0x68]
imul eax, eax, 9
add eax, dword [ebp - 0x6c]
imul eax, eax, 3
mov dword [ebp - 0x54], eax
cmp edi, edx
mov eax, edx
mov ecx, edx
cmovb eax, edi
mov edi, dword [ebp - 0x54]
sub ecx, eax
mov eax, dword [ebx + ecx*4 + 0x870]
mov al, byte [edi + eax + 2]
mov byte [esi], al
mov eax, dword [ebx + ecx*4 + 0x870]
mov al, byte [edi + eax + 1]
mov byte [esi + 1], al
mov eax, dword [ebx + ecx*4 + 0x870]
mov ecx, edi
mov edi, dword [ebp - 0x58]
mov al, byte [ecx + eax]
mov byte [esi + 2], al
mov byte [esi + 3], 0xff
add esi, 4
inc edi
mov dword [ebp - 0x58], edi
cmp edi, 0x10
jl 0x9070542
mov edi, dword [ebp - 0x5c]
inc edi
mov dword [ebp - 0x5c], edi
cmp edi, 0x10
jl 0x9070520
mov edi, dword [ebp - 0x60]
inc edi
mov dword [ebp - 0x60], edi
cmp edi, 0x80
jl 0x90704f3
jmp 0x907066b
test esi, esi
je 0x907066e
xor edi, edi
mov dword [ebp - 0x58], edi
push 0x50
pop ecx
cmp edi, ecx
push 9
cmovb ecx, edi
xor edx, edx
pop edi
mov eax, ecx
div edi
push 8
pop eax
sub eax, edx
mov dword [ebp - 0x6c], eax
mov eax, ecx
push 0xfffffffffffffff7
cdq
pop ecx
idiv ecx
xor edi, edi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x5c], edi
push 8
pop ecx
cmp edi, ecx
push 8
cmovb ecx, edi
pop edx
sub edx, ecx
xor ecx, ecx
imul eax, edx, 9
mov edx, dword [ebp - 0x68]
add edx, 8
mov dword [ebp - 0x60], ecx
add eax, dword [ebp - 0x6c]
imul eax, eax, 9
add eax, edx
imul eax, eax, 3
mov dword [ebp - 0x70], eax
push 8
pop eax
cmp ecx, eax
push 8
cmovb eax, ecx
pop ecx
sub ecx, eax
xor edx, edx
mov dword [ebp - 0x54], ecx
mov edi, ecx
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebx + edi*4 + 0x870]
add ecx, edx
mov al, byte [ecx + eax]
mov byte [esi], al
inc esi
inc edx
cmp edx, 3
jl 0x9070624
mov ecx, dword [ebp - 0x60]
mov byte [esi], 0
inc esi
inc ecx
mov dword [ebp - 0x60], ecx
cmp ecx, 0x10
jl 0x9070610
mov edi, dword [ebp - 0x5c]
inc edi
mov dword [ebp - 0x5c], edi
cmp edi, 0x10
jl 0x90705e7
mov edi, dword [ebp - 0x58]
inc edi
mov dword [ebp - 0x58], edi
cmp edi, 0x80
jl 0x90705be
mov edi, dword [ebp - 0x64]
push 0x1907
xor esi, esi
inc esi
push esi
push 0
push 0x80
push 0x10
push 0x10
push edi
call fcn.0905791c
add esp, 0x1c
cmp dword [ebp + 8], 0x73686673
jne 0x90706b2
push 0x10
pop eax
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], 0x80
mov dword [edi + 0x58], 0x15
and dword [edi + 0x54], 0
mov dword [edi + 0x50], esi
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
call fcn.09016a6b
call fcn.090091e6
ret 0x10
push 0x7061726d
call fcn.0905791c
int3