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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
push ebx
push esi
push edi
mov dword [ebp - 0x18], 0x4d
lea edi, [ebp - 0x18]
mov dword [ebp - 0x14], 0x18
mov esi, 0x4019f0
mov dword [ebp - 0x10], 0x21
mov dword [ebp - 0xc], 0xffffff2b
movups xmm1, xmmword [ebp - 0x18]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x50], ecx
movaps xmm0, xmm1
mov dword [ebp - 0x44], 0x52face56
psrldq xmm0, 8
movsd dword es:[edi], dword [esi]
paddd xmm1, xmm0
movups xmm0, xmm1
mov dword [ebp - 0x40], 0x288c66aa
psrldq xmm0, 4
paddd xmm1, xmm0
mov dword [ebp - 0x3c], 0xea5af900
movsd dword es:[edi], dword [esi]
movd eax, xmm1
mov dword [ebp - 0x38], 0x206167b0
mov dword [ebp - 0x34], 0x904cc03e
movsd dword es:[edi], dword [esi]
add eax, 0x4f
xor ebx, ebx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x30], 0x840927f5
mov eax, ebx
mov dword [ebp - 0x2c], 0xecc74114
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x28], 0x1e658afc
mov edi, ebx
mov dword [ebp - 0x24], 0x49333297
mov dword [ebp - 0x20], 0xaf8d483d
mov dword [ebp - 0x1c], 0x9d87aecb
mov byte [ebp + eax - 0x168], al
inc eax
cmp eax, 0x100
jb 0x42f851
mov esi, ebx
mov dl, byte [ebp + esi - 0x168]
mov eax, esi
and eax, 0xf
movzx ecx, dl
movzx eax, byte [ebp + eax - 0x18]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [ebp + edi - 0x168]
mov byte [ebp + esi - 0x168], al
inc esi
mov byte [ebp + edi - 0x168], dl
cmp esi, 0x100
jb 0x42f862
imul eax, dword [0x44d7f8], 0x86393e25
mov edi, ebx
mov esi, ebx
mov dword [ebp - 0x4c], eax
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [ebp + edi - 0x168]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
mov al, byte [ebp + ebx - 0x168]
mov byte [ebp + edi - 0x168], al
mov byte [ebp + ebx - 0x168], cl
movzx eax, byte [ebp + edi - 0x168]
add eax, edx
movzx eax, al
mov al, byte [ebp + eax - 0x168]
xor al, byte [ebp + esi - 0x44]
mov byte [ebp + esi - 0x198], al
inc esi
cmp esi, 0x2c
jb 0x42f8ac
mov ecx, dword [ebp - 0x4c]
lea edi, [ebp - 0x68]
mov esi, 0x401aec
mov dword [ebp - 0x10], 0x7dcf3a85
xor ebx, ebx
mov word [ebp - 0xc], 0x7d2f
mov byte [ebp - 0x16c], bl
and ecx, 0x6a1665e8
mov eax, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov edi, ebx
mov byte [ebp + eax - 0x168], al
inc eax
cmp eax, 0x100
jb 0x42f92d
lea eax, [ecx - 0x9d5f226]
mov esi, ebx
mov dword [ebp - 4], eax
xor edx, edx
mov bl, byte [ebp + esi - 0x168]
push 0x12
mov eax, esi
pop ecx
div ecx
movzx ecx, bl
movzx eax, byte [ebp + edx - 0x68]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [ebp + edi - 0x168]
mov byte [ebp + esi - 0x168], al
inc esi
mov byte [ebp + edi - 0x168], bl
cmp esi, 0x100
jb 0x42f947
xor ebx, ebx
mov edi, ebx
mov esi, ebx
lea eax, [edi + 1]
movzx edi, al
mov eax, dword [ebp - 4]
sub eax, 0x175b82e9
mov dword [ebp - 4], eax
mov cl, byte [ebp + edi - 0x168]
mov dword [0x44d7f4], eax
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
mov eax, dword [ebp - 4]
xor eax, 0x3b933a48
mov dword [0x44d7f8], eax
mov al, byte [ebp + ebx - 0x168]
mov byte [ebp + edi - 0x168], al
mov byte [ebp + ebx - 0x168], cl
movzx eax, byte [ebp + edi - 0x168]
add eax, edx
movzx eax, al
mov al, byte [ebp + eax - 0x168]
xor al, byte [ebp + esi - 0x10]
mov byte [ebp + esi - 0x4c], al
inc esi
cmp esi, 6
jb 0x42f98a
xor ebx, ebx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x46], bl
call fcn.0041e657
mov edx, eax
lea ecx, [ebp - 0x198]
call fcn.0041e636
call eax
movzx eax, ax
cmp eax, dword [ebp - 0x50]
jne 0x42fa4b
mov eax, dword [0x44d7f4]
push 0x2a
add eax, 0x662c7983
mov dword [ebp - 0x14], 0x5f
pop ecx
mov dword [ebp - 0x10], 4
mov dword [ebp - 0xc], 0xffffff74
mov dword [0x44d7f8], eax
add ecx, dword [ebp + ebx*4 - 0x14]
inc ebx
cmp ebx, 3
jl 0x42fa3f
jmp 0x42fa4e
mov ecx, dword [ebp - 0x54]
pop edi
pop esi
mov eax, ecx
pop ebx
leave
ret