Function at 0x47bca0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
test ebx, ebx
je 0x47bcce
cmp dword [ebp - 8], 0
je 0x47bcce
mov eax, dword [ebp - 8]
cmp byte [eax], 0
je 0x47bcce
mov eax, dword [ebx + 0x11]
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0x46]
je 0x47bcd8
mov eax, 0xfffffffb
jmp 0x47c038
cmp dword [ebp - 8], 0
je 0x47bd01
mov edx, dword [ebp - 8]
cmp byte [edx], 1
jne 0x47bd01
mov eax, dword [ebp - 8]
mov eax, dword [eax + 1]
cmp eax, 0x80
je 0x47bd0b
cmp eax, 0xc0
je 0x47bd0b
cmp eax, 0x100
je 0x47bd0b
mov eax, 0xfffffffe
jmp 0x47c038
test ebx, ebx
je 0x47bd38
mov al, byte [ebx]
cmp al, 1
je 0x47bd1d
cmp al, 2
je 0x47bd1d
cmp al, 3
jne 0x47bd38
mov edx, dword [ebx + 0x11]
cmp edx, 0x80
je 0x47bd42
cmp edx, 0xc0
je 0x47bd42
cmp edx, 0x100
je 0x47bd42
mov eax, 0xfffffffb
jmp 0x47c038
mov eax, dword [ebp + 0xc]
cdq
idiv dword [ebx + 0x11]
mov dword [ebp - 0x10], eax
mov al, byte [ebx]
dec al
je 0x47bd5f
dec al
je 0x47be5c
jmp 0x47c02b
mov eax, dword [ebp - 0x10]
dec eax
test eax, eax
jl 0x47c032
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebx + 0x11]
test eax, eax
jns 0x47bd80
add eax, 0x1f
sar eax, 5
dec eax
test eax, eax
jl 0x47bdd2
inc eax
mov dword [ebp - 0x18], eax
xor edx, edx
lea eax, [ebp - 0x50]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov esi, ecx
mov ecx, dword [ebx + 0x11]
test ecx, ecx
jns 0x47bda5
add ecx, 7
sar ecx, 3
imul ecx, dword [ebp - 0xc]
mov edi, edx
shl edi, 2
add ecx, edi
add ecx, eax
mov edi, dword [ebp + 0x10]
mov cl, byte [edi + ecx]
and cl, 0xff
mov byte [esi], cl
inc eax
add esi, 8
cmp eax, 4
jne 0x47bd9b
inc edx
inc dword [ebp - 0x1c]
dec dword [ebp - 0x18]
jne 0x47bd94
mov eax, dword [ebx + 0x11]
push eax
mov eax, dword [ebp - 8]
add eax, 0x4a
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 1]
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.0047a5f4
mov eax, dword [ebx + 0x11]
test eax, eax
jns 0x47bdf8
add eax, 0x1f
sar eax, 5
dec eax
test eax, eax
jl 0x47be4b
inc eax
mov dword [ebp - 0x18], eax
xor edx, edx
lea eax, [ebp - 0x50]
mov dword [ebp - 0x20], eax
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov esi, ecx
mov ecx, dword [ebx + 0x11]
test ecx, ecx
jns 0x47be1d
add ecx, 7
sar ecx, 3
imul ecx, dword [ebp - 0xc]
mov edi, edx
shl edi, 2
add ecx, edi
add ecx, eax
mov edi, dword [ebp + 8]
lea ecx, [edi + ecx]
push ecx
mov cl, byte [esi]
pop edi
mov byte [edi], cl
inc eax
add esi, 8
cmp eax, 4
jne 0x47be13
inc edx
inc dword [ebp - 0x20]
dec dword [ebp - 0x18]
jne 0x47be0c
inc dword [ebp - 0xc]
dec dword [ebp - 0x14]
jne 0x47bd76
jmp 0x47c032
mov eax, dword [ebp - 0x10]
dec eax
cmp eax, 1
jl 0x47bf70
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x11]
test eax, eax
jns 0x47be76
add eax, 0x1f
sar eax, 5
dec eax
test eax, eax
jl 0x47bec8
inc eax
mov dword [ebp - 0x14], eax
xor edx, edx
lea eax, [ebp - 0x50]
mov dword [ebp - 0x24], eax
xor eax, eax
mov ecx, dword [ebp - 0x24]
mov esi, ecx
mov ecx, dword [ebx + 0x11]
test ecx, ecx
jns 0x47be9b
add ecx, 7
sar ecx, 3
imul ecx, dword [ebp - 0xc]
mov edi, edx
shl edi, 2
add ecx, edi
add ecx, eax
mov edi, dword [ebp + 0x10]
mov cl, byte [edi + ecx]
and cl, 0xff
mov byte [esi], cl
inc eax
add esi, 8
cmp eax, 4
jne 0x47be91
inc edx
inc dword [ebp - 0x24]
dec dword [ebp - 0x14]
jne 0x47be8a
mov eax, dword [ebx + 0x11]
push eax
mov eax, dword [ebp - 8]
add eax, 0x4a
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 1]
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.0047a5f4
mov eax, dword [ebx + 0x11]
test eax, eax
jns 0x47beee
add eax, 0x1f
sar eax, 5
dec eax
test eax, eax
jl 0x47bf63
inc eax
mov dword [ebp - 0x14], eax
xor edx, edx
lea eax, [ebp - 0x50]
mov dword [ebp - 0x28], eax
xor eax, eax
mov ecx, dword [ebp - 0x28]
mov esi, ecx
mov ecx, dword [ebp - 0xc]
dec ecx
mov edi, dword [ebx + 0x11]
test edi, edi
jns 0x47bf17
add edi, 7
sar edi, 3
imul ecx, edi
mov edi, edx
shl edi, 2
add ecx, edi
add ecx, eax
mov edi, dword [ebp + 0x10]
mov cl, byte [edi + ecx]
xor cl, byte [esi]
push ecx
mov ecx, dword [ebx + 0x11]
test ecx, ecx
jns 0x47bf39
add ecx, 7
sar ecx, 3
imul ecx, dword [ebp - 0xc]
mov edi, edx
shl edi, 2
add ecx, edi
add ecx, eax
mov edi, dword [ebp + 8]
add edi, ecx
pop ecx
mov byte [edi], cl
inc eax
add esi, 8
cmp eax, 4
jne 0x47bf09
inc edx
inc dword [ebp - 0x28]
dec dword [ebp - 0x14]
jne 0x47bf02
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x47be6c
mov eax, dword [ebx + 0x11]
test eax, eax
jns 0x47bf7a
add eax, 0x1f
sar eax, 5
dec eax
test eax, eax
jl 0x47bfb9
inc eax
mov dword [ebp - 0x14], eax
xor edx, edx
lea eax, [ebp - 0x50]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov ecx, dword [ebp - 0x2c]
mov esi, ecx
mov ecx, edx
shl ecx, 2
add ecx, eax
mov edi, dword [ebp + 0x10]
mov cl, byte [edi + ecx]
and cl, 0xff
mov byte [esi], cl
inc eax
add esi, 8
cmp eax, 4
jne 0x47bf95
inc edx
inc dword [ebp - 0x2c]
dec dword [ebp - 0x14]
jne 0x47bf8e
mov eax, dword [ebx + 0x11]
push eax
mov eax, dword [ebp - 8]
add eax, 0x4a
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 1]
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.0047a5f4
mov eax, dword [ebx + 0x11]
test eax, eax
jns 0x47bfdf
add eax, 0x1f
sar eax, 5
dec eax
test eax, eax
jl 0x47c032
inc eax
mov dword [ebp - 0x14], eax
xor edx, edx
lea eax, [ebp - 0x50]
mov dword [ebp - 0x30], eax
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov esi, ecx
mov ecx, edx
shl ecx, 2
add ecx, eax
mov cl, byte [ebx + ecx + 1]
xor cl, byte [esi]
push ecx
mov ecx, edx
shl ecx, 2
add ecx, eax
mov edi, dword [ebp + 8]
add edi, ecx
pop ecx
mov byte [edi], cl
inc eax
add esi, 8
cmp eax, 4
jne 0x47bffa
inc edx
inc dword [ebp - 0x30]
dec dword [ebp - 0x14]
jne 0x47bff3
jmp 0x47c032
mov eax, 0xfffffffb
jmp 0x47c038
mov eax, dword [ebx + 0x11]
imul dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc