Function at 0x41aa30
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], 0xc371c19c
mov dword [esp + 0x24], 0xc769c570
mov dword [esp + 0x28], 0xcb6bc97a
mov dword [esp + 0x2c], 0xcf6bcd6b
mov dword [esp + 0x30], 0xd376d18c
mov dword [esp + 0x34], 0xd770d571
mov dword [esp + 0x38], 0xdb6fd979
mov dword [esp + 0x3c], 0xdf6add70
lea eax, [esp + 0x40]
mov word [esp + 0x40], 0x2120
mov dword [esp + 0x42], 0
mov dword [esp + 0x46], 0
mov dword [esp + 0x4a], 0
mov word [esp + 0x4e], 0
mov dword [esp + 8], 0
mov ecx, dword [esp + 8]
cmp ecx, 0x2f
ja 0x41aaff
nop
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 ecx, 0x60
and ecx, edx
add ecx, ecx
sub esi, ecx
add esi, 0xb9925460
mov dword [esp + 0x70], esi
mov ecx, dword [esp + 0x70]
add cl, 0x60
mov edx, dword [esp + 8]
mov byte [esp + edx + 0x20], cl
inc dword [esp + 8]
mov ecx, dword [esp + 8]
cmp ecx, 0x30
jb 0x41aac0
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 0x41ab40
cmp eax, 0xffffffdd
jge 0x41ab57
mov eax, 0xffffffff
jmp 0x41ab5a
add eax, 0x22
push eax
call fcn.00409080
add esp, 4
mov esi, eax
movzx ecx, word [edi]
test cx, cx
je 0x41ab91
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 0x41ab80
mov word [eax], 0
movzx ecx, word [esp + 0x70]
test cx, cx
je 0x41abc1
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 0x41abb0
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], 0xbbc9b9d9
mov dword [esp + 0x24], 0xbf93bdc0
mov dword [esp + 0x28], 0xc3b8c1d9
mov dword [esp + 0x2c], 0xc7a3c5b6
mov dword [esp + 0x30], 0xcbbdc9a8
mov dword [esp + 0x34], 0xcfbdcda1
mov dword [esp + 0x38], 0xd3fdd1a0
mov dword [esp + 0x3c], 0xd7f9d5ff
mov dword [esp + 0x40], 0xdb86d9fc
mov dword [esp + 0x44], 0xdfa9ddad
mov dword [esp + 0x48], 0xe392e1b9
mov dword [esp + 0x4c], 0xe795e5a7
mov dword [esp + 0x50], 0xeb9ce988
mov dword [esp + 0x54], 0xef94ed8d
mov dword [esp + 0x58], 0xf3bbf19a
mov dword [esp + 0x5c], 0xf7cbf596
mov dword [esp + 0x60], 0xfbf8f9dc
mov word [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x49
ja 0x41acd8
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx edi, byte [esp + ecx + 0x20]
lea ecx, [eax + 0x6ecd39b7]
mov edx, ecx
and edx, edi
add eax, 0xb7
or eax, ecx
xor ecx, edi
and eax, edi
add eax, edx
sub ecx, eax
lea eax, [ecx + edx*2]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
dec al
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x20], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x4a
jb 0x41ac90
lea eax, [esp + 8]
push eax
push 0x41afb0
lea eax, [esp + 0x28]
push eax
push esi
call fcn.0041b7f0
add esp, 0x10
mov ebx, eax
jmp dword [0x4423e8]