Function at 0x2e024c28
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push 0x3c
mov eax, 0x2e030bcb
call fcn.2e00274c
mov eax, dword [0x2e047f64]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [eax + 0x68]
mov ecx, esi
call dword [0x2e0322cc]
call esi
pop ecx
pop ecx
movzx ecx, word [0x2e045ab8]
push ecx
mov ecx, dword [0x2e047f90]
push edx
push eax
mov dword [ebp - 0x24], eax
mov esi, dword [ecx + 0x54]
mov ecx, esi
mov dword [ebp - 0x20], edx
call dword [0x2e0322cc]
call esi
mov ecx, dword [0x2e047f6c]
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 0x2e0220e0
push 0
call dword [0x2e0322cc]
call esi
pop ecx
pop ecx
mov eax, dword [0x2e047f90]
push ebx
push edi
mov byte [ebp - 4], 1
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x2e0322cc]
call esi
pop ecx
pop ecx
cmp eax, 6
je 0x2e024eb2
mov eax, dword [0x2e047f90]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x2e0322cc]
call esi
pop ecx
pop ecx
push eax
mov eax, dword [0x2e047f64]
mov esi, dword [eax + 0x4d8]
mov ecx, esi
call dword [0x2e0322cc]
call esi
pop ecx
mov ecx, dword [0x2e047f64]
mov edi, eax
push edi
mov dword [ebp - 0x3c], edi
mov esi, dword [ecx + 0x14c]
mov ecx, esi
call dword [0x2e0322cc]
call esi
pop ecx
mov ecx, dword [0x2e047f64]
push edi
mov dword [ebp - 0x28], eax
mov esi, dword [ecx + 0x128]
mov ecx, esi
call dword [0x2e0322cc]
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 0x2e024e4c
push ebx
push edi
lea ecx, [ebp - 0x14]
call fcn.2e01c4f0
mov eax, dword [0x2e047f64]
mov ebx, dword [ebp - 0x14]
push ebx
mov dword [ebp - 0x34], ebx
mov esi, dword [eax + 0x230]
mov ecx, esi
call dword [0x2e0322cc]
call esi
pop ecx
mov ecx, dword [0x2e047f64]
push ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov esi, dword [ecx + 0x274]
mov ecx, esi
call dword [0x2e0322cc]
call esi
pop ecx
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x18], eax
cmp eax, ecx
jge 0x2e024e21
push eax
mov eax, dword [0x2e047f64]
push ebx
mov esi, dword [eax + 0x260]
mov ecx, esi
call dword [0x2e0322cc]
call esi
pop ecx
mov esi, eax
mov edi, edx
mov eax, dword [0x2e047f64]
pop ecx
push edi
push esi
mov ebx, dword [eax + 0x40]
mov ecx, ebx
call dword [0x2e0322cc]
call ebx
movzx eax, ax
pop ecx
pop ecx
cmp word [0x2e045aac], ax
jne 0x2e024e12
mov eax, dword [0x2e047f64]
push edi
push esi
mov esi, dword [eax + 0x68]
mov ecx, esi
call dword [0x2e0322cc]
call esi
pop ecx
pop ecx
push dword [ebp - 0x2c]
movzx ecx, word [0x2e045ab8]
push dword [ebp - 0x30]
push ecx
push edx
push eax
mov eax, dword [0x2e047f90]
mov esi, dword [eax + 0x58]
mov ecx, esi
call dword [0x2e0322cc]
call esi
add esp, 0x14
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x34]
inc eax
mov ecx, dword [ebp - 0x38]
jmp 0x2e024d8d
test ebx, ebx
je 0x2e024e40
mov eax, dword [0x2e047f64]
and dword [ebp - 0x14], 0
push ebx
mov esi, dword [eax + 0x228]
mov ecx, esi
call dword [0x2e0322cc]
call esi
pop ecx
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x3c]
inc ebx
jmp 0x2e024d35
mov eax, dword [0x2e047f64]
push edi
mov esi, dword [eax + 0x128]
mov ecx, esi
call dword [0x2e0322cc]
call esi
xor eax, dword [ebp - 0x40]
pop ecx
push eax
mov eax, dword [0x2e047f64]
push edi
mov esi, dword [eax + 0x41c]
mov ecx, esi
call dword [0x2e0322cc]
call esi
movzx eax, word [0x2e045ab8]
pop ecx
pop ecx
push eax
mov eax, dword [0x2e047f90]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
mov esi, dword [eax + 0x54]
mov ecx, esi
call dword [0x2e0322cc]
call esi
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
mov edi, eax
mov ebx, edx
call fcn.2e01c4f0
mov eax, dword [0x2e047f64]
push ebx
push edi
mov esi, dword [eax + 0x234]
mov ecx, esi
call dword [0x2e0322cc]
call esi
pop ecx
pop ecx
mov edi, eax
mov eax, dword [0x2e047f6c]
mov byte [ebp - 4], 3
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x2e0322cc]
call esi
jmp 0x2e024eee
mov eax, edi
call fcn.2e001586
ret