Function at 0x90a324c
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 0x90d40a2
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x15f0
call fcn.090cde60
mov eax, dword [0x91154f8]
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, 0xa0
push eax
call fcn.0904b93a
cmp dword [edi], 0
pop ecx
pop ecx
jne 0x90a32d1
push 0
push 0x753
push 0xb71b
push dword [esi + 4]
call fcn.0904b93a
add esp, 0x10
mov dword [edi], eax
mov ecx, esi
mov dword [ebp - 0x15ec], esi
call fcn.09018f87
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 0x90a32eb
push 0
push 0x504c4142
push 0x50524742
push 0x100
lea eax, [ebp - 0x848]
mov ecx, esi
push eax
push eax
call fcn.0904b93a
xor ecx, ecx
mov ax, word [ebp + ecx*8 - 0x846]
mov word [ebp + ecx*2 - 0x15d0], ax
inc ecx
cmp ecx, 0x100
jb 0x90a3330
lea ecx, [ebp - 0x15d0]
call fcn.09078991
test al, al
jne 0x90a3363
lea ecx, [ebp - 0x15d0]
call fcn.090789b1
push 2
lea ecx, [ebp - 0x15d0]
call fcn.0904b93a
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 0x90a3378
lea eax, [ebp - 0x850]
push eax
lea ecx, [ebp - 0x15d0]
call fcn.0904b93a
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.0904b93a
add edi, 0x8000
mov word [esi], ax
lea esi, [esi + 2]
cmp edi, 0xc800c
jb 0x90a33b5
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 0x90a3412
mov edx, dword [ebp - 0x15d4]
inc edx
mov dword [ebp - 0x15d4], edx
cmp edx, 0x19
jb 0x90a3405
mov ecx, dword [ebp - 0x15e4]
lea eax, [ebp - 0x13d0]
push 0
push 0x504c4142
push 0x50524742
push 0x271
push eax
push eax
call fcn.0904b93a
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.0904b93a
lea ecx, [ebp - 0x1600]
mov byte [ebp - 4], 1
call fcn.090067dd
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 0x90a34ae
sub dword [ebp - 0x15d8], 1
jne 0x90a34a4
lea ecx, [ebp - 0x1600]
mov byte [ebp - 4], 0
call fcn.090068a7
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 0x90a33ee
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.090190fb
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.09002290
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4