Function at 0x47f260
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8267aa
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x93cf44]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp - 0xc0]
xor esi, esi
movq xmm0, qword [0x904290]
mov dword [ebp - 0xc0], eax
mov eax, dword [0x904298]
mov dword [ebp - 0x18], eax
mov ax, word [0x90429c]
mov dword [ebp - 0xc0], 0x181dc38
movq qword [ebp - 0x20], xmm0
mov word [ebp - 0x14], ax
mov eax, 0x4ec4ec4f
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x34
sub ecx, eax
add ecx, 0x35
xor word [ebp + esi*2 - 0x20], cx
inc esi
cmp esi, 7
jl 0x47f2c4
xor eax, eax
mov dword [0x181dc48], 0
lea ecx, [ebp - 0x20]
mov dword [0x181dc4c], 7
mov word [0x181dc38], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47f310
sub ecx, edx
lea eax, [ebp - 0x20]
sar ecx, 1
push ecx
push eax
mov ecx, 0x181dc38
call fcn.0040eb10
mov dword [ebp - 4], 0
xor esi, esi
mov eax, dword [0x904300]
movups xmm0, xmmword [0x9042f0]
mov dword [ebp - 0x18], eax
mov ax, word [0x904304]
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x14], ax
mov eax, 0x4ec4ec4f
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x34
sub ecx, eax
add ecx, 0x35
xor word [ebp + esi*2 - 0x28], cx
inc esi
cmp esi, 0xb
jl 0x47f354
xor eax, eax
mov dword [0x181dc60], 0
lea ecx, [ebp - 0x28]
mov dword [0x181dc64], 7
mov word [0x181dc50], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47f3a0
sub ecx, edx
lea eax, [ebp - 0x28]
sar ecx, 1
push ecx
push eax
mov ecx, 0x181dc50
call fcn.0040eb10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xbc]
xor eax, eax
mov dword [0x181dc7c], 7
mov word [ebp - 0xbc], ax
lea edx, [ecx + 2]
mov dword [0x181dc78], eax
mov word [0x181dc68], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47f3f0
sub ecx, edx
lea eax, [ebp - 0xbc]
sar ecx, 1
push ecx
push eax
mov ecx, 0x181dc68
call fcn.0040eb10
mov byte [ebp - 4], 2
mov edx, 4
movups xmm0, xmmword [0x9042d0]
mov edi, dword [0x1817094]
pextrw eax, xmm0, 7
movups xmmword [ebp - 0x20], xmm0
lea ecx, [edx + 0x1b]
test ax, ax
je 0x47f556
xor esi, esi
cmp edi, 2
jl 0x47f530
movaps xmm2, xmmword [0x9046b0]
mov eax, 0x9042d0
movaps xmm4, xmmword [0x904740]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
movd xmm5, edx
psrad xmm1, xmm5
movd xmm6, ecx
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x9046d0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x9046c0]
paddd xmm2, xmmword [0x9046b0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
paddw xmm1, xmmword [0x904710]
movq xmm0, qword [eax]
pxor xmm1, xmm0
movaps xmm0, xmm2
movq qword [ebp - 0x20], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x9046d0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [ebp - 0x18]
paddw xmm1, xmmword [0x904710]
pxor xmm1, xmm0
movq qword [ebp - 0x18], xmm1
jmp 0x47f556
mov eax, 0x4ec4ec4f
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x34
sub ecx, eax
add ecx, 0x35
xor word [ebp + esi*2 - 0x20], cx
inc esi
cmp esi, 8
jl 0x47f530
xor eax, eax
mov dword [0x181dc90], 0
lea ecx, [ebp - 0x20]
mov dword [0x181dc94], 7
mov word [0x181dc80], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47f580
sub ecx, edx
lea eax, [ebp - 0x20]
sar ecx, 1
push ecx
push eax
mov ecx, 0x181dc80
call fcn.0040eb10
mov byte [ebp - 4], 3
cmp word [0x9042ce], 0
movups xmm0, xmmword [0x9042bc]
mov eax, dword [0x9042cc]
mov dword [ebp - 0x14], eax
movups xmmword [ebp - 0x24], xmm0
je 0x47f5e7
xor esi, esi
mov eax, 0x4ec4ec4f
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x34
sub ecx, eax
add ecx, 0x35
xor word [ebp + esi*2 - 0x24], cx
inc esi
cmp esi, 0xa
jl 0x47f5c1
xor eax, eax
mov dword [0x181dca8], 0
lea ecx, [ebp - 0x24]
mov dword [0x181dcac], 7
mov word [0x181dc98], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47f610
sub ecx, edx
lea eax, [ebp - 0x24]
sar ecx, 1
push ecx
push eax
mov ecx, 0x181dc98
call fcn.0040eb10
mov byte [ebp - 4], 4
xor esi, esi
mov eax, dword [0x9007c0]
mov dword [ebp - 0x18], eax
mov ax, word [0x9007c4]
mov word [ebp - 0x14], ax
movups xmm0, xmmword [0x9007a8]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [0x9007b8]
movq qword [ebp - 0x20], xmm0
cmp edi, 2
jl 0x47f761
movaps xmm2, xmmword [0x9046b0]
mov eax, 4
movaps xmm4, xmmword [0x904740]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov esi, 8
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
movd xmm5, eax
mov eax, 0x1f
psrad xmm1, xmm5
movaps xmm0, xmm1
movd xmm6, eax
mov eax, 0x9007a8
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x9046d0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x9046c0]
paddd xmm2, xmmword [0x9046b0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x904710]
paddw xmm1, xmm0
movq xmm0, qword [eax]
pxor xmm1, xmm0
movaps xmm0, xmm2
movq qword [ebp - 0x30], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x9046d0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x904710]
paddw xmm1, xmm0
movq xmm0, qword [ebp - 0x28]
pxor xmm1, xmm0
movq qword [ebp - 0x28], xmm1
mov eax, 0x4ec4ec4f
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x34
sub ecx, eax
add ecx, 0x35
xor word [ebp + esi*2 - 0x30], cx
inc esi
cmp esi, 0xf
jl 0x47f761
xor eax, eax
mov dword [0x181dcc0], 0
lea ecx, [ebp - 0x30]
mov dword [0x181dcc4], 7
mov word [0x181dcb0], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47f7b0
sub ecx, edx
lea eax, [ebp - 0x30]
sar ecx, 1
push ecx
push eax
mov ecx, 0x181dcb0
call fcn.0040eb10
mov byte [ebp - 4], 5
xor esi, esi
mov ax, word [0x9042b8]
mov word [ebp - 0x14], ax
movups xmm0, xmmword [0x9042a0]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [0x9042b0]
movq qword [ebp - 0x1c], xmm0
cmp edi, 2
jl 0x47f900
movaps xmm2, xmmword [0x9046b0]
mov eax, 4
movaps xmm4, xmmword [0x904740]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov esi, 8
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
movd xmm5, eax
mov eax, 0x1f
psrad xmm1, xmm5
movaps xmm0, xmm1
movd xmm6, eax
mov eax, 0x9042a0
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x9046d0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x9046c0]
paddd xmm2, xmmword [0x9046b0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x904710]
paddw xmm1, xmm0
movq xmm0, qword [eax]
pxor xmm1, xmm0
movaps xmm0, xmm2
movq qword [ebp - 0x2c], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x9046d0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x904710]
paddw xmm1, xmm0
movq xmm0, qword [ebp - 0x24]
pxor xmm1, xmm0
movq qword [ebp - 0x24], xmm1
nop dword [eax]
mov eax, 0x4ec4ec4f
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x34
sub ecx, eax
add ecx, 0x35
xor word [ebp + esi*2 - 0x2c], cx
inc esi
cmp esi, 0xd
jl 0x47f900
xor eax, eax
mov dword [0x181dcd8], 0
lea ecx, [ebp - 0x2c]
mov dword [0x181dcdc], 7
mov word [0x181dcc8], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47f950
sub ecx, edx
lea eax, [ebp - 0x2c]
sar ecx, 1
push ecx
push eax
mov ecx, 0x181dcc8
call fcn.0040eb10
mov byte [ebp - 4], 6
movups xmm0, xmmword [0x900788]
movups xmmword [ebp - 0x30], xmm0
movups xmm0, xmmword [0x900798]
pextrw eax, xmm0, 7
movups xmmword [ebp - 0x20], xmm0
test ax, ax
je 0x47fae6
xor esi, esi
cmp edi, 2
jl 0x47fac0
movaps xmm4, xmmword [0x9046b0]
mov eax, 4
movaps xmm3, xmmword [0x904740]
xor ecx, ecx
movaps xmm6, xmmword [0x9046d0]
movd xmm5, eax
mov eax, 0x1f
movd xmm7, eax
nop word [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x904710]
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0x30]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + ecx*2 - 0x30], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x904710]
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0x28]
pxor xmm1, xmm0
movq qword [ebp + ecx*2 - 0x28], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x47f9d0
jmp 0x47fae6
mov eax, 0x4ec4ec4f
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x34
sub ecx, eax
add ecx, 0x35
xor word [ebp + esi*2 - 0x30], cx
inc esi
cmp esi, 0x10
jl 0x47fac0
xor eax, eax
mov dword [0x181dcf0], 0
lea ecx, [ebp - 0x30]
mov dword [0x181dcf4], 7
mov word [0x181dce0], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47fb10
sub ecx, edx
lea eax, [ebp - 0x30]
sar ecx, 1
push ecx
push eax
mov ecx, 0x181dce0
call fcn.0040eb10
mov byte [ebp - 4], 7
cmp word [0x900772], 0
movups xmm0, xmmword [0x900758]
mov eax, dword [0x900770]
mov dword [ebp - 0x14], eax
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [0x900768]
movq qword [ebp - 0x1c], xmm0
je 0x47fc8b
xor esi, esi
cmp edi, 2
jl 0x47fc65
movaps xmm2, xmmword [0x9046b0]
mov eax, 4
movaps xmm4, xmmword [0x904740]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov esi, 8
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
movd xmm5, eax
mov eax, 0x1f
psrad xmm1, xmm5
movaps xmm0, xmm1
movd xmm6, eax
mov eax, 0x900758
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x9046d0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x9046c0]
paddd xmm2, xmmword [0x9046b0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x904710]
paddw xmm1, xmm0
movq xmm0, qword [eax]
pxor xmm1, xmm0
movaps xmm0, xmm2
movq qword [ebp - 0x2c], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x9046d0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x904710]
paddw xmm1, xmm0
movq xmm0, qword [ebp - 0x24]
pxor xmm1, xmm0
movq qword [ebp - 0x24], xmm1
mov eax, 0x4ec4ec4f
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x34
sub ecx, eax
add ecx, 0x35
xor word [ebp + esi*2 - 0x2c], cx
inc esi
cmp esi, 0xe
jl 0x47fc65
xor eax, eax
mov dword [0x181dd08], 0
lea ecx, [ebp - 0x2c]
mov dword [0x181dd0c], 7
mov word [0x181dcf8], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47fcb0
sub ecx, edx
lea eax, [ebp - 0x2c]
sar ecx, 1
push ecx
push eax
mov ecx, 0x181dcf8
call fcn.0040eb10
mov eax, 0x1f
mov byte [ebp - 4], 8
mov ecx, eax
lea edi, [ebp - 0xb8]
mov esi, 0x904340
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [0x1817094]
xor esi, esi
cmp edi, 2
jl 0x47fe20
movaps xmm4, xmmword [0x9046b0]
mov ecx, 4
movaps xmm3, xmmword [0x904740]
movaps xmm6, xmmword [0x9046d0]
movd xmm7, eax
movd xmm5, ecx
nop dword [eax + eax]
movd xmm0, esi
lea eax, [esi + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x904710]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0xb8]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + esi*2 - 0xb8], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x904710]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0xb0]
pxor xmm1, xmm0
movq qword [ebp + esi*2 - 0xb0], xmm1
add esi, 8
cmp esi, 0x38
jl 0x47fd20
cmp esi, 0x3f
jge 0x47fe49
nop dword [eax + eax]
mov eax, 0x4ec4ec4f
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x34
sub ecx, eax
add ecx, 0x35
xor word [ebp + esi*2 - 0xb8], cx
inc esi
cmp esi, 0x3f
jl 0x47fe20
xor eax, eax
mov dword [0x181dd20], 0
lea ecx, [ebp - 0xb8]
mov dword [0x181dd24], 7
mov word [0x181dd10], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47fe70
sub ecx, edx
lea eax, [ebp - 0xb8]
sar ecx, 1
push ecx
push eax
mov ecx, 0x181dd10
call fcn.0040eb10
mov byte [ebp - 4], 9
xor esi, esi
movups xmm0, xmmword [0x904268]
movups xmmword [ebp - 0x38], xmm0
movups xmm0, xmmword [0x904278]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [0x904288]
movq qword [ebp - 0x18], xmm0
cmp edi, 2
jl 0x47ffe0
movaps xmm4, xmmword [0x9046b0]
mov eax, 4
movaps xmm3, xmmword [0x904740]
movaps xmm6, xmmword [0x9046d0]
movd xmm5, eax
mov eax, 0x1f
movd xmm7, eax
nop word [eax + eax]
movd xmm0, esi
lea eax, [esi + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x904710]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x38]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + esi*2 - 0x38], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x904710]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x30]
pxor xmm1, xmm0
movq qword [ebp + esi*2 - 0x30], xmm1
add esi, 8
cmp esi, 0x10
jl 0x47fef0
cmp esi, 0x14
jge 0x480006
nop dword [eax]
mov eax, 0x4ec4ec4f
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x34
sub ecx, eax
add ecx, 0x35
xor word [ebp + esi*2 - 0x38], cx
inc esi
cmp esi, 0x14
jl 0x47ffe0
xor eax, eax
mov dword [0x181dd38], 0
lea ecx, [ebp - 0x38]
mov dword [0x181dd3c], 7
mov word [0x181dd28], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x480030
sub ecx, edx
lea eax, [ebp - 0x38]
sar ecx, 1
push ecx
push eax
mov ecx, 0x181dd28
call fcn.0040eb10
xor eax, eax
mov dword [0x181dd50], 0
mov dword [0x181dd54], 7
mov word [0x181dd40], ax
mov byte [ebp - 4], 0xb
xor esi, esi
movups xmm0, xmmword [0x904318]
movups xmmword [ebp - 0x38], xmm0
movups xmm0, xmmword [0x904328]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [0x904338]
movq qword [ebp - 0x18], xmm0
cmp edi, 2
jl 0x4801b0
movaps xmm4, xmmword [0x9046b0]
mov eax, 4
movaps xmm3, xmmword [0x904740]
movaps xmm6, xmmword [0x9046d0]
movd xmm5, eax
mov eax, 0x1f
movd xmm7, eax
movd xmm0, esi
lea eax, [esi + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x904710]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x38]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + esi*2 - 0x38], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x904710]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x30]
pxor xmm1, xmm0
movq qword [ebp + esi*2 - 0x30], xmm1
add esi, 8
cmp esi, 0x10
jl 0x4800c3
cmp esi, 0x14
jge 0x4801d6
nop
mov eax, 0x4ec4ec4f
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x34
sub ecx, eax
add ecx, 0x35
xor word [ebp + esi*2 - 0x38], cx
inc esi
cmp esi, 0x14
jl 0x4801b0
push 0x181dc50
lea edx, [ebp - 0x38]
mov ecx, 0x181dd58
call fcn.00474500
add esp, 4
mov byte [ebp - 4], 0xc
xor esi, esi
mov eax, dword [0x904310]
movq xmm0, qword [0x904308]
mov dword [ebp - 0x18], eax
mov ax, word [0x904314]
movq qword [ebp - 0x20], xmm0
mov word [ebp - 0x14], ax
mov eax, 0x4ec4ec4f
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x34
sub ecx, eax
add ecx, 0x35
xor word [ebp + esi*2 - 0x20], cx
inc esi
cmp esi, 7
jl 0x480210
xor eax, eax
mov dword [0x181dd80], 0
lea ecx, [ebp - 0x20]
mov dword [0x181dd84], 7
mov word [0x181dd70], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x480260
sub ecx, edx
lea eax, [ebp - 0x20]
sar ecx, 1
push ecx
push eax
mov ecx, 0x181dd70
call fcn.0040eb10
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbc]
xor eax, eax
mov dword [0x181dd9c], 7
mov word [ebp - 0xbc], ax
lea edx, [ecx + 2]
mov dword [0x181dd98], eax
mov word [0x181dd88], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4802b0
sub ecx, edx
lea eax, [ebp - 0xbc]
sar ecx, 1
push ecx
push eax
mov ecx, 0x181dd88
call fcn.0040eb10
mov byte [ebp - 4], 0xe
movups xmm0, xmmword [0x9042e0]
pextrw eax, xmm0, 7
movups xmmword [ebp - 0x20], xmm0
test ax, ax
je 0x480416
xor esi, esi
cmp edi, 2
jl 0x4803f0
movaps xmm2, xmmword [0x9046b0]
mov eax, 4
movaps xmm4, xmmword [0x904740]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
movd xmm5, eax
mov eax, 0x1f
psrad xmm1, xmm5
movaps xmm0, xmm1
movd xmm6, eax
mov eax, 0x9042e0
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x9046d0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x9046c0]
paddd xmm2, xmmword [0x9046b0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x904710]
paddw xmm1, xmm0
movq xmm0, qword [eax]
pxor xmm1, xmm0
movaps xmm0, xmm2
movq qword [ebp - 0x20], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x9046d0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x904710]
paddw xmm1, xmm0
movq xmm0, qword [ebp - 0x18]
pxor xmm1, xmm0
movq qword [ebp - 0x18], xmm1
jmp 0x480416
mov eax, 0x4ec4ec4f
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x34
sub ecx, eax
add ecx, 0x35
xor word [ebp + esi*2 - 0x20], cx
inc esi
cmp esi, 8
jl 0x4803f0
xor eax, eax
mov dword [0x181ddb0], 0
lea ecx, [ebp - 0x20]
mov dword [0x181ddb4], 7
mov word [0x181dda0], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x480440
sub ecx, edx
lea eax, [ebp - 0x20]
sar ecx, 1
push ecx
push eax
mov ecx, 0x181dda0
call fcn.0040eb10
xor ecx, ecx
mov dword [0x181ddc8], 0
mov dword [0x181ddcc], 7
mov eax, 0x181dc38
mov word [0x181ddb8], cx
mov dword [0x181ddd0], 1
mov dword [0x181ddd4], 1
mov dword [0x181ddd8], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c3e3a
mov esp, ebp
pop ebp
ret