Function at 0x2e9fcdc
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.02e64308
mov eax, dword [ebp - 8]
call fcn.02e64308
xor eax, eax
push ebp
push 0x2e9f359
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.02e63f4c
mov eax, dword [ebp - 8]
call fcn.02e64154
test eax, eax
je 0x2e9ff22
mov eax, dword [ebp - 4]
call fcn.02e64154
test eax, eax
je 0x2e9ff22
mov eax, dword [ebp - 8]
call fcn.02e64154
cmp eax, 0x100
jle 0x2e9fd82
push pe_nt_image_headers32
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x2e9f0b4]
call fcn.02e65dc0
add esp, 4
lea eax, [ebp - 8]
call fcn.02e64324
mov edx, eax
mov eax, dword [ebp - 0x10]
mov ecx, pe_nt_image_headers32
call fcn.02e67270
jmp 0x2e9fdbd
mov eax, dword [ebp - 8]
call fcn.02e64154
push eax
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x2e9f0b4]
call fcn.02e65dc0
add esp, 4
mov eax, dword [ebp - 8]
call fcn.02e64154
push eax
lea eax, [ebp - 8]
call fcn.02e64324
mov edx, eax
mov eax, dword [ebp - 0x10]
pop ecx
call fcn.02e67270
xor edi, edi
lea eax, [ebp - 0x418]
mov dword [eax], edi
inc edi
add eax, 4
cmp edi, 0x100
jne 0x2e9fdc5
xor ebx, ebx
xor edi, edi
lea esi, [ebp - 0x418]
add ebx, dword [esi]
mov eax, dword [ebp - 8]
call fcn.02e64154
push eax
mov eax, edi
pop edx
mov ecx, edx
cdq
idiv ecx
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + edx]
add ebx, eax
and ebx, 0x800000ff
jns 0x2e9fe09
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [esi]
mov edx, dword [ebp + ebx*4 - 0x418]
mov dword [esi], edx
and eax, 0xff
mov dword [ebp + ebx*4 - 0x418], eax
inc edi
add esi, 4
cmp edi, 0x100
jne 0x2e9fddd
xor ebx, ebx
xor esi, esi
mov eax, dword [ebp - 4]
call fcn.02e64154
push eax
lea eax, [ebp - 0x14]
mov ecx, 1
mov edx, dword [0x2e9f0c8]
call fcn.02e65dc0
add esp, 4
mov eax, dword [ebp - 4]
call fcn.02e64154
push eax
lea eax, [ebp - 4]
call fcn.02e64324
mov edx, eax
mov eax, dword [ebp - 0x14]
pop ecx
call fcn.02e67270
mov eax, dword [ebp - 4]
call fcn.02e64154
dec eax
test eax, eax
jl 0x2e9fef6
inc eax
mov dword [ebp - 0x18], eax
xor edi, edi
inc ebx
and ebx, 0x800000ff
jns 0x2e9fe8f
dec ebx
or ebx, 0xffffff00
inc ebx
add esi, dword [ebp + ebx*4 - 0x418]
and esi, 0x800000ff
jns 0x2e9fea6
dec esi
or esi, 0xffffff00
inc esi
mov al, byte [ebp + ebx*4 - 0x418]
mov edx, dword [ebp + esi*4 - 0x418]
mov dword [ebp + ebx*4 - 0x418], edx
and eax, 0xff
mov dword [ebp + esi*4 - 0x418], eax
mov eax, dword [ebp + ebx*4 - 0x418]
add eax, dword [ebp + esi*4 - 0x418]
and eax, 0x800000ff
jns 0x2e9fee3
dec eax
or eax, 0xffffff00
inc eax
mov al, byte [ebp + eax*4 - 0x418]
mov edx, dword [ebp - 0x14]
xor byte [edx + edi], al
inc edi
dec dword [ebp - 0x18]
jne 0x2e9fe7e
mov eax, dword [ebp - 4]
call fcn.02e64154
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.02e64488
mov eax, dword [ebp - 4]
call fcn.02e64154
push eax
mov eax, dword [ebp - 0xc]
call fcn.02e64324
mov edx, dword [ebp - 0x14]
pop ecx
call fcn.02e67270
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2e9f360
lea eax, [ebp - 0x14]
mov edx, dword [0x2e9f0c8]
call fcn.02e65ec0
lea eax, [ebp - 0x10]
mov edx, dword [0x2e9f0b4]
call fcn.02e65ec0
lea eax, [ebp - 8]
mov edx, 2
call fcn.02e63f70
ret