Function at 0x41c633
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, word [ecx]
push ebx
push esi
push edi
movzx eax, byte [eax + 0x4c2140]
mov edi, edx
xor edx, edx
mov dword [ebp - 4], edi
inc edx
lea ecx, [ecx + eax*2]
call fcn.0041c935
mov esi, eax
cmp esi, edi
jae case.0x41c74a.119
push 0x77
pop ebx
movzx edi, word [esi]
mov edx, esi
push 0x10
pop ecx
cmp edi, 0x7d
je 0x45ba49
cmp edi, 0x75
je 0x45ba5f
mov eax, 0x92
cmp di, ax
je 0x45bc54
leave
cmc
add eax, dword [eax]
inc eax
cmp di, ax
je 0x45bc54
mov eax, 0xa1
cmp di, ax
je 0x45bc54
add eax, 0xfffffff3
cmp di, ax
je 0x45bc54
lea eax, [ecx + 0x78]
cmp di, ax
je 0x45bc40
inc eax
cmp di, ax
je 0x45bc40
lea eax, [ecx + 0x7a]
cmp di, ax
je 0x45bc40
inc eax
cmp di, ax
je 0x45bc40
lea eax, [ecx + 0x73]
cmp di, ax
je 0x45bbd9
inc eax
cmp di, ax
je 0x45bbd9
lea eax, [ecx + 0x75]
cmp di, ax
je 0x45bbd9
inc eax
cmp di, ax
je 0x45bbd9
lea eax, [ecx + 0x71]
cmp di, ax
je 0x45bbd9
inc eax
cmp di, ax
je 0x45bbd9
lea eax, [ecx + 0x77]
cmp di, ax
je 0x45bbd9
add eax, 5
cmp di, ax
je 0x45bbd9
lea eax, [edi - 6]
cmp eax, 0x95
ja case.0x41c74a.23
movzx eax, byte [eax + 0x41c79b]
jmp dword [eax*4 + 0x41c773]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
push 0x22
pop ecx
movzx eax, word [edx + ecx]
add eax, 0xffffff9e
cmp eax, 0xb
ja case.0x41c74a.6
jmp 0x45bb2c
xor eax, eax
inc eax
jmp 0x41c753
inc ecx
add byte [edi - 0x45], bh
inc ebp
add cl, al
mov ebx, 0xbb4c0045
inc ebp
add byte [ecx - 0x45], dh
inc ebp
add byte [eax - 0x39], bl
inc ecx
add byte [edi], bl
mov ebx, 0xc76c0045
inc ecx
add ch, cl
mov ebx, 0xbc750045
inc ebp
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
or dword [ecx], ecx
or dword [ecx], ecx
or dword [ecx], ecx
add byte [eax], al
add byte [eax], al
add dword [ecx], eax
add byte [eax], al
add dword [ecx], eax
add al, byte [edx]
add byte [ecx], al
add byte [ecx], al
add al, byte [ecx]
add dword [eax], eax
add byte [ecx], al
add dword [edx], eax
add al, byte [eax]
add dword [eax], eax
add dword [edx], eax
add dword [ecx], eax
add byte [eax], al
add dword [ecx], eax
add al, byte [edx]
add byte [ecx], al
add byte [ecx], al
add al, byte [ecx]
add dword [eax], eax
add byte [ecx], al
add dword [edx], eax
add al, byte [eax]
add dword [eax], eax
add dword [edx], eax
add eax, dword [ebx]
add byte [eax], al
add eax, dword [ebx]
add al, 4
add byte [ebx], al
add byte [ebx], al
add al, 9
or dword [ecx], ecx
or dword [ecx], ecx
or dword [ecx], ecx
or dword [ecx], ecx
or dword [ecx], ecx
or dword [151586309], eax
or dword [ecx], ecx
or dword [ecx], ecx
pop es
pop es
pop es
pop es
pop es
or dword [ecx], ecx
or dword [ecx], ecx
or dword [ecx], ecx
or dword [ecx], ecx
or dword [ecx], ecx
or dword [ecx], ecx
or dword [ecx], ecx
or dword [ecx], ecx
or dword [ecx], ecx
or dword [ecx], ecx
or dword [ecx], ecx
or dword [ecx], ecx
or dword [eax], ecx
or dword [eax], ecx
or dword [eax], ecx
or dword [eax], ecx
shl byte [esi - 0x77], 1
xor al, byte [ebx]
shl byte [esi - 0x77], 1
cmp ch, bl
adc byte [ebp + 0x10], dh
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
mov ecx, ebx
push es
push esi
push edi
call 0x8c41c657
or dword [ebx - 0x7a8895f4], 0xffffffc0
jne 0x45bc98
test dword [edi + 1], esp
add byte [eax], al
movzx eax, word [ebx + 2]
lea ebx, [ebx + eax*2]
pop eax
cmp word [ebx], ax
je 0x45bb10
jmp 0x41c775
das
or al, 0xfc
dec dword [edi]
mov dh, 0x80
test eax, 0x90a45bc
and al, 0x85
popfd
mov esp, 0xc0330a45
cmp word [edx + ecx + 2], ax
ja 0x41c775
jmp 0x45bc99
mov bh, 0x46
add ah, byte [esi + 0x3b]
sal dword [esp + edx + 0x6a], 0xf
pop ecx
cmp ax, cx
jmp 0x45bb87
jne 0x8c44bc99
add esi, 4
jmp 0x45bc99
jmp 0x45bbd7
and eax, ecx
mov ecx, 0xd800
cmp ax, cx
jne 0x76453899
mov esp, 0x8375ff7c
mov byte [edx], 0xe9
add esi, 2
jmp 0x76453899
add ch, cl
mov ah, 0x7c
push dword [ebp - 0x7d]
jge 0x45bbf0
add byte [edi], cl
test byte [edx - 0x15000000], ch
ror byte [edi], cl
mov bh, 0x46
add cl, byte [ebp - 0x6316b9cc]
add byte [eax], al
add byte [edi], cl
mov bh, 0x46
add ah, byte [esi + 0x30]
call 0xbcc4017
cld
mov edi, dword [ecx - 0x7c821779]
cmp di, cx
jne 0x45bc25
lea ecx, [esi + eax*2]
movzx eax, word [ecx]
mov edx, eax
cmp ax, bx
je 0x45bc25
mov esi, ecx
jmp 0x45bc5f
xor eax, eax
mov edi, eax
test edi, edi
jne 0x45bc48
push dword [ebp + 0x10]
mov edx, dword [ebp - 4]
mov ecx, esi
or dword [ebp + 0x575606f9], ecx
call 0x8c41c657
or dword [ebx + 0x74e8850c], 1
inc edi
movzx eax, word [esi + 2]
lea esi, [esi + eax*2]
movzx eax, word [esi]
cmp ax, bx
je 0x45bc29
ret
test dword [eax], eax
jmp 0x45bbdf
movzx edi, ax
jmp 0x45bc99
invalid
pop ebx
movzx eax, di
xor edx, edx
inc edx
movzx eax, byte [eax + 0x4c2140]
lea ecx, [esi + eax*2]
call 0x8c41c959
mov esi, eax
cmp esi, dword [ebp - 4]
jae 0x8c41c790
jmp 0x41c687