Function at 0x4b4300
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, 0x298
mov edx, dword [ebx + 0x14]
mov eax, edx
mov ecx, dword [ebx + 0x18]
or eax, ecx
push esi
push edi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
je 0x4b515f
mov eax, dword [ebx + 8]
test ecx, ecx
jne 0x4b434e
cmp edx, 0x100
jae 0x4b434e
mov esi, dword [ebx + 0x10]
mov edi, dword [ebx + 0xc]
jmp 0x4b4cfb
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 [eax + 0x10]
pshufd xmm5, xmm0, 0
movd xmm0, dword [eax + 0x14]
mov edi, dword [ebx + 0xc]
pshufd xmm6, xmm0, 0
movd xmm0, dword [eax + 0x18]
mov esi, dword [ebx + 0x10]
pshufd xmm7, xmm0, 0
lea ecx, [edi + 0xc0]
movd xmm0, dword [eax + 0x1c]
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0x240], 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 - 0x270], xmm0
movd xmm0, dword [eax + 0x2c]
mov dword [ebp - 8], ecx
lea ecx, [esi + 0xc0]
pshufd xmm0, xmm0, 0
mov dword [ebp - 4], ecx
lea ecx, [edi + 0x80]
movaps xmmword [ebp - 0x1d0], xmm0
movd xmm0, dword [eax + 0x38]
mov dword [ebp - 0x10], ecx
lea ecx, [esi + 0x80]
pshufd xmm0, xmm0, 0
mov dword [ebp - 0x18], ecx
lea ecx, [edi + 0x40]
movaps xmmword [ebp - 0x1e0], xmm0
movd xmm0, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
lea ecx, [esi + 0x40]
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0x120], xmm1
movaps xmmword [ebp - 0x130], xmm2
movaps xmmword [ebp - 0x140], xmm3
movaps xmmword [ebp - 0x150], xmm4
movaps xmmword [ebp - 0x160], xmm5
movaps xmmword [ebp - 0x170], xmm6
movaps xmmword [ebp - 0x180], xmm7
movaps xmmword [ebp - 0x1f0], xmm0
mov dword [ebp - 0x14], ecx
mov edx, dword [eax + 0x34]
movaps xmm0, xmm6
movaps xmmword [ebp - 0xc0], xmm0
xor ecx, ecx
or ecx, dword [eax + 0x30]
movaps xmm0, xmm7
movaps xmmword [ebp - 0xd0], xmm0
movaps xmm0, xmmword [ebp - 0x250]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x260]
movaps xmm7, xmmword [ebp - 0x1e0]
movaps xmmword [ebp - 0x50], xmm0
movaps xmm0, xmmword [ebp - 0x270]
movaps xmmword [ebp - 0xe0], xmm0
movaps xmm0, xmmword [ebp - 0x1d0]
movaps xmmword [ebp - 0x90], xmm1
movaps xmmword [ebp - 0xa0], xmm2
movaps xmm2, xmmword [ebp - 0x240]
movaps xmmword [ebp - 0xf0], xmm0
movd xmm0, edx
movd xmm1, ecx
add ecx, 4
punpckldq xmm1, xmm0
movaps xmm0, xmmword [0x58c610]
adc edx, 0
movaps xmmword [ebp - 0x60], xmm2
movaps xmm2, xmmword [0x58c600]
punpcklqdq xmm1, xmm1
paddq xmm2, xmm1
movaps xmmword [ebp - 0x70], xmm4
paddq xmm0, xmm1
movaps xmmword [ebp - 0xb0], xmm3
movaps xmm6, xmm2
mov dword [eax + 0x30], ecx
punpckldq xmm6, xmm0
movaps xmm3, xmm5
movaps xmm5, xmmword [ebp - 0x1f0]
movaps xmm4, xmm6
punpckhdq xmm2, xmm0
mov ecx, 0xa
punpckhdq xmm6, xmm2
punpckldq xmm4, xmm2
movaps xmm1, xmm6
movaps xmmword [ebp - 0x80], xmm3
movaps xmmword [ebp - 0x1c0], xmm4
movaps xmmword [ebp - 0x110], xmm1
mov dword [eax + 0x34], edx
jmp 0x4b4564
movaps xmm5, xmmword [ebp - 0x30]
movaps xmm2, xmm3
paddd xmm2, xmmword [ebp - 0x90]
pxor xmm4, xmm2
pshufb xmm4, xmmword [0x58c620]
movaps xmm3, xmm4
paddd xmm3, xmmword [ebp - 0x40]
movaps xmm0, xmm3
pxor xmm0, xmmword [ebp - 0x80]
movaps xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movaps xmm0, xmm1
paddd xmm0, xmm2
movaps xmm2, xmmword [ebp - 0xc0]
paddd xmm2, xmmword [ebp - 0xa0]
pxor xmm4, xmm0
pshufb xmm4, xmmword [0x58c630]
movaps xmmword [ebp - 0x40], xmm0
pxor xmm6, xmm2
pshufb xmm6, xmmword [0x58c620]
movaps xmm0, xmm4
movaps xmmword [ebp - 0x100], xmm4
paddd xmm0, xmm3
movaps xmm3, xmm6
paddd xmm3, xmmword [ebp - 0x50]
movaps xmmword [ebp - 0x290], xmm0
pxor xmm0, xmm1
movaps xmm1, xmm0
pslld xmm0, 7
psrld xmm1, 0x19
por xmm1, xmm0
movaps xmm0, xmm3
pxor xmm0, xmmword [ebp - 0xc0]
movaps xmmword [ebp - 0x190], xmm1
movaps xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movaps xmm0, xmm1
paddd xmm0, xmm2
movaps xmm2, xmmword [ebp - 0xd0]
paddd xmm2, xmmword [ebp - 0xb0]
pxor xmm6, xmm0
pshufb xmm6, xmmword [0x58c630]
movaps xmmword [ebp - 0x50], xmm0
pxor xmm7, xmm2
pshufb xmm7, xmmword [0x58c620]
movaps xmm0, xmm6
movaps xmmword [ebp - 0x280], xmm6
paddd xmm0, xmm3
movaps xmm3, xmm7
paddd xmm3, xmmword [ebp - 0xe0]
movaps xmmword [ebp - 0x1b0], xmm0
pxor xmm0, xmm1
movaps xmm6, xmm0
pslld xmm0, 7
psrld xmm6, 0x19
por xmm6, xmm0
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 - 0x60]
paddd xmm2, xmmword [ebp - 0x70]
pxor xmm7, xmm0
pshufb xmm7, xmmword [0x58c630]
movaps xmmword [ebp - 0x80], xmm0
movaps xmm4, xmm7
movaps xmmword [ebp - 0x1a0], 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 [0x58c620]
movaps xmm3, xmm5
paddd xmm3, xmmword [ebp - 0xf0]
movaps xmm0, xmm3
pxor xmm0, xmmword [ebp - 0x60]
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 - 0x40]
pshufb xmm5, xmmword [0x58c630]
movaps xmmword [ebp - 0x70], xmm0
movaps xmmword [ebp - 0x30], 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 - 0x60], xmm1
movaps xmm1, xmmword [ebp - 0x30]
pxor xmm1, xmm2
pshufb xmm1, xmmword [0x58c620]
movaps xmm3, xmm1
movaps xmmword [ebp - 0x30], 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 - 0x30]
movaps xmm4, xmm1
paddd xmm4, xmm2
movaps xmm2, xmm7
paddd xmm2, xmmword [ebp - 0x50]
pxor xmm0, xmm4
pshufb xmm0, xmmword [0x58c630]
movaps xmmword [ebp - 0x90], xmm4
movaps xmm4, xmmword [ebp - 0x100]
movaps xmmword [ebp - 0x30], xmm0
pxor xmm4, xmm2
pshufb xmm4, xmmword [0x58c620]
paddd xmm0, xmm3
movaps xmmword [ebp - 0xe0], 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 - 0xc0], 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 - 0xa0], xmm0
pshufb xmm4, xmmword [0x58c630]
movaps xmm0, xmm4
movaps xmmword [ebp - 0x100], xmm4
paddd xmm0, xmm3
movaps xmmword [ebp - 0xf0], xmm0
pxor xmm0, xmm1
movaps xmm1, xmm0
pslld xmm0, 7
psrld xmm1, 0x19
por xmm1, xmm0
movaps xmmword [ebp - 0xd0], xmm1
movaps xmm2, xmmword [ebp - 0x60]
paddd xmm2, xmmword [ebp - 0x80]
movaps xmm6, xmmword [ebp - 0x280]
movaps xmm7, xmmword [ebp - 0x1a0]
pxor xmm6, xmm2
pshufb xmm6, xmmword [0x58c620]
movaps xmm3, xmm6
paddd xmm3, xmmword [ebp - 0x290]
movaps xmm0, xmm3
pxor xmm0, xmmword [ebp - 0x60]
movaps xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movaps xmm0, xmm1
paddd xmm0, xmm2
movaps xmm2, xmmword [ebp - 0x190]
paddd xmm2, xmmword [ebp - 0x70]
pxor xmm6, xmm0
movaps xmmword [ebp - 0xb0], xmm0
pxor xmm7, xmm2
pshufb xmm6, xmmword [0x58c630]
pshufb xmm7, xmmword [0x58c620]
movaps xmm0, xmm6
paddd xmm0, xmm3
movaps xmm3, xmm7
paddd xmm3, xmmword [ebp - 0x1b0]
movaps xmmword [ebp - 0x40], xmm0
pxor xmm0, xmm1
movaps xmm1, xmm0
pslld xmm0, 7
psrld xmm1, 0x19
por xmm1, xmm0
movaps xmm0, xmm3
pxor xmm0, xmmword [ebp - 0x190]
movaps xmmword [ebp - 0x60], xmm1
movaps xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movaps xmm0, xmm1
paddd xmm0, xmm2
movaps xmmword [ebp - 0x70], xmm0
pxor xmm7, xmm0
pshufb xmm7, xmmword [0x58c630]
movaps xmm0, xmm7
paddd xmm0, xmm3
movaps xmmword [ebp - 0x50], xmm0
pxor xmm0, xmm1
movaps xmm3, xmm0
pslld xmm0, 7
psrld xmm3, 0x19
por xmm3, xmm0
movaps xmmword [ebp - 0x80], xmm3
sub ecx, 1
jne 0x4b4560
movaps xmm5, xmmword [ebp - 0x120]
paddd xmm5, xmmword [ebp - 0x90]
movaps xmm4, xmmword [ebp - 0x140]
movaps xmm3, xmm5
paddd xmm4, xmmword [ebp - 0xb0]
movaps xmm1, xmmword [ebp - 0x130]
movaps xmm2, xmm4
paddd xmm1, xmmword [ebp - 0xa0]
movaps xmm0, xmmword [ebp - 0x150]
paddd xmm0, xmmword [ebp - 0x70]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
punpckldq xmm3, xmm1
punpckhdq xmm5, xmm1
movaps xmm1, xmm3
punpckhdq xmm4, xmm0
punpckldq xmm2, xmm0
movups xmm0, xmmword [edi]
add dword [ebp - 0xc], 0x10
punpcklqdq xmm1, xmm2
pxor xmm1, xmm0
punpckhqdq xmm3, xmm2
movups xmmword [esi], xmm1
add dword [ebp - 0x10], 0x10
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 8]
movaps xmm1, xmm5
add dword [ebp - 8], 0x10
pxor xmm3, xmm0
punpcklqdq xmm1, xmm4
movups xmmword [ecx], xmm3
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0x18]
punpckhqdq xmm5, xmm4
movaps xmm4, xmmword [ebp - 0x180]
pxor xmm1, xmm0
paddd xmm4, xmmword [ebp - 0xd0]
movups xmmword [eax], xmm1
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 4]
movaps xmm1, xmmword [ebp - 0x170]
movaps xmm2, xmm4
paddd xmm1, xmmword [ebp - 0xc0]
pxor xmm5, xmm0
movaps xmm0, xmmword [ebp - 0x240]
paddd xmm0, xmmword [ebp - 0x60]
movups xmmword [edx], xmm5
mov edx, dword [ebp - 0xc]
movaps xmm5, xmmword [ebp - 0x160]
paddd xmm5, xmmword [ebp - 0x80]
add dword [ebp - 4], 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 - 0xc], 0x10
punpcklqdq xmm1, xmm2
pxor xmm1, xmm0
punpckhqdq xmm3, xmm2
movups xmmword [esi + 0x10], xmm1
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 0x10]
add dword [ebp - 0x10], 0x10
movaps xmm1, xmm5
pxor xmm3, xmm0
punpcklqdq xmm1, xmm4
movups xmmword [ecx + 0x10], xmm3
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 8]
add dword [ebp - 8], 0x10
pxor xmm1, xmm0
punpckhqdq xmm5, xmm4
movups xmmword [eax + 0x10], xmm1
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 4]
pxor xmm5, xmm0
movups xmmword [edx], xmm5
movaps xmm5, xmmword [ebp - 0x250]
add ecx, 0x20
paddd xmm5, xmmword [ebp - 0x40]
movaps xmm4, xmmword [ebp - 0x270]
movaps xmm3, xmm5
paddd xmm4, xmmword [ebp - 0xe0]
movaps xmm1, xmmword [ebp - 0x260]
movaps xmm2, xmm4
paddd xmm1, xmmword [ebp - 0x50]
movaps xmm0, xmmword [ebp - 0x1d0]
paddd xmm0, xmmword [ebp - 0xf0]
mov edx, dword [ebp - 0xc]
punpckldq xmm3, xmm1
punpckhdq xmm5, xmm1
movaps xmm1, xmm3
punpckldq xmm2, xmm0
punpckhdq xmm4, xmm0
movups xmm0, xmmword [edi + 0x20]
add dword [ebp - 4], 0x10
punpcklqdq xmm1, xmm2
pxor xmm1, xmm0
punpckhqdq xmm3, xmm2
movups xmmword [esi + 0x20], xmm1
mov dword [ebp - 0x14], ecx
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 8]
movaps xmm2, xmmword [ebp - 0x110]
movaps xmm1, xmm5
pxor xmm3, xmm0
punpcklqdq xmm1, xmm4
movups xmmword [ecx], xmm3
mov ecx, dword [ebp - 0x10]
punpckhqdq xmm5, xmm4
paddd xmm2, xmm6
movaps xmm4, xmmword [ebp - 0x1e0]
add dword [ebp - 8], 0x10
paddd xmm4, xmm7
movups xmm0, xmmword [ecx]
add ecx, 0x10
movaps xmmword [ebp - 0x110], xmm2
pxor xmm1, xmm0
mov dword [ebp - 0x10], ecx
movups xmmword [eax + 0x20], xmm1
mov ecx, dword [ebp - 0x14]
add eax, 0x30
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 4]
add ecx, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
pxor xmm5, xmm0
movaps xmm0, xmmword [ebp - 0x1f0]
paddd xmm0, xmmword [ebp - 0x30]
movups xmmword [edx], xmm5
mov edx, dword [ebp - 0xc]
movaps xmm5, xmmword [ebp - 0x1c0]
add edx, 0x10
paddd xmm5, xmmword [ebp - 0x100]
add dword [ebp - 4], 0x10
movaps xmm3, xmm5
punpckhdq xmm5, xmmword [ebp - 0x110]
punpckldq xmm3, xmm2
movaps xmm2, xmm4
punpckldq xmm2, xmm0
movaps xmm1, xmm3
punpckhdq xmm4, xmm0
movups xmm0, xmmword [edi + 0x30]
mov dword [ebp - 0x14], ecx
punpcklqdq xmm1, xmm2
pxor xmm1, xmm0
punpckhqdq xmm3, xmm2
movups xmmword [esi + 0x30], xmm1
mov dword [ebp - 0xc], edx
movups xmm0, xmmword [edx]
movaps xmm1, xmm5
pxor xmm3, xmm0
punpcklqdq xmm1, xmm4
movups xmmword [ecx], xmm3
mov ecx, dword [ebp - 0x18]
movups xmm0, xmmword [eax]
pxor xmm1, xmm0
mov edx, dword [ebp - 8]
movaps xmm2, xmmword [ebp - 0x130]
movaps xmm3, xmmword [ebp - 0x140]
movaps xmm6, xmmword [ebp - 0x170]
movaps xmm7, xmmword [ebp - 0x180]
movups xmmword [ecx], xmm1
mov ecx, dword [ebp - 4]
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 0x20]
movaps xmm1, xmmword [ebp - 0x120]
add edx, 0xffffff00
punpckhqdq xmm5, xmm4
movaps xmm4, xmmword [ebp - 0x150]
pxor xmm5, xmm0
movups xmmword [ecx], xmm5
mov ecx, dword [ebp - 0x1c]
movaps xmm5, xmmword [ebp - 0x160]
adc ecx, 0xffffffff
add dword [ebp - 0x14], 0xd0
add eax, 0xd0
add dword [ebp - 0x18], 0xd0
add esi, 0x100
add dword [ebp - 4], 0xd0
add edi, 0x100
add dword [ebp - 0xc], 0xd0
add dword [ebp - 8], 0xd0
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
test ecx, ecx
ja 0x4b4471
jb 0x4b4cfb
movaps xmm1, xmmword [ebp - 0x120]
movaps xmm2, xmmword [ebp - 0x130]
movaps xmm3, xmmword [ebp - 0x140]
movaps xmm4, xmmword [ebp - 0x150]
movaps xmm5, xmmword [ebp - 0x160]
movaps xmm6, xmmword [ebp - 0x170]
movaps xmm7, xmmword [ebp - 0x180]
cmp edx, 0x100
jae 0x4b4471
mov dword [ebp - 0x18], esi
test ecx, ecx
jne 0x4b4d10
cmp edx, 0x40
jb 0x4b4ec5
nop dword [eax + eax]
movups xmm6, xmmword [eax]
mov ecx, 0xa
movups xmm2, xmmword [eax + 0x10]
movups xmm7, xmmword [eax + 0x20]
movups xmm5, xmmword [eax + 0x30]
movups xmmword [ebp - 0x190], xmm6
movaps xmmword [ebp - 0x1c0], xmm2
movaps xmmword [ebp - 0x1b0], xmm7
movaps xmmword [ebp - 0x1a0], xmm5
movaps xmm3, xmm2
paddd xmm3, xmm6
pxor xmm5, xmm3
pshufb xmm5, xmmword [0x58c620]
movaps xmm4, xmm5
paddd xmm4, xmm7
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 [0x58c630]
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 [0x58c620]
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 [0x58c630]
movaps xmm0, xmm5
pshufd xmm5, xmm5, 0x4e
paddd xmm0, xmm4
pshufd xmm7, xmm0, 0x93
movaps xmm1, xmm0
pxor xmm1, xmm3
movaps xmm2, xmm1
pslld xmm1, 7
psrld xmm2, 0x19
pxor xmm2, xmm1
sub ecx, 1
jne 0x4b4d40
movups xmm0, xmmword [edi + 0x10]
movaps xmm1, xmmword [ebp - 0x1c0]
movaps xmm3, xmmword [ebp - 0x1a0]
paddd xmm1, xmm2
movaps xmm2, xmmword [ebp - 0x1b0]
pxor xmm1, xmm0
movups xmm0, xmmword [edi + 0x20]
movups xmm4, xmmword [ebp - 0x190]
paddd xmm2, xmm7
paddd xmm3, xmm5
pxor xmm2, xmm0
paddd xmm4, xmm6
movups xmm0, xmmword [edi + 0x30]
pxor xmm3, xmm0
movups xmm0, xmmword [edi]
pxor xmm4, xmm0
movups xmmword [esi], xmm4
movups xmmword [esi + 0x10], xmm1
movups xmmword [esi + 0x20], xmm2
movups xmmword [esi + 0x30], xmm3
mov edx, dword [eax + 0x34]
add dword [eax + 0x30], 1
lea ecx, [edx + 1]
cmovne ecx, edx
mov edx, dword [ebp - 0x20]
add edx, 0xffffffc0
mov dword [eax + 0x34], ecx
mov ecx, dword [ebp - 0x1c]
adc ecx, 0xffffffff
mov dword [ebp - 0x20], edx
add esi, 0x40
mov dword [ebp - 0x1c], ecx
add edi, 0x40
test ecx, ecx
ja 0x4b4d10
jb 0x4b4ec2
cmp edx, 0x40
jae 0x4b4d10
mov dword [ebp - 0x18], esi
test ecx, ecx
jne 0x4b4ed1
test edx, edx
je 0x4b515f
movaps xmm7, xmmword [0x58c620]
mov ecx, 0xa
movups xmm6, xmmword [eax]
movups xmm2, xmmword [eax + 0x10]
movups xmm0, xmmword [eax + 0x20]
movups xmm5, xmmword [eax + 0x30]
nop dword [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 [0x58c630]
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 [0x58c630]
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 0x4b4ef0
movups xmm1, xmmword [eax]
paddd xmm1, xmm6
movups xmmword [ebp - 0x230], xmm1
movups xmm1, xmmword [eax + 0x10]
paddd xmm1, xmm2
movups xmmword [ebp - 0x220], xmm1
movups xmm1, xmmword [eax + 0x20]
paddd xmm1, xmm0
movups xmm0, xmmword [eax + 0x30]
mov eax, dword [ebp - 0x1c]
movups xmmword [ebp - 0x210], xmm1
paddd xmm0, xmm5
movups xmmword [ebp - 0x200], xmm0
test eax, eax
jne 0x4b5020
cmp edx, 0x40
jb 0x4b5104
lea eax, [edi - 1]
xor ecx, ecx
add eax, edx
cmp esi, eax
ja 0x4b5038
lea eax, [esi - 1]
add eax, edx
cmp eax, edi
jae 0x4b5101
lea eax, [ebp + edx - 0x231]
cmp esi, eax
ja 0x4b505a
lea eax, [ebp - 0x230]
mov dword [ebp - 0x14], eax
lea eax, [esi - 1]
add eax, edx
cmp eax, dword [ebp - 0x14]
jae 0x4b5101
mov eax, edx
mov edx, edi
sub edx, esi
and eax, 0xffffffc0
mov dword [ebp - 0x14], edx
lea edx, [ebp - 0x230]
sub edx, esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], edx
lea eax, [esi + 0x10]
lea edx, [ebp - 0x220]
sub edx, esi
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0x210]
sub edx, esi
mov dword [ebp - 8], edx
lea edx, [edi + 0x30]
movups xmm0, xmmword [edx - 0x30]
mov esi, dword [ebp - 0x10]
lea edx, [edx + 0x40]
movups xmm1, xmmword [ebp + ecx - 0x230]
add ecx, 0x40
lea eax, [eax + 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm1, xmmword [eax + esi - 0x40]
mov esi, dword [ebp - 0x14]
movups xmm0, xmmword [eax + esi - 0x40]
mov esi, dword [ebp - 0xc]
pxor xmm1, xmm0
movups xmm0, xmmword [edx - 0x50]
movups xmmword [eax - 0x40], xmm1
movups xmm1, xmmword [eax + esi - 0x40]
mov esi, dword [ebp - 8]
pxor xmm1, xmm0
movups xmm0, xmmword [edx - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax + esi - 0x40]
xor esi, esi
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp esi, dword [ebp - 0x1c]
jb 0x4b5090
ja 0x4b50fb
cmp ecx, dword [ebp - 4]
jb 0x4b5090
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], eax
ja 0x4b514e
jb 0x4b5116
cmp ecx, edx
jae 0x4b514e
lea eax, [ecx + edi]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x230]
sub eax, edi
sub esi, edi
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
nop dword [eax]
mov al, byte [eax + edi]
lea edi, [edi + 1]
xor al, byte [edi - 1]
inc ecx
mov byte [esi + edi - 1], al
xor eax, eax
cmp eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
jb 0x4b5130
ja 0x4b514e
cmp ecx, edx
jb 0x4b5130
lea eax, [ebp - 0x230]
push 0x40
push eax
call fcn.004af080
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret