Function at 0x4cf490
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x820
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x90]
push 0x780
push 0
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
mov edx, dword [edi + 0xf0]
mov eax, 0xffffffff
xor ecx, ecx
movdqa xmm1, xmmword [0x595200]
movdqa xmm0, xmmword [0x595220]
nop dword [eax]
movdqu xmm3, xmmword [edi + ecx]
movdqa xmm4, xmm3
psrld xmm4, 1
pxor xmm4, xmm3
pand xmm4, xmm1
movdqa xmm2, xmm4
paddd xmm2, xmm4
pxor xmm2, xmm3
pxor xmm4, xmm3
movdqa xmm3, xmm2
psrld xmm3, 2
pxor xmm3, xmm2
movdqa xmm5, xmmword [0x595210]
pand xmm3, xmm5
movdqa xmm6, xmm3
pslld xmm6, 2
pxor xmm6, xmm2
pxor xmm3, xmm2
movdqa xmm2, xmm4
psrld xmm2, 2
pxor xmm2, xmm4
pand xmm2, xmm5
movdqa xmm5, xmm2
pslld xmm5, 2
pxor xmm5, xmm4
pxor xmm2, xmm4
movdqa xmm4, xmm6
psrld xmm4, 4
pxor xmm4, xmm6
pand xmm4, xmm0
movdqa xmm7, xmm4
pslld xmm7, 4
pxor xmm7, xmm6
movdqa xmmword [esp + ecx*8 + 0x90], xmm7
pxor xmm4, xmm6
movdqa xmmword [esp + ecx*8 + 0xd0], xmm4
movdqa xmm4, xmm5
psrld xmm4, 4
pxor xmm4, xmm5
pand xmm4, xmm0
movdqa xmm6, xmm4
pslld xmm6, 4
pxor xmm6, xmm5
movdqa xmmword [esp + ecx*8 + 0xa0], xmm6
pxor xmm4, xmm5
movdqa xmmword [esp + ecx*8 + 0xe0], xmm4
movdqa xmm4, xmm3
psrld xmm4, 4
pxor xmm4, xmm3
pand xmm4, xmm0
movdqa xmm5, xmm4
pslld xmm5, 4
pxor xmm5, xmm3
movdqa xmmword [esp + ecx*8 + 0xb0], xmm5
pxor xmm4, xmm3
movdqa xmmword [esp + ecx*8 + 0xf0], xmm4
movdqa xmm3, xmm2
psrld xmm3, 4
pxor xmm3, xmm2
pand xmm3, xmm0
movdqa xmm4, xmm3
pslld xmm4, 4
pxor xmm4, xmm2
movdqa xmmword [esp + ecx*8 + 0xc0], xmm4
pxor xmm3, xmm2
movdqa xmmword [esp + ecx*8 + 0x100], xmm3
inc eax
add ecx, 0x10
cmp edx, eax
jne 0x4cf4e0
movdqu xmm1, xmmword [ebx]
movdqa xmm2, xmm1
psrld xmm2, 1
pand xmm2, xmmword [0x595200]
movdqa xmm3, xmm2
psrld xmm3, 2
movdqa xmm4, xmmword [0x595210]
pand xmm3, xmm4
movdqa xmm6, xmm4
movdqa xmm5, xmm3
psrld xmm5, 4
pand xmm5, xmm0
movdqa xmm4, xmm5
pslld xmm4, 4
pxor xmm4, xmm3
movdqa xmmword [esp + 0x80], xmm4
movdqa xmm4, xmm3
pslld xmm4, 2
pxor xmm4, xmm2
paddd xmm2, xmm2
pxor xmm2, xmm1
movdqa xmm3, xmm2
psrld xmm3, 2
pand xmm3, xmm6
movdqa xmm6, xmm3
psrld xmm6, 4
pand xmm6, xmm0
movdqa xmm7, xmm6
pslld xmm7, 4
pxor xmm7, xmm3
pslld xmm3, 2
pxor xmm3, xmm2
movdqa xmm1, xmm3
psrld xmm1, 4
pand xmm1, xmm0
movdqa xmm2, xmm1
pslld xmm2, 4
pxor xmm2, xmm3
movdqa xmmword [esp], xmm2
movdqa xmmword [esp + 0x40], xmm1
movdqa xmm1, xmm4
psrld xmm1, 4
pand xmm1, xmm0
movdqa xmm0, xmm1
pslld xmm0, 4
pxor xmm0, xmm4
movdqa xmmword [esp + 0x10], xmm0
movdqa xmmword [esp + 0x50], xmm1
movdqa xmmword [esp + 0x20], xmm7
movdqa xmmword [esp + 0x60], xmm6
movaps xmm0, xmmword [esp + 0x80]
movaps xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x70], xmm5
mov eax, esp
lea ecx, [esp + 0x90]
push eax
call fcn.004d0030
add esp, 4
movdqa xmm1, xmmword [esp + 0x10]
movdqa xmm5, xmmword [esp + 0x30]
paddd xmm1, xmm1
movdqa xmm0, xmmword [0x595230]
pand xmm1, xmm0
movdqa xmm2, xmm0
pandn xmm2, xmmword [esp]
por xmm2, xmm1
paddd xmm5, xmm5
movdqa xmm3, xmmword [0x595240]
pand xmm5, xmm3
movdqa xmm1, xmmword [0x595250]
movdqa xmm4, xmmword [esp + 0x20]
pand xmm4, xmm1
por xmm4, xmm5
movdqa xmm5, xmmword [esp + 0x50]
paddd xmm5, xmm5
pand xmm5, xmm0
pandn xmm0, xmmword [esp + 0x40]
por xmm0, xmm5
movdqa xmm5, xmmword [esp + 0x70]
paddd xmm5, xmm5
pand xmm1, xmmword [esp + 0x60]
pand xmm5, xmm3
por xmm1, xmm5
movdqa xmm3, xmm2
psrld xmm3, 2
movdqa xmm5, xmmword [0x595210]
pand xmm3, xmm5
pxor xmm3, xmm4
pslld xmm3, 2
pxor xmm3, xmm2
movdqa xmm2, xmm0
psrld xmm2, 2
pand xmm2, xmm5
pxor xmm2, xmm1
pslld xmm2, 6
pslld xmm0, 4
pxor xmm0, xmm2
pxor xmm0, xmm3
pand xmm0, xmmword [0x595260]
pxor xmm0, xmm3
movdqu xmmword [esi], xmm0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret