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, 0xa8
mov ebx, dword [ebp + 0xc]
mov dword [esp + 8], 0x2b68257a
mov dword [esp + 0xc], 0x2f8d299b
mov dword [esp + 0x10], 0x33802d89
mov dword [esp + 0x14], 0x377b3152
mov dword [esp + 0x18], 0x3b80358e
mov dword [esp + 0x1c], 0x3f8a3991
mov dword [esp + 0x20], 0x3933d8b
mov dword [esp + 0x24], 0x7b201b3
mov dword [esp + 0x28], 0xb510566
mov dword [esp + 0x2c], 0xfbc09a1
mov dword [esp + 0x30], 0x13a30dba
mov dword [esp + 0x34], 0x17b911a0
mov dword [esp + 0x38], 0x1b4815a3
lea eax, [esp + 0x3c]
mov word [esp + 0x3c], 0x191a
mov dword [esp + 0x3e], 0
mov dword [esp + 0x42], 0
mov word [esp + 0x46], 0
mov ecx, 0xae776185
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx + 0x51889e83]
mov esi, ecx
and esi, edx
add esi, esi
sub edx, esi
add edx, ecx
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x6c]
add dl, 0x5d
mov byte [esp + ecx + 0x51889e83], dl
movzx edx, byte [esp + ecx + 0x51889e84]
lea esi, [ecx + 1]
and esi, edx
add esi, esi
sub edx, esi
add edx, ecx
inc edx
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x6c]
add dl, 0x5d
mov byte [esp + ecx + 0x51889e84], dl
add ecx, 2
cmp ecx, 0xae7761c5
jne 0x41a410
lea edi, [esp + 0x6c]
lea edx, [esp + 8]
mov ecx, 0xd
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0xa0]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov esi, dword [ebx + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x41a4a0
sar eax, 1
mov ecx, dword [ebp + 0x10]
mov edi, dword [ecx + 4]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x41a4c0
sar ecx, 1
lea edx, [eax + ecx]
add edx, 0x1b
test edx, edx
jns 0x41a4de
mov eax, 0xffffffff
jmp 0x41a4e5
add eax, ecx
add eax, eax
add eax, 0x36
push eax
call fcn.00409370
add esp, 4
movzx ecx, word [esi]
mov dword [esp + 4], eax
test cx, cx
je 0x41a521
add esi, 2
mov eax, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [esi]
add esi, 2
test cx, cx
jne 0x41a510
mov word [eax], 0
movzx ecx, word [esp + 0x6c]
test cx, cx
je 0x41a551
lea edx, [esp + 0x6e]
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 0x41a540
mov word [eax], 0
movzx ecx, word [edi]
test cx, cx
je 0x41a581
add edi, 2
nop
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 0x41a570
mov word [eax], 0
mov dword [esp + 8], 0x73b76d9f
mov dword [esp + 0xc], 0x77c271c8
mov dword [esp + 0x10], 0x7bc875d1
mov dword [esp + 0x14], 0x7fd779cf
mov dword [esp + 0x18], 0x43f07dcf
mov dword [esp + 0x1c], 0x47b541f7
lea eax, [esp + 0x20]
mov word [esp + 0x20], 0x4544
mov dword [esp + 0x26], 0
mov dword [esp + 0x22], 0
mov ecx, 0x2dc6980f
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx - 0x2dc69807]
lea esi, [ecx - 1]
and esi, edx
add esi, esi
sub edx, esi
add edx, ecx
dec edx
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x50]
add dl, 0x9e
mov byte [esp + ecx - 0x2dc69807], dl
movzx edx, byte [esp + ecx - 0x2dc69806]
mov esi, ecx
and esi, edx
add esi, esi
sub edx, esi
add edx, ecx
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x50]
add dl, 0x9e
mov byte [esp + ecx - 0x2dc69806], dl
add ecx, 2
cmp ecx, 0x2dc69831
jne 0x41a5e0
lea edi, [esp + 0x50]
lea edx, [esp + 8]
mov ecx, 6
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x68]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov edi, dword [ebx]
mov eax, 0xfffffffe
nop
nop
nop
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x41a660
mov esi, dword [ebx + 8]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x41a680
mov edx, dword [ebp + 0x10]
mov ebx, dword [edx]
mov edx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + edx + 2], 0
lea edx, [edx + 2]
jne 0x41a6a0
sar eax, 1
sar ecx, 1
sar edx, 1
add ecx, eax
lea eax, [edx + ecx]
add eax, 0xe
test eax, eax
jns 0x41a6c4
mov eax, 0xffffffff
jmp 0x41a6cc
add ecx, edx
lea eax, [ecx + ecx]
add eax, 0x1c
push eax
call fcn.00409370
add esp, 4
movzx ecx, word [edi]
mov dword [esp], eax
test cx, cx
je 0x41a701
add edi, 2
mov eax, dword [esp]
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 0x41a6f0
mov word [eax], 0x2f
add eax, 2
movzx ecx, word [esi]
test cx, cx
je 0x41a731
add esi, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [esi]
add esi, 2
test cx, cx
jne 0x41a720
mov word [eax], 0
movzx ecx, word [esp + 0x50]
test cx, cx
je 0x41a761
lea edx, [esp + 0x52]
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 0x41a750
mov word [eax], 0
movzx ecx, word [ebx]
test cx, cx
je 0x41a791
add ebx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0x41a780
mov word [eax], 0
mov dword [esp + 8], 0x33343500
mov dword [esp + 0xc], 0
mov dword [esp + 0xf], 0
xor eax, eax
movzx ecx, byte [esp + eax + 8]
lea edx, [eax - 0x3edd5587]
lea esi, [eax + ecx]
add esi, 0xc122aa79
and edx, ecx
add edx, edx
sub esi, edx
mov dword [esp + 0x4c], esi
mov ecx, dword [esp + 0x4c]
add cl, 0xb1
mov byte [esp + eax + 8], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 0xb
jb 0x41a7b0
push 0
push 0
push 0
push 0xc00000
lea eax, [esp + 0x18]
push eax
mov esi, dword [esp + 0x18]
push esi
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.0041d660
add esp, 0x20
mov ebx, eax
jmp dword [0x4442c4]