Function at 0x9060ab7
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 0x90a2841
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x2608
call fcn.0909ea10
mov eax, dword [0x90de124]
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, dword [ebx + 8]
mov eax, dword [esi + 4]
add eax, 0x78
mov edi, ecx
push 0
push eax
mov dword [ebp - 0x25f8], edi
mov dword [ebp - 0x25f4], esi
call fcn.09029bb6
cmp dword [edi], 0
pop ecx
pop ecx
jne 0x9060b3b
mov eax, dword [esi + 4]
push 0
push 0x753
push 0xb71b
push eax
call fcn.09029bb6
add esp, 0x10
mov dword [edi], eax
mov ecx, esi
mov dword [ebp - 0x2600], esi
call fcn.0900e991
and dword [ebp - 4], 0
xor ecx, ecx
lea eax, [ebp - 0x844]
inc ecx
mov edi, 0x4000
mov edx, ecx
shr edx, 1
mov word [eax - 2], dx
mov edx, edi
mov word [eax], dx
mov word [eax + 2], dx
add ecx, 0x101
add eax, 8
cmp ecx, 0x10101
jb 0x9060b5a
push 0
push 0x50524742
push 0x504c4142
push pe_nt_image_headers32
lea eax, [ebp - 0x848]
push eax
push eax
mov ecx, esi
call fcn.09029bb6
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.09029bb6
add esp, 0xc
mov word [ebp + esi*2 - 0x1dd0], ax
inc esi
cmp esi, 0x100
jb 0x9060b9e
lea ecx, [ebp - 0x1dd0]
call fcn.0905f132
test al, al
jne 0x9060bec
lea ecx, [ebp - 0x1dd0]
call fcn.0905f118
push 2
lea ecx, [ebp - 0x1dd0]
call fcn.09029bb6
mov eax, dword [ebp - 0x25f8]
add eax, 0x168
lea edx, [ebp - 0x1dd0]
mov dword [ebp - 0x25e0], pe_nt_image_headers32
movzx ecx, word [edx]
imul ecx, ecx, 0xff
add ecx, edi
shr ecx, 0xf
add edx, 2
mov byte [eax - 0x100], cl
mov byte [eax], cl
mov byte [eax + 0x100], cl
inc eax
dec dword [ebp - 0x25e0]
jne 0x9060c14
lea eax, [ebp - 0x25d8]
push eax
lea ecx, [ebp - 0x1dd0]
call fcn.09029bb6
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x25dc], 0xc
mov eax, dword [ebp - 0x25dc]
push 0x18
xor edx, edx
pop esi
div esi
add dword [ebp - 0x25dc], 0x8000
mov word [ecx], ax
add ecx, 2
cmp dword [ebp - 0x25dc], 0xc800c
jb 0x9060c5b
and dword [ebp - 0x25e4], 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x25e0], eax
mov eax, dword [ebp - 0x25e0]
movzx eax, word [eax]
and dword [ebp - 0x25dc], 0
mov dword [ebp - 0x25e8], eax
lea eax, [ebp - 0x1bcc]
mov edx, dword [ebp - 0x25dc]
movzx edx, word [ebp + edx*2 - 0x48]
xor ecx, ecx
mov si, word [ebp - 0x25e8]
mov word [eax - 2], si
mov si, word [ebp + ecx*2 - 0x48]
mov word [eax], dx
mov word [eax + 2], si
inc ecx
add eax, 8
cmp ecx, 0x19
jb 0x9060cbd
inc dword [ebp - 0x25dc]
cmp dword [ebp - 0x25dc], 0x19
jb 0x9060cb0
mov ecx, dword [ebp - 0x25f4]
push 0
push 0x50524742
push 0x504c4142
push 0x271
lea eax, [ebp - 0x1bd0]
push eax
push eax
call fcn.09029bb6
mov eax, dword [ebp - 0x25f8]
push 1
push 0x753
push dword [ebp - 0x25e4]
lea ecx, [ebp - 0x2614]
push dword [eax]
call fcn.09029bb6
lea ecx, [ebp - 0x2614]
mov byte [ebp - 4], 1
call fcn.09005145
lea ecx, [ebp - 0x1bd0]
lea esi, [eax + 2]
mov dword [ebp - 0x25e8], 0x19
mov dword [ebp - 0x25dc], ecx
mov dword [ebp - 0x25fc], 0x19
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
shr eax, 0x10
mov dword [ebp - 0x25ec], ecx
push eax
lea ecx, [ebp - 0x25d8]
call fcn.09029bb6
mov word [ebp - 0x25ee], ax
movzx eax, word [ebp - 0x25ec]
push eax
lea ecx, [ebp - 0x25d8]
call fcn.09029bb6
mov word [ebp - 0x25ec], ax
movzx eax, word [ebp - 0x25ea]
push eax
lea ecx, [ebp - 0x25d8]
call fcn.09029bb6
movzx ecx, word [ebp - 0x25ee]
imul ecx, ecx, 0xff
add dword [ebp - 0x25dc], 8
add ecx, edi
shr ecx, 0xf
mov byte [esi - 2], cl
movzx ecx, word [ebp - 0x25ec]
movzx eax, ax
imul ecx, ecx, 0xff
imul eax, eax, 0xff
add ecx, edi
add eax, edi
shr ecx, 0xf
shr eax, 0xf
mov byte [esi - 1], cl
mov ecx, dword [ebp - 0x25dc]
mov byte [esi], al
add esi, 3
dec dword [ebp - 0x25fc]
jne 0x9060d62
dec dword [ebp - 0x25e8]
jne 0x9060d52
lea ecx, [ebp - 0x2614]
mov byte [ebp - 4], 0
call fcn.09005177
add dword [ebp - 0x25e4], 0x753
add dword [ebp - 0x25e0], 2
cmp dword [ebp - 0x25e4], 0xb71b
jb 0x9060c94
mov ecx, dword [ebp - 0x25f4]
or dword [ebp - 4], 0xffffffff
call fcn.09029bb6
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.09001690
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4