Function at 0x42dbd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x46d]
movzx ecx, dl
cmp ecx, 6
ja case.0x42dc6a.0
jmp dword [ecx*4 + 0x42dc03]
movzx edx, byte [eax + 0x46c]
sub dl, 8
je 0x42dc35
sub dl, 8
je 0x42dc44
jmp case.0x42dc6a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x42d8a0
jmp case.0x42dc6a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x42d8f4
jmp case.0x42dc6a.0
movzx ecx, byte [eax + 0x46c]
cmp ecx, 0x10
ja case.0x42dc6a.0
movzx ecx, byte [ecx + 0x42dc71]
jmp dword [ecx*4 + 0x42dc82]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x42d994
jmp case.0x42dc6a.0
cmp dl, 3
jne 0x42dcaf
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x42d9e8
jmp case.0x42dc6a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x42d9a4
jmp case.0x42dc6a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x42da2c
jmp case.0x42dc6a.0
movzx edx, byte [eax + 0x46c]
sub dl, 8
je 0x42dcda
sub dl, 8
je 0x42dce6
jmp case.0x42dc6a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x42da58
jmp case.0x42dc6a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x42dabc
jmp case.0x42dc6a.0
movzx edx, byte [eax + 0x46c]
sub dl, 8
je 0x42dd05
sub dl, 8
je 0x42dd11
jmp case.0x42dc6a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x42db6c
jmp case.0x42dc6a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x42db94
mov edx, dword [eax + 0x454]
test edx, edx
je 0x42dd2a
mov dword [ebp - 0xc], edx
jmp 0x42dd2f
xor edx, edx
mov dword [ebp - 0xc], edx
mov edx, dword [eax + 0x458]
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x44c]
test edx, edx
je 0x42dd46
mov esi, edx
jmp 0x42dd48
xor esi, esi
mov eax, dword [ebx + 0x1c]
dec eax
test eax, eax
jb 0x42de23
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0042cc1c
sub eax, 0xffffffff
je 0x42dd84
dec eax
jne 0x42ddd3
jmp 0x42de23
mov eax, dword [ebx + 0x14]
mov edx, dword [eax + 0x478]
imul edx, dword [ebx + 0x1c]
mov eax, dword [eax + 0x454]
call fcn.004024a4
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x458]
test eax, eax
je 0x42ddb5
mov edx, dword [ebx + 0x18]
imul edx, dword [ebx + 0x1c]
call fcn.004024a4
mov edx, dword [ebx + 0x14]
mov eax, dword [edx + 0x44c]
test eax, eax
je 0x42de23
mov edx, dword [edx + 0x478]
imul edx, dword [ebx + 0x1c]
call fcn.004024a4
jmp 0x42de23
mov eax, ebx
call fcn.0042de2c
mov eax, dword [ebp - 8]
push eax
push esi
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x478]
add dword [ebp - 0xc], eax
test esi, esi
je 0x42de0e
add esi, eax
cmp dword [ebp - 8], 0
je 0x42de1a
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec dword [ebp - 0x1c]
jne 0x42dd58
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8