Function at 0x907edd0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push 0x68
mov eax, 0x90d3dda
call fcn.09006dd9
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 + 0x7c]
mov ecx, esi
call dword [0x90d62d0]
mov ecx, ebx
call esi
cmp dword [ebp + 0x10], eax
jae 0x907f1a5
mov ecx, ebx
mov dword [ebp - 0x74], ebx
call fcn.09018f87
and dword [ebp - 4], 0
lea eax, [ebp - 0x50]
cmp dword [ebp + 0x10], 0
jne 0x907ef89
push str.Curves
push dword [ebp - 0x54]
mov dword [edi], 0x73743164
push str._s_s
push eax
call fcn.09038232
push 0
lea eax, [ebp - 0x50]
push eax
push dword [ebx + 4]
call fcn.090076c9
mov ecx, dword [edi + 0x40]
add esp, 0x1c
cmp dword [ebp + 8], 0x73686673
mov dword [edi + 4], eax
jne 0x907eed7
test ecx, ecx
je 0x907ef54
lea esi, [ebx + 0x476]
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 0x907ee73
jmp 0x907ef51
test ecx, ecx
je 0x907ef54
lea esi, [ebx + 0x476]
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 0x907eeeb
mov edi, dword [ebp - 0x64]
push 0x881a
push 0
xor esi, esi
inc esi
push esi
push 0x100
push edi
call fcn.09038232
add esp, 0x14
cmp dword [ebp + 8], 0x73686673
jne 0x907f192
mov dword [edi + 0x44], 0x100
mov dword [edi + 0x48], esi
jmp 0x907f184
push str.Table
push dword [ebp - 0x54]
mov dword [edi], 0x73743364
push str._s_s
push eax
call fcn.09038232
push 0
lea eax, [ebp - 0x50]
push eax
push dword [ebx + 4]
call fcn.090076c9
mov esi, dword [edi + 0x40]
add esp, 0x1c
cmp dword [ebp + 8], 0x73686673
mov dword [edi + 4], eax
jne 0x907f091
test esi, esi
je 0x907f14e
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 + 0x878]
mov al, byte [edi + eax + 2]
mov byte [esi], al
mov eax, dword [ebx + ecx*4 + 0x878]
mov al, byte [edi + eax + 1]
mov byte [esi + 1], al
mov eax, dword [ebx + ecx*4 + 0x878]
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 0x907f022
mov edi, dword [ebp - 0x5c]
inc edi
mov dword [ebp - 0x5c], edi
cmp edi, 0x10
jl 0x907f000
mov edi, dword [ebp - 0x60]
inc edi
mov dword [ebp - 0x60], edi
cmp edi, 0x80
jl 0x907efd3
jmp 0x907f14b
test esi, esi
je 0x907f14e
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 + 0x878]
add ecx, edx
mov al, byte [ecx + eax]
mov byte [esi], al
inc esi
inc edx
cmp edx, 3
jl 0x907f104
mov ecx, dword [ebp - 0x60]
mov byte [esi], 0
inc esi
inc ecx
mov dword [ebp - 0x60], ecx
cmp ecx, 0x10
jl 0x907f0f0
mov edi, dword [ebp - 0x5c]
inc edi
mov dword [ebp - 0x5c], edi
cmp edi, 0x10
jl 0x907f0c7
mov edi, dword [ebp - 0x58]
inc edi
mov dword [ebp - 0x58], edi
cmp edi, 0x80
jl 0x907f09e
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.09038232
add esp, 0x1c
cmp dword [ebp + 8], 0x73686673
jne 0x907f192
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.090190fb
call fcn.09006f96
ret 0x10
push 0x7061726d
call fcn.09038232
int3