Function at 0x41a3f0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov dword [esp + 0x18], 0x63f96582
mov dword [esp + 0x1c], 0x6ff161fe
mov dword [esp + 0x20], 0x6b836df0
mov dword [esp + 0x24], 0x17836983
mov dword [esp + 0x28], 0x13f815f2
mov dword [esp + 0x2c], 0x1ffa11f9
mov dword [esp + 0x30], 0x1b871df1
mov dword [esp + 0x34], 0x784198e
lea eax, [esp + 0x38]
mov word [esp + 0x38], 0x506
mov dword [esp + 0x3a], 0
mov dword [esp + 0x3d], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0x28
ja 0x41a4b7
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x18]
mov esi, ecx
and esi, 0x172f1831
xor ecx, 0x172f1831
lea ecx, [ecx + esi*2]
lea esi, [ecx + edx]
and ecx, edx
add ecx, ecx
sub esi, ecx
mov dword [esp + 0x68], esi
mov ecx, dword [esp + 0x68]
add cl, 0xa9
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x18], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0x29
jb 0x41a470
mov ebx, dword [ebp + 8]
lea edi, [esp + 0x68]
lea edx, [esp + 0x18]
mov ecx, 8
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x88]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov eax, dword [ebp + 0x10]
mov edi, dword [eax + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x41a4f0
cmp eax, 0xffffffdd
jge 0x41a507
mov eax, 0xffffffff
jmp 0x41a50a
add eax, 0x22
push eax
call fcn.00408e10
add esp, 4
mov esi, eax
movzx ecx, word [edi]
test cx, cx
je 0x41a541
add edi, 2
mov eax, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edi]
add edi, 2
test cx, cx
jne 0x41a530
mov word [eax], 0
movzx ecx, word [esp + 0x68]
test cx, cx
je 0x41a571
lea edx, [esp + 0x6a]
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 0x41a560
mov word [eax], 0
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0xf361cd21
mov dword [esp + 0x1c], 0xf7dbf16e
mov dword [esp + 0x20], 0xfb62f511
mov dword [esp + 0x24], 0xff1bf96c
mov dword [esp + 0x28], 0xe375fd6e
mov dword [esp + 0x2c], 0xe775e109
mov dword [esp + 0x30], 0xebc5e576
mov dword [esp + 0x34], 0xefc1e9c7
mov dword [esp + 0x38], 0x9370edc2
mov dword [esp + 0x3c], 0x97019105
mov dword [esp + 0x40], 0x9b0c9571
mov dword [esp + 0x44], 0x9f0d995f
mov dword [esp + 0x48], 0x83169d0e
mov dword [esp + 0x4c], 0x871e8165
mov dword [esp + 0x50], 0x8b438510
mov dword [esp + 0x54], 0x8f53896c
mov dword [esp + 0x58], 0xb3b28da2
mov dword [esp + 0x5c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x47
ja 0x41a676
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x18]
lea edx, [eax - 0x41b724e2]
add eax, 0x1e
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0x64]
add al, 0x2e
mov ecx, dword [esp]
mov byte [esp + ecx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x48
jb 0x41a640
lea eax, [esp + 4]
push eax
push 0x41a960
lea eax, [esp + 0x20]
push eax
push esi
call fcn.0041b2f0
add esp, 0x10
mov ebx, eax
jmp dword [0x4414cc]