Function at 0x475297
Capabilities:
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x290
mov edi, dword [ecx + 0x20]
mov eax, dword [ecx + 0x24]
mov dword [esp + 0xf8], edx
movups xmm1, xmmword [ecx + 0x20]
movdqu xmm0, xmmword [ecx + 0x10]
movdqu xmm5, xmmword [ecx]
mov dword [esp + 0xf0], ecx
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0xf4], 6
mov edx, edi
mov esi, edi
mov ebx, eax
movdqa xmmword [esp + 0xc0], xmm5
movdqa xmmword [esp + 0xe0], xmm5
mov dword [esp + 0x58], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x38], ecx
movdqa xmmword [esp + 0x140], xmm5
add edx, 1
movd xmm2, edx
mov edx, eax
adc edx, 0
add esi, 2
adc ebx, 0
movd xmm7, edx
movd xmm3, esi
add edi, 3
punpcklqdq xmm7, xmm2
movd xmm2, ebx
adc eax, 0
movd xmm4, edi
punpcklqdq xmm2, xmm3
shufps xmm7, xmm1, 0xe2
shufps xmm2, xmm1, 0xe2
movaps xmmword [esp + 0x150], xmm2
movd xmm2, eax
punpcklqdq xmm2, xmm4
shufps xmm2, xmm1, 0xe2
movaps xmmword [esp + 0xd0], xmm2
pshufd xmm2, xmm0, 0x55
movd edx, xmm2
pshufd xmm2, xmm0, 0xee
pshufd xmm0, xmm0, 0xff
movd ebx, xmm0
movdqa xmm0, xmmword [str.expand_32_byte_k]
movd eax, xmm2
mov dword [esp + 0x50], edx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x40], ebx
movdqa xmm2, xmm0
movdqa xmm4, xmm0
movdqa xmm3, xmm0
paddd xmm0, xmm5
paddd xmm3, xmmword [esp + 0xc0]
movd esi, xmm1
movd dword [esp + 0xa8], xmm5
movss dword [esp + 0x10], xmm7
pshufd xmm6, xmm0, 0x55
movd dword [esp + 0x5c], xmm0
movd dword [esp + 0x18], xmm6
pshufd xmm6, xmm0, 0xee
pshufd xmm0, xmm0, 0xff
xor esi, dword [esp + 0x5c]
movd ecx, xmm6
movdqa xmm6, xmmword [esp + 0xe0]
movd eax, xmm0
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], ecx
rol esi, 0x10
paddd xmm2, xmm6
mov dword [esp + 0xc], esi
movd dword [esp + 0xa4], xmm6
pshufd xmm0, xmm2, 0x55
movd dword [esp + 0x20], xmm2
movd dword [esp + 0x7c], xmm0
pshufd xmm0, xmm2, 0xee
movd dword [esp + 0x34], xmm0
pshufd xmm0, xmm2, 0xff
movd dword [esp + 0x78], xmm0
pshufd xmm0, xmm3, 0x55
movd dword [esp + 0x60], xmm0
pshufd xmm0, xmm1, 0x55
movd dword [esp + 0x1c], xmm0
pshufd xmm0, xmm1, 0xee
movd edi, xmm0
pshufd xmm0, xmm1, 0xff
movd edx, xmm0
xor edi, ecx
mov ecx, dword [esp + 0x1c]
pshufd xmm0, xmm7, 0x55
xor edx, eax
mov eax, dword [esp + 0x38]
movd dword [esp + 0x2c], xmm0
pshufd xmm0, xmm7, 0xee
rol edi, 0x10
movd dword [esp + 0x28], xmm0
pshufd xmm0, xmm5, 0x55
mov dword [esp + 4], edi
rol edx, 0x10
movd dword [esp + 0x94], xmm0
pshufd xmm0, xmm5, 0xee
mov dword [esp + 8], edx
xor ecx, dword [esp + 0x18]
movd dword [esp + 0xac], xmm0
pshufd xmm0, xmm5, 0xff
add eax, esi
mov esi, dword [esp + 0x3c]
movd ebx, xmm0
pshufd xmm0, xmm7, 0xff
pshufd xmm7, xmm6, 0xee
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x64]
movd dword [esp], xmm0
pshufd xmm0, xmm6, 0x55
movd dword [esp + 0xa0], xmm7
movdqa xmm7, xmmword [esp + 0xd0]
movd dword [esp + 0x98], xmm0
rol ecx, 0x10
add esi, ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x40]
add eax, edi
mov edi, dword [esp + 0xac]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x64], eax
add ecx, edx
mov edx, dword [esp + 0x94]
xor edi, eax
mov eax, dword [esp + 0xa8]
xor ebx, ecx
mov dword [esp + 0x40], ecx
rol ebx, 0xc
rol edi, 0xc
mov dword [esp + 0xb0], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0xac], edi
xor edx, esi
mov esi, dword [esp + 0x5c]
xor eax, dword [esp + 0x38]
add ebx, edi
mov edi, dword [esp + 0xc]
xor dword [esp + 4], ebx
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x38]
rol eax, 0xc
mov ecx, eax
mov dword [esp + 0xa8], eax
mov eax, edx
mov edx, dword [esp + 0x30]
add esi, ecx
mov ecx, dword [esp + 0x18]
rol eax, 0xc
mov dword [esp + 0x94], eax
xor edi, esi
mov dword [esp + 0x5c], esi
rol edi, 8
add edx, dword [esp + 0xb0]
mov dword [esp + 0xc], edi
add ecx, eax
mov eax, dword [esp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], edx
xor eax, edx
mov edx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x3c]
rol esi, 8
mov dword [esp + 8], esi
xor edx, ecx
mov ecx, edi
rol edx, 8
add ebx, ecx
mov ecx, dword [esp + 0xb0]
mov edi, edx
mov edx, dword [esp + 4]
mov dword [esp + 0x38], ebx
add eax, edi
mov dword [esp + 0x3c], eax
xor dword [esp + 0x94], eax
mov eax, dword [esp + 0x30]
rol edx, 8
mov dword [esp + 4], edx
add dword [esp + 0x64], edx
mov edx, dword [esp + 0x40]
add edx, esi
mov esi, dword [esp + 0xa8]
xor ecx, edx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x14]
xor esi, ebx
mov ebx, ecx
mov ecx, dword [esp + 4]
rol esi, 7
rol ebx, 7
add eax, esi
add edx, ebx
mov dword [esp + 0x30], eax
xor edi, edx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x38]
xor ecx, eax
mov eax, dword [esp + 0x3c]
rol edi, 0x10
rol ecx, 0x10
mov dword [esp + 0x1c], edi
mov dword [esp + 4], ecx
add edx, edi
mov edi, dword [esp + 0x94]
add eax, ecx
mov ecx, dword [esp + 0x14]
xor ebx, edx
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x18]
xor esi, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x30]
rol ebx, 0xc
rol esi, 0xc
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xa8], esi
rol edi, 7
add ecx, ebx
mov ebx, dword [esp + 0x64]
add eax, esi
mov esi, dword [esp + 0xac]
mov dword [esp + 0x14], ecx
movd xmm1, ecx
mov ecx, dword [esp + 0x5c]
movd xmm0, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xc]
punpckldq xmm1, xmm0
xor esi, ebx
add ecx, edi
rol esi, 7
add edx, esi
xor eax, edx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 8]
rol eax, 0x10
mov dword [esp + 0xc], eax
xor edx, ecx
rol edx, 0x10
add ebx, edx
mov dword [esp + 8], edx
mov edx, dword [esp + 0x40]
xor edi, ebx
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x80]
rol edi, 0xc
add ecx, edi
mov dword [esp + 0x94], edi
add edx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x5c], ecx
movd xmm0, ecx
mov ecx, dword [esp]
xor esi, edx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x2c]
rol esi, 0xc
mov dword [esp + 0xac], esi
add eax, esi
mov esi, dword [esp + 0x28]
xor ecx, dword [esp + 0x78]
movd xmm2, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor edx, dword [esp + 0x7c]
punpckldq xmm0, xmm2
punpcklqdq xmm0, xmm1
pshufd xmm1, xmm6, 0xff
xor esi, dword [esp + 0x34]
movd edi, xmm1
rol ecx, 0x10
pshufd xmm1, xmm3, 0xee
movdqa xmmword [esp + 0x1b0], xmm0
movdqa xmm0, xmmword [esp + 0x140]
xor eax, dword [esp + 0x20]
mov dword [esp], ecx
rol edx, 0x10
movd dword [esp + 0x70], xmm1
add ebx, edx
mov dword [esp + 0x80], ebx
rol esi, 0x10
paddd xmm4, xmm0
movd dword [esp + 0xbc], xmm0
rol eax, 0x10
mov dword [esp + 0x28], esi
mov dword [esp + 0x10], eax
add dword [esp + 0x4c], eax
mov eax, dword [esp + 0x44]
add eax, esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x44], eax
add esi, ecx
mov ecx, edi
mov edi, dword [esp + 0xa0]
xor ecx, esi
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x98]
rol ecx, 0xc
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0x20]
xor edi, eax
mov eax, dword [esp + 0xa4]
xor esi, ebx
rol edi, 0xc
rol esi, 0xc
mov dword [esp + 0xa0], edi
mov dword [esp + 0x98], esi
xor eax, dword [esp + 0x4c]
rol eax, 0xc
add ecx, eax
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x7c]
mov ebx, ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x34]
add eax, esi
mov esi, dword [esp + 0x78]
xor edx, eax
mov dword [esp + 0x7c], eax
add ecx, edi
mov edi, dword [esp + 0x28]
rol edx, 8
mov dword [esp + 0x34], ecx
add esi, dword [esp + 0xe0]
xor edi, ecx
mov ecx, dword [esp + 0xe0]
rol edi, 8
add dword [esp + 0x44], edi
xor dword [esp], esi
mov dword [esp + 0x78], esi
mov esi, dword [esp + 0x10]
mov eax, dword [esp]
xor esi, ebx
mov ebx, dword [esp + 0x4c]
rol eax, 8
rol esi, 8
add dword [esp + 0x48], eax
mov dword [esp], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x10], esi
xor ecx, dword [esp + 0x48]
add ebx, esi
mov esi, dword [esp + 0x80]
mov dword [esp + 0x4c], ebx
xor eax, ebx
mov ebx, dword [esp + 0x78]
rol eax, 7
rol ecx, 7
add esi, edx
add dword [esp + 0x34], ecx
xor dword [esp + 0x98], esi
xor edx, dword [esp + 0x34]
add ebx, eax
xor edi, ebx
rol edi, 0x10
add esi, edi
rol edx, 0x10
xor eax, esi
add dword [esp + 0x4c], edx
mov dword [esp + 0x2c], edx
mov edx, edi
mov edx, dword [esp + 0x10]
mov dword [esp + 0x80], esi
mov esi, dword [esp + 0x34]
movd dword [esp + 0x10], xmm7
rol eax, 0xc
xor ecx, dword [esp + 0x4c]
add ebx, eax
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 4]
movd xmm2, ebx
xor ebx, edi
mov edi, dword [esp + 0xa0]
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x48]
rol ecx, 0xc
xor dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
add esi, ecx
mov dword [esp + 0xe0], ecx
xor edi, dword [esp + 0x44]
movd xmm1, esi
mov ecx, esi
xor ecx, dword [esp + 0x2c]
punpckldq xmm1, xmm2
pshufd xmm2, xmm3, 0xff
movd dword [esp + 0x2c], xmm3
movdqa xmm3, xmmword [esp + 0x150]
movd dword [esp + 0x74], xmm2
pshufd xmm2, xmm4, 0x55
xor eax, dword [esp + 0x1c]
movd dword [esp + 0x28], xmm2
rol edi, 7
pshufd xmm2, xmm3, 0x55
mov dword [esp + 0x34], ecx
movd ecx, xmm2
pshufd xmm2, xmm3, 0xee
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
xor ecx, dword [esp + 0x60]
xor dword [esp + 0x18], eax
mov eax, dword [esp + 8]
rol ecx, 0x10
add dword [esp + 0x50], ecx
xor dword [esp + 0x5c], eax
mov eax, dword [esp + 0x7c]
add eax, edi
xor edx, eax
rol edx, 0x10
add ebx, edx
mov esi, edx
movd edx, xmm2
pshufd xmm2, xmm3, 0xff
xor edi, ebx
mov dword [esp + 0x48], ebx
movd ebx, xmm3
movdqa xmm3, xmmword [esp + 0xc0]
xor edx, dword [esp + 0x70]
rol edi, 0xc
xor ebx, dword [esp + 0x2c]
add eax, edi
mov dword [esp + 0xa0], edi
mov edi, dword [esp + 0x98]
movd xmm5, eax
xor eax, esi
mov esi, dword [esp]
mov dword [esp + 0x7c], eax
movd eax, xmm2
pshufd xmm2, xmm3, 0x55
rol edx, 0x10
xor eax, dword [esp + 0x74]
movd dword [esp + 0x88], xmm2
pshufd xmm2, xmm3, 0xee
add dword [esp + 0x68], edx
rol ebx, 0x10
rol edi, 7
movd dword [esp + 0x8c], xmm2
add dword [esp + 0x58], ebx
add dword [esp + 0x20], edi
xor esi, dword [esp + 0x20]
rol eax, 0x10
add dword [esp + 0x54], eax
rol esi, 0x10
add dword [esp + 0x44], esi
mov dword [esp], esi
mov esi, dword [esp + 0x20]
xor edi, dword [esp + 0x44]
rol edi, 0xc
add esi, edi
mov dword [esp + 0x98], edi
movd edi, xmm3
pshufd xmm3, xmm3, 0xff
movd xmm2, esi
xor esi, dword [esp]
movd dword [esp + 0x90], xmm3
xor edi, dword [esp + 0x58]
pshufd xmm3, xmm4, 0xee
movd dword [esp], xmm4
movd dword [esp + 0xc0], xmm3
pshufd xmm3, xmm4, 0xff
punpckldq xmm2, xmm5
movd dword [esp + 0x1c], xmm3
pshufd xmm3, xmm7, 0x55
punpcklqdq xmm2, xmm1
movd dword [esp + 4], xmm3
pshufd xmm3, xmm7, 0xee
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x54]
rol edi, 0xc
movd dword [esp + 0xc], xmm3
pshufd xmm3, xmm7, 0xff
add dword [esp + 0x2c], edi
movd dword [esp + 8], xmm3
pshufd xmm3, xmm0, 0x55
xor ebx, dword [esp + 0x2c]
movd dword [esp + 0xb8], xmm3
pshufd xmm3, xmm0, 0xee
movd dword [esp + 0xb4], xmm3
pshufd xmm3, xmm0, 0xff
xor dword [esp + 0x90], esi
mov esi, dword [esp + 0x68]
rol dword [esp + 0x90], 0xc
movd dword [esp + 0xd0], xmm3
rol ebx, 8
add dword [esp + 0x58], ebx
xor dword [esp + 0x8c], esi
mov esi, dword [esp + 0x50]
rol dword [esp + 0x8c], 0xc
xor edi, dword [esp + 0x58]
xor dword [esp + 0x88], esi
mov esi, dword [esp + 0x60]
rol dword [esp + 0x88], 0xc
rol edi, 7
add esi, dword [esp + 0x88]
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x8c]
xor ecx, dword [esp + 0x60]
add dword [esp + 0x70], esi
mov esi, dword [esp + 0x90]
rol ecx, 8
xor edx, dword [esp + 0x70]
add dword [esp + 0x74], esi
mov esi, dword [esp + 0x50]
rol edx, 8
xor eax, dword [esp + 0x74]
add dword [esp + 0x68], edx
add esi, ecx
mov dword [esp + 0x50], esi
xor dword [esp + 0x88], esi
mov esi, dword [esp + 0x74]
rol eax, 8
add esi, edi
xor edx, esi
rol edx, 0x10
add dword [esp + 0x50], edx
xor edi, dword [esp + 0x50]
rol edi, 0xc
add esi, edi
mov dword [esp + 0xfc], edi
mov edi, dword [esp + 0x58]
movd xmm6, esi
xor esi, edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x90]
add edx, eax
xor esi, edx
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x70]
rol esi, 7
add edx, esi
xor ecx, edx
rol ecx, 0x10
add edi, ecx
xor esi, edi
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x60]
rol esi, 0xc
add edx, esi
mov dword [esp + 0x90], esi
mov esi, dword [esp + 0x54]
movd xmm4, edx
xor edx, ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x68]
punpckldq xmm4, xmm6
xor ecx, edx
rol ecx, 7
add edi, ecx
xor ebx, edi
rol ebx, 0x10
add esi, ebx
xor ecx, esi
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x88]
rol ecx, 0xc
add edi, ecx
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x2c]
movd xmm7, edi
xor edi, ebx
mov ebx, dword [esp]
rol esi, 7
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x6c]
add ecx, esi
xor eax, ecx
rol eax, 0x10
add edx, eax
xor esi, edx
mov dword [esp + 0x68], edx
mov edx, dword [esp + 8]
rol esi, 0xc
add ecx, esi
mov dword [esp + 0x88], esi
mov esi, dword [esp + 0xc]
movd xmm0, ecx
xor ecx, eax
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x10]
xor edx, dword [esp + 0x1c]
punpckldq xmm0, xmm7
punpcklqdq xmm0, xmm4
xor esi, dword [esp + 0xc0]
movdqa xmmword [esp + 0x1a0], xmm0
xor eax, dword [esp + 0x28]
xor ecx, ebx
rol edx, 0x10
rol ecx, 0x10
mov dword [esp + 8], edx
mov dword [esp + 0x10], ecx
add edi, ecx
mov ecx, dword [esp + 0x84]
rol esi, 0x10
rol eax, 0x10
mov dword [esp + 0xc], esi
mov dword [esp + 4], eax
add ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x84], ecx
add eax, esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0x24], eax
add esi, edx
mov edx, dword [esp + 0xb4]
xor dword [esp + 0xd0], esi
rol dword [esp + 0xd0], 0xc
xor edx, eax
mov eax, dword [esp + 0xb8]
rol edx, 0xc
add dword [esp + 0xc0], edx
xor eax, ecx
mov ecx, dword [esp + 0xbc]
rol eax, 0xc
add dword [esp + 0x28], eax
xor ecx, edi
rol ecx, 0xc
add ebx, ecx
mov dword [esp], ebx
mov ebx, dword [esp + 0x1c]
add ebx, dword [esp + 0xd0]
xor dword [esp + 8], ebx
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0xc0]
rol dword [esp + 8], 8
add esi, dword [esp + 8]
xor dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x28]
rol dword [esp + 0xc], 8
xor dword [esp + 4], ebx
mov ebx, dword [esp + 0x10]
xor ebx, dword [esp]
rol ebx, 8
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 4]
add edi, dword [esp + 0x10]
rol ebx, 8
mov dword [esp + 0x6c], edi
mov edi, dword [esp + 0x84]
mov dword [esp + 4], ebx
xor ecx, dword [esp + 0x6c]
add edi, ebx
mov ebx, dword [esp + 0x24]
rol ecx, 7
xor eax, edi
rol eax, 7
add dword [esp], eax
add ebx, dword [esp + 0xc]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0xd0]
xor edx, dword [esp + 0x24]
xor ebx, esi
rol ebx, 7
rol edx, 7
mov dword [esp + 0xd0], ebx
add dword [esp + 0xc0], ebx
mov ebx, dword [esp + 0x1c]
add dword [esp + 0x28], edx
add ebx, ecx
xor dword [esp + 0xc], ebx
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 4]
rol dword [esp + 0xc], 0x10
add edi, dword [esp + 0xc]
xor ebx, dword [esp + 0xc0]
xor ecx, edi
mov dword [esp + 0x84], edi
mov edi, dword [esp + 0xd0]
rol ecx, 0xc
mov dword [esp + 0xbc], ecx
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x28]
rol dword [esp + 4], 0x10
xor dword [esp + 0x10], ebx
mov ebx, dword [esp + 8]
rol dword [esp + 0x10], 0x10
add esi, dword [esp + 0x10]
xor ebx, dword [esp]
xor edx, esi
mov dword [esp + 0x9c], esi
mov esi, dword [esp]
rol edx, 0xc
mov dword [esp + 0xb4], edx
rol ebx, 0x10
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x24]
add ebx, dword [esp + 8]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 4]
xor eax, dword [esp + 0x24]
add dword [esp + 0x6c], ebx
rol eax, 0xc
xor edi, dword [esp + 0x6c]
add esi, eax
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x28]
mov dword [esp], esi
movd xmm3, esi
mov esi, dword [esp + 0x18]
rol edi, 0xc
add eax, edx
mov edx, dword [esp + 0xc0]
mov ebx, edi
mov dword [esp + 0x28], eax
rol esi, 8
mov dword [esp + 0x18], esi
add edx, edi
mov edi, dword [esp + 0x1c]
movd xmm5, edx
mov dword [esp + 0xc0], edx
mov edx, dword [esp + 0x14]
add edi, ecx
mov ecx, dword [esp + 0x5c]
movd xmm1, edi
rol edx, 8
xor edi, dword [esp + 0xc]
punpckldq xmm5, xmm1
movd xmm1, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], edx
movd xmm6, edx
mov edx, dword [esp + 0x20]
punpckldq xmm3, xmm1
punpcklqdq xmm3, xmm5
rol ecx, 8
movd xmm1, ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x34]
rol edi, 8
rol eax, 8
rol edx, 8
mov dword [esp + 0x1c], edi
movd xmm5, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x20], edx
punpckldq xmm5, xmm1
movd xmm1, esi
mov esi, dword [esp + 0x7c]
punpckldq xmm1, xmm6
rol ecx, 8
movd xmm6, edx
mov edx, dword [esp + 0x60]
punpcklqdq xmm1, xmm5
mov dword [esp + 0x34], ecx
rol eax, 8
movd xmm5, eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x74]
rol esi, 8
punpckldq xmm5, xmm6
movd xmm6, ecx
movd xmm7, esi
mov dword [esp + 0x7c], esi
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x70]
rol edx, 8
punpckldq xmm7, xmm6
movd xmm4, edx
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x40]
punpcklqdq xmm7, xmm5
rol eax, 8
mov dword [esp + 0x74], eax
movd xmm5, eax
mov eax, dword [esp]
rol esi, 8
rol ecx, 8
movd xmm6, esi
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x70], ecx
add edx, dword [esp + 0x18]
punpckldq xmm5, xmm6
movd xmm6, ecx
punpckldq xmm4, xmm6
xor eax, dword [esp + 8]
punpcklqdq xmm4, xmm5
movd xmm5, edi
mov edi, dword [esp + 0xc0]
xor esi, dword [esp + 0x10]
movdqa xmmword [esp + 0x150], xmm4
mov dword [esp + 0x40], edx
rol eax, 8
xor edi, dword [esp + 4]
movd xmm6, eax
mov dword [esp], eax
mov eax, dword [esp + 0x38]
rol esi, 8
punpckldq xmm5, xmm6
movd xmm4, esi
rol edi, 8
add eax, dword [esp + 0x14]
movd xmm6, edi
punpckldq xmm4, xmm6
punpcklqdq xmm4, xmm5
movdqa xmmword [esp + 0xd0], xmm4
mov dword [esp + 0x38], eax
mov ecx, eax
mov eax, dword [esp + 0xb0]
xor eax, ecx
mov ecx, dword [esp + 0xac]
rol eax, 7
movd xmm5, eax
mov eax, dword [esp + 0xa8]
xor ecx, edx
mov edx, dword [esp + 0x64]
rol ecx, 7
movd xmm6, ecx
mov ecx, dword [esp + 0x3c]
punpckldq xmm6, xmm5
add edx, dword [esp + 0x5c]
add ecx, dword [esp + 0x30]
mov dword [esp + 0x64], edx
xor eax, ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x94]
rol eax, 7
movd xmm5, eax
mov eax, dword [esp + 0xe0]
xor ecx, edx
mov edx, dword [esp + 0x48]
rol ecx, 7
movd xmm4, ecx
mov ecx, dword [esp + 0x4c]
punpckldq xmm5, xmm4
add edx, dword [esp + 0x7c]
punpcklqdq xmm5, xmm6
add ecx, dword [esp + 0x34]
mov dword [esp + 0x48], edx
xor eax, ecx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0xa0]
rol eax, 7
movd xmm4, eax
mov eax, dword [esp + 0x80]
xor ecx, edx
mov edx, dword [esp + 0xa4]
rol ecx, 7
movd xmm6, ecx
mov ecx, dword [esp + 0x44]
add eax, dword [esp + 0x78]
punpckldq xmm6, xmm4
xor edx, eax
add ecx, dword [esp + 0x20]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x98]
rol edx, 7
movd xmm0, edx
mov edx, dword [esp + 0x54]
xor eax, ecx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x90]
rol eax, 7
movd xmm4, eax
mov eax, dword [esp + 0x58]
add edx, dword [esp + 0x60]
punpckldq xmm0, xmm4
punpcklqdq xmm0, xmm6
movdqa xmmword [esp + 0xe0], xmm0
add eax, dword [esp + 0x70]
mov dword [esp + 0x54], edx
xor ecx, eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x8c]
rol ecx, 7
movd xmm4, ecx
mov ecx, dword [esp + 0x50]
xor eax, edx
mov edx, dword [esp + 0x68]
rol eax, 7
movd xmm6, eax
add ecx, dword [esp + 0x74]
mov eax, dword [esp + 0xfc]
punpckldq xmm6, xmm4
add edx, dword [esp + 0x2c]
xor eax, ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x88]
rol eax, 7
movd xmm0, eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x68], edx
xor ecx, edx
mov edx, dword [esp + 0x9c]
rol ecx, 7
add eax, edi
mov edi, dword [esp + 0x84]
movd xmm4, ecx
xor ebx, eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xb4]
punpckldq xmm0, xmm4
add edx, esi
punpcklqdq xmm0, xmm6
mov esi, dword [esp + 0xb8]
rol ebx, 7
mov dword [esp + 0x9c], edx
movd xmm4, ebx
movdqa xmmword [esp + 0xc0], xmm0
add edi, dword [esp + 0x1c]
xor eax, edx
mov edx, dword [esp + 0x24]
rol eax, 7
movd xmm6, eax
mov eax, dword [esp + 0xbc]
punpckldq xmm6, xmm4
mov dword [esp + 0x84], edi
add edx, dword [esp]
xor eax, edi
rol eax, 7
xor esi, edx
movd xmm0, eax
mov dword [esp + 0x24], edx
rol esi, 7
dec dword [esp + 0xf4]
movd xmm4, esi
punpckldq xmm0, xmm4
movdqa xmm4, xmm3
movdqa xmm3, xmmword [esp + 0x1a0]
punpcklqdq xmm0, xmm6
movdqa xmmword [esp + 0x140], xmm0
movdqa xmm0, xmmword [esp + 0x1b0]
jne 0x4753c2
mov ebx, dword [esp + 0xf0]
movdqu xmmword [esp + 0x1cc], xmm0
movdqu xmmword [esp + 0x1dc], xmm2
movaps xmm2, xmmword [esp + 0xe0]
movdqu xmmword [esp + 0x20c], xmm5
movups xmmword [esp + 0x24c], xmm1
movaps xmm1, xmmword [esp + 0x150]
movdqu xmmword [esp + 0x1ec], xmm3
movdqu xmmword [esp + 0x1fc], xmm4
movaps xmm3, xmmword [esp + 0xc0]
movaps xmm4, xmmword [esp + 0x140]
movups xmmword [esp + 0x25c], xmm7
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x24]
movups xmmword [esp + 0x21c], xmm2
movdqu xmm2, xmmword [ebx + 0x20]
movups xmmword [esp + 0x26c], xmm1
movaps xmm1, xmmword [esp + 0xd0]
movups xmmword [esp + 0x22c], xmm3
movups xmmword [esp + 0x23c], xmm4
mov ecx, eax
mov edi, edx
mov esi, eax
movdqu xmmword [esp + 0x160], xmm2
pshufd xmm3, xmm2, 0xee
pshufd xmm4, xmm2, 0xff
movups xmmword [esp + 0x27c], xmm1
add ecx, 1
mov dword [esp + 0x20], ecx
mov ecx, edx
adc ecx, 0
mov dword [esp + 0x14], ecx
mov ecx, eax
add ecx, 2
adc edi, 0
mov dword [esp + 0x18], ecx
add esi, 3
mov ecx, edx
adc ecx, 0
add eax, 4
movd xmm0, eax
mov eax, dword [esp + 0x40]
adc edx, 0
movd xmm1, edx
xor edx, edx
punpcklqdq xmm1, xmm0
movdqu xmm0, xmmword [ebx]
shufps xmm1, xmm2, 0xe2
movdqu xmm2, xmmword [ebx + 0x10]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x138], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x170], eax
mov eax, dword [esp + 0x14]
movd dword [esp + 0x17c], xmm4
movd dword [esp + 0x178], xmm3
mov dword [esp + 0x174], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x180], eax
mov dword [esp + 0x184], edi
mov edi, dword [esp + 0x84]
movd dword [esp + 0x18c], xmm4
movd dword [esp + 0x188], xmm3
mov dword [esp + 0x190], esi
mov esi, dword [esp + 0x6c]
movd dword [esp + 0x19c], xmm4
movd dword [esp + 0x198], xmm3
mov dword [esp + 0x194], ecx
mov dword [esp + 0x134], edi
mov dword [esp + 0x130], esi
mov edi, dword [ebx]
mov esi, dword [ebx + 0x10]
movups xmmword [ebx + 0x20], xmm1
pshufd xmm1, xmm0, 0x55
movd dword [esp + 0x20], xmm1
pshufd xmm1, xmm0, 0xee
pshufd xmm0, xmm0, 0xff
movd dword [esp + 0x34], xmm1
movd dword [esp + 0x30], xmm0
pshufd xmm0, xmm2, 0x55
pshufd xmm1, xmm2, 0xee
pshufd xmm2, xmm2, 0xff
movd dword [esp], xmm0
movd dword [esp + 4], xmm1
movd dword [esp + 0x24], xmm2
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov eax, dword [esp + edx + 0x1cc]
mov ecx, 0x61707865
mov esi, 0x3320646e
mov edi, 0x79622d32
mov ebx, 0x6b206574
add eax, ecx
mov ecx, dword [esp + edx + 0x1d0]
add ecx, esi
mov esi, dword [esp + edx + 0x1d4]
movd xmm2, ecx
mov ecx, dword [esp + edx + 0x104]
add esi, edi
mov edi, dword [esp + edx + 0x1d8]
movd xmm1, esi
mov esi, dword [esp + edx + 0x20c]
add ecx, dword [esp]
add edi, ebx
mov ebx, dword [esp + edx + 0x214]
movd xmm0, edi
mov edi, dword [esp + edx + 0x210]
add esi, dword [esp + 0x18]
punpckldq xmm1, xmm0
movd xmm0, eax
mov eax, dword [esp + edx + 0x218]
punpckldq xmm0, xmm2
punpcklqdq xmm0, xmm1
movdqu xmm1, xmmword [esp + edx + 0x160]
add ebx, dword [esp + 0x34]
add edi, dword [esp + 0x20]
movd xmm3, esi
add eax, dword [esp + 0x30]
pshufd xmm6, xmm1, 0x55
movd xmm2, ebx
mov ebx, dword [esp + edx + 0x108]
movd xmm4, edi
mov edi, dword [esp + edx + 0x10c]
movd xmm5, eax
movd eax, xmm6
pshufd xmm6, xmm1, 0xee
pshufd xmm1, xmm1, 0xff
punpckldq xmm3, xmm4
movd esi, xmm6
add eax, dword [esp + edx + 0x250]
punpckldq xmm2, xmm5
add esi, dword [esp + edx + 0x254]
add ebx, dword [esp + 4]
punpcklqdq xmm3, xmm2
add edi, dword [esp + 0x24]
movd xmm4, esi
mov esi, dword [esp + edx + 0x160]
movd xmm6, ebx
mov ebx, dword [esp + 0xf8]
movd xmm7, edi
movd edi, xmm1
movd xmm1, ecx
mov ecx, dword [esp + edx + 0x100]
add edi, dword [esp + edx + 0x258]
punpckldq xmm6, xmm7
add esi, dword [esp + edx + 0x24c]
movdqu xmmword [ebx + edx*4], xmm0
movdqu xmmword [ebx + edx*4 + 0x10], xmm3
movd xmm3, eax
add ecx, dword [esp + 0x14]
movd xmm5, edi
punpckldq xmm4, xmm5
movd xmm2, esi
movd xmm0, ecx
punpckldq xmm2, xmm3
punpckldq xmm0, xmm1
punpcklqdq xmm2, xmm4
punpcklqdq xmm0, xmm6
movdqu xmmword [ebx + edx*4 + 0x20], xmm0
movdqu xmmword [ebx + edx*4 + 0x30], xmm2
add edx, 0x10
cmp edx, 0x40
jne 0x476460
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret