Function at 0x5006e0
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 [0x586220]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebx + 0x14]
mov ecx, edx
mov eax, dword [ebx + 8]
push esi
mov esi, dword [ebx + 0xc]
push edi
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x60], edi
mov edi, dword [ebx + 0x18]
or ecx, edi
mov dword [ebp - 0x64], edi
mov edi, dword [ebp - 0x60]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
je 0x5016a9
mov ecx, dword [ebx + 0x18]
cmp ecx, 0x3f
jb 0x500747
ja 0x5016bc
cmp edx, 0xffffffc0
ja 0x5016bc
test ecx, ecx
jne 0x500757
cmp edx, 0x100
jb 0x501248
movd xmm0, dword [eax]
lea ecx, [esi + 0xc0]
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]
pshufd xmm6, xmm0, 0
movd xmm0, dword [eax + 0x18]
pshufd xmm7, xmm0, 0
movd xmm0, dword [eax + 0x1c]
pshufd xmm0, xmm0, 0
movdqa xmmword [ebp - 0x1e0], xmm0
movd xmm0, dword [eax + 0x20]
pshufd xmm0, xmm0, 0
movdqa xmmword [ebp - 0x230], xmm0
movd xmm0, dword [eax + 0x24]
pshufd xmm0, xmm0, 0
movdqa xmmword [ebp - 0x240], xmm0
movd xmm0, dword [eax + 0x28]
pshufd xmm0, xmm0, 0
movdqa xmmword [ebp - 0x210], xmm0
movd xmm0, dword [eax + 0x2c]
mov dword [ebp - 0x58], ecx
lea ecx, [edi + 0xc0]
pshufd xmm0, xmm0, 0
mov dword [ebp - 0x54], ecx
lea ecx, [esi + 0x80]
movdqa xmmword [ebp - 0x1f0], xmm0
movd xmm0, dword [eax + 0x38]
mov dword [ebp - 0x4c], ecx
lea ecx, [edi + 0x80]
pshufd xmm0, xmm0, 0
mov dword [ebp - 0x60], ecx
lea ecx, [esi + 0x40]
movdqa xmmword [ebp - 0x200], xmm0
movd xmm0, dword [eax + 0x3c]
mov dword [ebp - 0x50], ecx
lea ecx, [edi + 0x40]
pshufd xmm0, xmm0, 0
movdqa xmmword [ebp - 0x100], xmm1
movdqa xmmword [ebp - 0x110], xmm2
movdqa xmmword [ebp - 0x130], xmm3
movdqa xmmword [ebp - 0x150], xmm4
movdqa xmmword [ebp - 0x170], xmm5
movdqa xmmword [ebp - 0x190], xmm6
movdqa xmmword [ebp - 0xf0], xmm7
movdqa xmmword [ebp - 0x220], xmm0
mov dword [ebp - 0x5c], ecx
jmp 0x500890
mov edx, dword [eax + 0x34]
movdqa xmm0, xmm5
movdqa xmmword [ebp - 0x90], xmm0
xor ecx, ecx
or ecx, dword [eax + 0x30]
movdqa xmm0, xmm6
movdqa xmmword [ebp - 0x1c0], xmm0
movdqa xmm0, xmm7
movdqa xmmword [ebp - 0x1a0], xmm0
movdqa xmm0, xmmword [ebp - 0x230]
movdqa xmmword [ebp - 0xa0], xmm0
movdqa xmm0, xmmword [ebp - 0x240]
movdqa xmm7, xmmword [ebp - 0x200]
movdqa xmm5, xmmword [ebp - 0x220]
movdqa xmmword [ebp - 0xb0], xmm0
movdqa xmm0, xmmword [ebp - 0x210]
movdqa xmmword [ebp - 0x1d0], xmm1
movdqa xmmword [ebp - 0x180], xmm0
movdqa xmm0, xmmword [ebp - 0x1f0]
movdqa xmmword [ebp - 0x120], xmm2
movdqa xmm2, xmmword [ebp - 0x1e0]
movdqa xmmword [ebp - 0x1b0], xmm3
movdqa xmmword [ebp - 0x140], xmm0
movd xmm0, ecx
movd xmm3, ecx
add ecx, 4
movdqa xmmword [ebp - 0xc0], xmm2
movd xmm2, edx
movd xmm1, edx
adc edx, 0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm0
movdqa xmm0, xmmword [0x42a1b0]
punpckldq xmm3, xmm1
movdqa xmm1, xmm3
movdqa xmmword [ebp - 0xd0], xmm4
paddq xmm1, xmmword [0x42a1a0]
paddq xmm0, xmm3
movdqa xmm6, xmm1
mov dword [eax + 0x30], ecx
punpckhdq xmm1, xmm0
mov ecx, 0xa
punpckldq xmm6, xmm0
movdqa xmm4, xmm6
mov dword [eax + 0x34], edx
punpckldq xmm4, xmm1
punpckhdq xmm6, xmm1
movdqa xmm1, xmm6
movdqa xmmword [ebp - 0x280], xmm4
movdqa xmmword [ebp - 0x160], xmm1
movdqa xmm1, xmmword [ebp - 0x90]
jmp 0x5009bc
movdqa xmm5, xmmword [ebp - 0x80]
movdqa xmm2, xmm1
paddd xmm2, xmmword [ebp - 0x1d0]
pxor xmm4, xmm2
pshufb xmm4, xmmword [0x42a1c0]
movdqa xmm3, xmm4
paddd xmm3, xmmword [ebp - 0xa0]
movdqa xmm0, xmm3
pxor xmm0, xmm1
movdqa xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movdqa xmm0, xmm1
paddd xmm0, xmm2
movdqa xmm2, xmmword [ebp - 0x1c0]
paddd xmm2, xmmword [ebp - 0x120]
pxor xmm4, xmm0
pshufb xmm4, xmmword [0x42a1d0]
movdqa xmmword [ebp - 0xa0], xmm0
pxor xmm6, xmm2
pshufb xmm6, xmmword [0x42a1c0]
movdqa xmm0, xmm4
movdqa xmmword [ebp - 0xe0], xmm4
paddd xmm0, xmm3
movdqa xmm3, xmm6
paddd xmm3, xmmword [ebp - 0xb0]
movdqa xmmword [ebp - 0x2a0], xmm0
pxor xmm0, xmm1
movdqa xmm1, xmm0
pslld xmm0, 7
psrld xmm1, 0x19
por xmm1, xmm0
movdqa xmm0, xmm3
pxor xmm0, xmmword [ebp - 0x1c0]
movdqa xmmword [ebp - 0x270], xmm1
movdqa xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movdqa xmm0, xmm1
paddd xmm0, xmm2
movdqa xmm2, xmmword [ebp - 0x1a0]
paddd xmm2, xmmword [ebp - 0x1b0]
pxor xmm6, xmm0
pshufb xmm6, xmmword [0x42a1d0]
movdqa xmmword [ebp - 0xb0], xmm0
pxor xmm7, xmm2
pshufb xmm7, xmmword [0x42a1c0]
movdqa xmm0, xmm6
movdqa xmmword [ebp - 0x250], xmm6
paddd xmm0, xmm3
movdqa xmm3, xmm7
paddd xmm3, xmmword [ebp - 0x180]
movdqa xmmword [ebp - 0x260], xmm0
pxor xmm0, xmm1
movdqa xmm6, xmm0
pslld xmm0, 7
psrld xmm6, 0x19
por xmm6, xmm0
movdqa xmm0, xmm3
pxor xmm0, xmmword [ebp - 0x1a0]
movdqa xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movdqa xmm0, xmm1
paddd xmm0, xmm2
movdqa xmm2, xmmword [ebp - 0xc0]
paddd xmm2, xmmword [ebp - 0xd0]
pxor xmm7, xmm0
pshufb xmm7, xmmword [0x42a1d0]
movdqa xmmword [ebp - 0x90], xmm0
movdqa xmm4, xmm7
movdqa xmmword [ebp - 0x290], xmm7
paddd xmm4, xmm3
movdqa xmm0, xmm4
pxor xmm0, xmm1
movdqa xmm7, xmm0
pslld xmm0, 7
psrld xmm7, 0x19
por xmm7, xmm0
pxor xmm5, xmm2
pshufb xmm5, xmmword [0x42a1c0]
movdqa xmm3, xmm5
paddd xmm3, xmmword [ebp - 0x140]
movdqa xmm0, xmm3
pxor xmm0, xmmword [ebp - 0xc0]
movdqa xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movdqa xmm0, xmm1
paddd xmm0, xmm2
movdqa xmm2, xmm6
pxor xmm5, xmm0
paddd xmm2, xmmword [ebp - 0xa0]
pshufb xmm5, xmmword [0x42a1d0]
movdqa xmmword [ebp - 0xd0], xmm0
movdqa xmmword [ebp - 0x80], xmm5
paddd xmm5, xmm3
movdqa xmm0, xmm5
pxor xmm0, xmm1
movdqa xmm1, xmm0
pslld xmm0, 7
psrld xmm1, 0x19
por xmm1, xmm0
movdqa xmmword [ebp - 0xc0], xmm1
movdqa xmm1, xmmword [ebp - 0x80]
pxor xmm1, xmm2
pshufb xmm1, xmmword [0x42a1c0]
movdqa xmm3, xmm1
movdqa xmmword [ebp - 0x80], xmm1
paddd xmm3, xmm4
movdqa xmm0, xmm3
pxor xmm0, xmm6
movdqa xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movdqa xmm0, xmmword [ebp - 0x80]
movdqa xmm4, xmm1
paddd xmm4, xmm2
movdqa xmm2, xmm7
paddd xmm2, xmmword [ebp - 0xb0]
pxor xmm0, xmm4
pshufb xmm0, xmmword [0x42a1d0]
movdqa xmmword [ebp - 0x1d0], xmm4
movdqa xmm4, xmmword [ebp - 0xe0]
movdqa xmmword [ebp - 0x80], xmm0
pxor xmm4, xmm2
pshufb xmm4, xmmword [0x42a1c0]
paddd xmm0, xmm3
movdqa xmmword [ebp - 0x180], xmm0
movdqa xmm3, xmm4
pxor xmm0, xmm1
paddd xmm3, xmm5
movdqa xmm1, xmm0
pslld xmm0, 7
psrld xmm1, 0x19
por xmm1, xmm0
movdqa xmm0, xmm3
pxor xmm0, xmm7
movdqa xmmword [ebp - 0x1c0], xmm1
movdqa xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movdqa xmm0, xmm1
paddd xmm0, xmm2
pxor xmm4, xmm0
movdqa xmmword [ebp - 0x120], xmm0
pshufb xmm4, xmmword [0x42a1d0]
movdqa xmm0, xmm4
movdqa xmmword [ebp - 0xe0], xmm4
paddd xmm0, xmm3
movdqa xmmword [ebp - 0x140], xmm0
pxor xmm0, xmm1
movdqa xmm1, xmm0
pslld xmm0, 7
psrld xmm1, 0x19
por xmm1, xmm0
movdqa xmmword [ebp - 0x1a0], xmm1
movdqa xmm2, xmmword [ebp - 0xc0]
paddd xmm2, xmmword [ebp - 0x90]
movdqa xmm6, xmmword [ebp - 0x250]
movdqa xmm7, xmmword [ebp - 0x290]
pxor xmm6, xmm2
pshufb xmm6, xmmword [0x42a1c0]
movdqa xmm3, xmm6
paddd xmm3, xmmword [ebp - 0x2a0]
movdqa xmm0, xmm3
pxor xmm0, xmmword [ebp - 0xc0]
movdqa xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movdqa xmm0, xmm1
paddd xmm0, xmm2
movdqa xmm2, xmmword [ebp - 0x270]
paddd xmm2, xmmword [ebp - 0xd0]
pxor xmm6, xmm0
movdqa xmmword [ebp - 0x1b0], xmm0
pxor xmm7, xmm2
pshufb xmm6, xmmword [0x42a1d0]
pshufb xmm7, xmmword [0x42a1c0]
movdqa xmm0, xmm6
paddd xmm0, xmm3
movdqa xmm3, xmm7
paddd xmm3, xmmword [ebp - 0x260]
movdqa xmmword [ebp - 0xa0], xmm0
pxor xmm0, xmm1
movdqa xmm1, xmm0
pslld xmm0, 7
psrld xmm1, 0x19
por xmm1, xmm0
movdqa xmm0, xmm3
pxor xmm0, xmmword [ebp - 0x270]
movdqa xmmword [ebp - 0xc0], xmm1
movdqa xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movdqa xmm0, xmm1
paddd xmm0, xmm2
movdqa xmmword [ebp - 0xd0], xmm0
pxor xmm7, xmm0
pshufb xmm7, xmmword [0x42a1d0]
movdqa xmm0, xmm7
paddd xmm0, xmm3
movdqa xmmword [ebp - 0xb0], xmm0
pxor xmm0, xmm1
movdqa xmm1, xmm0
pslld xmm0, 7
psrld xmm1, 0x19
por xmm1, xmm0
movdqa xmmword [ebp - 0x90], xmm1
dec ecx
jne 0x5009b7
movdqa xmm5, xmmword [ebp - 0x100]
paddd xmm5, xmmword [ebp - 0x1d0]
movdqa xmm4, xmmword [ebp - 0x130]
movdqa xmm3, xmm5
paddd xmm4, xmmword [ebp - 0x1b0]
movdqa xmm1, xmmword [ebp - 0x110]
movdqa xmm2, xmm4
paddd xmm1, xmmword [ebp - 0x120]
movdqa xmm0, xmmword [ebp - 0x150]
paddd xmm0, xmmword [ebp - 0xd0]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x5c]
punpckldq xmm3, xmm1
punpckhdq xmm5, xmm1
movdqa xmm1, xmm3
punpckhdq xmm4, xmm0
punpckldq xmm2, xmm0
movdqu xmm0, xmmword [esi]
add dword [ebp - 0x50], 0x10
punpcklqdq xmm1, xmm2
pxor xmm1, xmm0
punpckhqdq xmm3, xmm2
movdqu xmmword [edi], xmm1
add dword [ebp - 0x4c], 0x10
movdqu xmm0, xmmword [edx]
mov edx, dword [ebp - 0x58]
movdqa xmm1, xmm5
add dword [ebp - 0x58], 0x10
pxor xmm3, xmm0
punpcklqdq xmm1, xmm4
movdqu xmmword [ecx], xmm3
movdqu xmm0, xmmword [eax]
mov eax, dword [ebp - 0x60]
punpckhqdq xmm5, xmm4
movdqa xmm4, xmmword [ebp - 0xf0]
pxor xmm1, xmm0
paddd xmm4, xmmword [ebp - 0x1a0]
movdqu xmmword [eax], xmm1
movdqu xmm0, xmmword [edx]
mov edx, dword [ebp - 0x54]
movdqa xmm1, xmmword [ebp - 0x190]
movdqa xmm2, xmm4
paddd xmm1, xmmword [ebp - 0x1c0]
pxor xmm5, xmm0
movdqa xmm0, xmmword [ebp - 0x1e0]
paddd xmm0, xmmword [ebp - 0xc0]
movdqu xmmword [edx], xmm5
mov edx, dword [ebp - 0x50]
movdqa xmm5, xmmword [ebp - 0x170]
paddd xmm5, xmmword [ebp - 0x90]
add dword [ebp - 0x54], 0x10
movdqa xmm3, xmm5
punpckldq xmm3, xmm1
punpckhdq xmm5, xmm1
movdqa xmm1, xmm3
punpckldq xmm2, xmm0
punpckhdq xmm4, xmm0
movdqu xmm0, xmmword [esi + 0x10]
add dword [ebp - 0x50], 0x10
punpcklqdq xmm1, xmm2
pxor xmm1, xmm0
punpckhqdq xmm3, xmm2
movdqu xmmword [edi + 0x10], xmm1
movdqu xmm0, xmmword [edx]
mov edx, dword [ebp - 0x4c]
add dword [ebp - 0x4c], 0x10
movdqa xmm1, xmm5
pxor xmm3, xmm0
punpcklqdq xmm1, xmm4
movdqu xmmword [ecx + 0x10], xmm3
movdqu xmm0, xmmword [edx]
mov edx, dword [ebp - 0x58]
add dword [ebp - 0x58], 0x10
pxor xmm1, xmm0
punpckhqdq xmm5, xmm4
movdqu xmmword [eax + 0x10], xmm1
movdqu xmm0, xmmword [edx]
mov edx, dword [ebp - 0x54]
pxor xmm5, xmm0
movdqu xmmword [edx], xmm5
movdqa xmm5, xmmword [ebp - 0x230]
add ecx, 0x20
paddd xmm5, xmmword [ebp - 0xa0]
movdqa xmm4, xmmword [ebp - 0x210]
movdqa xmm3, xmm5
paddd xmm4, xmmword [ebp - 0x180]
movdqa xmm1, xmmword [ebp - 0x240]
movdqa xmm2, xmm4
paddd xmm1, xmmword [ebp - 0xb0]
movdqa xmm0, xmmword [ebp - 0x1f0]
paddd xmm0, xmmword [ebp - 0x140]
mov edx, dword [ebp - 0x50]
punpckldq xmm3, xmm1
punpckhdq xmm5, xmm1
movdqa xmm1, xmm3
punpckldq xmm2, xmm0
punpckhdq xmm4, xmm0
movdqu xmm0, xmmword [esi + 0x20]
add dword [ebp - 0x54], 0x10
punpcklqdq xmm1, xmm2
pxor xmm1, xmm0
punpckhqdq xmm3, xmm2
movdqu xmmword [edi + 0x20], xmm1
mov dword [ebp - 0x5c], ecx
movdqu xmm0, xmmword [edx]
mov edx, dword [ebp - 0x58]
movdqa xmm2, xmmword [ebp - 0x160]
movdqa xmm1, xmm5
pxor xmm3, xmm0
punpcklqdq xmm1, xmm4
movdqu xmmword [ecx], xmm3
mov ecx, dword [ebp - 0x4c]
punpckhqdq xmm5, xmm4
paddd xmm2, xmm6
movdqa xmm4, xmmword [ebp - 0x200]
add dword [ebp - 0x58], 0x10
paddd xmm4, xmm7
movdqu xmm0, xmmword [ecx]
add ecx, 0x10
movdqa xmmword [ebp - 0x160], xmm2
pxor xmm1, xmm0
mov dword [ebp - 0x4c], ecx
movdqu xmmword [eax + 0x20], xmm1
mov ecx, dword [ebp - 0x5c]
add eax, 0x30
movdqu xmm0, xmmword [edx]
mov edx, dword [ebp - 0x54]
add ecx, 0x10
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x4c]
pxor xmm5, xmm0
movdqa xmm0, xmmword [ebp - 0x220]
paddd xmm0, xmmword [ebp - 0x80]
movdqu xmmword [edx], xmm5
mov edx, dword [ebp - 0x50]
movdqa xmm5, xmmword [ebp - 0x280]
add edx, 0x10
paddd xmm5, xmmword [ebp - 0xe0]
add dword [ebp - 0x54], 0x10
movdqa xmm3, xmm5
punpckhdq xmm5, xmmword [ebp - 0x160]
punpckldq xmm3, xmm2
movdqa xmm2, xmm4
punpckldq xmm2, xmm0
movdqa xmm1, xmm3
punpckhdq xmm4, xmm0
movdqu xmm0, xmmword [esi + 0x30]
mov dword [ebp - 0x5c], ecx
punpcklqdq xmm1, xmm2
pxor xmm1, xmm0
punpckhqdq xmm3, xmm2
movdqu xmmword [edi + 0x30], xmm1
mov dword [ebp - 0x50], edx
movdqu xmm0, xmmword [edx]
movdqa xmm1, xmm5
pxor xmm3, xmm0
punpcklqdq xmm1, xmm4
movdqu xmmword [ecx], xmm3
mov ecx, dword [ebp - 0x60]
movdqu xmm0, xmmword [eax]
pxor xmm1, xmm0
mov edx, dword [ebp - 0x58]
movdqa xmm2, xmmword [ebp - 0x110]
movdqa xmm3, xmmword [ebp - 0x130]
movdqa xmm6, xmmword [ebp - 0x190]
movdqa xmm7, xmmword [ebp - 0xf0]
movdqu xmmword [ecx], xmm1
mov ecx, dword [ebp - 0x54]
movdqu xmm0, xmmword [edx]
mov edx, dword [ebp - 0x68]
movdqa xmm1, xmmword [ebp - 0x100]
add edx, 0xffffff00
punpckhqdq xmm5, xmm4
movdqa xmm4, xmmword [ebp - 0x150]
pxor xmm5, xmm0
movdqu xmmword [ecx], xmm5
mov ecx, dword [ebp - 0x64]
movdqa xmm5, xmmword [ebp - 0x170]
adc ecx, 0xffffffff
add dword [ebp - 0x5c], 0xd0
add eax, 0xd0
add dword [ebp - 0x60], 0xd0
add edi, 0x100
add dword [ebp - 0x54], 0xd0
add esi, 0x100
add dword [ebp - 0x50], 0xd0
add dword [ebp - 0x58], 0xd0
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], ecx
test ecx, ecx
ja 0x500890
jb 0x501245
movdqa xmm1, xmmword [ebp - 0x100]
movdqa xmm2, xmmword [ebp - 0x110]
movdqa xmm3, xmmword [ebp - 0x130]
movdqa xmm4, xmmword [ebp - 0x150]
movdqa xmm5, xmmword [ebp - 0x170]
movdqa xmm6, xmmword [ebp - 0x190]
movdqa xmm7, xmmword [ebp - 0xf0]
cmp edx, 0x100
jae 0x500890
mov dword [ebp - 0x60], edi
test ecx, ecx
jne 0x501255
cmp edx, 0x40
jb 0x501411
movdqa xmm7, xmmword [0x42a1c0]
lea ecx, [ecx]
movdqu xmm6, xmmword [eax]
mov ecx, 0xa
movdqu xmm2, xmmword [eax + 0x10]
movdqu xmm0, xmmword [eax + 0x20]
movdqu xmm5, xmmword [eax + 0x30]
jmp 0x501280
movdqa xmm3, xmm2
paddd xmm3, xmm6
pxor xmm5, xmm3
pshufb xmm5, xmm7
movdqa xmm4, xmm5
paddd xmm4, xmm0
movdqa xmm0, xmm4
pxor xmm0, xmm2
movdqa xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
pxor xmm1, xmm0
movdqa xmm2, xmm1
paddd xmm2, xmm3
pxor xmm5, xmm2
pshufd xmm2, xmm2, 0x93
pshufb xmm5, xmmword [0x42a1d0]
movdqa xmm3, xmm5
pshufd xmm5, xmm5, 0x4e
paddd xmm3, xmm4
pshufd xmm4, xmm3, 0x39
movdqa xmm0, xmm3
pxor xmm0, xmm1
movdqa xmm1, xmm0
pslld xmm0, 7
psrld xmm1, 0x19
pxor xmm1, xmm0
paddd xmm2, xmm1
pxor xmm5, xmm2
pshufb xmm5, xmm7
paddd xmm4, xmm5
movdqa xmm0, xmm4
pxor xmm0, xmm1
movdqa xmm3, xmm0
pslld xmm0, 0xc
psrld xmm3, 0x14
pxor xmm3, xmm0
movdqa xmm0, xmm3
paddd xmm0, xmm2
pshufd xmm6, xmm0, 0x39
pxor xmm5, xmm0
pshufb xmm5, xmmword [0x42a1d0]
movdqa xmm0, xmm5
pshufd xmm5, xmm5, 0x4e
paddd xmm0, xmm4
movdqa xmm1, xmm0
pshufd xmm0, xmm0, 0x93
pxor xmm1, xmm3
movdqa xmm2, xmm1
pslld xmm1, 7
psrld xmm2, 0x19
pxor xmm2, xmm1
dec ecx
jne 0x501280
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm3, xmmword [esi + 0x10]
paddd xmm2, xmm1
movdqu xmm1, xmmword [eax + 0x20]
pxor xmm3, xmm2
movdqu xmm2, xmmword [esi + 0x20]
paddd xmm0, xmm1
movdqu xmm1, xmmword [esi + 0x30]
pxor xmm2, xmm0
movdqu xmm0, xmmword [eax + 0x30]
paddd xmm5, xmm0
movdqu xmm0, xmmword [eax]
pxor xmm1, xmm5
paddd xmm6, xmm0
movdqu xmm0, xmmword [esi]
pxor xmm6, xmm0
movdqu xmmword [edi], xmm6
movdqu xmmword [edi + 0x10], xmm3
movdqu xmmword [edi + 0x20], xmm2
movdqu xmmword [edi + 0x30], xmm1
mov edx, dword [eax + 0x30]
mov ecx, dword [eax + 0x34]
inc edx
mov dword [ebp - 0x6c], edx
mov edx, dword [ebp - 0x68]
jne 0x5013da
inc ecx
mov edi, dword [ebp - 0x6c]
add edx, 0xffffffc0
mov dword [eax + 0x34], ecx
mov ecx, dword [ebp - 0x64]
mov dword [eax + 0x30], edi
adc ecx, 0xffffffff
mov edi, dword [ebp - 0x60]
add esi, 0x40
add edi, 0x40
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], edi
test ecx, ecx
ja 0x501260
jb 0x50141d
cmp edx, 0x40
jae 0x501260
test ecx, ecx
jne 0x50141d
test edx, edx
je 0x5016a9
movdqa xmm7, xmmword [0x42a1c0]
mov ecx, 0xa
movdqu xmm6, xmmword [eax]
movdqu xmm2, xmmword [eax + 0x10]
movdqu xmm0, xmmword [eax + 0x20]
movdqu xmm5, xmmword [eax + 0x30]
lea ecx, [ecx]
movdqa xmm3, xmm2
paddd xmm3, xmm6
pxor xmm5, xmm3
pshufb xmm5, xmm7
movdqa xmm4, xmm5
paddd xmm4, xmm0
movdqa xmm0, xmm4
pxor xmm0, xmm2
movdqa xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
pxor xmm1, xmm0
movdqa xmm2, xmm1
paddd xmm2, xmm3
pxor xmm5, xmm2
pshufd xmm2, xmm2, 0x93
pshufb xmm5, xmmword [0x42a1d0]
movdqa xmm3, xmm5
pshufd xmm5, xmm5, 0x4e
paddd xmm3, xmm4
pshufd xmm4, xmm3, 0x39
movdqa xmm0, xmm3
pxor xmm0, xmm1
movdqa xmm1, xmm0
pslld xmm0, 7
psrld xmm1, 0x19
pxor xmm1, xmm0
paddd xmm2, xmm1
pxor xmm5, xmm2
pshufb xmm5, xmm7
paddd xmm4, xmm5
movdqa xmm0, xmm4
pxor xmm0, xmm1
movdqa xmm3, xmm0
pslld xmm0, 0xc
psrld xmm3, 0x14
pxor xmm3, xmm0
movdqa xmm0, xmm3
paddd xmm0, xmm2
pshufd xmm6, xmm0, 0x39
pxor xmm5, xmm0
pshufb xmm5, xmmword [0x42a1d0]
movdqa xmm0, xmm5
pshufd xmm5, xmm5, 0x4e
paddd xmm0, xmm4
movdqa xmm1, xmm0
pshufd xmm0, xmm0, 0x93
pxor xmm1, xmm3
movdqa xmm2, xmm1
pslld xmm1, 7
psrld xmm2, 0x19
pxor xmm2, xmm1
dec ecx
jne 0x501440
movdqu xmm1, xmmword [eax]
mov dword [ebp - 0x5c], ecx
paddd xmm6, xmm1
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmmword [ebp - 0x48], xmm6
paddd xmm2, xmm1
movdqu xmm1, xmmword [eax + 0x20]
movdqu xmmword [ebp - 0x38], xmm2
paddd xmm0, xmm1
movdqu xmmword [ebp - 0x28], xmm0
movdqu xmm0, xmmword [eax + 0x30]
mov eax, dword [ebp - 0x64]
paddd xmm5, xmm0
movdqu xmmword [ebp - 0x18], xmm5
test eax, eax
jb 0x501662
ja 0x50158d
test edx, edx
je 0x501662
test eax, eax
jne 0x50158d
cmp edx, 0x20
jb 0x501662
mov dword [ebp - 0x4c], edx
xor ecx, ecx
add dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 0x5c], ecx
adc eax, 0xffffffff
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x4c]
lea edx, [edi + eax]
mov dword [ebp - 0x50], edx
lea edx, [ebp - 0x48]
add eax, edx
mov edx, dword [ebp - 0x68]
cmp edi, eax
ja 0x5015c0
lea eax, [ebp - 0x48]
cmp dword [ebp - 0x50], eax
jae 0x501662
mov eax, dword [ebp - 0x4c]
add eax, esi
cmp edi, eax
ja 0x5015d2
cmp dword [ebp - 0x50], esi
jae 0x501662
mov eax, edx
lea ecx, [ebp - 0x38]
and eax, 0x1f
sub edx, eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x74], edx
mov edx, edi
sbb eax, 0
sub edx, esi
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x48]
sub eax, esi
mov dword [ebp - 0x4c], edx
sub ecx, esi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x6c], ecx
lea ecx, [edi + 0x10]
mov dword [ebp - 0x58], ecx
mov edi, esi
mov ecx, dword [ebp - 0x5c]
jmp 0x501613
mov eax, dword [ebp - 0x50]
movdqu xmm1, xmmword [eax + edi]
mov eax, dword [ebp - 0x6c]
lea edi, [edi + 0x20]
movdqu xmm0, xmmword [edi - 0x20]
pxor xmm1, xmm0
movdqu xmmword [edx + edi - 0x20], xmm1
movdqu xmm1, xmmword [eax + edi - 0x20]
mov eax, dword [ebp - 0x58]
movdqu xmm0, xmmword [edi - 0x10]
pxor xmm1, xmm0
movdqu xmmword [eax + ecx], xmm1
add ecx, 0x20
mov eax, ecx
cdq
cmp edx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x4c]
jb 0x501610
ja 0x50165c
cmp eax, dword [ebp - 0x74]
mov eax, dword [ebp - 0x50]
jb 0x501613
mov edi, dword [ebp - 0x60]
mov dword [ebp - 0x5c], ecx
mov eax, ecx
cdq
cmp edx, dword [ebp - 0x64]
ja 0x50169b
jb 0x501671
cmp eax, dword [ebp - 0x68]
jae 0x50169b
lea eax, [ebp - 0x48]
sub esi, eax
sub edi, eax
lea edx, [ebp - 0x48]
add ecx, edx
mov al, byte [ecx + esi]
xor al, byte [ecx]
mov byte [ecx + edi], al
mov ecx, dword [ebp - 0x5c]
inc ecx
mov eax, ecx
mov dword [ebp - 0x5c], ecx
cdq
cmp edx, dword [ebp - 0x64]
jb 0x501678
ja 0x50169b
cmp eax, dword [ebp - 0x68]
jb 0x501678
lea eax, [ebp - 0x48]
push 0x40
push eax
call fcn.004fcab0
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00535482
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0053ac0f
int3