Function at 0x41cfa0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x130
mov dword [esp + 0x10], 0x23d421f9
mov dword [esp + 0x14], 0xdf41ddb3
mov dword [esp + 0x18], 0xdb4cd93d
mov dword [esp + 0x1c], 0xd744d519
mov dword [esp + 0x20], 0xd32cd146
mov dword [esp + 0x24], 0xcf40cd31
mov dword [esp + 0x28], 0xcb17c92d
lea eax, [esp + 0x2c]
mov word [esp + 0x2c], 0xc5ca
mov dword [esp + 0x2e], 0
mov byte [esp + 0x32], 0
mov dword [esp + 0xac], 0
mov ecx, dword [esp + 0xac]
cmp ecx, 0x22
ja 0x41d069
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0xac]
movzx esi, byte [esp + ecx + 0x10]
lea ecx, [edx + esi]
add ecx, 0xa9beeefb
add edx, 0xa9beeefb
and edx, esi
add edx, edx
sub ecx, edx
add cl, 0x23
mov edx, dword [esp + 0xac]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0xac]
mov ecx, dword [esp + 0xac]
cmp ecx, 0x23
jb 0x41d020
lea ebx, [esp + 0x10e]
lea edx, [esp + 0x10]
mov ecx, 7
mov edi, ebx
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x12a]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
lea edi, [esp + 0x7c]
push edi
push 0
push 0
push 0xe
push ebx
push 0
call dword [0x447ccc]
mov esi, dword [esp + 0x7c]
test esi, esi
jns 0x41d0b5
mov eax, 0xffffffff
jmp 0x41d0b8
lea eax, [esi + esi]
push eax
call fcn.00435440
add esp, 4
push edi
push esi
mov dword [esp + 0x14], eax
push eax
push 0xe
push ebx
push 0
call dword [0x447ccc]
mov dword [esp + 0x10], 0x3342315c
mov dword [esp + 0x14], 0x37553555
mov dword [esp + 0x18], 0x2b4b29b3
mov dword [esp + 0x1c], 0x2f4b2d4b
mov dword [esp + 0x20], 0x232221b3
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0xac], 0
mov ecx, dword [esp + 0xac]
cmp ecx, 0x24
ja 0x41d189
nop
nop
nop
nop
nop
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0xac]
movzx esi, byte [esp + ecx + 0x10]
lea ecx, [edx + esi]
add ecx, 0x40dbfe28
add edx, 0x40dbfe28
and edx, esi
add edx, edx
sub ecx, edx
add cl, 0xe8
mov edx, dword [esp + 0xac]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0xac]
mov ecx, dword [esp + 0xac]
cmp ecx, 0x25
jb 0x41d140
lea edi, [esp + 0xfa]
lea edx, [esp + 0x10]
mov ecx, 5
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x10e]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov eax, dword [esp + 0x7c]
mov ecx, eax
add ecx, 9
jns 0x41d1bf
mov eax, 0xffffffff
jmp 0x41d1c4
add eax, eax
add eax, 0x12
push eax
call fcn.00435440
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0xc]
movzx ecx, word [eax]
mov eax, ebx
test cx, cx
je 0x41d201
mov eax, dword [esp + 0xc]
lea edx, [eax + 2]
mov eax, ebx
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 0x41d1f0
mov word [eax], 0
movzx ecx, word [esp + 0xfa]
test cx, cx
je 0x41d231
lea edx, [esp + 0xfc]
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41d220
mov esi, dword [ebp + 8]
mov word [eax], 0
lea eax, [esp + 0xa8]
push eax
push ebx
call fcn.0043a250
add esp, 8
not eax
shr eax, 0x1f
mov eax, dword [eax*4 + 0x442588]
mov ecx, 0xfef4ffa3
xor ecx, dword [0x442590]
add eax, ecx
inc eax
jmp eax