Function at 0x419013
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
push ebx
push esi
push edi
mov dword [ebp - 0x8c], ecx
lea edi, [ebp - 0xbc]
push 5
pop ecx
mov esi, str.Component_Categories
mov dword [ebp - 0xa4], edx
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov dword [ebp - 0x1c], 0x8544650a
mov dword [ebp - 0x18], 0x676ee856
mov eax, ecx
mov dword [ebp - 0x14], 0x90680617
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x10], 0x9fad48cc
mov edi, ecx
mov dword [ebp - 0xc], 0xacc66138
mov dword [ebp - 8], 0x3b9edb96
mov byte [ebp + eax - 0x1bc], al
inc eax
cmp eax, 0x100
jb 0x41906c
push 0x14
mov esi, ecx
pop ecx
xor edx, edx
mov bl, byte [ebp + esi - 0x1bc]
mov eax, esi
div ecx
movzx ecx, bl
push 0x14
movzx eax, byte [ebp + edx - 0xbc]
add eax, edi
add ecx, eax
movzx edi, cl
pop ecx
mov al, byte [ebp + edi - 0x1bc]
mov byte [ebp + esi - 0x1bc], al
inc esi
mov byte [ebp + edi - 0x1bc], bl
cmp esi, 0x100
jb 0x419080
xor eax, eax
mov ebx, eax
mov edi, eax
mov esi, eax
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [ebp + edi - 0x1bc]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
mov al, byte [ebp + ebx - 0x1bc]
mov byte [ebp + edi - 0x1bc], al
mov byte [ebp + ebx - 0x1bc], cl
movzx eax, byte [ebp + edi - 0x1bc]
add eax, edx
movzx eax, al
mov al, byte [ebp + eax - 0x1bc]
xor al, byte [ebp + esi - 0x1c]
mov byte [ebp + esi - 0x1d8], al
inc esi
cmp esi, 0x18
jb 0x4190c8
xor eax, eax
mov dword [ebp - 0x1c], 0x119af5b2
mov ecx, str.SrchPropertyDefs
mov byte [ebp - 0x1c0], al
mov dword [ebp - 0x18], 0xb21ff276
mov dword [ebp - 0x14], 0xa27a5c7a
mov dword [ebp - 0x10], 0xc64144ff
mov dword [ebp - 0xc], 0x3f6cc53b
mov dword [ebp - 8], 0x446512a4
call fcn.00414ab4
mov edx, dword [0x435758]
lea edi, [ebp - 0x80]
push 0x19
pop ecx
mov esi, str.RtlRegisterFeatureConfigurationChangeNotification
mov dword [ebp - 4], edx
rep movsd dword es:[edi], dword [esi]
push 0x53
xor eax, eax
pop ecx
mov ebx, eax
cmp cx, word [ebp - 0x80]
jne 0x4191a3
xor esi, esi
test cx, cx
je 0x4191a1
cmp word [ebp + eax - 0x80], si
je 0x4191a1
mov ecx, edx
call fcn.004149fd
mov edx, dword [ebp - 4]
inc ebx
lea eax, [ebx + ebx]
movzx ecx, word [eax + str.SrchSTRFilter]
cmp cx, word [ebp + eax - 0x80]
je 0x419179
xor eax, eax
mov dword [ebp - 0x9c], 0x73657268
mov edi, eax
mov dword [ebp - 0x98], 0x746c75
mov byte [ebp + eax - 0x1bc], al
inc eax
cmp eax, 0x100
jb 0x4191b9
xor eax, eax
push 7
mov esi, eax
pop ecx
xor edx, edx
mov bl, byte [ebp + esi - 0x1bc]
mov eax, esi
or dword [ebp - 4], 0x922ffa15
div ecx
movzx ecx, bl
push 7
movzx eax, byte [ebp + edx - 0x9c]
add eax, edi
add ecx, eax
movzx edi, cl
pop ecx
mov al, byte [ebp + edi - 0x1bc]
mov byte [ebp + esi - 0x1bc], al
inc esi
mov byte [ebp + edi - 0x1bc], bl
cmp esi, 0x100
jb 0x4191cf
xor eax, eax
mov ebx, eax
mov edi, eax
mov esi, eax
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [ebp + edi - 0x1bc]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
mov al, byte [ebp + ebx - 0x1bc]
mov byte [ebp + edi - 0x1bc], al
mov byte [ebp + ebx - 0x1bc], cl
movzx eax, byte [ebp + edi - 0x1bc]
add eax, edx
movzx eax, al
mov al, byte [ebp + eax - 0x1bc]
xor al, byte [ebp + esi - 0x1c]
mov byte [ebp + esi - 0x1f4], al
inc esi
cmp esi, 0x18
jb 0x41921e
mov eax, dword [ebp - 4]
xor ecx, ecx
mov byte [ebp - 0x1dc], cl
xor eax, 0xf5ed7f6f
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], ecx
lea ecx, [ebp - 0x1d8]
mov dword [0x435758], eax
call fcn.0040b5df
lea ecx, [ebp - 0x1f4]
mov dword [ebp - 0xa0], eax
call fcn.0040b5df
mov dword [ebp - 0x98], eax
mov esi, 0x42d51c
mov dword [ebp - 0x88], 0xbd45299a
lea edi, [ebp - 0xb8]
mov dword [ebp - 0x84], 0xd70a2cfb
mov dword [ebp - 0x80], 0x738539e
mov dword [ebp - 0x7c], 0xd7ba7eda
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x78], 0xd4349d63
mov dword [ebp - 0x74], 0x37fa8a2
mov dword [ebp - 0x70], 0x89d2e67a
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x6c], 0x235c2760
mov dword [ebp - 0x68], 0x8bf804ec
mov dword [ebp - 0x64], 0xaf0c2f49
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x60], 0xc161731b
mov dword [ebp - 0x5c], 0x95149b66
mov dword [ebp - 0x58], 0x152ab370
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x54], 0xf92efa62
mov dword [ebp - 0x50], 0x4a056726
mov dword [ebp - 0x4c], 0x9fc05add
movsb byte es:[edi], byte [esi]
mov edi, dword [0x435758]
and edi, 0xbd3836a4
mov dword [ebp - 0x48], 0xf8b00c2c
xor ecx, ecx
mov dword [ebp - 0x44], 0x2792d0e8
mov dword [ebp - 0x40], 0x38a4dc80
mov eax, ecx
mov dword [ebp - 0x3c], 0x9fe1cd63
mov dword [ebp - 0x38], 0xdfb0eacc
mov dword [ebp - 0x34], 0x745ad2ea
mov dword [ebp - 0x30], 0x9a224490
mov dword [ebp - 0x2c], 0xa347f34c
mov dword [ebp - 0x28], 0xff1f0e47
mov dword [ebp - 0x24], 0x160fad64
mov dword [ebp - 0x20], 0x9d113a0e
mov byte [ebp + eax - 0x1bc], al
inc eax
cmp eax, 0x100
jb 0x419394
mov esi, ecx
mov ebx, ecx
mov dl, byte [ebp + esi - 0x1bc]
mov eax, esi
and eax, 0xf
movzx ecx, dl
movzx eax, byte [ebp + eax - 0xb8]
add eax, ebx
add ecx, eax
movzx ebx, cl
mov al, byte [ebp + ebx - 0x1bc]
mov byte [ebp + esi - 0x1bc], al
inc esi
mov byte [ebp + ebx - 0x1bc], dl
cmp esi, 0x100
jb 0x4193a7
xor eax, eax
or edi, 0x36b9346f
mov dword [ebp - 4], eax
mov ebx, eax
mov esi, eax
lea eax, [ebx + 1]
add edi, 0x75959ec0
movzx ebx, al
mov eax, dword [ebp - 4]
mov cl, byte [ebp + ebx - 0x1bc]
movzx edx, cl
add eax, edx
movzx eax, al
mov dword [ebp - 4], eax
mov al, byte [ebp + eax - 0x1bc]
mov byte [ebp + ebx - 0x1bc], al
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x1bc], cl
movzx eax, byte [ebp + ebx - 0x1bc]
add eax, edx
movzx eax, al
mov al, byte [ebp + eax - 0x1bc]
xor al, byte [ebp + esi - 0x88]
mov byte [ebp + esi - 0x264], al
inc esi
cmp esi, 0x6c
jb 0x4193f2
mov ebx, dword [ebp - 0xa0]
xor eax, eax
mov dword [0x435758], edi
mov edi, dword [ebp - 0x94]
mov byte [ebp - 0x1f8], al
cmp edi, 0x78
jge 0x419554
push 0x800
push eax
push dword [ebp - 0x8c]
call fcn.0040b587
mov eax, dword [ebp + 0x18]
add esp, 0xc
mov esi, dword [ebp - 0x90]
cmp esi, dword [eax]
jne 0x4194a5
mov ecx, dword [ebp + 0x14]
mov edx, eax
call fcn.00417bd8
xor eax, eax
mov esi, eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + esi*4]
call fcn.0040b8e6
mov edx, ecx
mov ecx, dword [ebp - 0x8c]
push eax
call fcn.0040b6cf
mov ecx, dword [ebp - 0x8c]
lea edx, [ebp - 0x264]
xor eax, eax
inc esi
push eax
push dword [ebp + 0x10]
mov dword [ebp - 0x90], esi
push dword [ebp + 0xc]
push dword [ebp - 0xa4]
call fcn.0040dfcf
add esp, 0x14
test eax, eax
jne 0x41950d
mov esi, dword [ebp - 0x98]
mov edx, esi
mov ecx, dword [ebp + 0xc]
call fcn.0040babc
test eax, eax
je 0x41950d
mov edx, ebx
mov ecx, eax
call fcn.0040ba1d
test eax, eax
je 0x419521
mov ecx, dword [ebp + 8]
call fcn.0040c3d8
inc edi
mov dword [ebp - 0x94], edi
jmp 0x4192b1
mov ecx, ebx
call fcn.0040b8e6
push eax
xor eax, eax
push eax
push ebx
call fcn.0040b587
mov ecx, esi
call fcn.0040b8e6
push eax
xor eax, eax
push eax
push esi
call fcn.0040b587
add esp, 0x18
mov ecx, ebx
call fcn.0040a2d2
mov ecx, esi
call fcn.0040a2d2
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret