Function at 0x403240
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, 0x2b8
push esi
mov esi, dword [ebx + 0xc]
mov eax, esi
push edi
mov edi, dword [ebx + 0x10]
or eax, edi
mov dword [ebp - 8], edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x1c], edi
je 0x40452b
lea eax, [ecx + 0x10]
mov dword [ebp - 0x2c], eax
lea eax, [ecx + 0x20]
add ecx, 0x34
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x30]
lea edx, [ecx + 0x30]
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 8]
test edi, edi
jne 0x4032b4
cmp esi, 0x100
jae 0x4032b4
mov eax, dword [ebx + 8]
mov ecx, edx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
jmp 0x403d49
movups xmm1, xmmword [eax]
mov eax, dword [ebp - 0x34]
movups xmm3, xmmword [ecx]
mov ecx, dword [ebp - 0x2c]
pshufd xmm5, xmm1, 0xaa
movups xmm0, xmmword [eax]
lea eax, [edx + 0xc0]
pshufd xmm4, xmm3, 0
movups xmm2, xmmword [ecx]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 8]
movaps xmmword [ebp - 0x1a0], xmm4
pshufd xmm4, xmm2, 0xaa
movaps xmmword [ebp - 0x2b0], xmm4
lea ecx, [eax + 0xc0]
pshufd xmm4, xmm1, 0xff
mov dword [ebp - 0x10], ecx
lea ecx, [edx + 0x80]
mov dword [ebp - 0x18], ecx
lea ecx, [eax + 0x80]
pshufd xmm6, xmm0, 0
movaps xmmword [ebp - 0x260], xmm4
movaps xmmword [ebp - 0x240], xmm5
pshufd xmm5, xmm0, 0xff
pshufd xmm4, xmm3, 0xaa
mov dword [ebp - 0x20], ecx
lea ecx, [edx + 0x40]
pshufd xmm0, xmm0, 0xaa
movaps xmmword [ebp - 0x270], xmm4
pshufd xmm4, xmm2, 0xff
pshufd xmm7, xmm2, 0x55
movaps xmmword [ebp - 0x250], xmm6
movaps xmmword [ebp - 0x190], xmm0
mov dword [ebp - 0x14], ecx
lea ecx, [eax + 0x40]
pshufd xmm6, xmm3, 0x55
pshufd xmm2, xmm2, 0
pshufd xmm1, xmm1, 0x55
pshufd xmm0, xmm3, 0xff
movaps xmmword [ebp - 0x280], xmm4
movaps xmm4, xmmword [ebp - 0x1a0]
movaps xmmword [ebp - 0x1d0], xmm7
movaps xmmword [ebp - 0x1e0], xmm5
movaps xmmword [ebp - 0x1f0], xmm6
movaps xmmword [ebp - 0x290], xmm2
movaps xmmword [ebp - 0x2a0], xmm1
movaps xmmword [ebp - 0x70], xmm0
mov dword [ebp - 4], ecx
mov edi, dword [ebp - 0x24]
xor ecx, ecx
mov edx, dword [ebp - 0x38]
movaps xmm3, xmm6
movaps xmm2, xmmword [0x426100]
movaps xmm6, xmmword [ebp - 0x2b0]
or ecx, dword [edi]
mov edx, dword [edx]
movaps xmmword [ebp - 0x1c0], xmm5
movaps xmm5, xmmword [ebp - 0x280]
movd xmm1, ecx
add ecx, 4
movd xmm0, edx
punpckldq xmm1, xmm0
adc edx, 0
movaps xmm0, xmmword [0x426110]
punpcklqdq xmm1, xmm1
paddq xmm2, xmm1
mov dword [edi], ecx
mov ecx, dword [ebp - 0x38]
paddq xmm0, xmm1
movaps xmm1, xmm2
movaps xmmword [ebp - 0x160], xmm3
punpckhdq xmm2, xmm0
punpckldq xmm1, xmm0
movaps xmm0, xmm1
mov dword [ecx], edx
punpckhdq xmm1, xmm2
mov ecx, 0xa
punpckldq xmm0, xmm2
movaps xmm2, xmmword [ebp - 0x270]
movaps xmmword [ebp - 0x170], xmm2
movaps xmm2, xmmword [ebp - 0x70]
movaps xmmword [ebp - 0x180], xmm2
movaps xmm2, xmmword [ebp - 0x190]
movaps xmmword [ebp - 0xb0], xmm2
movaps xmm2, xmmword [ebp - 0x260]
movaps xmmword [ebp - 0x1b0], xmm2
movaps xmm2, xmmword [ebp - 0x2a0]
movaps xmmword [ebp - 0xa0], xmm2
movaps xmm2, xmmword [ebp - 0x240]
movaps xmmword [ebp - 0x100], xmm1
movaps xmmword [ebp - 0x90], xmm2
movaps xmm2, xmm4
movaps xmm4, xmmword [ebp - 0x250]
movaps xmmword [ebp - 0x60], xmm1
movaps xmm1, xmmword [ebp - 0x290]
movaps xmmword [ebp - 0x220], xmm0
movaps xmmword [ebp - 0xe0], xmm5
movaps xmmword [ebp - 0x150], xmm2
movaps xmmword [ebp - 0xf0], xmm1
movaps xmmword [ebp - 0x80], xmm0
jmp 0x4034c2
movaps xmm6, xmmword [ebp - 0xd0]
movaps xmm7, xmmword [ebp - 0x50]
movaps xmm1, xmmword [ebp - 0xf0]
movaps xmm0, xmm1
paddd xmm0, xmm2
movaps xmm1, xmm0
psrld xmm0, 0x19
pslld xmm1, 7
pxor xmm1, xmm4
pxor xmm1, xmm0
movaps xmm0, xmm7
paddd xmm0, xmm3
movaps xmmword [ebp - 0xc0], xmm1
movaps xmm4, xmm0
psrld xmm0, 0x19
pslld xmm4, 7
pxor xmm4, xmmword [ebp - 0x60]
pxor xmm4, xmm0
movaps xmm0, xmmword [ebp - 0xc0]
paddd xmm0, xmm2
movaps xmmword [ebp - 0x60], xmm4
movaps xmm2, xmm0
psrld xmm0, 0x17
pslld xmm2, 9
pxor xmm2, xmmword [ebp - 0x80]
pxor xmm2, xmm0
movaps xmm0, xmm4
paddd xmm0, xmm3
movaps xmmword [ebp - 0x200], xmm2
movaps xmm3, xmm0
psrld xmm0, 0x17
pslld xmm3, 9
pxor xmm3, xmmword [ebp - 0xa0]
pxor xmm3, xmm0
movaps xmm0, xmm2
paddd xmm0, xmmword [ebp - 0xc0]
movaps xmm1, xmm0
movaps xmmword [ebp - 0x210], xmm3
psrld xmm0, 0x13
pslld xmm1, 0xd
pxor xmm1, xmmword [ebp - 0xf0]
pxor xmm1, xmm0
movaps xmm0, xmm4
paddd xmm0, xmm3
movaps xmmword [ebp - 0x80], xmm1
movaps xmm4, xmm0
psrld xmm0, 0x13
pslld xmm4, 0xd
pxor xmm4, xmm7
pxor xmm4, xmm0
movaps xmm0, xmm2
paddd xmm0, xmm1
movaps xmmword [ebp - 0xf0], xmm4
movaps xmm7, xmm0
psrld xmm0, 0xe
pslld xmm7, 0x12
pxor xmm7, xmmword [ebp - 0x150]
pxor xmm7, xmm0
movaps xmm0, xmm3
paddd xmm0, xmm4
movaps xmm1, xmm0
psrld xmm0, 0xe
pslld xmm1, 0x12
pxor xmm1, xmmword [ebp - 0x160]
pxor xmm1, xmm0
movaps xmm0, xmm6
paddd xmm0, xmmword [ebp - 0x170]
movaps xmmword [ebp - 0xa0], xmm1
movaps xmm1, xmm0
psrld xmm0, 0x19
pslld xmm1, 7
pxor xmm1, xmmword [ebp - 0xb0]
pxor xmm1, xmm0
movaps xmm0, xmm5
paddd xmm0, xmmword [ebp - 0x180]
movaps xmm5, xmm0
movaps xmmword [ebp - 0x230], xmm1
pslld xmm5, 7
psrld xmm0, 0x19
pxor xmm5, xmmword [ebp - 0x1c0]
pxor xmm5, xmm0
movaps xmm0, xmm1
paddd xmm0, xmmword [ebp - 0x170]
movaps xmm2, xmm0
psrld xmm0, 0x17
pslld xmm2, 9
pxor xmm2, xmmword [ebp - 0x90]
pxor xmm2, xmm0
movaps xmm0, xmm5
paddd xmm0, xmmword [ebp - 0x180]
movaps xmm3, xmm0
psrld xmm0, 0x17
pslld xmm3, 9
pxor xmm3, xmmword [ebp - 0x1b0]
pxor xmm3, xmm0
movaps xmm0, xmm1
paddd xmm0, xmm2
movaps xmm1, xmm0
psrld xmm0, 0x13
pslld xmm1, 0xd
pxor xmm1, xmm6
pxor xmm1, xmm0
movaps xmm0, xmm5
paddd xmm0, xmm3
movaps xmm6, xmm0
psrld xmm0, 0x13
pslld xmm6, 0xd
pxor xmm6, xmmword [ebp - 0xe0]
pxor xmm6, xmm0
movaps xmm0, xmm2
paddd xmm0, xmm1
movaps xmmword [ebp - 0xb0], xmm6
movaps xmm4, xmm0
psrld xmm0, 0xe
pslld xmm4, 0x12
pxor xmm4, xmmword [ebp - 0x170]
pxor xmm4, xmm0
movaps xmm0, xmm5
paddd xmm0, xmm7
movaps xmmword [ebp - 0xe0], xmm4
movaps xmm4, xmm0
psrld xmm0, 0x19
pslld xmm4, 7
movaps xmmword [ebp - 0x50], xmm4
movaps xmm6, xmmword [ebp - 0x50]
pxor xmm6, xmmword [ebp - 0xf0]
movaps xmmword [ebp - 0x50], xmm6
movaps xmm4, xmmword [ebp - 0x50]
pxor xmm4, xmm0
movaps xmm0, xmm3
paddd xmm0, xmmword [ebp - 0xb0]
movaps xmmword [ebp - 0x50], xmm4
movaps xmm4, xmm0
psrld xmm0, 0xe
pslld xmm4, 0x12
pxor xmm4, xmmword [ebp - 0x180]
pxor xmm4, xmm0
movaps xmm0, xmmword [ebp - 0xc0]
paddd xmm0, xmmword [ebp - 0xa0]
movaps xmm6, xmm0
psrld xmm0, 0x19
pslld xmm6, 7
pxor xmm6, xmm1
movaps xmmword [ebp - 0xd0], xmm6
movaps xmm1, xmmword [ebp - 0xd0]
pxor xmm1, xmm0
movaps xmm0, xmmword [ebp - 0x50]
paddd xmm0, xmm7
movaps xmmword [ebp - 0xd0], xmm1
movaps xmm6, xmm0
psrld xmm0, 0x17
pslld xmm6, 9
pxor xmm6, xmm2
movaps xmmword [ebp - 0x90], xmm6
movaps xmm2, xmmword [ebp - 0x90]
pxor xmm2, xmm0
movaps xmm0, xmm1
paddd xmm0, xmmword [ebp - 0xa0]
movaps xmmword [ebp - 0x90], xmm2
movaps xmm2, xmm0
pslld xmm2, 9
psrld xmm0, 0x17
pxor xmm2, xmm3
pxor xmm2, xmm0
movaps xmmword [ebp - 0x1b0], xmm2
movaps xmm0, xmmword [ebp - 0x90]
paddd xmm0, xmmword [ebp - 0x50]
movaps xmm6, xmm0
movaps xmm1, xmmword [ebp - 0xe0]
psrld xmm0, 0x13
pslld xmm6, 0xd
pxor xmm6, xmm5
pxor xmm6, xmm0
movaps xmm0, xmm2
paddd xmm0, xmmword [ebp - 0xd0]
movaps xmm5, xmm0
movaps xmmword [ebp - 0x1c0], xmm6
psrld xmm0, 0x13
pslld xmm5, 0xd
pxor xmm5, xmmword [ebp - 0xc0]
pxor xmm5, xmm0
movaps xmm0, xmm6
paddd xmm0, xmmword [ebp - 0x90]
movaps xmm3, xmm0
movaps xmmword [ebp - 0xc0], xmm5
psrld xmm0, 0xe
pslld xmm3, 0x12
pxor xmm3, xmm7
pxor xmm3, xmm0
movaps xmm0, xmm5
paddd xmm0, xmm2
movaps xmmword [ebp - 0x150], xmm3
movaps xmm2, xmm0
psrld xmm0, 0xe
pslld xmm2, 0x12
pxor xmm2, xmmword [ebp - 0xa0]
pxor xmm2, xmm0
movaps xmm0, xmmword [ebp - 0x60]
paddd xmm0, xmm1
movaps xmmword [ebp - 0x160], xmm2
movaps xmm5, xmm0
psrld xmm0, 0x19
pslld xmm5, 7
pxor xmm5, xmmword [ebp - 0xb0]
pxor xmm5, xmm0
movaps xmm0, xmmword [ebp - 0x230]
paddd xmm0, xmm4
movaps xmmword [ebp - 0xe0], xmm5
movaps xmm7, xmm0
psrld xmm0, 0x19
pslld xmm7, 7
pxor xmm7, xmmword [ebp - 0x80]
pxor xmm7, xmm0
movaps xmm0, xmm5
paddd xmm0, xmm1
movaps xmmword [ebp - 0xf0], xmm7
movaps xmm6, xmm0
psrld xmm0, 0x17
pslld xmm6, 9
pxor xmm6, xmmword [ebp - 0x200]
pxor xmm6, xmm0
movaps xmm0, xmm7
paddd xmm0, xmm4
movaps xmmword [ebp - 0x80], xmm6
movaps xmm6, xmm0
psrld xmm0, 0x17
pslld xmm6, 9
pxor xmm6, xmmword [ebp - 0x210]
pxor xmm6, xmm0
movaps xmm0, xmmword [ebp - 0x80]
paddd xmm0, xmm5
movaps xmmword [ebp - 0xa0], xmm6
movaps xmm2, xmm0
psrld xmm0, 0x13
pslld xmm2, 0xd
pxor xmm2, xmmword [ebp - 0x60]
movaps xmmword [ebp - 0x60], xmm2
movaps xmm3, xmmword [ebp - 0x60]
pxor xmm3, xmm0
movaps xmm0, xmm6
movaps xmmword [ebp - 0x60], xmm3
paddd xmm0, xmm7
movaps xmm3, xmm0
psrld xmm0, 0x13
pslld xmm3, 0xd
pxor xmm3, xmmword [ebp - 0x230]
pxor xmm3, xmm0
movaps xmm0, xmmword [ebp - 0x60]
paddd xmm0, xmmword [ebp - 0x80]
movaps xmmword [ebp - 0xb0], xmm3
movaps xmm2, xmm0
pslld xmm2, 0x12
psrld xmm0, 0xe
pxor xmm2, xmm1
pxor xmm2, xmm0
movaps xmm0, xmm3
movaps xmm3, xmmword [ebp - 0x160]
paddd xmm0, xmm6
movaps xmmword [ebp - 0x170], xmm2
movaps xmm1, xmm0
movaps xmm2, xmmword [ebp - 0x150]
pslld xmm1, 0x12
psrld xmm0, 0xe
pxor xmm1, xmm4
movaps xmm4, xmmword [ebp - 0xc0]
pxor xmm1, xmm0
movaps xmmword [ebp - 0x180], xmm1
sub ecx, 1
jne 0x4034b0
movaps xmm6, xmmword [ebp - 0x1a0]
paddd xmm6, xmmword [ebp - 0x150]
movaps xmm5, xmmword [ebp - 0x240]
movaps xmm3, xmm6
paddd xmm5, xmmword [ebp - 0x90]
mov ecx, dword [ebp - 8]
movaps xmm2, xmm5
movaps xmm1, xmmword [ebp - 0x1d0]
paddd xmm1, xmmword [ebp - 0x50]
movaps xmm0, xmmword [ebp - 0x1e0]
paddd xmm0, xmmword [ebp - 0x1c0]
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
punpckhdq xmm5, xmm0
mov esi, dword [ebp - 0x20]
punpckldq xmm2, xmm0
movups xmm0, xmmword [ecx]
add dword [ebp - 0x20], 0x10
punpckhdq xmm6, xmm1
punpckldq xmm3, xmm1
movaps xmm4, xmm6
movaps xmm1, xmm3
punpcklqdq xmm6, xmm5
punpcklqdq xmm3, xmm2
pxor xmm3, xmm0
punpckhqdq xmm1, xmm2
movups xmmword [eax], xmm3
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 4]
punpckhqdq xmm4, xmm5
pxor xmm0, xmm1
movaps xmm5, xmmword [ebp - 0x2b0]
paddd xmm5, xmmword [ebp - 0xd0]
movups xmmword [edx], xmm0
movups xmm0, xmmword [edi]
add edi, 0x10
movaps xmm1, xmmword [ebp - 0x1f0]
movaps xmm2, xmm5
paddd xmm1, xmmword [ebp - 0x160]
pxor xmm6, xmm0
movups xmmword [esi], xmm6
mov esi, dword [ebp - 0xc]
movaps xmm6, xmmword [ebp - 0x250]
paddd xmm6, xmmword [ebp - 0xc0]
add dword [ebp - 0xc], 0x10
movaps xmm3, xmm6
movups xmm0, xmmword [esi]
mov esi, dword [ebp - 0x10]
punpckldq xmm3, xmm1
pxor xmm0, xmm4
punpckhdq xmm6, xmm1
movaps xmm1, xmm3
mov dword [ebp - 0x18], edi
movups xmmword [esi], xmm0
mov esi, dword [ebp - 0x14]
movaps xmm0, xmmword [ebp - 0x260]
movaps xmm4, xmm6
paddd xmm0, xmmword [ebp - 0x1b0]
add esi, 0x10
add dword [ebp - 0x10], 0x10
punpckldq xmm2, xmm0
punpckhdq xmm5, xmm0
movups xmm0, xmmword [ecx + 0x10]
mov dword [ebp - 0x14], esi
punpcklqdq xmm3, xmm2
pxor xmm3, xmm0
punpckhqdq xmm1, xmm2
movups xmmword [eax + 0x10], xmm3
movups xmm0, xmmword [esi]
mov esi, dword [ebp - 0xc]
punpcklqdq xmm6, xmm5
pxor xmm0, xmm1
punpckhqdq xmm4, xmm5
movups xmmword [edx + 0x10], xmm0
movups xmm0, xmmword [edi]
mov edi, dword [ebp - 0x20]
pxor xmm6, xmm0
movups xmmword [edi], xmm6
movups xmm0, xmmword [esi]
mov esi, dword [ebp - 0x10]
pxor xmm0, xmm4
movaps xmm6, xmmword [ebp - 0x220]
add eax, 0x20
paddd xmm6, xmmword [ebp - 0x80]
movaps xmm5, xmmword [ebp - 0x270]
movaps xmm3, xmm6
paddd xmm5, xmmword [ebp - 0x170]
movaps xmm1, xmmword [ebp - 0x100]
movaps xmm2, xmm5
paddd xmm1, xmmword [ebp - 0x60]
add dword [ebp - 0x14], 0x10
movups xmmword [esi], xmm0
mov esi, dword [ebp - 0x14]
movaps xmm0, xmmword [ebp - 0x280]
paddd xmm0, xmmword [ebp - 0xe0]
add dword [ebp - 0x18], 0x10
add dword [ebp - 0xc], 0x10
punpckhdq xmm5, xmm0
add dword [ebp - 0x10], 0x10
punpckldq xmm2, xmm0
movups xmm0, xmmword [ecx + 0x20]
mov dword [ebp - 0x3c], eax
punpckldq xmm3, xmm1
punpckhdq xmm6, xmm1
movaps xmm1, xmm3
punpcklqdq xmm3, xmm2
movaps xmm4, xmm6
pxor xmm3, xmm0
punpckhqdq xmm1, xmm2
movups xmmword [eax], xmm3
mov eax, dword [ebp - 0x18]
movups xmm0, xmmword [esi]
mov esi, dword [ebp - 0xc]
punpcklqdq xmm6, xmm5
pxor xmm0, xmm1
add dword [ebp - 0xc], 0x10
movaps xmm1, xmmword [ebp - 0x2a0]
paddd xmm1, xmmword [ebp - 0xa0]
movups xmmword [edx + 0x20], xmm0
movups xmm0, xmmword [eax]
add eax, 0x10
punpckhqdq xmm4, xmm5
movaps xmm5, xmmword [ebp - 0x190]
pxor xmm6, xmm0
paddd xmm5, xmmword [ebp - 0xb0]
movups xmmword [edi + 0x10], xmm6
mov dword [ebp - 0x18], eax
add edi, 0x20
movups xmm0, xmmword [esi]
mov esi, dword [ebp - 0x10]
movaps xmm6, xmmword [ebp - 0x290]
movaps xmm2, xmm5
mov eax, dword [ebp - 0x3c]
pxor xmm0, xmm4
paddd xmm6, xmm7
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x10]
movaps xmm3, xmm6
movups xmmword [esi], xmm0
mov esi, dword [ebp - 0x14]
movaps xmm0, xmmword [ebp - 0x70]
add esi, 0x10
paddd xmm0, xmmword [ebp - 0x180]
add edi, 0x10
punpckldq xmm2, xmm0
punpckhdq xmm5, xmm0
movups xmm0, xmmword [ecx + 0x30]
mov dword [ebp - 0x14], esi
punpckldq xmm3, xmm1
punpckhdq xmm6, xmm1
movaps xmm1, xmm3
punpcklqdq xmm3, xmm2
movaps xmm4, xmm6
pxor xmm3, xmm0
punpckhqdq xmm1, xmm2
movups xmmword [eax + 0x10], xmm3
mov dword [ebp - 0x10], edi
movups xmm0, xmmword [esi]
punpckhqdq xmm4, xmm5
pxor xmm0, xmm1
punpcklqdq xmm6, xmm5
movups xmmword [edx + 0x30], xmm0
mov esi, dword [ebp - 0x18]
movaps xmm7, xmmword [ebp - 0x1d0]
movaps xmm5, xmmword [ebp - 0x1e0]
movups xmm0, xmmword [esi]
mov esi, dword [ebp - 0x20]
pxor xmm6, xmm0
movups xmmword [esi], xmm6
mov esi, dword [ebp - 0xc]
movaps xmm6, xmmword [ebp - 0x1f0]
movups xmm0, xmmword [esi]
mov esi, dword [ebp - 0x28]
add esi, 0xffffff00
pxor xmm0, xmm4
mov dword [ebp - 0x28], esi
movaps xmm4, xmmword [ebp - 0x1a0]
movups xmmword [edi], xmm0
mov edi, dword [ebp - 0x1c]
adc edi, 0xffffffff
add dword [ebp - 0x20], 0xd0
add dword [ebp - 0x10], 0xd0
add eax, 0xe0
add dword [ebp - 0x14], 0xd0
add edx, 0x100
add dword [ebp - 0x18], 0xd0
add ecx, 0x100
add dword [ebp - 0xc], 0xd0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
test edi, edi
ja 0x4033a5
jb 0x403d2e
movaps xmm4, xmmword [ebp - 0x1a0]
movaps xmm7, xmmword [ebp - 0x1d0]
movaps xmm5, xmmword [ebp - 0x1e0]
movaps xmm6, xmmword [ebp - 0x1f0]
cmp esi, 0x100
jae 0x4033a5
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x24], edx
test edi, edi
jne 0x403d5b
cmp esi, 0x40
jb 0x40410f
jmp 0x403d5b
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x30]
movups xmm4, xmmword [edx]
mov edx, dword [ebp - 0x34]
movups xmm3, xmmword [esi]
mov esi, dword [ebp - 0x2c]
movups xmm7, xmmword [edx]
mov edx, 5
movaps xmmword [ebp - 0x220], xmm3
movups xmm5, xmmword [esi]
movaps xmmword [ebp - 0x200], xmm4
movaps xmmword [ebp - 0x210], xmm5
movaps xmmword [ebp - 0x70], xmm5
movaps xmmword [ebp - 0x190], xmm7
movaps xmm0, xmm5
paddd xmm0, xmm3
movaps xmm1, xmm0
psrld xmm0, 0x19
pslld xmm1, 7
pxor xmm1, xmm7
pxor xmm1, xmm0
movaps xmm0, xmm1
pshufd xmm7, xmm1, 0x93
paddd xmm0, xmm3
movaps xmm5, xmm0
psrld xmm0, 0x17
pslld xmm5, 9
pxor xmm5, xmm4
pxor xmm5, xmm0
paddd xmm1, xmm5
movaps xmm0, xmm5
movaps xmm2, xmm1
psrld xmm1, 0x13
pslld xmm2, 0xd
pxor xmm2, xmmword [ebp - 0x70]
pxor xmm2, xmm1
movaps xmm1, xmm7
paddd xmm0, xmm2
movaps xmm6, xmm0
psrld xmm0, 0xe
pslld xmm6, 0x12
pxor xmm6, xmm3
pxor xmm6, xmm0
pshufd xmm0, xmm2, 0x39
paddd xmm1, xmm6
movaps xmm3, xmm1
psrld xmm1, 0x19
pslld xmm3, 7
pxor xmm3, xmm0
pxor xmm3, xmm1
movaps xmm1, xmm3
pshufd xmm0, xmm3, 0x93
paddd xmm1, xmm6
movaps xmmword [ebp - 0x100], xmm0
movaps xmm4, xmm1
pshufd xmm0, xmm5, 0x4e
pslld xmm4, 9
psrld xmm1, 0x17
pxor xmm4, xmm0
pxor xmm4, xmm1
movaps xmm1, xmmword [ebp - 0x100]
paddd xmm3, xmm4
movaps xmm2, xmm3
psrld xmm3, 0x13
pslld xmm2, 0xd
pxor xmm2, xmm7
pxor xmm2, xmm3
movaps xmm0, xmm2
pshufd xmm3, xmm2, 0x39
paddd xmm0, xmm4
pshufd xmm4, xmm4, 0x4e
movaps xmm5, xmm0
psrld xmm0, 0xe
pslld xmm5, 0x12
pxor xmm5, xmm6
pxor xmm5, xmm0
paddd xmm1, xmm5
movaps xmm0, xmm1
psrld xmm1, 0x19
pslld xmm0, 7
pxor xmm3, xmm0
pxor xmm3, xmm1
movaps xmm1, xmm3
pshufd xmm7, xmm3, 0x93
paddd xmm1, xmm5
movaps xmm0, xmm1
psrld xmm1, 0x17
pslld xmm0, 9
pxor xmm4, xmm0
pxor xmm4, xmm1
paddd xmm3, xmm4
movaps xmm2, xmm3
psrld xmm3, 0x13
pslld xmm2, 0xd
pxor xmm2, xmmword [ebp - 0x100]
pxor xmm2, xmm3
movaps xmm0, xmm4
paddd xmm0, xmm2
movaps xmm1, xmm7
movaps xmm6, xmm0
psrld xmm0, 0xe
pslld xmm6, 0x12
pxor xmm6, xmm5
pxor xmm6, xmm0
pshufd xmm0, xmm2, 0x39
paddd xmm1, xmm6
movaps xmm3, xmm1
psrld xmm1, 0x19
pslld xmm3, 7
pxor xmm3, xmm0
pshufd xmm0, xmm4, 0x4e
pxor xmm3, xmm1
pshufd xmm5, xmm3, 0x93
movaps xmm1, xmm3
movaps xmmword [ebp - 0x70], xmm5
paddd xmm1, xmm6
movaps xmm2, xmm1
psrld xmm1, 0x17
pslld xmm2, 9
pxor xmm2, xmm0
pxor xmm2, xmm1
pshufd xmm4, xmm2, 0x4e
paddd xmm3, xmm2
movaps xmm0, xmm3
psrld xmm3, 0x13
pslld xmm0, 0xd
pxor xmm0, xmm7
pxor xmm0, xmm3
pshufd xmm7, xmm0, 0x39
paddd xmm2, xmm0
movaps xmm3, xmm2
psrld xmm2, 0xe
pslld xmm3, 0x12
pxor xmm3, xmm6
pxor xmm3, xmm2
sub edx, 1
jne 0x403d95
movaps xmm0, xmmword [ebp - 0x220]
movaps xmm1, xmmword [ebp - 0x210]
paddd xmm0, xmm3
movaps xmm2, xmmword [ebp - 0x200]
paddd xmm1, xmm5
movaps xmm3, xmmword [ebp - 0x190]
paddd xmm2, xmm4
paddd xmm3, xmm7
movd dword [ebp - 4], xmm0
movd edi, xmm1
movd esi, xmm2
movd edx, xmm3
xor edi, dword [ecx + 0x30]
xor esi, dword [ecx + 0x20]
xor edx, dword [ecx + 0x10]
mov ecx, dword [ecx]
xor ecx, dword [ebp - 4]
mov dword [eax + 0x30], edi
mov dword [eax], ecx
mov ecx, dword [ebp - 8]
mov dword [eax + 0x20], esi
mov dword [eax + 0x10], edx
pshufd xmm1, xmm1, 0x39
pshufd xmm2, xmm2, 0x39
pshufd xmm0, xmm0, 0x39
pshufd xmm3, xmm3, 0x39
movd dword [ebp - 4], xmm0
movd edi, xmm1
movd esi, xmm2
movd edx, xmm3
xor edi, dword [ecx + 4]
xor esi, dword [ecx + 0x34]
xor edx, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x14]
xor ecx, dword [ebp - 4]
mov dword [eax + 4], edi
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 8]
pshufd xmm4, xmm0, 0x39
mov dword [eax + 0x34], esi
mov dword [eax + 0x24], edx
pshufd xmm0, xmm1, 0x39
movd edi, xmm0
pshufd xmm1, xmm2, 0x39
pshufd xmm2, xmm3, 0x39
xor edi, dword [ecx + 0x18]
mov dword [ebp - 4], edi
mov edi, dword [ebp - 8]
movd esi, xmm1
movd edx, xmm2
pshufd xmm0, xmm0, 0x39
xor esi, dword [ecx + 8]
xor edx, dword [ecx + 0x38]
movd ecx, xmm4
xor ecx, dword [edi + 0x28]
mov edi, dword [ebp - 4]
mov dword [eax + 0x18], edi
mov dword [eax + 0x28], ecx
mov ecx, dword [ebp - 8]
mov dword [eax + 8], esi
movd edi, xmm0
mov dword [eax + 0x38], edx
pshufd xmm0, xmm1, 0x39
xor edi, dword [ecx + 0x2c]
movd esi, xmm0
pshufd xmm0, xmm2, 0x39
movd edx, xmm0
xor esi, dword [ecx + 0x1c]
mov dword [ebp - 4], edi
xor edx, dword [ecx + 0xc]
mov edi, dword [ebp - 8]
pshufd xmm0, xmm4, 0x39
movd ecx, xmm0
xor ecx, dword [edi + 0x3c]
mov edi, dword [ebp - 4]
mov dword [eax + 0x2c], edi
mov edi, dword [ebp - 0x38]
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x1c], esi
mov dword [eax + 0xc], edx
mov edx, dword [edi]
mov esi, dword [ebp - 0x24]
lea ecx, [edx + 1]
add dword [esi], 1
mov esi, dword [ebp - 0x28]
cmovne ecx, edx
add eax, 0x40
mov dword [edi], ecx
mov ecx, dword [ebp - 8]
mov edi, dword [ebp - 0x1c]
add ecx, 0x40
add esi, 0xffffffc0
mov dword [ebp - 8], ecx
mov dword [ebp - 0x28], esi
adc edi, 0xffffffff
mov dword [ebp - 0x1c], edi
test edi, edi
ja 0x403d58
jb 0x40410c
cmp esi, 0x40
jae 0x403d58
mov dword [ebp - 0x3c], eax
test edi, edi
jne 0x40411b
test esi, esi
je 0x40452b
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
movups xmm5, xmmword [edi]
movups xmm7, xmmword [esi]
mov esi, 5
movups xmm3, xmmword [edx]
movups xmm4, xmmword [ecx]
movaps xmmword [ebp - 0x70], xmm5
nop dword [eax]
movaps xmm0, xmm5
paddd xmm0, xmm3
movaps xmm1, xmm0
psrld xmm0, 0x19
pslld xmm1, 7
pxor xmm1, xmm7
pxor xmm1, xmm0
movaps xmm0, xmm1
pshufd xmm7, xmm1, 0x93
paddd xmm0, xmm3
movaps xmm5, xmm0
psrld xmm0, 0x17
pslld xmm5, 9
pxor xmm5, xmm4
pxor xmm5, xmm0
paddd xmm1, xmm5
movaps xmm0, xmm5
movaps xmm2, xmm1
psrld xmm1, 0x13
pslld xmm2, 0xd
pxor xmm2, xmmword [ebp - 0x70]
pxor xmm2, xmm1
movaps xmm1, xmm7
paddd xmm0, xmm2
movaps xmm6, xmm0
psrld xmm0, 0xe
pslld xmm6, 0x12
pxor xmm6, xmm3
pxor xmm6, xmm0
pshufd xmm0, xmm2, 0x39
paddd xmm1, xmm6
movaps xmm3, xmm1
psrld xmm1, 0x19
pslld xmm3, 7
pxor xmm3, xmm0
pxor xmm3, xmm1
movaps xmm1, xmm3
pshufd xmm0, xmm3, 0x93
paddd xmm1, xmm6
movaps xmmword [ebp - 0x100], xmm0
movaps xmm4, xmm1
pshufd xmm0, xmm5, 0x4e
pslld xmm4, 9
psrld xmm1, 0x17
pxor xmm4, xmm0
pxor xmm4, xmm1
movaps xmm1, xmmword [ebp - 0x100]
paddd xmm3, xmm4
movaps xmm2, xmm3
psrld xmm3, 0x13
pslld xmm2, 0xd
pxor xmm2, xmm7
pxor xmm2, xmm3
movaps xmm0, xmm2
pshufd xmm3, xmm2, 0x39
paddd xmm0, xmm4
pshufd xmm4, xmm4, 0x4e
movaps xmm5, xmm0
psrld xmm0, 0xe
pslld xmm5, 0x12
pxor xmm5, xmm6
pxor xmm5, xmm0
paddd xmm1, xmm5
movaps xmm0, xmm1
psrld xmm1, 0x19
pslld xmm0, 7
pxor xmm3, xmm0
pxor xmm3, xmm1
movaps xmm1, xmm3
pshufd xmm7, xmm3, 0x93
paddd xmm1, xmm5
movaps xmm0, xmm1
psrld xmm1, 0x17
pslld xmm0, 9
pxor xmm4, xmm0
pxor xmm4, xmm1
paddd xmm3, xmm4
movaps xmm2, xmm3
psrld xmm3, 0x13
pslld xmm2, 0xd
pxor xmm2, xmmword [ebp - 0x100]
pxor xmm2, xmm3
movaps xmm0, xmm4
paddd xmm0, xmm2
movaps xmm1, xmm7
movaps xmm6, xmm0
psrld xmm0, 0xe
pslld xmm6, 0x12
pxor xmm6, xmm5
pxor xmm6, xmm0
pshufd xmm0, xmm2, 0x39
paddd xmm1, xmm6
movaps xmm3, xmm1
psrld xmm1, 0x19
pslld xmm3, 7
pxor xmm3, xmm0
pshufd xmm0, xmm4, 0x4e
pxor xmm3, xmm1
pshufd xmm5, xmm3, 0x93
movaps xmm1, xmm3
movaps xmmword [ebp - 0x70], xmm5
paddd xmm1, xmm6
movaps xmm2, xmm1
psrld xmm1, 0x17
pslld xmm2, 9
pxor xmm2, xmm0
pxor xmm2, xmm1
pshufd xmm4, xmm2, 0x4e
paddd xmm3, xmm2
movaps xmm0, xmm3
psrld xmm3, 0x13
pslld xmm0, 0xd
pxor xmm0, xmm7
pxor xmm0, xmm3
pshufd xmm7, xmm0, 0x39
paddd xmm2, xmm0
movaps xmm3, xmm2
psrld xmm2, 0xe
pslld xmm3, 0x12
pxor xmm3, xmm6
pxor xmm3, xmm2
sub esi, 1
jne 0x404140
movups xmm0, xmmword [edx]
paddd xmm3, xmm0
movups xmm0, xmmword [edi]
movd edi, xmm3
paddd xmm5, xmm0
movups xmm0, xmmword [ecx]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x140], edi
paddd xmm4, xmm0
pshufd xmm1, xmm5, 0x39
movd esi, xmm1
movups xmm0, xmmword [ecx]
pshufd xmm2, xmm4, 0x39
paddd xmm7, xmm0
pshufd xmm1, xmm1, 0x39
pshufd xmm0, xmm3, 0x39
movd edi, xmm0
pshufd xmm0, xmm0, 0x39
movd dword [ebp - 0x118], xmm0
pshufd xmm0, xmm0, 0x39
movd dword [ebp - 0x104], xmm0
movd edx, xmm2
pshufd xmm0, xmm1, 0x39
pshufd xmm3, xmm7, 0x39
pshufd xmm2, xmm2, 0x39
movd dword [ebp - 0x114], xmm0
movd ecx, xmm3
pshufd xmm0, xmm2, 0x39
pshufd xmm3, xmm3, 0x39
mov dword [ebp - 0x13c], esi
xor esi, esi
movd dword [ebp - 0x124], xmm0
pshufd xmm0, xmm3, 0x39
mov dword [ebp - 0x12c], edi
mov edi, dword [ebp - 0x28]
movd dword [ebp - 0x110], xmm5
movd dword [ebp - 0x120], xmm4
movd dword [ebp - 0x130], xmm7
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x11c], ecx
movd dword [ebp - 0x128], xmm1
movd dword [ebp - 0x138], xmm2
movd dword [ebp - 0x108], xmm3
movd dword [ebp - 0x134], xmm0
cmp dword [ebp - 0x1c], esi
ja 0x404442
cmp edi, 8
jb 0x4044ce
mov edx, dword [ebp - 8]
xor esi, esi
lea ecx, [edx - 1]
add ecx, edi
cmp eax, ecx
ja 0x404459
lea ecx, [eax - 1]
add ecx, edi
cmp ecx, edx
jae 0x4044d1
lea ecx, [ebp + edi - 0x141]
cmp eax, ecx
ja 0x404477
lea ecx, [ebp - 0x140]
mov dword [ebp - 4], ecx
lea ecx, [eax - 1]
add ecx, edi
cmp ecx, dword [ebp - 4]
jae 0x4044d1
mov ecx, edi
lea edi, [ebp - 0x140]
sub edi, edx
and ecx, 0xfffffff8
mov dword [ebp - 4], edi
mov edi, eax
sub edi, edx
mov dword [ebp - 0x2c], ecx
mov ecx, edx
mov dword [ebp - 0x30], edi
mov edx, dword [ebp - 4]
mov eax, edi
nop dword [eax + eax]
movq xmm1, qword [edx + ecx]
lea ecx, [ecx + 8]
movq xmm0, qword [ecx - 8]
xor edi, edi
pxor xmm1, xmm0
add esi, 8
cmp edi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x28]
movq qword [eax + ecx - 8], xmm1
jb 0x4044a0
ja 0x4044cb
cmp esi, dword [ebp - 0x2c]
jb 0x4044a0
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 8]
xor ecx, ecx
cmp ecx, dword [ebp - 0x1c]
ja 0x404512
jb 0x4044de
cmp esi, edi
jae 0x404512
lea ecx, [esi + edx]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x140]
sub ecx, edx
sub eax, edx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 4], ecx
mov cl, byte [edx + ecx]
lea edx, [edx + 1]
xor cl, byte [edx - 1]
inc esi
mov byte [edx + eax - 1], cl
xor ecx, ecx
cmp ecx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
jb 0x4044f4
ja 0x404512
cmp esi, edi
jb 0x4044f4
mov ecx, 0x40
lea eax, [ebp - 0x140]
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x404520
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret