Function at 0x4010f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1b8c
call fcn.0042b3d0
mov eax, dword [0x44e6f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push ebx
push esi
push edi
push 0x1370
mov dword [ebp - 0x1b80], eax
lea eax, [ebp - 0x1374]
push 0
push eax
mov dword [ebp - 0x1b78], ecx
mov dword [ebp - 0x1b8c], edx
call fcn.00429a80
add esp, 0xc
push str.Bunnicula_is_an_American_animated_television_series_from_Warner_Bros._Animation_developed_by_Jessica_Borutski
lea ecx, [ebp - 0x1374]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [ebp - 0x1374]
push edx
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
lea ecx, [ebp - 0x1374]
push ecx
call esi
lea edx, [ebp - 0x1374]
push edx
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
lea ecx, [ebp - 0x1374]
push ecx
call esi
lea edx, [ebp - 0x1374]
push edx
xor edi, edi
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
lea ecx, [ebp - 0x1374]
push ecx
call esi
lea edx, [ebp - 0x1374]
push edx
call esi
xor ebx, ebx
mov eax, dword [ebp - 0x1b78]
push eax
mov dword [ebp + ebx*4 - 0x1774], ebx
call fcn.0041fc40
mov ecx, eax
xor edx, edx
mov eax, ebx
div ecx
mov eax, dword [ebp - 0x1b78]
add esp, 4
movzx ecx, byte [edx + eax]
lea edx, [ebp - 0x1374]
push edx
mov dword [ebp + ebx*4 - 0x1b74], ecx
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
lea ecx, [ebp - 0x1374]
push ecx
call esi
lea edx, [ebp - 0x1374]
push edx
call esi
inc ebx
cmp ebx, 0x100
jl 0x4011b1
lea eax, [ebp - 0x1374]
push eax
call esi
lea ecx, [ebp - 0x1374]
push ecx
call esi
lea edx, [ebp - 0x1374]
push edx
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
xor eax, eax
jmp 0x401240
mov edx, dword [ebp + eax - 0x1774]
mov ecx, dword [ebp + eax - 0x1b74]
add ecx, edx
add ecx, edi
and ecx, 0x800000ff
jns 0x401262
dec ecx
or ecx, 0xffffff00
inc ecx
mov edi, dword [ebp + ecx*4 - 0x1774]
mov dword [ebp + eax - 0x1774], edi
mov edi, dword [ebp + eax - 0x1b70]
mov dword [ebp + ecx*4 - 0x1774], edx
mov edx, dword [ebp + eax - 0x1770]
add edi, edx
add ecx, edi
and ecx, 0x800000ff
jns 0x401299
dec ecx
or ecx, 0xffffff00
inc ecx
mov edi, dword [ebp + ecx*4 - 0x1774]
mov dword [ebp + eax - 0x1770], edi
mov edi, dword [ebp + eax - 0x1b6c]
mov dword [ebp + ecx*4 - 0x1774], edx
mov edx, dword [ebp + eax - 0x176c]
add edi, edx
add ecx, edi
and ecx, 0x800000ff
jns 0x4012d0
dec ecx
or ecx, 0xffffff00
inc ecx
mov edi, dword [ebp + ecx*4 - 0x1774]
mov dword [ebp + eax - 0x176c], edi
mov edi, dword [ebp + eax - 0x1b68]
mov dword [ebp + ecx*4 - 0x1774], edx
mov edx, dword [ebp + eax - 0x1768]
add edi, edx
add edi, ecx
and edi, 0x800000ff
jns 0x401307
dec edi
or edi, 0xffffff00
inc edi
mov ecx, dword [ebp + edi*4 - 0x1774]
mov dword [ebp + eax - 0x1768], ecx
add eax, 0x10
mov dword [ebp + edi*4 - 0x1774], edx
cmp eax, 0x400
jl 0x401240
lea edx, [ebp - 0x1374]
push edx
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
lea ecx, [ebp - 0x1374]
push ecx
call esi
lea edx, [ebp - 0x1374]
push edx
call esi
mov eax, dword [ebp - 0x1b80]
push eax
call fcn.0041fc40
inc eax
push eax
call fcn.00428efc
add esp, 8
lea ecx, [ebp - 0x1374]
push ecx
mov dword [ebp - 0x1b84], eax
xor ebx, ebx
xor edi, edi
call esi
lea edx, [ebp - 0x1374]
push edx
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
lea ecx, [ebp - 0x1374]
push ecx
call esi
mov edx, dword [ebp - 0x1b80]
push edx
mov dword [ebp - 0x1b78], ebx
call fcn.0041fc40
add esp, 4
test eax, eax
jle 0x40148b
mov ecx, dword [ebp - 0x1b80]
mov eax, dword [ebp - 0x1b84]
sub eax, ecx
mov dword [ebp - 0x1b7c], ecx
mov dword [ebp - 0x1b88], eax
lea esp, [esp]
inc edi
and edi, 0x800000ff
jns 0x4013e1
dec edi
or edi, 0xffffff00
inc edi
mov eax, dword [ebp + edi*4 - 0x1774]
add ebx, eax
and ebx, 0x800000ff
jns 0x4013fa
dec ebx
or ebx, 0xffffff00
inc ebx
mov edx, dword [ebp + ebx*4 - 0x1774]
mov dword [ebp + edi*4 - 0x1774], edx
mov dword [ebp + ebx*4 - 0x1774], eax
mov ecx, dword [ebp + edi*4 - 0x1774]
add eax, ecx
and eax, 0x800000ff
jns 0x401426
dec eax
or eax, 0xffffff00
inc eax
mov edx, dword [ebp - 0x1b7c]
mov cl, byte [edx]
movzx edx, cl
cmp dword [ebp + eax*4 - 0x1774], edx
mov edx, dword [ebp - 0x1b7c]
lea eax, [ebp + eax*4 - 0x1774]
jne 0x401452
mov eax, dword [ebp - 0x1b88]
mov byte [eax + edx], cl
jmp 0x40145f
mov al, byte [eax]
xor al, cl
mov ecx, dword [ebp - 0x1b88]
mov byte [ecx + edx], al
mov eax, 1
add dword [ebp - 0x1b78], eax
add dword [ebp - 0x1b7c], eax
mov eax, dword [ebp - 0x1b80]
push eax
call fcn.0041fc40
add esp, 4
cmp dword [ebp - 0x1b78], eax
jl 0x4013d0
lea ecx, [ebp - 0x1374]
push ecx
call esi
lea edx, [ebp - 0x1374]
push edx
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
lea ecx, [ebp - 0x1374]
push ecx
call esi
mov eax, dword [ebp - 0x1b84]
mov edx, dword [ebp - 0x1b78]
mov ecx, dword [ebp - 0x1b8c]
mov byte [eax + edx], 0
push 0x1370
lea edx, [ebp - 0x1374]
push 0
push edx
mov dword [ecx], eax
call fcn.00429a80
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00429afa
mov esp, ebp
pop ebp
ret