Function at 0x41a360
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, 0x98
mov dword [esp + 0x20], 0xab51a57a
mov dword [esp + 0x24], 0xaf59a95e
mov dword [esp + 0x28], 0xb34bad58
mov dword [esp + 0x2c], 0xb75bb15b
mov dword [esp + 0x30], 0xbb50b56a
mov dword [esp + 0x34], 0xbf52b951
mov dword [esp + 0x38], 0x4347bd59
mov dword [esp + 0x3c], 0x47b441ae
lea eax, [esp + 0x40]
mov word [esp + 0x40], 0x4546
mov dword [esp + 0x42], 0
mov dword [esp + 0x45], 0
mov dword [esp + 8], 0
mov ecx, dword [esp + 8]
cmp ecx, 0x28
ja 0x41a42f
nop
nop
nop
nop
nop
mov ecx, dword [esp + 8]
mov edx, dword [esp + 8]
movzx edx, byte [esp + edx + 0x20]
lea esi, [ecx + edx]
add esi, 0xcc3884e5
add ecx, 0xcc3884e5
and ecx, edx
add ecx, ecx
sub esi, ecx
mov dword [esp + 0x70], esi
mov ecx, dword [esp + 0x70]
mov edx, ecx
xor edx, 0xbc
and ecx, 0x3c
lea ecx, [edx + ecx*2]
inc cl
mov edx, dword [esp + 8]
mov byte [esp + edx + 0x20], cl
inc dword [esp + 8]
mov ecx, dword [esp + 8]
cmp ecx, 0x29
jb 0x41a3e0
mov ebx, dword [ebp + 8]
lea edi, [esp + 0x70]
lea edx, [esp + 0x20]
mov ecx, 8
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x90]
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
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x41a470
cmp eax, 0xffffffdd
jge 0x41a487
mov eax, 0xffffffff
jmp 0x41a48a
add eax, 0x22
push eax
call fcn.00408cd0
add esp, 4
mov esi, eax
movzx ecx, word [edi]
test cx, cx
je 0x41a4c1
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 0x41a4b0
mov word [eax], 0
movzx ecx, word [esp + 0x70]
test cx, cx
je 0x41a4f1
lea edx, [esp + 0x72]
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 0x41a4e0
mov word [eax], 0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0x83758575
mov dword [esp + 0x24], 0x8fb38104
mov dword [esp + 0x28], 0x8b748d65
mov dword [esp + 0x2c], 0x97638976
mov dword [esp + 0x30], 0x93699564
mov dword [esp + 0x34], 0x9f619165
mov dword [esp + 0x38], 0x9ba99d6c
mov dword [esp + 0x3c], 0xa7ad99af
mov dword [esp + 0x40], 0xa346a590
mov dword [esp + 0x44], 0xaf5da159
mov dword [esp + 0x48], 0xab52ad45
mov dword [esp + 0x4c], 0xb759a967
mov dword [esp + 0x50], 0xb348b544
mov dword [esp + 0x54], 0xbf48b159
mov dword [esp + 0x58], 0xbb6bbd42
mov dword [esp + 0x5c], 0x477bb956
mov dword [esp + 0x60], 0x43444570
mov byte [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x48
ja 0x41a5ff
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x20]
lea edx, [eax + 0x5f6e7441]
and edx, ecx
add eax, ecx
add eax, 0x5f6e7441
add edx, edx
sub eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
add al, 0x39
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x20], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x49
jb 0x41a5c0
lea eax, [esp + 8]
push eax
push 0x41a920
lea eax, [esp + 0x28]
push eax
push esi
call fcn.0041b2b0
add esp, 0x10
mov ebx, eax
jmp dword [0x442504]