Function at 0x416782
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
cmp ecx, 0x14
ja case.default.0x416791
jmp dword [ecx*4 + 0x416b16]
push dword [ebp + 8]
mov ecx, dword [0x52aa50]
push esi
push 0x4a
call fcn.0042126e
test eax, eax
jne case.default.0x416791
movzx edx, word [0x51ffae]
mov ecx, 0x51ffb0
jmp 0x416aff
push dword [ebp + 8]
mov ecx, dword [0x52aa50]
push esi
push 0x4b
call fcn.0042126e
test eax, eax
jne case.default.0x416791
movzx edx, word [0x51ffb6]
mov ecx, 0x51ffb8
jmp 0x416aff
push dword [ebp + 8]
mov ecx, dword [0x52aa50]
push esi
push 0x4c
call fcn.0042126e
test eax, eax
jne case.default.0x416791
movzx edx, word [0x51ffc6]
mov ecx, 0x51ffc8
jmp 0x416aff
push dword [ebp + 8]
mov ecx, dword [0x52aa50]
push esi
push 0x4d
call fcn.0042126e
test eax, eax
jne case.default.0x416791
movzx edx, word [0x51ffd4]
mov ecx, 0x51ffd6
jmp 0x416aff
push dword [ebp + 8]
mov ecx, dword [0x52aa50]
push esi
push 0x4e
call fcn.0042126e
test eax, eax
jne case.default.0x416791
movzx edx, word [0x51ffe0]
mov ecx, 0x51ffe2
jmp 0x416aff
push dword [ebp + 8]
mov ecx, dword [0x52aa50]
push esi
push 0x4f
call fcn.0042126e
test eax, eax
jne case.default.0x416791
movzx edx, word [0x51fff4]
mov ecx, 0x51fff6
jmp 0x416aff
push dword [ebp + 8]
mov ecx, dword [0x52aa50]
push esi
push 0x50
call fcn.0042126e
test eax, eax
jne case.default.0x416791
movzx edx, word [0x520000]
mov ecx, 0x520002
jmp 0x416aff
push dword [ebp + 8]
mov ecx, dword [0x52aa50]
push esi
push 0x51
call fcn.0042126e
test eax, eax
jne case.default.0x416791
movzx edx, word [0x520012]
mov ecx, 0x520014
jmp 0x416aff
push dword [ebp + 8]
mov ecx, dword [0x52aa50]
push esi
push 0x52
call fcn.0042126e
test eax, eax
jne case.default.0x416791
movzx edx, word [0x52002a]
mov ecx, 0x52002c
jmp 0x416aff
push dword [ebp + 8]
mov ecx, dword [0x52aa50]
push esi
push 0x3e
call fcn.0042126e
test eax, eax
jne case.default.0x416791
movzx edx, word [0x51fd22]
mov ecx, 0x51fd24
jmp 0x416aff
push dword [ebp + 8]
mov ecx, dword [0x52aa50]
push esi
push 0x53
call fcn.0042126e
test eax, eax
jne case.default.0x416791
movzx edx, word [0x520034]
mov ecx, 0x520036
jmp 0x416aff
push dword [ebp + 8]
mov ecx, dword [0x52aa50]
push esi
push 0x54
call fcn.0042126e
test eax, eax
jne case.default.0x416791
movzx edx, word [0x520052]
mov ecx, 0x520054
jmp 0x416aff
push 0x70baffd3
mov edx, 0x61681fa8
mov ecx, 0xe7f9f467
call fcn.0040198e
pop ecx
sub esi, eax
movzx ecx, word [eax]
mov word [esi + eax], cx
lea eax, [eax + 2]
test cx, cx
jne 0x4169a7
jmp case.default.0x416791
push dword [ebp + 8]
mov ecx, dword [0x52aa50]
push esi
push 0x56
call fcn.0042126e
test eax, eax
jne case.default.0x416791
movzx edx, word [0x520066]
mov ecx, 0x520068
jmp 0x416aff
push dword [ebp + 8]
mov ecx, dword [0x52aa50]
push esi
push 0x57
call fcn.0042126e
test eax, eax
jne case.default.0x416791
movzx edx, word [0x520070]
mov ecx, 0x520072
jmp 0x416aff
push dword [ebp + 8]
mov ecx, dword [0x52aa50]
push esi
push 0x58
call fcn.0042126e
test eax, eax
jne case.default.0x416791
movzx edx, word [0x520078]
mov ecx, 0x52007a
jmp 0x416aff
push dword [ebp + 8]
mov ecx, dword [0x52aa50]
push esi
push 0x59
call fcn.0042126e
test eax, eax
jne case.default.0x416791
movzx edx, word [0x520082]
mov ecx, 0x520084
jmp 0x416aff
push 0x4ef466d7
mov edx, 0x5f2686ac
mov ecx, 0xd9b76d6d
call fcn.0040198e
pop ecx
sub esi, eax
movzx ecx, word [eax]
mov word [esi + eax], cx
lea eax, [eax + 2]
test cx, cx
jne 0x416a7a
jmp case.default.0x416791
push 0xace95d69
mov edx, 0xbd3bbd12
mov ecx, 0x3baa56a9
call fcn.0040198e
pop ecx
sub esi, eax
movzx ecx, word [eax]
mov word [esi + eax], cx
lea eax, [eax + 2]
test cx, cx
jne 0x416aa5
jmp case.default.0x416791
push 0xa4de4fdf
mov edx, 0xb50cafa3
mov ecx, 0x339d440e
call fcn.0040198e
pop ecx
sub esi, eax
movzx ecx, word [eax]
mov word [esi + eax], cx
lea eax, [eax + 2]
test cx, cx
jne 0x416acd
jmp case.default.0x416791
push dword [ebp + 8]
mov ecx, dword [0x52aa50]
push esi
push 0x64
call fcn.0042126e
test eax, eax
jne case.default.0x416791
movzx edx, word [0x520264]
mov ecx, 0x520266
push dword [ebp + 8]
xor edx, 0x9191
push esi
call fcn.00412903
pop ecx
pop ecx
pop esi
pop ebp
ret