Function at 0x10ded50
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1b8c
call fcn.011095e0
mov eax, dword [0xd2ae20]
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.01107c90
lea ecx, [ebp - 0x1374]
push 0xd10220
push ecx
call fcn.010fddb0
pop esi
call 0x11cebbd
add esp, 0x14
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
call esi
lea eax, [ebp - 0x1374]
push eax
xor edi, edi
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
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
xor ebx, ebx
jmp 0x10dee40
mov ecx, dword [ebp - 0x1b78]
push ecx
mov dword [ebp + ebx*4 - 0x1774], ebx
call fcn.010fde70
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
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 0x10dee40
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
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
xor eax, eax
jmp 0x10def00
mov edx, dword [ebp + eax - 0x1774]
mov ecx, dword [ebp + eax - 0x1b74]
add ecx, edx
add ecx, edi
and ecx, 0x800000ff
jns 0x10def22
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 0x10def59
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 0x10def90
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 0x10defc7
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 0x10def00
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
call esi
mov eax, dword [ebp - 0x1b80]
push eax
call fcn.010fde70
inc eax
push eax
call fcn.0110710c
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
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.010fde70
add esp, 4
test eax, eax
jle 0x10df17b
mov ecx, dword [ebp - 0x1b80]
mov eax, dword [ebp - 0x1b84]
sub eax, ecx
mov dword [ebp - 0x1b7c], ecx
mov dword [ebp - 0x1b88], eax
nop
inc edi
and edi, 0x800000ff
jns 0x10df0d1
dec edi
or edi, 0xffffff00
inc edi
mov eax, dword [ebp + edi*4 - 0x1774]
add ebx, eax
and ebx, 0x800000ff
jns 0x10df0ea
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 0x10df116
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 0x10df142
mov eax, dword [ebp - 0x1b88]
mov byte [eax + edx], cl
jmp 0x10df14f
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.010fde70
add esp, 4
cmp dword [ebp - 0x1b78], eax
jl 0x10df0c0
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
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.01107c90
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01107d0a
mov esp, ebp
pop ebp
ret