Function at 0x10006bdc
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.1000488c
mov eax, dword [ebp - 8]
call fcn.1000488c
xor eax, eax
push ebp
push 0x10006e70
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.1000469c
test eax, eax
je 0x10006e2e
mov eax, dword [ebp - 8]
call fcn.1000469c
test eax, eax
je 0x10006e2e
mov eax, dword [ebp - 8]
call fcn.1000469c
cmp eax, 0x100
jle 0x10006c62
lea eax, [ebp - 8]
push eax
mov ecx, pe_nt_image_headers32
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.100048fc
mov eax, dword [ebp - 8]
call fcn.1000469c
push eax
lea eax, [ebp - 0x14]
mov ecx, 1
mov edx, dword [0x10006b9c]
call fcn.100055d4
add esp, 4
mov eax, dword [ebp - 8]
call fcn.1000469c
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x10006ca3
inc ebx
xor edi, edi
mov eax, dword [ebp - 8]
mov al, byte [eax + edi]
mov edx, dword [ebp - 0x14]
mov byte [edx + edi], al
inc edi
dec ebx
jne 0x10006c93
xor edi, edi
lea eax, [ebp - 0x418]
mov dword [eax], edi
inc edi
add eax, 4
cmp edi, 0x100
jne 0x10006cab
xor esi, esi
xor edi, edi
lea ebx, [ebp - 0x418]
mov eax, dword [ebp - 8]
call fcn.1000469c
push eax
mov eax, edi
pop edx
mov ecx, edx
cdq
idiv ecx
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + edx]
add esi, dword [ebx]
add eax, esi
and eax, 0x800000ff
jns 0x10006ced
dec eax
or eax, 0xffffff00
inc eax
mov esi, eax
mov al, byte [ebx]
mov edx, dword [ebp + esi*4 - 0x418]
mov dword [ebx], edx
and eax, 0xff
mov dword [ebp + esi*4 - 0x418], eax
inc edi
add ebx, 4
cmp edi, 0x100
jne 0x10006cc3
xor esi, esi
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.1000469c
push eax
lea eax, [ebp - 0x18]
mov ecx, 1
mov edx, dword [0x10006bbc]
call fcn.100055d4
add esp, 4
mov eax, dword [ebp - 4]
call fcn.1000469c
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x10006d5a
inc ebx
xor edi, edi
mov eax, dword [ebp - 4]
mov al, byte [eax + edi]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], al
inc edi
dec ebx
jne 0x10006d4a
mov eax, dword [ebp - 4]
call fcn.1000469c
mov ebx, eax
test ebx, ebx
jl 0x10006df6
inc ebx
xor edi, edi
inc esi
and esi, 0x800000ff
jns 0x10006d80
dec esi
or esi, 0xffffff00
inc esi
mov eax, dword [ebp + esi*4 - 0x418]
add eax, dword [ebp - 0x10]
and eax, 0x800000ff
jns 0x10006d98
dec eax
or eax, 0xffffff00
inc eax
mov dword [ebp - 0x10], eax
mov al, byte [ebp + esi*4 - 0x418]
mov edx, dword [ebp - 0x10]
mov edx, dword [ebp + edx*4 - 0x418]
mov dword [ebp + esi*4 - 0x418], edx
and eax, 0xff
mov edx, dword [ebp - 0x10]
mov dword [ebp + edx*4 - 0x418], eax
mov eax, dword [ebp + esi*4 - 0x418]
mov edx, dword [ebp - 0x10]
add eax, dword [ebp + edx*4 - 0x418]
and eax, 0x800000ff
jns 0x10006de1
dec eax
or eax, 0xffffff00
inc eax
mov al, byte [ebp + eax*4 - 0x418]
mov edx, dword [ebp - 0x18]
xor byte [edx + edi], al
inc edi
dec ebx
jne 0x10006d6f
mov eax, dword [ebp - 4]
call fcn.1000469c
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x10006e2e
inc ebx
xor edi, edi
lea eax, [ebp - 0x41c]
mov edx, dword [ebp - 0x18]
mov dl, byte [edx + edi]
call fcn.100045c4
mov edx, dword [ebp - 0x41c]
mov eax, dword [ebp - 0xc]
call fcn.100046a4
mov eax, dword [ebp - 0xc]
inc edi
dec ebx
jne 0x10006e08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10006e77
lea eax, [ebp - 0x41c]
call fcn.100043dc
lea eax, [ebp - 0x18]
mov edx, dword [0x10006bbc]
call fcn.100056f4
lea eax, [ebp - 0x14]
mov edx, dword [0x10006b9c]
call fcn.100056f4
lea eax, [ebp - 8]
mov edx, 2
call fcn.10004400
ret