Function at 0x41b050
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 esi, dword [ebp + 0x10]
mov dword [esp + 0x20], 0xb850d68
mov dword [esp + 0x24], 0x7750984
mov dword [esp + 0x28], 0x363058a
mov dword [esp + 0x2c], 0x1f63017b
mov dword [esp + 0x30], 0x1b661d78
mov dword [esp + 0x34], 0x176c1965
mov dword [esp + 0x38], 0x139f1575
mov dword [esp + 0x3c], 0x2fa21164
lea eax, [esp + 0x40]
mov word [esp + 0x40], 0x2d2c
mov dword [esp + 0x42], 0
mov dword [esp + 0x46], 0
mov word [esp + 0x4a], 0
mov dword [esp + 8], 0
mov ecx, dword [esp + 8]
cmp ecx, 0x2b
ja 0x41b115
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 8]
mov edx, dword [esp + 8]
movzx edx, byte [esp + edx + 0x20]
add ecx, 0x603f4382
xor ecx, edx
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x70]
add cl, 0x72
mov edx, dword [esp + 8]
mov byte [esp + edx + 0x20], cl
inc dword [esp + 8]
mov ecx, dword [esp + 8]
cmp ecx, 0x2c
jb 0x41b0e0
mov ebx, dword [ebp + 0xc]
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 edi, dword [esi + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x41b150
cmp eax, 0xffffffdd
jge 0x41b167
mov eax, 0xffffffff
jmp 0x41b16a
add eax, 0x22
push eax
call fcn.00408c40
add esp, 4
mov esi, eax
movzx ecx, word [edi]
test cx, cx
je 0x41b1a1
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 0x41b190
mov word [eax], 0
movzx ecx, word [esp + 0x70]
test cx, cx
je 0x41b1d1
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 0x41b1c0
mov word [eax], 0
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0xdb4dd94d
mov dword [esp + 0x24], 0xd703d55e
mov dword [esp + 0x28], 0xd35ad14d
mov dword [esp + 0x2c], 0xcf53cd40
mov dword [esp + 0x30], 0xcb59c95e
mov dword [esp + 0x34], 0xc751c55d
mov dword [esp + 0x38], 0xc319c156
mov dword [esp + 0x3c], 0xbf65bd67
mov dword [esp + 0x40], 0xbb1cb962
mov dword [esp + 0x44], 0xb725b539
mov dword [esp + 0x48], 0xb320b12d
mov dword [esp + 0x4c], 0xaf39ad6f
mov dword [esp + 0x50], 0xab26a93e
mov dword [esp + 0x54], 0xa72ea539
mov dword [esp + 0x58], 0xa31ba12c
mov dword [esp + 0x5c], 0x9f5b9d00
mov dword [esp + 0x60], 0x9b9a9942
mov dword [esp + 0x6b], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x4e
ja 0x41b2ef
nop
nop
nop
nop
nop
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 + 0xa4]
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
add eax, 0x59bed1a4
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
add al, 0x84
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x20], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x4f
jb 0x41b2b0
lea eax, [esp + 8]
push eax
push 0x41b5f0
lea eax, [esp + 0x28]
push eax
push esi
call fcn.0041c050
add esp, 0x10
mov ebx, eax
jmp dword [0x4443c4]