Function at 0x42ac2a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov edi, dword [ebp - 0x7f]
in al, dx
sub al, 0xb
add byte [eax], al
mov eax, dword [0x4cc014]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
xor eax, eax
push ebx
push esi
push edi
cmp byte [ecx + 4], al
mov edi, dword [ebp + 8]
sete al
mov dword [ebp - 0x950], edi
dec eax
mov dword [ebp - 0x958], ecx
and eax, 0x1d
mov ebx, dword [edi]
add eax, 0x19
mov dword [ebp - 0x954], eax
test ebx, ebx
jns 0x42ac71
xor ebx, ebx
mov eax, dword [edi + 4]
mov ecx, ebx
cmp ebx, eax
jb 0x42ac7c
mov ecx, eax
add eax, 8
lea edx, [edi + 8]
add eax, edi
add edx, ecx
mov dword [ebp - 0x93c], eax
sub ebx, ecx
sub eax, edx
mov dword [ebp - 0x934], ebx
add edi, 8
mov dword [ebp - 0x7000920], eax
xor eax, eax
mov dword [ebp - 0x700092c], edx
xor esi, esi
mov dword [ebp - 0x7000918], eax
xor ecx, ecx
mov dword [ebp + 0x6800fe2c], eax
mov dword [ebp - 0x700091c], esi
mov dword [ebp - 0x7000924], edi
cmp edi, edx
jne 0x42acd4
mov ebx, eax
jmp 0x120b339
cmp ecx, 9
jne 0x3342ae14
test eax, eax
je 0xb7ad78
mov ebx, dword [ebp - 0x7000918]
xor ecx, ecx
xor esi, esi
mov edi, 0x3b9aca00
mov eax, dword [ebp + esi*4 + 0x6800fe30]
mul edi
add eax, ecx
mov dword [ebp + esi*4 + 0x6800fe30], eax
adc edx, 0
inc esi
mov ecx, edx
cmp esi, ebx
jne 0x42acf4
mov edi, dword [ebp - 0x7000924]
mov eax, dword [ebp + 0x6800fe2c]
test ecx, ecx
je 0x42ad6c
cmp eax, 0x73
jae 0x42ad3b
mov dword [ebp + eax*4 - 0x70001d0], ecx
mov eax, dword [ebp + 0x6800fe2c]
inc eax
mov dword [ebp + 0x6800fe2c], eax
invalid
jmp 0x42ad6c
and dword [ebp - 0x744], 0
lea eax, [ebp - 0x740]
and dword [ebp + 0x6800fe2c], 0
push 0
push eax
lea eax, [ebp - 0x70001d0]
push 0x750001cc
push eax
call 0x120cf8b
mov eax, dword [ebp - 0x1d4]
add esp, 0x10
mov esi, dword [ebp - 0x700091c]
mov dword [ebp - 0x7000918], eax
test esi, esi
je 0xe842ae02
xor edx, edx
test eax, eax
je 0x42ada4
xor eax, eax
add dword [ebp + edx*4 - 0x70001d0], esi
adc eax, eax
inc edx
mov esi, eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x7000918], eax
cmp edx, eax
jne 0x42ad86
test esi, esi
je 0x42ae02
cmp eax, 0x73
jae 0x42adc9
mov dword [ebp + eax*4 - 0x70001d0], esi
mov ebx, dword [ebp - 0x1d4]
inc ebx
mov dword [ebp - 0x7000918], ebx
mov dword [ebp - 0x1d4], ebx
jmp 0x42ae08
and dword [ebp - 0x744], 0
lea eax, [ebp - 0x740]
and dword [ebp + 0x6800fe2c], 0
push 0
push eax
lea eax, [ebp - 0x70001d0]
push 0x750001cc
push eax
call 0xb7cf8b
mov ebx, dword [ebp - 0x1d4]
add esp, 0x10
mov dword [ebp - 0x7000918], ebx
jmp 0x42ae08
mov ebx, dword [ebp - 0x7000918]
mov edx, dword [ebp - 0x700092c]
xor esi, esi
xor ecx, ecx
jmp 0x42ae1a
movzx eax, byte [edi]
imul esi, esi, 0xa
add esi, eax
inc ecx
inc edi
mov dword [ebp - 0x700091c], esi
mov dword [ebp - 0x7000924], edi
cmp edi, edx
jne 0x6843acce
test ecx, ecx
je 0x842b333
mov eax, ecx
xor edx, edx
push 0xa
pop ecx
div ecx
mov dword [ebp - 0x7000938], eax
mov ecx, edx
mov dword [ebp - 0x7000948], ecx
test eax, eax
je 0xe842b1de
cmp eax, 0x26
jbe 0x42ae67
push 0x26
pop eax
movzx ecx, byte [eax*4 + 0x4a117e]
movzx esi, byte [eax*4 + 0x4a117f]
mov edi, ecx
mov dword [ebp - 0x7000930], eax
shl edi, 2
push edi
lea eax, [ecx + esi]
mov dword [ebp - 0x744], eax
lea eax, [ebp - 0x740]
push 0
push eax
call 0xf9422353
mov eax, esi
shl eax, 2
push eax
mov eax, dword [ebp - 0x7000930]
movzx eax, word [eax*4 + 0x4a117c]
lea eax, [eax*4 + 0x4a0878]
push eax
lea eax, [ebp - 0x740]
add eax, edi
push eax
call 0xf9420e33
mov eax, dword [ebp - 0x744]
xor ecx, ecx
inc ecx
add esp, 0x18
cmp eax, ecx
ja 0x12db18b
mov esi, dword [ebp - 0x740]
test esi, esi
jne 0x42aefc
xor eax, eax
mov dword [ebp - 0x7000914], eax
mov dword [ebp - 0x1d4], eax
push eax
lea eax, [ebp - 0x7000910]
jmp 0xe842b199
cmp esi, ecx
jne 0x42af07
mov al, cl
jmp 0x7542b1bc
test ebx, ebx
je 0x42af00
xor ecx, ecx
xor edi, eax
mov eax, esi
mul dword [ebp + edi*4 - 0x70001d0]
add eax, ecx
mov dword [ebp + edi*4 + 0x6800fe30], eax
adc edx, 0
inc edi
mov ecx, edx
cmp edi, ebx
jne 0x42af0f
test ecx, ecx
je 0x42af7e
mov eax, dword [ebp - 0x1d4]
cmp eax, 0x73
jae 0x42af50
mov dword [ebp + eax*4 - 0x70001d0], ecx
mov ebx, dword [ebp - 0x1d4]
inc ebx
mov dword [ebp - 0x1d4], ebx
jmp 0x42af84
xor ebx, ebx
lea eax, [ebp - 0x740]
mov dword [ebp - 0x744], ebx
push ebx
push eax
lea eax, [ebp - 0x70001d0]
mov dword [ebp - 0x1d4], ebx
push 0x750001cc
push eax
call fcn.0042cf8b
mov al, bl
jmp 0xb7b1ad
mov ebx, dword [ebp - 0x1d4]
mov al, 1
jmp 0xe842b1b6