Function at 0x43133a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ecx - 1]
mov dword [ebp - 8], eax
mov ebx, edi
sar eax, 1
mov dword [ebp - 4], edi
mov dword [ebp + 0xc], eax
cmp edi, eax
jge 0x4313e5
mov ecx, dword [ebp + 8]
add ebx, ebx
lea eax, [ebx + 2]
shl eax, 4
add ecx, eax
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
lea esi, [ecx - 0x10]
mov eax, dword [edx]
cmp eax, 3
ja case.default.0x431333
jmp dword [eax*4 + 0x431528]
movzx eax, byte [edx + 0xc]
push eax
push esi
push ecx
call fcn.00432e50
add esp, 0xc
jmp 0x431392
movzx eax, byte [edx + 0xc]
push eax
lea eax, [esi + 4]
push eax
lea eax, [ecx + 4]
push eax
call fcn.00432e50
add esp, 0xc
jmp 0x431392
movzx eax, byte [edx + 0xc]
push eax
lea eax, [esi + 8]
push eax
lea eax, [ecx + 8]
push eax
call fcn.00432e50
add esp, 0xc
jmp 0x431392
movzx eax, byte [edx + 0xc]
push eax
lea eax, [esi + 0xc]
push eax
lea eax, [ecx + 0xc]
push eax
call fcn.00432e50
add esp, 0xc
jmp 0x431392
xor al, al
movzx eax, al
xor eax, 1
shl edi, 4
add edi, dword [ebp + 8]
inc eax
add ebx, eax
mov ecx, edi
mov esi, ebx
shl esi, 4
add esi, dword [ebp + 8]
push esi
call fcn.00404ff0
lea eax, [esi + 4]
push eax
lea ecx, [edi + 4]
call fcn.00404ff0
lea eax, [esi + 8]
push eax
lea ecx, [edi + 8]
call fcn.00404ff0
lea eax, [esi + 0xc]
push eax
lea ecx, [edi + 0xc]
call fcn.00404ff0
mov eax, dword [ebp + 0xc]
mov edi, ebx
cmp ebx, eax
jl 0x431317
mov ecx, dword [ebp + 0x10]
cmp ebx, eax
jne 0x43142d
test cl, 1
jne 0x43142d
mov eax, dword [ebp + 8]
shl ecx, 4
shl edi, 4
add edi, eax
lea esi, [eax - 0x10]
add esi, ecx
mov ecx, edi
push esi
call fcn.00404ff0
lea eax, [esi + 4]
push eax
lea ecx, [edi + 4]
call fcn.00404ff0
lea eax, [esi + 8]
push eax
lea ecx, [edi + 8]
call fcn.00404ff0
lea eax, [esi + 0xc]
push eax
lea ecx, [edi + 0xc]
call fcn.00404ff0
mov edi, dword [ebp - 8]
mov esi, dword [ebp + 0x18]
cmp dword [ebp - 4], edi
jge case.default.0x43145f
nop dword [eax]
mov edx, dword [esi]
lea ebx, [edi - 1]
mov ecx, dword [ebp + 8]
sar ebx, 1
mov eax, ebx
shl eax, 4
add ecx, eax
mov eax, dword [edx]
mov dword [ebp + 0xc], ecx
cmp eax, 3
ja case.default.0x43145f
jmp dword [eax*4 + 0x431538]
mov eax, dword [ebp + 0x14]
jmp 0x43148a
mov eax, dword [ebp + 0x14]
add ecx, 4
add eax, 4
jmp 0x43148a
mov eax, dword [ebp + 0x14]
add ecx, 8
add eax, 8
jmp 0x43148a
mov eax, dword [ebp + 0x14]
add ecx, 0xc
add eax, 0xc
mov dword [ebp + 0x10], eax
movzx eax, byte [edx + 0xc]
push eax
push dword [ebp + 0x10]
push ecx
call fcn.00432e50
add esp, 0xc
test al, al
je case.default.0x43145f
push dword [ebp + 0xc]
shl edi, 4
add edi, dword [ebp + 8]
mov ecx, edi
call fcn.00404ff0
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 4]
add eax, 4
push eax
call fcn.00404ff0
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 8]
add eax, 8
push eax
call fcn.00404ff0
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 0xc]
add eax, 0xc
push eax
call fcn.00404ff0
mov edi, ebx
cmp dword [ebp - 4], ebx
jl 0x431440
mov ebx, dword [ebp + 0x14]
shl edi, 4
add edi, dword [ebp + 8]
push ebx
mov ecx, edi
call fcn.00404ff0
lea eax, [ebx + 4]
push eax
lea ecx, [edi + 4]
call fcn.00404ff0
lea eax, [ebx + 8]
push eax
lea ecx, [edi + 8]
call fcn.00404ff0
lea eax, [ebx + 0xc]
push eax
lea ecx, [edi + 0xc]
call fcn.00404ff0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret