Function at 0x907eae1
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 0x90ac441
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x15f0
call fcn.090a6f20
mov eax, dword [0x90e6610]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x15e8], edi
mov esi, dword [ebx + 8]
push 0
mov dword [ebp - 0x15e4], esi
mov eax, dword [esi + 4]
add eax, 0x94
push eax
call fcn.0905eab8
cmp dword [edi], 0
pop ecx
pop ecx
jne 0x907eb66
push 0
push 0x753
push 0xb71b
push dword [esi + 4]
call fcn.0905eab8
add esp, 0x10
mov dword [edi], eax
mov ecx, esi
mov dword [ebp - 0x15ec], esi
call fcn.090168fd
and dword [ebp - 4], 0
lea ecx, [ebp - 0x844]
xor edx, edx
inc edx
mov eax, edx
add edx, 0x101
shr eax, 1
movzx eax, ax
mov word [ecx - 2], ax
mov word [ecx], ax
lea ecx, [ecx + 8]
mov word [ecx - 6], ax
cmp edx, 0x10101
jb 0x907eb80
push 0
push 0x504c4142
push 0x50524742
push 0x100
lea eax, [ebp - 0x848]
mov ecx, esi
push eax
push eax
call fcn.0905eab8
xor ecx, ecx
mov ax, word [ebp + ecx*8 - 0x846]
mov word [ebp + ecx*2 - 0x15d0], ax
inc ecx
cmp ecx, 0x100
jb 0x907ebc5
lea ecx, [ebp - 0x15d0]
call fcn.0906b7a9
test al, al
jne 0x907ebf8
lea ecx, [ebp - 0x15d0]
call fcn.0906b7c9
push 2
lea ecx, [ebp - 0x15d0]
call fcn.0905eab8
xor edx, edx
lea ecx, [edi + 0x204]
movzx eax, word [ebp + edx*2 - 0x15d0]
inc edx
mov word [ecx - 0x200], ax
mov word [ecx], ax
lea ecx, [ecx + 2]
mov word [ecx + 0x1fe], ax
cmp edx, 0x100
jb 0x907ec0d
lea eax, [ebp - 0x850]
push eax
lea ecx, [ebp - 0x15d0]
call fcn.0905eab8
push 0xc
lea esi, [ebp - 0x48]
pop edi
push 0x18
pop ecx
xor edx, edx
mov eax, edi
div ecx
lea ecx, [ebp - 0x850]
push eax
call fcn.0905eab8
add edi, 0x8000
mov word [esi], ax
lea esi, [esi + 2]
cmp edi, 0xc800c
jb 0x907ec4a
and dword [ebp - 0x15dc], 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x15e0], eax
movzx eax, word [eax]
lea ecx, [ebp - 0x13cc]
xor edx, edx
mov dword [ebp - 0x15d8], eax
mov dword [ebp - 0x15d4], edx
movzx esi, word [ebp + edx*2 - 0x48]
xor edi, edi
mov edx, dword [ebp - 0x15d8]
mov ax, word [ebp + edi*2 - 0x48]
inc edi
mov word [ecx - 2], dx
mov word [ecx], si
mov word [ecx + 2], ax
add ecx, 8
cmp edi, 0x19
jb 0x907eca7
mov edx, dword [ebp - 0x15d4]
inc edx
mov dword [ebp - 0x15d4], edx
cmp edx, 0x19
jb 0x907ec9a
mov ecx, dword [ebp - 0x15e4]
lea eax, [ebp - 0x13d0]
push 0
push 0x504c4142
push 0x50524742
push 0x271
push eax
push eax
call fcn.0905eab8
mov eax, dword [ebp - 0x15e8]
lea ecx, [ebp - 0x1600]
mov edi, dword [ebp - 0x15dc]
push 1
push 0x753
push edi
push dword [eax]
call fcn.0905eab8
lea ecx, [ebp - 0x1600]
mov byte [ebp - 4], 1
call fcn.09005d4d
lea edi, [ebp - 0x13d0]
mov dword [ebp - 0x15d8], 0x19
lea esi, [eax + 2]
mov dword [ebp - 0x15d4], 0x19
mov eax, dword [edi]
mov edx, dword [edi + 4]
shr eax, 0x10
imul eax, eax, 0xff
movzx ecx, dx
add ecx, 0x40
shr ecx, 7
add eax, 0x4000
shr eax, 0xf
cmp ecx, 0xff
mov byte [esi - 2], al
movzx eax, cl
mov ecx, 0xff
cmova eax, ecx
shr edx, 0x10
add edx, 0x40
mov byte [esi - 1], al
shr edx, 7
cmp edx, ecx
movzx eax, dl
cmova eax, ecx
add edi, 8
mov byte [esi], al
add esi, 3
sub dword [ebp - 0x15d4], 1
jne 0x907ed43
sub dword [ebp - 0x15d8], 1
jne 0x907ed39
lea ecx, [ebp - 0x1600]
mov byte [ebp - 4], 0
call fcn.09005e1d
mov edi, dword [ebp - 0x15dc]
mov eax, dword [ebp - 0x15e0]
add edi, 0x753
mov esi, dword [ebp - 0x15e4]
add eax, 2
mov dword [ebp - 0x15e0], eax
mov dword [ebp - 0x15dc], edi
cmp edi, 0xb71b
jb 0x907ec83
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.09016a6b
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.09001f80
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4