Function at 0x907917c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x90a4e22
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x2608
call fcn.0909ff00
mov eax, dword [0x90dee5c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x25f0], esi
mov edi, dword [ebx + 8]
push 0
mov dword [ebp - 0x25dc], edi
mov eax, dword [edi + 4]
add eax, 0x94
push eax
call fcn.09090f1c
cmp dword [esi], 0
pop ecx
pop ecx
jne 0x9079201
push 0
push 0x753
push 0xb71b
push dword [edi + 4]
call fcn.09090f1c
add esp, 0x10
mov dword [esi], eax
mov ecx, edi
mov dword [ebp - 0x2604], edi
call fcn.09015fe5
and dword [ebp - 4], 0
lea ecx, [ebp - 0x844]
xor edx, edx
inc edx
mov eax, edx
mov dword [ecx], 0x40004000
shr eax, 1
lea ecx, [ecx + 8]
add edx, 0x101
mov word [ecx - 0xa], ax
cmp edx, 0x10101
jb 0x907921b
push 0
push 0x50524742
push 0x504c4142
push 0x100
lea eax, [ebp - 0x848]
mov ecx, edi
push eax
push eax
call fcn.09090f1c
xor esi, esi
movzx eax, word [ebp + esi*8 - 0x842]
push eax
movzx eax, word [ebp + esi*8 - 0x844]
push eax
movzx eax, word [ebp + esi*8 - 0x846]
push eax
call fcn.09090f1c
add esp, 0xc
mov word [ebp + esi*2 - 0x1dd0], ax
inc esi
cmp esi, 0x100
jb 0x907925c
lea ecx, [ebp - 0x1dd0]
call fcn.090679e7
test al, al
jne 0x90792aa
lea ecx, [ebp - 0x1dd0]
call fcn.09067a07
push 2
lea ecx, [ebp - 0x1dd0]
call fcn.09090f1c
mov ecx, dword [ebp - 0x25f0]
lea edx, [ebp - 0x1dd0]
add ecx, 0x168
mov edi, 0x100
movzx eax, word [edx]
lea edx, [edx + 2]
imul eax, eax, 0xff
add eax, 0x4000
shr eax, 0xf
mov byte [ecx - 0x100], al
mov byte [ecx], al
mov byte [ecx + 0x100], al
inc ecx
dec edi
jne 0x90792ce
lea eax, [ebp - 0x25d8]
push eax
lea ecx, [ebp - 0x1dd0]
call fcn.09090f1c
push 0xc
lea esi, [ebp - 0x48]
pop ecx
mov eax, ecx
mov dword [ebp - 0x25e4], 0x18
xor edx, edx
add ecx, 0x8000
div dword [ebp - 0x25e4]
mov word [esi], ax
lea esi, [esi + 2]
cmp ecx, 0xc800c
jb 0x907930c
and dword [ebp - 0x25ec], 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x25e4], ecx
movzx eax, word [ecx]
xor edx, edx
mov dword [ebp - 0x25e0], edx
lea ecx, [ebp - 0x1bcc]
mov dword [ebp - 0x25e8], eax
movzx edi, word [ebp + edx*2 - 0x48]
xor esi, esi
mov edx, dword [ebp - 0x25e8]
mov ax, word [ebp + esi*2 - 0x48]
inc esi
mov word [ecx - 2], dx
mov word [ecx], di
mov word [ecx + 2], ax
add ecx, 8
cmp esi, 0x19
jb 0x9079368
mov edx, dword [ebp - 0x25e0]
inc edx
mov dword [ebp - 0x25e0], edx
cmp edx, 0x19
jb 0x907935b
mov ecx, dword [ebp - 0x25dc]
lea eax, [ebp - 0x1bd0]
push 0
push 0x50524742
push 0x504c4142
push 0x271
push eax
push eax
call fcn.09090f1c
mov eax, dword [ebp - 0x25f0]
lea ecx, [ebp - 0x2618]
push 1
push 0x753
push dword [ebp - 0x25ec]
push dword [eax]
call fcn.09090f1c
lea ecx, [ebp - 0x2618]
mov byte [ebp - 4], 1
call fcn.09005a8c
lea esi, [ebp - 0x1bd0]
mov dword [ebp - 0x25e8], 0x19
lea edx, [eax + 2]
mov dword [ebp - 0x25e0], esi
mov dword [ebp - 0x25f8], edx
mov dword [ebp - 0x25f4], 0x19
mov ecx, dword [esi]
mov eax, dword [esi + 4]
shr ecx, 0x10
push ecx
lea ecx, [ebp - 0x25d8]
mov dword [ebp - 0x25fc], eax
call fcn.09090f1c
movzx ecx, word [ebp - 0x25fc]
mov si, ax
push ecx
lea ecx, [ebp - 0x25d8]
call fcn.09090f1c
movzx ecx, word [ebp - 0x25fa]
mov di, ax
push ecx
lea ecx, [ebp - 0x25d8]
call fcn.09090f1c
mov edx, dword [ebp - 0x25f8]
movzx ecx, si
mov esi, 0x4000
imul ecx, ecx, 0xff
movzx eax, ax
imul eax, eax, 0xff
add ecx, esi
shr ecx, 0xf
mov byte [edx - 2], cl
add eax, esi
movzx ecx, di
imul ecx, ecx, 0xff
shr eax, 0xf
mov byte [edx], al
add ecx, esi
mov esi, dword [ebp - 0x25e0]
shr ecx, 0xf
add esi, 8
mov byte [edx - 1], cl
add edx, 3
dec dword [ebp - 0x25f4]
mov dword [ebp - 0x25e0], esi
mov dword [ebp - 0x25f8], edx
jne 0x907940f
dec dword [ebp - 0x25e8]
jne 0x90793f9
lea ecx, [ebp - 0x2618]
mov byte [ebp - 4], 0
call fcn.09005ab3
mov eax, dword [ebp - 0x25ec]
mov ecx, dword [ebp - 0x25e4]
add eax, 0x753
add ecx, 2
mov dword [ebp - 0x25ec], eax
mov dword [ebp - 0x25e4], ecx
cmp eax, 0xb71b
jb 0x9079344
mov ecx, dword [ebp - 0x25dc]
or dword [ebp - 4], 0xffffffff
call fcn.09090f1c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.090020f2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4