Function at 0x401870
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
push esi
mov esi, dword [ebx + 0x10]
push edi
mov edi, edx
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebx + 0xc]
mov eax, edx
or eax, esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], esi
je 0x4026bb
mov eax, dword [ebx + 0x10]
lea esi, [ecx + 0x10]
mov dword [ebp - 0xc], esi
test eax, eax
jne 0x4018c9
cmp edx, 0x100
jae 0x4018c9
mov esi, dword [ebx + 8]
mov dword [ebp - 8], esi
jmp 0x402297
movd xmm0, dword [ecx]
lea eax, [edi + 0xc0]
pshufd xmm1, xmm0, 0
movd xmm0, dword [ecx + 4]
pshufd xmm2, xmm0, 0
movd xmm0, dword [ecx + 8]
pshufd xmm3, xmm0, 0
movd xmm0, dword [ecx + 0xc]
pshufd xmm4, xmm0, 0
movd xmm0, dword [esi]
pshufd xmm5, xmm0, 0
movd xmm0, dword [ecx + 0x14]
pshufd xmm6, xmm0, 0
movd xmm0, dword [ecx + 0x18]
mov esi, dword [ebx + 8]
pshufd xmm7, xmm0, 0
movd xmm0, dword [ecx + 0x1c]
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0x210], xmm0
movd xmm0, dword [ecx + 0x20]
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0x220], xmm0
movd xmm0, dword [ecx + 0x24]
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0x230], xmm0
movd xmm0, dword [ecx + 0x28]
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0x240], xmm0
movd xmm0, dword [ecx + 0x2c]
mov dword [ebp - 0x14], eax
lea eax, [esi + 0xc0]
pshufd xmm0, xmm0, 0
mov dword [ebp - 0x10], eax
lea eax, [edi + 0x80]
movaps xmmword [ebp - 0x1e0], xmm0
movd xmm0, dword [ecx + 0x38]
mov dword [ebp - 4], eax
lea eax, [esi + 0x80]
pshufd xmm0, xmm0, 0
mov dword [ebp - 8], eax
lea eax, [edi + 0x40]
movaps xmmword [ebp - 0x1f0], xmm0
movd xmm0, dword [ecx + 0x3c]
mov dword [ebp - 0x18], eax
lea eax, [esi + 0x40]
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0x130], xmm1
movaps xmmword [ebp - 0x140], xmm2
movaps xmmword [ebp - 0x150], xmm3
movaps xmmword [ebp - 0x160], xmm4
movaps xmmword [ebp - 0x170], xmm5
movaps xmmword [ebp - 0x180], xmm6
movaps xmmword [ebp - 0x190], xmm7
movaps xmmword [ebp - 0x200], xmm0
mov dword [ebp - 0xc], eax
nop dword [eax + eax]
mov edx, dword [ecx + 0x34]
movaps xmm0, xmm6
movaps xmmword [ebp - 0xd0], xmm0
xor eax, eax
or eax, dword [ecx + 0x30]
movaps xmm0, xmm7
movaps xmmword [ebp - 0xe0], xmm0
movaps xmm0, xmmword [ebp - 0x220]
movaps xmmword [ebp - 0x50], xmm0
movaps xmm0, xmmword [ebp - 0x230]
movaps xmm7, xmmword [ebp - 0x1f0]
movaps xmmword [ebp - 0x60], xmm0
movaps xmm0, xmmword [ebp - 0x240]
movaps xmmword [ebp - 0xf0], xmm0
movaps xmm0, xmmword [ebp - 0x1e0]
movaps xmmword [ebp - 0xa0], xmm1
movaps xmmword [ebp - 0xb0], xmm2
movaps xmm2, xmmword [ebp - 0x210]
movaps xmmword [ebp - 0x100], xmm0
movd xmm0, edx
movd xmm1, eax
add eax, 4
punpckldq xmm1, xmm0
movaps xmm0, xmmword [0x426110]
adc edx, 0
movaps xmmword [ebp - 0x70], xmm2
movaps xmm2, xmmword [0x426100]
punpcklqdq xmm1, xmm1
paddq xmm2, xmm1
movaps xmmword [ebp - 0x80], xmm4
paddq xmm0, xmm1
movaps xmmword [ebp - 0xc0], xmm3
movaps xmm6, xmm2
mov dword [ecx + 0x30], eax
punpckldq xmm6, xmm0
movaps xmm3, xmm5
movaps xmm5, xmmword [ebp - 0x200]
movaps xmm4, xmm6
punpckhdq xmm2, xmm0
mov eax, 0xa
punpckhdq xmm6, xmm2
punpckldq xmm4, xmm2
movaps xmm1, xmm6
movaps xmmword [ebp - 0x90], xmm3
movaps xmmword [ebp - 0x1d0], xmm4
movaps xmmword [ebp - 0x120], xmm1
mov dword [ecx + 0x34], edx
jmp 0x401ae4
movaps xmm5, xmmword [ebp - 0x40]
movaps xmm2, xmm3
paddd xmm2, xmmword [ebp - 0xa0]
pxor xmm4, xmm2
pshufb xmm4, xmmword [0x426140]
movaps xmm3, xmm4
paddd xmm3, xmmword [ebp - 0x50]
movaps xmm0, xmm3
pxor xmm0, xmmword [ebp - 0x90]
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 xmm4, xmm0
pshufb xmm4, xmmword [0x426150]
movaps xmmword [ebp - 0x50], xmm0
pxor xmm6, xmm2
pshufb xmm6, xmmword [0x426140]
movaps xmm0, xmm4
movaps xmmword [ebp - 0x110], xmm4
paddd xmm0, xmm3
movaps xmm3, xmm6
paddd xmm3, xmmword [ebp - 0x60]
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 - 0xd0]
movaps xmmword [ebp - 0x1a0], xmm1
movaps xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movaps xmm0, xmm1
paddd xmm0, xmm2
movaps xmm2, xmmword [ebp - 0xe0]
paddd xmm2, xmmword [ebp - 0xc0]
pxor xmm6, xmm0
pshufb xmm6, xmmword [0x426150]
movaps xmmword [ebp - 0x60], xmm0
pxor xmm7, xmm2
pshufb xmm7, xmmword [0x426140]
movaps xmm0, xmm6
movaps xmmword [ebp - 0x290], xmm6
paddd xmm0, xmm3
movaps xmm3, xmm7
paddd xmm3, xmmword [ebp - 0xf0]
movaps xmmword [ebp - 0x1c0], xmm0
pxor xmm0, xmm1
movaps xmm6, xmm0
pslld xmm0, 7
psrld xmm6, 0x19
por xmm6, xmm0
movaps xmm0, xmm3
pxor xmm0, xmmword [ebp - 0xe0]
movaps xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movaps xmm0, xmm1
paddd xmm0, xmm2
movaps xmm2, xmmword [ebp - 0x70]
paddd xmm2, xmmword [ebp - 0x80]
pxor xmm7, xmm0
pshufb xmm7, xmmword [0x426150]
movaps xmmword [ebp - 0x90], xmm0
movaps xmm4, xmm7
movaps xmmword [ebp - 0x1b0], 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 [0x426140]
movaps xmm3, xmm5
paddd xmm3, xmmword [ebp - 0x100]
movaps xmm0, xmm3
pxor xmm0, xmmword [ebp - 0x70]
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 - 0x50]
pshufb xmm5, xmmword [0x426150]
movaps xmmword [ebp - 0x80], xmm0
movaps xmmword [ebp - 0x40], 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 - 0x70], xmm1
movaps xmm1, xmmword [ebp - 0x40]
pxor xmm1, xmm2
pshufb xmm1, xmmword [0x426140]
movaps xmm3, xmm1
movaps xmmword [ebp - 0x40], 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 - 0x40]
movaps xmm4, xmm1
paddd xmm4, xmm2
movaps xmm2, xmm7
paddd xmm2, xmmword [ebp - 0x60]
pxor xmm0, xmm4
pshufb xmm0, xmmword [0x426150]
movaps xmmword [ebp - 0xa0], xmm4
movaps xmm4, xmmword [ebp - 0x110]
movaps xmmword [ebp - 0x40], xmm0
pxor xmm4, xmm2
pshufb xmm4, xmmword [0x426140]
paddd xmm0, xmm3
movaps xmmword [ebp - 0xf0], 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 - 0xd0], 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 - 0xb0], xmm0
pshufb xmm4, xmmword [0x426150]
movaps xmm0, xmm4
movaps xmmword [ebp - 0x110], xmm4
paddd xmm0, xmm3
movaps xmmword [ebp - 0x100], xmm0
pxor xmm0, xmm1
movaps xmm1, xmm0
pslld xmm0, 7
psrld xmm1, 0x19
por xmm1, xmm0
movaps xmmword [ebp - 0xe0], xmm1
movaps xmm2, xmmword [ebp - 0x70]
paddd xmm2, xmmword [ebp - 0x90]
movaps xmm6, xmmword [ebp - 0x290]
movaps xmm7, xmmword [ebp - 0x1b0]
pxor xmm6, xmm2
pshufb xmm6, xmmword [0x426140]
movaps xmm3, xmm6
paddd xmm3, xmmword [ebp - 0x2a0]
movaps xmm0, xmm3
pxor xmm0, xmmword [ebp - 0x70]
movaps xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movaps xmm0, xmm1
paddd xmm0, xmm2
movaps xmm2, xmmword [ebp - 0x1a0]
paddd xmm2, xmmword [ebp - 0x80]
pxor xmm6, xmm0
movaps xmmword [ebp - 0xc0], xmm0
pxor xmm7, xmm2
pshufb xmm6, xmmword [0x426150]
pshufb xmm7, xmmword [0x426140]
movaps xmm0, xmm6
paddd xmm0, xmm3
movaps xmm3, xmm7
paddd xmm3, xmmword [ebp - 0x1c0]
movaps xmmword [ebp - 0x50], xmm0
pxor xmm0, xmm1
movaps xmm1, xmm0
pslld xmm0, 7
psrld xmm1, 0x19
por xmm1, xmm0
movaps xmm0, xmm3
pxor xmm0, xmmword [ebp - 0x1a0]
movaps xmmword [ebp - 0x70], xmm1
movaps xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movaps xmm0, xmm1
paddd xmm0, xmm2
movaps xmmword [ebp - 0x80], xmm0
pxor xmm7, xmm0
pshufb xmm7, xmmword [0x426150]
movaps xmm0, xmm7
paddd xmm0, xmm3
movaps xmmword [ebp - 0x60], xmm0
pxor xmm0, xmm1
movaps xmm3, xmm0
pslld xmm0, 7
psrld xmm3, 0x19
por xmm3, xmm0
movaps xmmword [ebp - 0x90], xmm3
sub eax, 1
jne 0x401ae0
movaps xmm5, xmmword [ebp - 0x130]
paddd xmm5, xmmword [ebp - 0xa0]
movaps xmm4, xmmword [ebp - 0x150]
movaps xmm3, xmm5
paddd xmm4, xmmword [ebp - 0xc0]
movaps xmm1, xmmword [ebp - 0x140]
movaps xmm2, xmm4
paddd xmm1, xmmword [ebp - 0xb0]
movaps xmm0, xmmword [ebp - 0x160]
paddd xmm0, xmmword [ebp - 0x80]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
punpckldq xmm3, xmm1
punpckhdq xmm5, xmm1
movaps xmm1, xmm3
punpckhdq xmm4, xmm0
punpckldq xmm2, xmm0
movups xmm0, xmmword [edi]
add dword [ebp - 0x18], 0x10
punpcklqdq xmm1, xmm2
pxor xmm1, xmm0
punpckhqdq xmm3, xmm2
movups xmmword [esi], xmm1
add dword [ebp - 4], 0x10
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 0x14]
movaps xmm1, xmm5
add dword [ebp - 0x14], 0x10
pxor xmm3, xmm0
punpcklqdq xmm1, xmm4
movups xmmword [eax], xmm3
movups xmm0, xmmword [ecx]
mov ecx, dword [ebp - 8]
punpckhqdq xmm5, xmm4
movaps xmm4, xmmword [ebp - 0x190]
pxor xmm1, xmm0
paddd xmm4, xmmword [ebp - 0xe0]
movups xmmword [ecx], xmm1
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 0x10]
movaps xmm1, xmmword [ebp - 0x180]
movaps xmm2, xmm4
paddd xmm1, xmmword [ebp - 0xd0]
pxor xmm5, xmm0
movaps xmm0, xmmword [ebp - 0x210]
paddd xmm0, xmmword [ebp - 0x70]
movups xmmword [edx], xmm5
mov edx, dword [ebp - 0x18]
movaps xmm5, xmmword [ebp - 0x170]
paddd xmm5, xmmword [ebp - 0x90]
add dword [ebp - 0x10], 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 - 0x18], 0x10
punpcklqdq xmm1, xmm2
pxor xmm1, xmm0
punpckhqdq xmm3, xmm2
movups xmmword [esi + 0x10], xmm1
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 4]
add dword [ebp - 4], 0x10
movaps xmm1, xmm5
pxor xmm3, xmm0
punpcklqdq xmm1, xmm4
movups xmmword [eax + 0x10], xmm3
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 0x14]
add dword [ebp - 0x14], 0x10
pxor xmm1, xmm0
punpckhqdq xmm5, xmm4
movups xmmword [ecx + 0x10], xmm1
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 0x10]
pxor xmm5, xmm0
movups xmmword [edx], xmm5
movaps xmm5, xmmword [ebp - 0x220]
add eax, 0x20
paddd xmm5, xmmword [ebp - 0x50]
movaps xmm4, xmmword [ebp - 0x240]
movaps xmm3, xmm5
paddd xmm4, xmmword [ebp - 0xf0]
movaps xmm1, xmmword [ebp - 0x230]
movaps xmm2, xmm4
paddd xmm1, xmmword [ebp - 0x60]
movaps xmm0, xmmword [ebp - 0x1e0]
paddd xmm0, xmmword [ebp - 0x100]
mov edx, dword [ebp - 0x18]
punpckldq xmm3, xmm1
punpckhdq xmm5, xmm1
movaps xmm1, xmm3
punpckldq xmm2, xmm0
punpckhdq xmm4, xmm0
movups xmm0, xmmword [edi + 0x20]
add dword [ebp - 0x10], 0x10
punpcklqdq xmm1, xmm2
pxor xmm1, xmm0
punpckhqdq xmm3, xmm2
movups xmmword [esi + 0x20], xmm1
mov dword [ebp - 0xc], eax
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 0x14]
movaps xmm2, xmmword [ebp - 0x120]
movaps xmm1, xmm5
pxor xmm3, xmm0
punpcklqdq xmm1, xmm4
movups xmmword [eax], xmm3
mov eax, dword [ebp - 4]
punpckhqdq xmm5, xmm4
paddd xmm2, xmm6
movaps xmm4, xmmword [ebp - 0x1f0]
add dword [ebp - 0x14], 0x10
paddd xmm4, xmm7
movups xmm0, xmmword [eax]
add eax, 0x10
movaps xmmword [ebp - 0x120], xmm2
pxor xmm1, xmm0
mov dword [ebp - 4], eax
movups xmmword [ecx + 0x20], xmm1
mov eax, dword [ebp - 0xc]
add ecx, 0x30
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 0x10]
add eax, 0x10
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
pxor xmm5, xmm0
movaps xmm0, xmmword [ebp - 0x200]
paddd xmm0, xmmword [ebp - 0x40]
movups xmmword [edx], xmm5
mov edx, dword [ebp - 0x18]
movaps xmm5, xmmword [ebp - 0x1d0]
add edx, 0x10
paddd xmm5, xmmword [ebp - 0x110]
add dword [ebp - 0x10], 0x10
movaps xmm3, xmm5
punpckhdq xmm5, xmmword [ebp - 0x120]
punpckldq xmm3, xmm2
movaps xmm2, xmm4
punpckldq xmm2, xmm0
movaps xmm1, xmm3
punpckhdq xmm4, xmm0
movups xmm0, xmmword [edi + 0x30]
mov dword [ebp - 0xc], eax
punpcklqdq xmm1, xmm2
pxor xmm1, xmm0
punpckhqdq xmm3, xmm2
movups xmmword [esi + 0x30], xmm1
mov dword [ebp - 0x18], edx
movups xmm0, xmmword [edx]
movaps xmm1, xmm5
pxor xmm3, xmm0
punpcklqdq xmm1, xmm4
movups xmmword [eax], xmm3
mov eax, dword [ebp - 8]
movups xmm0, xmmword [ecx]
pxor xmm1, xmm0
mov edx, dword [ebp - 0x14]
movaps xmm2, xmmword [ebp - 0x140]
movaps xmm3, xmmword [ebp - 0x150]
movaps xmm6, xmmword [ebp - 0x180]
movaps xmm7, xmmword [ebp - 0x190]
movups xmmword [eax], xmm1
mov eax, dword [ebp - 0x10]
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 0x24]
movaps xmm1, xmmword [ebp - 0x130]
add edx, 0xffffff00
punpckhqdq xmm5, xmm4
movaps xmm4, xmmword [ebp - 0x160]
pxor xmm5, xmm0
movups xmmword [eax], xmm5
mov eax, dword [ebp - 0x20]
movaps xmm5, xmmword [ebp - 0x170]
adc eax, 0xffffffff
add dword [ebp - 0xc], 0xd0
add ecx, 0xd0
add dword [ebp - 8], 0xd0
add esi, 0x100
add dword [ebp - 0x10], 0xd0
add edi, 0x100
add dword [ebp - 0x18], 0xd0
add dword [ebp - 0x14], 0xd0
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], eax
test eax, eax
ja 0x4019f0
jb 0x40228b
movaps xmm1, xmmword [ebp - 0x130]
movaps xmm2, xmmword [ebp - 0x140]
movaps xmm3, xmmword [ebp - 0x150]
movaps xmm4, xmmword [ebp - 0x160]
movaps xmm5, xmmword [ebp - 0x170]
movaps xmm6, xmmword [ebp - 0x180]
movaps xmm7, xmmword [ebp - 0x190]
cmp edx, 0x100
jae 0x4019f0
mov dword [ebp - 8], esi
lea esi, [ecx + 0x10]
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 8]
test eax, eax
jne 0x4022a4
cmp edx, 0x40
jb 0x402465
mov eax, dword [ebp - 0xc]
movups xmm6, xmmword [ecx]
movups xmm7, xmmword [ecx + 0x20]
movups xmm2, xmmword [eax]
mov eax, 0xa
movups xmm5, xmmword [ecx + 0x30]
movups xmmword [ebp - 0x1a0], xmm6
movaps xmmword [ebp - 0x1d0], xmm2
movaps xmmword [ebp - 0x1c0], xmm7
movaps xmmword [ebp - 0x1b0], xmm5
nop word [eax + eax]
movaps xmm3, xmm2
paddd xmm3, xmm6
pxor xmm5, xmm3
pshufb xmm5, xmmword [0x426140]
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 [0x426150]
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 [0x426140]
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 [0x426150]
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 eax, 1
jne 0x4022e0
movups xmm0, xmmword [edi + 0x10]
movaps xmm1, xmmword [ebp - 0x1d0]
movaps xmm3, xmmword [ebp - 0x1b0]
paddd xmm1, xmm2
movaps xmm2, xmmword [ebp - 0x1c0]
pxor xmm1, xmm0
movups xmm0, xmmword [edi + 0x20]
movups xmm4, xmmword [ebp - 0x1a0]
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 [ecx + 0x34]
add dword [ecx + 0x30], 1
lea eax, [edx + 1]
cmovne eax, edx
mov edx, dword [ebp - 0x24]
add edx, 0xffffffc0
mov dword [ecx + 0x34], eax
mov eax, dword [ebp - 0x20]
adc eax, 0xffffffff
mov dword [ebp - 0x24], edx
add esi, 0x40
mov dword [ebp - 0x20], eax
add edi, 0x40
test eax, eax
ja 0x4022a4
jb 0x402462
cmp edx, 0x40
jae 0x4022a4
mov dword [ebp - 8], esi
test eax, eax
jne 0x402471
test edx, edx
je 0x4026bb
mov esi, dword [ebp - 0xc]
movaps xmm7, xmmword [0x426140]
movups xmm6, xmmword [ecx]
mov dword [ebp - 4], 0xa
movups xmm2, xmmword [esi]
mov esi, dword [ebp - 8]
movups xmm0, xmmword [ecx + 0x20]
movups xmm5, xmmword [ecx + 0x30]
sub dword [ebp - 4], 1
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 [0x426150]
movaps xmm3, xmm5
pshufd xmm5, xmm5, 0x4e
paddd xmm3, xmm4
movaps xmm0, xmm3
pshufd xmm4, xmm3, 0x39
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
pxor xmm5, xmm0
pshufd xmm6, xmm0, 0x39
pshufb xmm5, xmmword [0x426150]
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
jne 0x402493
movups xmm1, xmmword [ecx]
mov edx, dword [ebp - 0xc]
paddd xmm1, xmm6
movups xmmword [ebp - 0x280], xmm1
movups xmm1, xmmword [edx]
mov edx, dword [ebp - 0x24]
paddd xmm1, xmm2
movups xmmword [ebp - 0x270], xmm1
movups xmm1, xmmword [ecx + 0x20]
paddd xmm1, xmm0
movups xmm0, xmmword [ecx + 0x30]
xor ecx, ecx
movups xmmword [ebp - 0x260], xmm1
paddd xmm0, xmm5
movups xmmword [ebp - 0x250], xmm0
test eax, eax
jne 0x4025c8
cmp edx, 8
jb 0x402658
lea eax, [edx - 1]
xor ecx, ecx
add eax, edi
cmp esi, eax
ja 0x4025dc
lea eax, [esi - 1]
add eax, edx
cmp eax, edi
jae 0x402655
lea eax, [ebp + edx - 0x281]
cmp esi, eax
ja 0x4025fa
lea eax, [ebp - 0x280]
mov dword [ebp - 0x1c], eax
lea eax, [esi - 1]
add eax, edx
cmp eax, dword [ebp - 0x1c]
jae 0x402655
mov eax, edx
mov edx, edi
and eax, 0xfffffff8
mov dword [ebp - 4], eax
lea eax, [ebp - 0x280]
sub eax, edi
mov dword [ebp - 0xc], eax
mov eax, esi
mov esi, dword [ebp - 0xc]
sub eax, edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
nop dword [eax]
movq xmm1, qword [esi + edx]
lea edx, [edx + 8]
mov esi, dword [ebp - 0x1c]
add ecx, 8
movq xmm0, qword [edx - 8]
pxor xmm1, xmm0
movq qword [esi + edx - 8], xmm1
xor esi, esi
cmp esi, eax
mov esi, dword [ebp - 0xc]
jb 0x402620
ja 0x40264d
cmp ecx, dword [ebp - 4]
jb 0x402620
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 0x24]
jmp 0x402658
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], eax
ja 0x4026a4
jb 0x40266a
cmp ecx, edx
jae 0x4026a4
lea edx, [ebp - 0x280]
sub edx, edi
lea eax, [ecx + edi]
sub esi, edi
mov dword [ebp - 8], eax
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x1c]
inc ecx
mov al, byte [edx + eax]
mov edx, dword [ebp - 8]
xor al, byte [edx]
mov byte [esi + edx], al
mov eax, edx
xor edx, edx
inc eax
cmp edx, edi
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x24]
jb 0x402680
ja 0x4026a4
cmp ecx, edx
jb 0x402680
mov ecx, 0x40
lea eax, [ebp - 0x280]
nop
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4026b0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret