Function at 0x2e025128
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push 0x3c
mov eax, 0x2e031213
call fcn.2e00270c
mov eax, dword [0x2e048f7c]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [eax + 0x68]
mov ecx, esi
call dword [0x2e0332d8]
call esi
pop ecx
pop ecx
movzx ecx, word [0x2e046ab8]
push ecx
mov ecx, dword [0x2e048fa0]
push edx
push eax
mov dword [ebp - 0x24], eax
mov esi, dword [ecx + 0x54]
mov ecx, esi
mov dword [ebp - 0x20], edx
call dword [0x2e0332d8]
call esi
mov ecx, dword [0x2e048f84]
add esp, 0xc
or dword [ebp - 0x44], 0xffffffff
mov edi, eax
and dword [ebp - 4], 0
mov ebx, edx
mov esi, dword [ecx + 8]
mov ecx, esi
push 0x2e0225d0
push 0
call dword [0x2e0332d8]
call esi
pop ecx
pop ecx
mov eax, dword [0x2e048fa0]
push ebx
push edi
mov byte [ebp - 4], 1
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x2e0332d8]
call esi
pop ecx
pop ecx
cmp eax, 6
je 0x2e0253b2
mov eax, dword [0x2e048fa0]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x2e0332d8]
call esi
pop ecx
pop ecx
push eax
mov eax, dword [0x2e048f7c]
mov esi, dword [eax + 0x4d8]
mov ecx, esi
call dword [0x2e0332d8]
call esi
pop ecx
mov ecx, dword [0x2e048f7c]
mov edi, eax
push edi
mov dword [ebp - 0x3c], edi
mov esi, dword [ecx + 0x14c]
mov ecx, esi
call dword [0x2e0332d8]
call esi
pop ecx
mov ecx, dword [0x2e048f7c]
push edi
mov dword [ebp - 0x28], eax
mov esi, dword [ecx + 0x128]
mov ecx, esi
call dword [0x2e0332d8]
call esi
and dword [ebp - 0x14], 0
pop ecx
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 2
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
cmp ebx, dword [ebp - 0x28]
jge 0x2e02534c
push ebx
push edi
lea ecx, [ebp - 0x14]
call fcn.2e0153e5
mov eax, dword [0x2e048f7c]
mov ebx, dword [ebp - 0x14]
push ebx
mov dword [ebp - 0x34], ebx
mov esi, dword [eax + 0x230]
mov ecx, esi
call dword [0x2e0332d8]
call esi
pop ecx
mov ecx, dword [0x2e048f7c]
push ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov esi, dword [ecx + 0x274]
mov ecx, esi
call dword [0x2e0332d8]
call esi
pop ecx
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x18], eax
cmp eax, ecx
jge 0x2e025321
push eax
mov eax, dword [0x2e048f7c]
push ebx
mov esi, dword [eax + 0x260]
mov ecx, esi
call dword [0x2e0332d8]
call esi
pop ecx
mov esi, eax
mov edi, edx
mov eax, dword [0x2e048f7c]
pop ecx
push edi
push esi
mov ebx, dword [eax + 0x40]
mov ecx, ebx
call dword [0x2e0332d8]
call ebx
movzx eax, ax
pop ecx
pop ecx
cmp word [0x2e046aac], ax
jne 0x2e025312
mov eax, dword [0x2e048f7c]
push edi
push esi
mov esi, dword [eax + 0x68]
mov ecx, esi
call dword [0x2e0332d8]
call esi
pop ecx
pop ecx
push dword [ebp - 0x2c]
movzx ecx, word [0x2e046ab8]
push dword [ebp - 0x30]
push ecx
push edx
push eax
mov eax, dword [0x2e048fa0]
mov esi, dword [eax + 0x58]
mov ecx, esi
call dword [0x2e0332d8]
call esi
add esp, 0x14
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x34]
inc eax
mov ecx, dword [ebp - 0x38]
jmp 0x2e02528d
test ebx, ebx
je 0x2e025340
mov eax, dword [0x2e048f7c]
and dword [ebp - 0x14], 0
push ebx
mov esi, dword [eax + 0x228]
mov ecx, esi
call dword [0x2e0332d8]
call esi
pop ecx
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x3c]
inc ebx
jmp 0x2e025235
mov eax, dword [0x2e048f7c]
push edi
mov esi, dword [eax + 0x128]
mov ecx, esi
call dword [0x2e0332d8]
call esi
xor eax, dword [ebp - 0x40]
pop ecx
push eax
mov eax, dword [0x2e048f7c]
push edi
mov esi, dword [eax + 0x41c]
mov ecx, esi
call dword [0x2e0332d8]
call esi
movzx eax, word [0x2e046ab8]
pop ecx
pop ecx
push eax
mov eax, dword [0x2e048fa0]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
mov esi, dword [eax + 0x54]
mov ecx, esi
call dword [0x2e0332d8]
call esi
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
mov edi, eax
mov ebx, edx
call fcn.2e0153e5
mov eax, dword [0x2e048f7c]
push ebx
push edi
mov esi, dword [eax + 0x234]
mov ecx, esi
call dword [0x2e0332d8]
call esi
pop ecx
pop ecx
mov edi, eax
mov eax, dword [0x2e048f84]
mov byte [ebp - 4], 3
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x2e0332d8]
call esi
jmp 0x2e0253ee
mov eax, edi
call fcn.2e00155b
ret