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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov dword [ebp - 0x20], 2
xorps xmm1, xmm1
mov dword [ebp - 0x1c], 0x11
xor eax, eax
mov dword [ebp - 0x18], 0x14
xorps xmm2, xmm2
mov dword [ebp - 0x14], 0xffffffd9
mov ecx, eax
movups xmm0, xmmword [ebp - 0x20]
push 0x38
pop edx
psubd xmm1, xmm0
mov dword [ebp - 0x50], 0x58
movaps xmm0, xmm1
mov dword [ebp - 0x4c], 0x10
psrldq xmm0, 8
paddd xmm1, xmm0
mov dword [ebp - 0x48], 0x52
movups xmm0, xmm1
mov dword [ebp - 0x44], 0x47
psrldq xmm0, 4
paddd xmm1, xmm0
mov dword [ebp - 0x40], 0xffffff30
movd dword [ebp - 0x54], xmm1
sub edx, dword [ebp + ecx*4 - 0x50]
inc ecx
cmp ecx, 5
jl 0x10004c86
mov dword [ebp - 0x14], 0xad
movaps xmm1, xmm2
mov dword [ebp - 0x20], 0x1c
mov dword [ebp - 0x1c], 0x32
mov dword [ebp - 0x18], 0x5a
movups xmm0, xmmword [ebp - 0x20]
push ebx
mov bl, byte [0x10024448]
psubd xmm1, xmm0
mov dword [ebp - 0x58], edx
movaps xmm0, xmm1
mov dword [ebp - 0x50], 0x1f
psrldq xmm0, 8
paddd xmm1, xmm0
mov dword [ebp - 0x4c], 0x16
movups xmm0, xmm1
mov dword [ebp - 0x48], 0x34
psrldq xmm0, 4
paddd xmm1, xmm0
mov dword [ebp - 0x44], 0x18
movd ecx, xmm1
push esi
push edi
add ecx, 0x174
mov dword [ebp - 0x40], 0xffffff86
mov dword [ebp - 0x14], ecx
mov esi, eax
mov ecx, dword [0x10024284]
push 8
or ecx, 0x951873d3
pop edi
xor ecx, 0x88852444
mov edx, eax
test bl, bl
je 0x10004d41
inc edx
cmp edx, 0xd6a
je 0x10004d3b
cmp byte [edx + 0x10024448], al
jne 0x10004d28
jmp 0x10004d41
or ecx, 0xdc22e0e4
sub edi, dword [ebp + esi*4 - 0x50]
xor ecx, 0x4004400
and ecx, 0xc62540e
inc esi
cmp esi, 5
jl 0x10004d22
mov dword [ebp - 0x3c], edi
mov esi, str.4_444484P44o4y4
lea edi, [ebp - 0x50]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], 0xd5668b37
mov ecx, eax
mov dword [ebp - 0x30], 0x42ebe0cc
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x2c], 0xdaf224d3
mov dword [ebp - 0x28], 0x8b4e684f
mov byte [ebp - 0x24], 0x99
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, eax
mov byte [ebp + ecx - 0x158], cl
inc ecx
cmp ecx, 0x100
jb 0x10004d8f
mov esi, eax
xor edx, edx
mov bl, byte [ebp + esi - 0x158]
push 0x11
mov eax, esi
pop ecx
div ecx
movzx ecx, bl
movzx eax, byte [ebp + edx - 0x50]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [ebp + edi - 0x158]
mov byte [ebp + esi - 0x158], al
inc esi
mov byte [ebp + edi - 0x158], bl
cmp esi, 0x100
jb 0x10004da1
xor ebx, ebx
mov edi, ebx
mov esi, ebx
lea eax, [edi + 1]
movzx edi, al
push 0x11
mov cl, byte [ebp + edi - 0x158]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
mov al, byte [ebp + ebx - 0x158]
mov byte [ebp + edi - 0x158], al
mov byte [ebp + ebx - 0x158], cl
movzx eax, byte [ebp + edi - 0x158]
add eax, edx
movzx eax, al
mov al, byte [ebp + eax - 0x158]
xor al, byte [ebp + esi - 0x34]
mov byte [ebp + esi - 0x50], al
inc esi
pop eax
cmp esi, eax
jb 0x10004de4
mov eax, dword [ebp - 0x38]
xor ebx, ebx
and eax, 0x2e0
mov byte [ebp - 0x3f], bl
or eax, 0x5e68a105
mov dword [ebp - 0xc], 0x3a
mov dword [0x10024284], eax
mov edi, ebx
mov dword [ebp - 8], 0x55
mov eax, ebx
mov dword [ebp - 4], 0xffffff71
sub edi, dword [ebp + eax*4 - 0xc]
inc eax
cmp eax, 3
jl 0x10004e63
mov dword [ebp - 8], 0x21
mov dword [ebp - 4], 0xffffff11
mov dword [ebp - 0x10], 0x53
mov dword [ebp - 0xc], 0x3b
movups xmm0, xmmword [ebp - 0x10]
push 0x63
pop esi
paddd xmm2, xmm0
mov dword [ebp - 8], 0x2b
movaps xmm0, xmm2
mov dword [ebp - 4], 0xffffff72
psrldq xmm0, 8
paddd xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
paddd xmm2, xmm0
movd eax, xmm2
add eax, 0x40
mov dword [ebp - 0x38], eax
mov eax, ebx
add esi, dword [ebp + eax*4 - 8]
inc eax
cmp eax, 2
jl 0x10004ec6
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 4], eax
call fcn.1001e0ae
call eax
push edi
push 4
lea ecx, [ebp - 4]
mov dword [ebp - 0x3c], eax
push ecx
push dword [ebp - 0x58]
push eax
call fcn.1001e931
add esp, 0x14
test eax, eax
jne 0x10004f1f
cmp dword [ebp - 4], ebx
je 0x10004f1f
push 0x45
pop eax
mov dword [ebp - 0x18], 0x15
mov dword [ebp - 0x14], 0xffffffa7
add eax, dword [ebp + ebx*4 - 0x18]
inc ebx
cmp ebx, 2
jl 0x10004f13
jmp 0x10004f6f
push dword [ebp - 0x38]
lea eax, [ebp - 4]
push 4
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x3c]
call fcn.1001e931
add esp, 0x14
test eax, eax
jne 0x10004f6d
cmp dword [ebp - 4], ebx
jne 0x10004f6d
xor dword [0x10024284], 0x450ca3ab
push 8
mov dword [ebp - 0x1c], 0x44
mov dword [ebp - 0x18], 0x16
mov dword [ebp - 0x14], 0xffffffad
pop eax
sub eax, dword [ebp + ebx*4 - 0x1c]
inc ebx
cmp ebx, 3
jl 0x10004f61
jmp 0x10004f6f
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret