Function at 0x4c1ce0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x2a8
mov eax, dword [0x538048]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x18]
mov eax, dword [ebx + 8]
push esi
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x70], ecx
or ecx, edx
push edi
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
je 0x4c2b12
lea ecx, [eax + 0x10]
mov dword [ebp - 0x64], ecx
test edx, edx
jne 0x4c1d44
mov ecx, dword [ebx + 0x14]
cmp ecx, 0x100
jb 0x4c2755
lea ecx, [eax + 0x10]
movd xmm0, dword [eax]
pshufd xmm1, xmm0, 0
movd xmm0, dword [eax + 4]
pshufd xmm2, xmm0, 0
movd xmm0, dword [eax + 8]
pshufd xmm3, xmm0, 0
movd xmm0, dword [eax + 0xc]
pshufd xmm4, xmm0, 0
movd xmm0, dword [ecx]
lea ecx, [edi + 0xc0]
pshufd xmm5, xmm0, 0
movd xmm0, dword [eax + 0x14]
pshufd xmm6, xmm0, 0
movd xmm0, dword [eax + 0x18]
pshufd xmm7, xmm0, 0
movd xmm0, dword [eax + 0x1c]
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0x270], xmm0
movd xmm0, dword [eax + 0x20]
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0x250], xmm0
movd xmm0, dword [eax + 0x24]
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0x260], xmm0
movd xmm0, dword [eax + 0x28]
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0x240], xmm0
movd xmm0, dword [eax + 0x2c]
mov dword [ebp - 0x50], ecx
lea ecx, [esi + 0xc0]
pshufd xmm0, xmm0, 0
mov dword [ebp - 0x4c], ecx
lea ecx, [edi + 0x80]
movaps xmmword [ebp - 0x210], xmm0
movd xmm0, dword [eax + 0x38]
mov dword [ebp - 0x58], ecx
lea ecx, [esi + 0x80]
pshufd xmm0, xmm0, 0
mov dword [ebp - 0x6c], ecx
lea ecx, [edi + 0x40]
movaps xmmword [ebp - 0x220], xmm0
movd xmm0, dword [eax + 0x3c]
mov dword [ebp - 0x54], ecx
lea ecx, [esi + 0x40]
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0x160], xmm1
movaps xmmword [ebp - 0x170], xmm2
movaps xmmword [ebp - 0x180], xmm3
movaps xmmword [ebp - 0x190], xmm4
movaps xmmword [ebp - 0x1a0], xmm5
movaps xmmword [ebp - 0x1b0], xmm6
movaps xmmword [ebp - 0x1c0], xmm7
movaps xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x68], ecx
mov edx, dword [eax + 0x34]
movaps xmm0, xmm6
movaps xmmword [ebp - 0x100], xmm0
xor ecx, ecx
or ecx, dword [eax + 0x30]
movaps xmm0, xmm7
movaps xmmword [ebp - 0x110], xmm0
movaps xmm0, xmmword [ebp - 0x250]
movaps xmmword [ebp - 0x90], xmm0
movaps xmm0, xmmword [ebp - 0x260]
movaps xmm7, xmmword [ebp - 0x220]
movaps xmmword [ebp - 0xa0], xmm0
movaps xmm0, xmmword [ebp - 0x240]
movaps xmmword [ebp - 0x120], xmm0
movaps xmm0, xmmword [ebp - 0x210]
movaps xmmword [ebp - 0x1d0], xmm1
movaps xmmword [ebp - 0xe0], xmm2
movaps xmm2, xmmword [ebp - 0x270]
movaps xmmword [ebp - 0x130], xmm0
movd xmm0, edx
movd xmm1, ecx
add ecx, 4
punpckldq xmm1, xmm0
movaps xmm0, xmmword [0x506c70]
adc edx, 0
movaps xmmword [ebp - 0xb0], xmm2
movaps xmm2, xmmword [0x506c60]
punpcklqdq xmm1, xmm1
paddq xmm2, xmm1
movaps xmmword [ebp - 0xc0], xmm4
paddq xmm0, xmm1
movaps xmmword [ebp - 0xf0], xmm3
movaps xmm6, xmm2
mov dword [eax + 0x30], ecx
punpckldq xmm6, xmm0
movaps xmm3, xmm5
movaps xmm5, xmmword [ebp - 0x230]
movaps xmm4, xmm6
punpckhdq xmm2, xmm0
mov ecx, 0xa
punpckhdq xmm6, xmm2
punpckldq xmm4, xmm2
movaps xmm1, xmm6
movaps xmmword [ebp - 0xd0], xmm3
movaps xmmword [ebp - 0x200], xmm4
movaps xmmword [ebp - 0x150], xmm1
mov dword [eax + 0x34], edx
jmp 0x4c1f64
movaps xmm5, xmmword [ebp - 0x80]
movaps xmm2, xmm3
paddd xmm2, xmmword [ebp - 0x1d0]
pxor xmm4, xmm2
pshufb xmm4, xmmword [0x505c70]
movaps xmm3, xmm4
paddd xmm3, xmmword [ebp - 0x90]
movaps xmm0, xmm3
pxor xmm0, xmmword [ebp - 0xd0]
movaps xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movaps xmm0, xmm1
paddd xmm0, xmm2
movaps xmm2, xmmword [ebp - 0x100]
paddd xmm2, xmmword [ebp - 0xe0]
pxor xmm4, xmm0
pshufb xmm4, xmmword [0x506c80]
movaps xmmword [ebp - 0x90], xmm0
pxor xmm6, xmm2
pshufb xmm6, xmmword [0x505c70]
movaps xmm0, xmm4
movaps xmmword [ebp - 0x140], xmm4
paddd xmm0, xmm3
movaps xmm3, xmm6
paddd xmm3, xmmword [ebp - 0xa0]
movaps xmmword [ebp - 0x2a0], xmm0
pxor xmm0, xmm1
movaps xmm1, xmm0
pslld xmm0, 7
psrld xmm1, 0x19
por xmm1, xmm0
movaps xmm0, xmm3
pxor xmm0, xmmword [ebp - 0x100]
movaps xmmword [ebp - 0x290], xmm1
movaps xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movaps xmm0, xmm1
paddd xmm0, xmm2
movaps xmm2, xmmword [ebp - 0x110]
paddd xmm2, xmmword [ebp - 0xf0]
pxor xmm6, xmm0
pshufb xmm6, xmmword [0x506c80]
movaps xmmword [ebp - 0xa0], xmm0
pxor xmm7, xmm2
pshufb xmm7, xmmword [0x505c70]
movaps xmm0, xmm6
movaps xmmword [ebp - 0x280], xmm6
paddd xmm0, xmm3
movaps xmm3, xmm7
paddd xmm3, xmmword [ebp - 0x120]
movaps xmmword [ebp - 0x1f0], xmm0
pxor xmm0, xmm1
movaps xmm6, xmm0
pslld xmm0, 7
psrld xmm6, 0x19
por xmm6, xmm0
movaps xmm0, xmm3
pxor xmm0, xmmword [ebp - 0x110]
movaps xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movaps xmm0, xmm1
paddd xmm0, xmm2
movaps xmm2, xmmword [ebp - 0xb0]
paddd xmm2, xmmword [ebp - 0xc0]
pxor xmm7, xmm0
pshufb xmm7, xmmword [0x506c80]
movaps xmmword [ebp - 0xd0], xmm0
movaps xmm4, xmm7
movaps xmmword [ebp - 0x1e0], xmm7
paddd xmm4, xmm3
movaps xmm0, xmm4
pxor xmm0, xmm1
movaps xmm7, xmm0
pslld xmm0, 7
psrld xmm7, 0x19
por xmm7, xmm0
pxor xmm5, xmm2
pshufb xmm5, xmmword [0x505c70]
movaps xmm3, xmm5
paddd xmm3, xmmword [ebp - 0x130]
movaps xmm0, xmm3
pxor xmm0, xmmword [ebp - 0xb0]
movaps xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movaps xmm0, xmm1
paddd xmm0, xmm2
movaps xmm2, xmm6
pxor xmm5, xmm0
paddd xmm2, xmmword [ebp - 0x90]
pshufb xmm5, xmmword [0x506c80]
movaps xmmword [ebp - 0xc0], xmm0
movaps xmmword [ebp - 0x80], xmm5
paddd xmm5, xmm3
movaps xmm0, xmm5
pxor xmm0, xmm1
movaps xmm1, xmm0
pslld xmm0, 7
psrld xmm1, 0x19
por xmm1, xmm0
movaps xmmword [ebp - 0xb0], xmm1
movaps xmm1, xmmword [ebp - 0x80]
pxor xmm1, xmm2
pshufb xmm1, xmmword [0x505c70]
movaps xmm3, xmm1
movaps xmmword [ebp - 0x80], xmm1
paddd xmm3, xmm4
movaps xmm0, xmm3
pxor xmm0, xmm6
movaps xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movaps xmm0, xmmword [ebp - 0x80]
movaps xmm4, xmm1
paddd xmm4, xmm2
movaps xmm2, xmm7
paddd xmm2, xmmword [ebp - 0xa0]
pxor xmm0, xmm4
pshufb xmm0, xmmword [0x506c80]
movaps xmmword [ebp - 0x1d0], xmm4
movaps xmm4, xmmword [ebp - 0x140]
movaps xmmword [ebp - 0x80], xmm0
pxor xmm4, xmm2
pshufb xmm4, xmmword [0x505c70]
paddd xmm0, xmm3
movaps xmmword [ebp - 0x120], xmm0
movaps xmm3, xmm4
pxor xmm0, xmm1
paddd xmm3, xmm5
movaps xmm1, xmm0
pslld xmm0, 7
psrld xmm1, 0x19
por xmm1, xmm0
movaps xmm0, xmm3
pxor xmm0, xmm7
movaps xmmword [ebp - 0x100], xmm1
movaps xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movaps xmm0, xmm1
paddd xmm0, xmm2
pxor xmm4, xmm0
movaps xmmword [ebp - 0xe0], xmm0
pshufb xmm4, xmmword [0x506c80]
movaps xmm0, xmm4
movaps xmmword [ebp - 0x140], xmm4
paddd xmm0, xmm3
movaps xmmword [ebp - 0x130], xmm0
pxor xmm0, xmm1
movaps xmm1, xmm0
pslld xmm0, 7
psrld xmm1, 0x19
por xmm1, xmm0
movaps xmmword [ebp - 0x110], xmm1
movaps xmm2, xmmword [ebp - 0xb0]
paddd xmm2, xmmword [ebp - 0xd0]
movaps xmm6, xmmword [ebp - 0x280]
movaps xmm7, xmmword [ebp - 0x1e0]
pxor xmm6, xmm2
pshufb xmm6, xmmword [0x505c70]
movaps xmm3, xmm6
paddd xmm3, xmmword [ebp - 0x2a0]
movaps xmm0, xmm3
pxor xmm0, xmmword [ebp - 0xb0]
movaps xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movaps xmm0, xmm1
paddd xmm0, xmm2
movaps xmm2, xmmword [ebp - 0x290]
paddd xmm2, xmmword [ebp - 0xc0]
pxor xmm6, xmm0
movaps xmmword [ebp - 0xf0], xmm0
pxor xmm7, xmm2
pshufb xmm6, xmmword [0x506c80]
pshufb xmm7, xmmword [0x505c70]
movaps xmm0, xmm6
paddd xmm0, xmm3
movaps xmm3, xmm7
paddd xmm3, xmmword [ebp - 0x1f0]
movaps xmmword [ebp - 0x90], xmm0
pxor xmm0, xmm1
movaps xmm1, xmm0
pslld xmm0, 7
psrld xmm1, 0x19
por xmm1, xmm0
movaps xmm0, xmm3
pxor xmm0, xmmword [ebp - 0x290]
movaps xmmword [ebp - 0xb0], xmm1
movaps xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movaps xmm0, xmm1
paddd xmm0, xmm2
movaps xmmword [ebp - 0xc0], xmm0
pxor xmm7, xmm0
pshufb xmm7, xmmword [0x506c80]
movaps xmm0, xmm7
paddd xmm0, xmm3
movaps xmmword [ebp - 0xa0], xmm0
pxor xmm0, xmm1
movaps xmm3, xmm0
pslld xmm0, 7
psrld xmm3, 0x19
por xmm3, xmm0
movaps xmmword [ebp - 0xd0], xmm3
sub ecx, 1
jne 0x4c1f60
movaps xmm5, xmmword [ebp - 0x160]
paddd xmm5, xmmword [ebp - 0x1d0]
movaps xmm4, xmmword [ebp - 0x180]
movaps xmm3, xmm5
paddd xmm4, xmmword [ebp - 0xf0]
movaps xmm1, xmmword [ebp - 0x170]
movaps xmm2, xmm4
paddd xmm1, xmmword [ebp - 0xe0]
movaps xmm0, xmmword [ebp - 0x190]
paddd xmm0, xmmword [ebp - 0xc0]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x68]
punpckldq xmm3, xmm1
punpckhdq xmm5, xmm1
movaps xmm1, xmm3
punpckhdq xmm4, xmm0
punpckldq xmm2, xmm0
movups xmm0, xmmword [edi]
add dword [ebp - 0x54], 0x10
punpcklqdq xmm1, xmm2
pxor xmm1, xmm0
punpckhqdq xmm3, xmm2
movups xmmword [esi], xmm1
add dword [ebp - 0x58], 0x10
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 0x50]
movaps xmm1, xmm5
add dword [ebp - 0x50], 0x10
pxor xmm3, xmm0
punpcklqdq xmm1, xmm4
movups xmmword [ecx], xmm3
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0x6c]
punpckhqdq xmm5, xmm4
movaps xmm4, xmmword [ebp - 0x1c0]
pxor xmm1, xmm0
paddd xmm4, xmmword [ebp - 0x110]
movups xmmword [eax], xmm1
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 0x4c]
movaps xmm1, xmmword [ebp - 0x1b0]
movaps xmm2, xmm4
paddd xmm1, xmmword [ebp - 0x100]
pxor xmm5, xmm0
movaps xmm0, xmmword [ebp - 0x270]
paddd xmm0, xmmword [ebp - 0xb0]
movups xmmword [edx], xmm5
mov edx, dword [ebp - 0x54]
movaps xmm5, xmmword [ebp - 0x1a0]
paddd xmm5, xmmword [ebp - 0xd0]
add dword [ebp - 0x4c], 0x10
movaps xmm3, xmm5
punpckldq xmm3, xmm1
punpckhdq xmm5, xmm1
movaps xmm1, xmm3
punpckldq xmm2, xmm0
punpckhdq xmm4, xmm0
movups xmm0, xmmword [edi + 0x10]
add dword [ebp - 0x54], 0x10
punpcklqdq xmm1, xmm2
pxor xmm1, xmm0
punpckhqdq xmm3, xmm2
movups xmmword [esi + 0x10], xmm1
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 0x58]
add dword [ebp - 0x58], 0x10
movaps xmm1, xmm5
pxor xmm3, xmm0
punpcklqdq xmm1, xmm4
movups xmmword [ecx + 0x10], xmm3
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 0x50]
add dword [ebp - 0x50], 0x10
pxor xmm1, xmm0
punpckhqdq xmm5, xmm4
movups xmmword [eax + 0x10], xmm1
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 0x4c]
pxor xmm5, xmm0
movups xmmword [edx], xmm5
movaps xmm5, xmmword [ebp - 0x250]
add ecx, 0x20
paddd xmm5, xmmword [ebp - 0x90]
movaps xmm4, xmmword [ebp - 0x240]
movaps xmm3, xmm5
paddd xmm4, xmmword [ebp - 0x120]
movaps xmm1, xmmword [ebp - 0x260]
movaps xmm2, xmm4
paddd xmm1, xmmword [ebp - 0xa0]
movaps xmm0, xmmword [ebp - 0x210]
paddd xmm0, xmmword [ebp - 0x130]
mov edx, dword [ebp - 0x54]
punpckldq xmm3, xmm1
punpckhdq xmm5, xmm1
movaps xmm1, xmm3
punpckldq xmm2, xmm0
punpckhdq xmm4, xmm0
movups xmm0, xmmword [edi + 0x20]
add dword [ebp - 0x4c], 0x10
punpcklqdq xmm1, xmm2
pxor xmm1, xmm0
punpckhqdq xmm3, xmm2
movups xmmword [esi + 0x20], xmm1
mov dword [ebp - 0x68], ecx
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 0x50]
movaps xmm2, xmmword [ebp - 0x150]
movaps xmm1, xmm5
pxor xmm3, xmm0
punpcklqdq xmm1, xmm4
movups xmmword [ecx], xmm3
mov ecx, dword [ebp - 0x58]
punpckhqdq xmm5, xmm4
paddd xmm2, xmm6
movaps xmm4, xmmword [ebp - 0x220]
add dword [ebp - 0x50], 0x10
paddd xmm4, xmm7
movups xmm0, xmmword [ecx]
add ecx, 0x10
movaps xmmword [ebp - 0x150], xmm2
pxor xmm1, xmm0
mov dword [ebp - 0x58], ecx
movups xmmword [eax + 0x20], xmm1
mov ecx, dword [ebp - 0x68]
add eax, 0x30
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 0x4c]
add ecx, 0x10
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x58]
pxor xmm5, xmm0
movaps xmm0, xmmword [ebp - 0x230]
paddd xmm0, xmmword [ebp - 0x80]
movups xmmword [edx], xmm5
mov edx, dword [ebp - 0x54]
movaps xmm5, xmmword [ebp - 0x200]
add edx, 0x10
paddd xmm5, xmmword [ebp - 0x140]
add dword [ebp - 0x4c], 0x10
movaps xmm3, xmm5
punpckhdq xmm5, xmmword [ebp - 0x150]
punpckldq xmm3, xmm2
movaps xmm2, xmm4
punpckldq xmm2, xmm0
movaps xmm1, xmm3
punpckhdq xmm4, xmm0
movups xmm0, xmmword [edi + 0x30]
mov dword [ebp - 0x68], ecx
punpcklqdq xmm1, xmm2
pxor xmm1, xmm0
punpckhqdq xmm3, xmm2
movups xmmword [esi + 0x30], xmm1
mov dword [ebp - 0x54], edx
movups xmm0, xmmword [edx]
movaps xmm1, xmm5
pxor xmm3, xmm0
punpcklqdq xmm1, xmm4
movups xmmword [ecx], xmm3
mov ecx, dword [ebp - 0x6c]
movups xmm0, xmmword [eax]
pxor xmm1, xmm0
mov edx, dword [ebp - 0x50]
movaps xmm2, xmmword [ebp - 0x170]
movaps xmm3, xmmword [ebp - 0x180]
movaps xmm6, xmmword [ebp - 0x1b0]
movaps xmm7, xmmword [ebp - 0x1c0]
movups xmmword [ecx], xmm1
mov ecx, dword [ebp - 0x4c]
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 0x5c]
movaps xmm1, xmmword [ebp - 0x160]
punpckhqdq xmm5, xmm4
movaps xmm4, xmmword [ebp - 0x190]
pxor xmm5, xmm0
movups xmmword [ecx], xmm5
mov ecx, dword [ebp - 0x70]
movaps xmm5, xmmword [ebp - 0x1a0]
add ecx, 0xffffff00
mov dword [ebp - 0x70], ecx
adc edx, 0xffffffff
add dword [ebp - 0x68], 0xd0
add dword [ebp - 0x6c], 0xd0
add eax, 0xd0
add dword [ebp - 0x4c], 0xd0
add esi, 0x100
add dword [ebp - 0x54], 0xd0
add edi, 0x100
add dword [ebp - 0x50], 0xd0
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x5c], edx
test edx, edx
ja 0x4c1e60
jb 0x4c274c
movaps xmm1, xmmword [ebp - 0x160]
movaps xmm2, xmmword [ebp - 0x170]
movaps xmm3, xmmword [ebp - 0x180]
movaps xmm4, xmmword [ebp - 0x190]
movaps xmm5, xmmword [ebp - 0x1a0]
movaps xmm6, xmmword [ebp - 0x1b0]
movaps xmm7, xmmword [ebp - 0x1c0]
cmp ecx, 0x100
jae 0x4c1e60
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x60]
test edx, edx
jne 0x4c2762
cmp ecx, 0x40
jb 0x4c290e
mov ecx, dword [ebp - 0x64]
movups xmm7, xmmword [eax]
movups xmm5, xmmword [eax + 0x30]
movups xmm0, xmmword [ecx]
mov ecx, 0xa
movaps xmm6, xmm7
movups xmmword [ebp - 0x200], xmm0
movaps xmm2, xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x1e0], xmm5
movups xmmword [ebp - 0x1f0], xmm0
movaps xmm3, xmm2
paddd xmm3, xmm6
pxor xmm5, xmm3
pshufb xmm5, xmmword [0x505c70]
movaps xmm4, xmm5
paddd xmm4, xmm0
movaps xmm0, xmm4
pxor xmm0, xmm2
movaps xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
pxor xmm1, xmm0
movaps xmm2, xmm1
paddd xmm2, xmm3
pxor xmm5, xmm2
pshufd xmm2, xmm2, 0x93
pshufb xmm5, xmmword [0x506c80]
movaps xmm3, xmm5
pshufd xmm5, xmm5, 0x4e
paddd xmm3, xmm4
pshufd xmm4, xmm3, 0x39
movaps xmm0, xmm3
pxor xmm0, xmm1
movaps xmm1, xmm0
pslld xmm0, 7
psrld xmm1, 0x19
pxor xmm1, xmm0
paddd xmm2, xmm1
pxor xmm5, xmm2
pshufb xmm5, xmmword [0x505c70]
paddd xmm4, xmm5
movaps xmm0, xmm4
pxor xmm0, xmm1
movaps xmm3, xmm0
pslld xmm0, 0xc
psrld xmm3, 0x14
pxor xmm3, xmm0
movaps xmm0, xmm3
paddd xmm0, xmm2
pshufd xmm6, xmm0, 0x39
pxor xmm5, xmm0
pshufb xmm5, xmmword [0x506c80]
movaps xmm0, xmm5
pshufd xmm5, xmm5, 0x4e
paddd xmm0, xmm4
movaps xmm1, xmm0
pshufd xmm0, xmm0, 0x93
pxor xmm1, xmm3
movaps xmm2, xmm1
pslld xmm1, 7
psrld xmm2, 0x19
pxor xmm2, xmm1
sub ecx, 1
jne 0x4c2793
movups xmm3, xmmword [edi + 0x10]
movups xmm1, xmmword [ebp - 0x200]
paddd xmm7, xmm6
paddd xmm1, xmm2
movups xmm2, xmmword [edi + 0x20]
pxor xmm3, xmm1
movups xmm1, xmmword [ebp - 0x1f0]
paddd xmm1, xmm0
movups xmm0, xmmword [ebp - 0x1e0]
pxor xmm2, xmm1
movups xmm1, xmmword [edi + 0x30]
paddd xmm0, xmm5
pxor xmm1, xmm0
movups xmm0, xmmword [edi]
pxor xmm7, xmm0
movups xmmword [esi], xmm7
movups xmmword [esi + 0x10], xmm3
movups xmmword [esi + 0x20], xmm2
movups xmmword [esi + 0x30], xmm1
mov edx, dword [eax + 0x34]
add dword [eax + 0x30], 1
lea ecx, [edx + 1]
cmovne ecx, edx
mov edx, dword [ebp - 0x5c]
mov dword [eax + 0x34], ecx
mov ecx, dword [ebp - 0x70]
add ecx, 0xffffffc0
mov dword [ebp - 0x70], ecx
adc edx, 0xffffffff
add esi, 0x40
add edi, 0x40
mov dword [ebp - 0x5c], edx
test edx, edx
ja 0x4c2762
jb 0x4c291a
cmp ecx, 0x40
jae 0x4c2762
test edx, edx
jne 0x4c291a
test ecx, ecx
je 0x4c2b12
mov edx, dword [ebp - 0x64]
movaps xmm7, xmmword [0x505c70]
movups xmm6, xmmword [eax]
movups xmm2, xmmword [edx]
mov edx, 0xa
movups xmm0, xmmword [eax + 0x20]
movups xmm5, xmmword [eax + 0x30]
nop word [eax + eax]
movaps xmm3, xmm2
paddd xmm3, xmm6
pxor xmm5, xmm3
pshufb xmm5, xmm7
movaps xmm4, xmm5
paddd xmm4, xmm0
movaps xmm0, xmm4
pxor xmm0, xmm2
movaps xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
pxor xmm1, xmm0
movaps xmm2, xmm1
paddd xmm2, xmm3
pxor xmm5, xmm2
pshufd xmm2, xmm2, 0x93
pshufb xmm5, xmmword [0x506c80]
movaps xmm3, xmm5
pshufd xmm5, xmm5, 0x4e
paddd xmm3, xmm4
pshufd xmm4, xmm3, 0x39
movaps xmm0, xmm3
pxor xmm0, xmm1
movaps xmm1, xmm0
pslld xmm0, 7
psrld xmm1, 0x19
pxor xmm1, xmm0
paddd xmm2, xmm1
pxor xmm5, xmm2
pshufb xmm5, xmm7
paddd xmm4, xmm5
movaps xmm0, xmm4
pxor xmm0, xmm1
movaps xmm3, xmm0
pslld xmm0, 0xc
psrld xmm3, 0x14
pxor xmm3, xmm0
movaps xmm0, xmm3
paddd xmm0, xmm2
pshufd xmm6, xmm0, 0x39
pxor xmm5, xmm0
pshufb xmm5, xmmword [0x506c80]
movaps xmm0, xmm5
pshufd xmm5, xmm5, 0x4e
paddd xmm0, xmm4
movaps xmm1, xmm0
pshufd xmm0, xmm0, 0x93
pxor xmm1, xmm3
movaps xmm2, xmm1
pslld xmm1, 7
psrld xmm2, 0x19
pxor xmm2, xmm1
sub edx, 1
jne 0x4c2940
movups xmm1, xmmword [eax]
mov edx, dword [ebp - 0x64]
paddd xmm1, xmm6
movups xmmword [ebp - 0x48], xmm1
movups xmm1, xmmword [edx]
xor edx, edx
paddd xmm1, xmm2
movups xmmword [ebp - 0x38], xmm1
movups xmm1, xmmword [eax + 0x20]
paddd xmm1, xmm0
movups xmm0, xmmword [eax + 0x30]
mov eax, dword [ebp - 0x5c]
movups xmmword [ebp - 0x28], xmm1
paddd xmm0, xmm5
movups xmmword [ebp - 0x18], xmm0
test eax, eax
jne 0x4c2a64
cmp ecx, 8
jb 0x4c2acf
lea eax, [ebp + ecx - 0x49]
xor edx, edx
cmp esi, eax
ja 0x4c2a7e
lea eax, [ebp - 0x48]
mov dword [ebp - 0x60], eax
lea eax, [ecx - 1]
add eax, esi
cmp eax, dword [ebp - 0x60]
jae 0x4c2acc
lea eax, [ecx - 1]
add eax, edi
cmp esi, eax
ja 0x4c2a90
lea eax, [ecx - 1]
add eax, esi
cmp eax, edi
jae 0x4c2acc
mov eax, ecx
and eax, 0xfffffff8
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
nop dword [eax + eax]
movq xmm1, qword [ebp + edx - 0x48]
movq xmm0, qword [edx + edi]
pxor xmm1, xmm0
mov dword [ebp - 0x60], 0
movq qword [edx + esi], xmm1
add edx, 8
cmp dword [ebp - 0x60], eax
jb 0x4c2aa0
ja 0x4c2acf
cmp edx, dword [ebp - 0x64]
jb 0x4c2aa0
jmp 0x4c2acf
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], eax
ja 0x4c2b04
jb 0x4c2ae1
cmp edx, ecx
jae 0x4c2b04
lea eax, [ebp - 0x48]
sub edi, eax
sub esi, eax
lea ecx, [ebp - 0x48]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor al, byte [ecx]
mov byte [esi + ecx], al
xor eax, eax
cmp eax, dword [ebp - 0x5c]
jb 0x4c2ae8
ja 0x4c2b04
cmp edx, dword [ebp - 0x70]
jb 0x4c2ae8
lea eax, [ebp - 0x48]
push 0x40
push eax
call fcn.004badd0
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004ba055
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret