Function at 0x41ce10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x110
mov dword [esp + 8], 0xb5e0d31
mov dword [esp + 0xc], 0x779097b
mov dword [esp + 0x10], 0x3760565
mov dword [esp + 0x14], 0x1f6e0141
mov dword [esp + 0x18], 0x1b461d6c
mov dword [esp + 0x1c], 0x179a1979
mov dword [esp + 0x20], 0x132f1575
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x1110
mov byte [esp + 0x28], 0
mov dword [esp + 0x8c], 0
mov ecx, dword [esp + 0x8c]
cmp ecx, 0x20
ja 0x41ced7
nop
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x8c]
movzx edx, byte [esp + edx + 8]
lea esi, [ecx + edx]
add esi, 0x65921802
add ecx, 0x65921802
and ecx, edx
add ecx, ecx
sub esi, ecx
mov dword [esp + 0xc0], esi
mov ecx, dword [esp + 0xc0]
add cl, 0xf2
mov edx, dword [esp + 0x8c]
mov byte [esp + edx + 8], cl
inc dword [esp + 0x8c]
mov ecx, dword [esp + 0x8c]
cmp ecx, 0x21
jb 0x41ce80
lea esi, [esp + 0x8c]
lea edx, [esp + 8]
mov ecx, 7
mov edi, esi
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0xa8]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
lea ebx, [esp + 0x64]
push ebx
push 0
push 0
push 0xe
push esi
push 0
call dword [0x447260]
mov edi, dword [esp + 0x64]
test edi, edi
jns 0x41cf23
mov eax, 0xffffffff
jmp 0x41cf26
lea eax, [edi + edi]
push eax
call fcn.00408d80
add esp, 4
mov esi, eax
push ebx
push edi
push eax
push 0xe
lea eax, [esp + 0x9c]
push eax
push 0
call dword [0x447260]
mov dword [esp + 8], 0x3540562
mov dword [esp + 0xc], 0xf6d016d
mov dword [esp + 0x10], 0xb630d7b
mov dword [esp + 0x14], 0x17630963
mov dword [esp + 0x18], 0x1314156b
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x23], 0
mov dword [esp + 0x68], 0
mov ecx, dword [esp + 0x68]
cmp ecx, 0x1e
ja 0x41cfee
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x68]
movzx edx, byte [esp + edx + 8]
lea edi, [ecx + 0x50221981]
add ecx, 0x81
and ecx, edx
or edi, edx
sub edi, ecx
mov dword [esp + 0xc0], edi
mov ecx, dword [esp + 0xc0]
mov edx, ecx
and edx, 0x78
or ecx, 0x78
add ecx, edx
inc cl
mov edx, dword [esp + 0x68]
mov byte [esp + edx + 8], cl
inc dword [esp + 0x68]
mov ecx, dword [esp + 0x68]
cmp ecx, 0x1f
jb 0x41cfa0
lea edi, [esp + 0xac]
lea edx, [esp + 8]
mov ecx, 5
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0xc0]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov eax, dword [esp + 0x64]
mov ecx, eax
add ecx, 9
jns 0x41d024
mov eax, 0xffffffff
jmp 0x41d029
add eax, eax
add eax, 0x12
push eax
call fcn.00408d80
add esp, 4
mov edi, eax
movzx ecx, word [esi]
test cx, cx
je 0x41d061
lea edx, [esi + 2]
mov eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41d050
mov word [eax], 0
movzx ecx, word [esp + 0xac]
test cx, cx
je 0x41d091
lea edx, [esp + 0xae]
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41d080
mov word [eax], 0
lea eax, [esp + 0x88]
push eax
push edi
call fcn.00438df0
add esp, 8
not eax
shr eax, 0x1f
mov eax, dword [eax*4 + 0x441c80]
mov ecx, 0x1d62797a
xor ecx, dword [0x441c88]
add eax, ecx
inc eax
jmp eax