Function at 0xb093b0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa8
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x10], 0xbbf4b9ea
mov dword [esp + 0x14], 0xbf19bd0b
mov dword [esp + 0x18], 0x832c811d
mov dword [esp + 0x1c], 0x87c385e2
mov dword [esp + 0x20], 0x8b3c893e
mov dword [esp + 0x24], 0x8f228d2d
mov dword [esp + 0x28], 0x933b913b
mov dword [esp + 0x2c], 0x973a9523
mov dword [esp + 0x30], 0x9bcd99f6
mov dword [esp + 0x34], 0x9f289d3d
mov dword [esp + 0x38], 0xe34be12a
mov dword [esp + 0x3c], 0xe74de54c
mov dword [esp + 0x40], 0xebb4e953
lea eax, [esp + 0x44]
mov word [esp + 0x44], 0xedea
mov dword [esp + 0x46], 0
mov dword [esp + 0x50], 0
mov ecx, dword [esp + 0x50]
cmp ecx, 0x39
ja 0xb09492
nop
nop
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x50]
movzx edx, byte [esp + edx + 0x10]
lea esi, [ecx + edx]
add esi, 0x27d8dc17
add ecx, 0x27d8dc17
and ecx, edx
add ecx, ecx
sub esi, ecx
mov dword [esp + 0x6c], esi
mov ecx, dword [esp + 0x6c]
add cl, 0x5f
mov edx, dword [esp + 0x50]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
cmp ecx, 0x3a
jb 0xb09450
lea edi, [esp + 0x6c]
lea edx, [esp + 0x10]
mov ecx, 0xd
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0xa0]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov esi, dword [ebx + 4]
mov eax, 0xfffffffe
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0xb094c0
sar eax, 1
mov ecx, dword [ebp + 0x10]
mov edi, dword [ecx + 4]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0xb094e0
sar ecx, 1
lea edx, [eax + ecx]
add edx, 0x1b
test edx, edx
jns 0xb094fe
mov eax, 0xffffffff
jmp 0xb09505
add eax, ecx
add eax, eax
add eax, 0x36
push eax
call fcn.00af9490
add esp, 4
movzx ecx, word [esi]
mov dword [esp + 8], eax
test cx, cx
je 0xb09541
add esi, 2
mov eax, dword [esp + 8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [esi]
add esi, 2
test cx, cx
jne 0xb09530
mov word [eax], 0
movzx ecx, word [esp + 0x6c]
test cx, cx
je 0xb09571
lea edx, [esp + 0x6e]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0xb09560
mov word [eax], 0
movzx ecx, word [edi]
test cx, cx
je 0xb095a1
add edi, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edi]
add edi, 2
test cx, cx
jne 0xb09590
mov word [eax], 0
mov dword [esp + 0x10], 0xc30fc537
mov dword [esp + 0x14], 0xcf7cc17a
mov dword [esp + 0x18], 0xcb7ecd65
mov dword [esp + 0x1c], 0xd77fc977
mov dword [esp + 0x20], 0xd366d567
mov dword [esp + 0x24], 0xdf21d16f
lea eax, [esp + 0x28]
mov word [esp + 0x28], 0xddde
mov dword [esp + 0x2e], 0
mov dword [esp + 0x2a], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x21
ja 0xb0964f
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x10]
lea esi, [ecx - 0x56b6d25f]
mov edi, edx
not edi
or edi, esi
and esi, edx
add esi, edi
neg esi
add ecx, esi
add ecx, 0xa9492da0
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x50]
mov edx, ecx
xor edx, 0x98
and ecx, 0x18
lea ecx, [edx + ecx*2]
inc cl
mov edx, dword [esp]
mov byte [esp + edx + 0x10], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x22
jb 0xb09600
lea edi, [esp + 0x50]
lea edx, [esp + 0x10]
mov ecx, 6
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x68]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov edi, dword [ebx]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0xb09680
mov esi, dword [ebx + 8]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0xb096a0
mov edx, dword [ebp + 0x10]
mov ebx, dword [edx]
mov edx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + edx + 2], 0
lea edx, [edx + 2]
jne 0xb096c0
sar eax, 1
sar ecx, 1
sar edx, 1
add ecx, eax
lea eax, [edx + ecx]
add eax, 0xe
test eax, eax
jns 0xb096e4
mov eax, 0xffffffff
jmp 0xb096ec
add ecx, edx
lea eax, [ecx + ecx]
add eax, 0x1c
push eax
call fcn.00af9490
add esp, 4
movzx ecx, word [edi]
mov dword [esp + 0xc], eax
test cx, cx
je 0xb09721
add edi, 2
mov eax, dword [esp + 0xc]
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edi]
add edi, 2
test cx, cx
jne 0xb09710
mov word [eax], 0x2f
add eax, 2
movzx ecx, word [esi]
test cx, cx
je 0xb09751
add esi, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [esi]
add esi, 2
test cx, cx
jne 0xb09740
mov word [eax], 0
movzx ecx, word [esp + 0x50]
test cx, cx
je 0xb09783
lea edx, [esp + 0x52]
mov esi, dword [esp + 8]
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0xb09770
jmp 0xb09787
mov esi, dword [esp + 8]
mov word [eax], 0
movzx ecx, word [ebx]
test cx, cx
je 0xb097b1
add ebx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0xb097a0
mov word [eax], 0
mov dword [esp + 0x10], 0xa3a0a1fc
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xf
ja 0xb09847
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx edx, byte [esp + ecx + 0x10]
lea ecx, [eax + edx]
add ecx, 0x4ef98cbb
add eax, 0x4ef98cbb
and eax, edx
add eax, eax
mov edx, ecx
not edx
and edx, eax
not eax
and eax, ecx
sub eax, edx
mov dword [esp], eax
mov eax, dword [esp]
mov ecx, eax
or ecx, 0xe2
and eax, 0xe2
add eax, ecx
inc al
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x10
jb 0xb097f0
push 0
push 0
push 0
push 0xc00000
lea eax, [esp + 0x20]
push eax
push esi
push dword [esp + 0x24]
push dword [ebp + 8]
call fcn.00b0c2f0
add esp, 0x20
mov ebx, eax
jmp dword [0xcc3534]