Function at 0x4232b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 8], esi
mov edi, dword [esi + 0x2c]
mov edx, dword [esi + 0x74]
mov eax, dword [esi + 0x2c]
mov ebx, dword [esi + 0x3c]
add eax, 0xfffffefa
sub ebx, dword [esi + 0x6c]
add eax, edi
sub ebx, edx
cmp dword [esi + 0x6c], eax
jb 0x42335a
mov ecx, dword [esi + 0x38]
push edi
lea eax, [ecx + edi]
push eax
push ecx
call fcn.0043ff60
mov eax, dword [esi + 0x4c]
add esp, 0xc
sub dword [esi + 0x70], edi
sub dword [esi + 0x6c], edi
sub dword [esi + 0x5c], edi
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x44]
mov esi, dword [ebp - 4]
lea edx, [eax + esi*2]
movzx ecx, word [edx - 2]
lea edx, [edx - 2]
mov eax, ecx
mov dword [ebp - 4], 0
sub eax, edi
cmp ecx, edi
movzx eax, ax
cmovb eax, dword [ebp - 4]
mov word [edx], ax
sub esi, 1
jne 0x423304
mov esi, dword [ebp - 8]
mov eax, dword [esi + 0x40]
mov esi, edi
lea edx, [eax + edi*2]
movzx ecx, word [edx - 2]
lea edx, [edx - 2]
mov eax, ecx
mov dword [ebp - 4], 0
sub eax, edi
cmp ecx, edi
movzx eax, ax
cmovb eax, dword [ebp - 4]
mov word [edx], ax
sub esi, 1
jne 0x423332
mov esi, dword [ebp - 8]
add ebx, edi
mov ecx, dword [esi]
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 4]
test eax, eax
je 0x423495
mov ecx, dword [esi + 0x6c]
mov edx, dword [esi + 0x74]
add ecx, edx
add ecx, dword [esi + 0x38]
cmp eax, ebx
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 4]
cmovbe ebx, eax
test ebx, ebx
jne 0x423388
xor ebx, ebx
jmp 0x4233e1
sub eax, ebx
mov dword [ecx + 4], eax
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x4233a5
mov edx, dword [ecx]
mov ecx, dword [ecx + 0x30]
push ebx
call fcn.00425a80
jmp 0x4233bf
cmp eax, 2
jne 0x4233c8
mov edx, dword [ecx]
mov eax, dword [ecx + 0x30]
test edx, edx
jne 0x4233b7
xor eax, eax
jmp 0x4233c5
push ebx
mov ecx, eax
call fcn.00425d00
mov ecx, dword [ebp - 4]
add esp, 4
mov dword [ecx + 0x30], eax
push ebx
push dword [ecx]
push dword [ebp - 0xc]
call fcn.0043ff60
mov eax, dword [ebp - 4]
add esp, 0xc
add dword [eax], ebx
add dword [eax + 8], ebx
mov edx, dword [esi + 0x74]
add edx, ebx
mov dword [ebp - 0xc], edx
mov dword [esi + 0x74], edx
cmp edx, 3
jb 0x42340e
mov eax, dword [esi + 0x38]
add eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x58]
movzx edx, byte [eax]
mov dword [esi + 0x48], edx
movzx eax, byte [eax + 1]
shl edx, cl
xor edx, eax
and edx, dword [esi + 0x54]
mov dword [esi + 0x48], edx
mov edx, dword [ebp - 0xc]
cmp edx, 0x106
jae 0x423422
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x4232c4
mov ecx, dword [esi + 0x16c0]
mov edi, dword [esi + 0x3c]
cmp ecx, edi
jae 0x423495
mov ebx, dword [esi + 0x6c]
add ebx, edx
cmp ecx, ebx
jae 0x423465
mov eax, 0x102
sub edi, ebx
cmp edi, eax
cmova edi, eax
mov eax, dword [esi + 0x38]
push edi
add eax, ebx
push 0
push eax
call fcn.00440a60
add esp, 0xc
lea eax, [edi + ebx]
mov dword [esi + 0x16c0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebx + 0x102]
cmp ecx, eax
jae 0x423495
sub ebx, ecx
sub edi, ecx
lea eax, [ebx + 0x102]
cmp eax, edi
cmovbe edi, eax
mov eax, dword [esi + 0x38]
push edi
add eax, ecx
push 0
push eax
call fcn.00440a60
add esp, 0xc
add dword [esi + 0x16c0], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret