Function at 0x907cb2d
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 0x90a9e12
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x2608
call fcn.090a4f00
mov eax, dword [0x90e460c]
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 - 0x25f0], edi
mov esi, dword [ebx + 8]
push 0
mov dword [ebp - 0x25ec], esi
mov eax, dword [esi + 4]
add eax, 0x94
push eax
call fcn.0909b970
cmp dword [edi], 0
pop ecx
pop ecx
jne 0x907cbb2
push 0
push 0x753
push 0xb71b
push dword [esi + 4]
call fcn.0909b970
add esp, 0x10
mov dword [edi], eax
mov ecx, esi
mov dword [ebp - 0x2604], esi
call fcn.0901658c
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 0x907cbcc
push 0
push 0x50524742
push 0x504c4142
mov edi, 0x100
lea eax, [ebp - 0x848]
push edi
push eax
push eax
mov ecx, esi
call fcn.0909b970
xor edx, edx
movzx eax, word [ebp + edx*8 - 0x844]
imul ecx, eax, 0x25c3
movzx eax, word [ebp + edx*8 - 0x846]
imul eax, eax, 0x1333
add ecx, eax
movzx eax, word [ebp + edx*8 - 0x842]
imul eax, eax, 0x70a
add eax, 0x2000
add eax, ecx
shr eax, 0xe
mov word [ebp + edx*2 - 0x1dd0], ax
inc edx
cmp edx, edi
jb 0x907cc0e
lea ecx, [ebp - 0x1dd0]
call fcn.0906a289
test al, al
jne 0x907cc6b
lea ecx, [ebp - 0x1dd0]
call fcn.0906a2a9
push 2
lea ecx, [ebp - 0x1dd0]
call fcn.0909b970
mov ecx, dword [ebp - 0x25f0]
lea edx, [ebp - 0x1dd0]
add ecx, 0x168
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
sub edi, 1
jne 0x907cc8a
lea eax, [ebp - 0x25d8]
push eax
lea ecx, [ebp - 0x1dd0]
call fcn.0909b970
push 0xc
lea edi, [ebp - 0x48]
pop ecx
mov eax, ecx
mov dword [ebp - 0x25e4], 0x18
xor edx, edx
add ecx, 0x8000
div dword [ebp - 0x25e4]
mov word [edi], ax
lea edi, [edi + 2]
cmp ecx, 0xc800c
jb 0x907ccca
and dword [ebp - 0x25e8], 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x25e4], ecx
movzx eax, word [ecx]
xor edx, edx
mov dword [ebp - 0x25dc], edx
lea ecx, [ebp - 0x1bcc]
mov dword [ebp - 0x25e0], eax
movzx esi, word [ebp + edx*2 - 0x48]
xor edi, edi
mov edx, dword [ebp - 0x25e0]
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 0x907cd26
mov edx, dword [ebp - 0x25dc]
push 0x19
inc edx
pop edi
mov dword [ebp - 0x25dc], edx
cmp edx, edi
jb 0x907cd19
mov ecx, dword [ebp - 0x25ec]
lea eax, [ebp - 0x1bd0]
push 0
push 0x50524742
push 0x504c4142
push 0x271
push eax
push eax
call fcn.0909b970
mov eax, dword [ebp - 0x25f0]
lea ecx, [ebp - 0x2618]
push 1
push 0x753
push dword [ebp - 0x25e8]
push dword [eax]
call fcn.0909b970
lea ecx, [ebp - 0x2618]
mov byte [ebp - 4], 1
call fcn.09005b3d
lea esi, [ebp - 0x1bd0]
mov dword [ebp - 0x25e0], edi
lea edx, [eax + 2]
mov dword [ebp - 0x25dc], esi
mov dword [ebp - 0x25f4], edx
mov dword [ebp - 0x25f8], edi
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.0909b970
movzx ecx, word [ebp - 0x25fc]
mov si, ax
push ecx
lea ecx, [ebp - 0x25d8]
call fcn.0909b970
movzx ecx, word [ebp - 0x25fa]
mov di, ax
push ecx
lea ecx, [ebp - 0x25d8]
call fcn.0909b970
mov edx, dword [ebp - 0x25f4]
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 - 0x25dc]
shr ecx, 0xf
add esi, 8
mov byte [edx - 1], cl
add edx, 3
sub dword [ebp - 0x25f8], 1
mov dword [ebp - 0x25dc], esi
mov dword [ebp - 0x25f4], edx
jne 0x907cdc7
sub dword [ebp - 0x25e0], 1
push 0x19
pop edi
jne 0x907cdb5
lea ecx, [ebp - 0x2618]
mov byte [ebp - 4], 0
call fcn.0909b970
mov eax, dword [ebp - 0x25e8]
mov ecx, dword [ebp - 0x25e4]
add eax, 0x753
push 2
pop edx
add ecx, edx
mov dword [ebp - 0x25e8], eax
mov dword [ebp - 0x25e4], ecx
cmp eax, 0xb71b
jb 0x907cd02
mov ecx, dword [ebp - 0x25ec]
mov dword [ebp - 4], edx
call fcn.09016859
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.09001fa0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4