Function at 0x1003cf40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x44
mov eax, dword [0x102220c0]
xor eax, esp
mov dword [esp + 0x40], eax
cmp byte [0x101eeafb], 0
movq xmm0, qword [str.DXMWdOI_M4ATXU_e_Y_KL__B]
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
mov dword [esi], 0x101eebd4
mov eax, dword [0x1023fc88]
mov edi, dword [0x10240d90]
mov ecx, dword [eax + 0x20]
mov eax, dword [0x101eeaf8]
mov dword [esp + 0x18], ecx
movq qword [esp + 0x20], xmm0
mov dword [esp + 0x28], eax
je 0x1003d0c2
xor ebx, ebx
cmp edi, 2
jl 0x1003d096
movaps xmm2, xmmword [0x10214950]
mov ebx, 8
movaps xmm3, xmmword [0x10214d20]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x102149b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10214990]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
movd xmm0, dword [str.DXMWdOI_M4ATXU_e_Y_KL__B]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10214a90]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x20], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x102149b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
movd xmm0, dword [esp + 0x24]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10214a90]
xorps xmm1, xmm0
movd dword [esp + 0x24], xmm1
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + ebx + 0x20], cl
inc ebx
cmp ebx, 0xc
jl 0x1003d096
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
lea edx, [esp + 0x20]
push 0
push edx
push esi
mov eax, dword [eax + 0xc]
call eax
mov eax, dword [0x1023fc88]
xor ebx, ebx
movups xmm0, xmmword [str.DXMWdZO_Z:_]
mov ecx, dword [eax + 0x20]
mov al, byte [0x101eeae0]
mov dword [esp + 0x18], ecx
mov byte [esp + 0x44], al
movups xmmword [esp + 0x34], xmm0
cmp edi, 2
jl 0x1003d230
movaps xmm0, xmmword [0x10214a90]
lea esi, [esp + 0x38]
movaps xmm4, xmmword [0x10214950]
movaps xmm3, xmmword [0x10214d20]
movaps xmm5, xmmword [0x102149b0]
movaps xmmword [esp + 0x20], xmm0
mov edx, dword [esp + 0x20]
nop word [eax + eax]
movd xmm0, ebx
lea eax, [ebx + 4]
pshufd xmm2, xmm0, 0
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, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x34]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x34], 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, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebx + esi]
xorps xmm1, xmm0
movd dword [ebx + esi], xmm1
add ebx, 8
cmp ebx, 0x10
jl 0x1003d130
mov esi, dword [esp + 0x1c]
cmp ebx, 0x11
jge 0x1003d25c
nop
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + ebx + 0x34], cl
inc ebx
cmp ebx, 0x11
jl 0x1003d230
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
lea edx, [esp + 0x34]
push 0
push edx
push esi
mov eax, dword [eax + 0xc]
call eax
cmp byte [0x101eeb67], 0
mov eax, dword [0x1023fc88]
movq xmm0, qword [str.F_Y__IcUKM4AF_Y__IcY_4_B]
mov ecx, dword [eax + 0x20]
mov eax, dword [0x101eeb64]
mov dword [esp + 0x18], ecx
movq qword [esp + 0x20], xmm0
mov dword [esp + 0x28], eax
je 0x1003d3cc
xor ebx, ebx
cmp edi, 2
jl 0x1003d3a0
movaps xmm2, xmmword [0x10214950]
mov ebx, 8
movaps xmm4, xmmword [0x10214d20]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov eax, dword [0x10214a90]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x102149b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10214990]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.F_Y__IcUKM4AF_Y__IcY_4_B]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x20], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x102149b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x24]
xorps xmm1, xmm0
movd dword [esp + 0x24], xmm1
nop dword [eax]
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + ebx + 0x20], cl
inc ebx
cmp ebx, 0xc
jl 0x1003d3a0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
lea edx, [esp + 0x20]
push 0
push edx
push esi
mov eax, dword [eax + 0xc]
call eax
mov eax, dword [0x1023fc88]
xor ebx, ebx
movq xmm0, qword [str.TXU_eKPPK__B]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [0x101eebcc]
mov dword [esp + 0x28], eax
mov al, byte [0x101eebd0]
movq qword [esp + 0x20], xmm0
mov byte [esp + 0x2c], al
cmp edi, 2
jl 0x1003d510
movaps xmm2, xmmword [0x10214950]
mov ebx, 8
movaps xmm4, xmmword [0x10214d20]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov eax, dword [0x10214a90]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x102149b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10214990]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.TXU_eKPPK__B]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x20], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x102149b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x24]
xorps xmm1, xmm0
movd dword [esp + 0x24], xmm1
nop dword [eax]
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + ebx + 0x20], cl
inc ebx
cmp ebx, 0xd
jl 0x1003d510
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push 0
push edx
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov eax, dword [0x1023fc88]
movups xmm0, xmmword [0x101eeb18]
mov eax, dword [eax + 0x20]
movups xmmword [esp + 0x34], xmm0
mov dword [esp + 0x18], eax
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x1003d6cf
xor ebx, ebx
cmp edi, 2
jl 0x1003d6a7
movaps xmm0, xmmword [0x10214a90]
lea ebx, [esp + 0x38]
movaps xmm4, xmmword [0x10214950]
xor ecx, ecx
movaps xmm3, xmmword [0x10214d20]
movaps xmm5, xmmword [0x102149b0]
movaps xmmword [esp + 0x20], xmm0
mov edx, dword [esp + 0x20]
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
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x34]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ecx + 0x34], 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, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ecx + ebx]
xorps xmm1, xmm0
movd dword [ecx + ebx], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x1003d5b0
jmp 0x1003d6cf
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + ebx + 0x34], cl
inc ebx
cmp ebx, 0x10
jl 0x1003d6a7
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x34]
push 0
push edx
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
cmp byte [0x101eeb17], 0
mov eax, dword [0x1023fc88]
movq xmm0, qword [str.ARYIUUc_WM_AXKM_YbXP___47ETXU_eYYZWQ___67_F]
mov ecx, dword [eax + 0x20]
mov eax, dword [0x101eeb14]
mov dword [esp + 0x18], ecx
movq qword [esp + 0x20], xmm0
mov dword [esp + 0x28], eax
je 0x1003d840
xor ebx, ebx
cmp edi, 2
jl 0x1003d814
movaps xmm2, xmmword [0x10214950]
mov ebx, 8
movaps xmm4, xmmword [0x10214d20]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov eax, dword [0x10214a90]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x102149b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10214990]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.ARYIUUc_WM_AXKM_YbXP___47ETXU_eYYZWQ___67_F]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x20], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x102149b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x24]
xorps xmm1, xmm0
movd dword [esp + 0x24], xmm1
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + ebx + 0x20], cl
inc ebx
cmp ebx, 0xc
jl 0x1003d814
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
lea edx, [esp + 0x20]
push 0
push edx
push esi
mov eax, dword [eax + 0xc]
call eax
mov eax, dword [0x1023fc88]
movq xmm0, qword [str._C_TeKIO_W_2C]
mov ecx, dword [eax + 0x20]
mov eax, dword [0x101eeb44]
mov dword [esp + 0x28], eax
mov ax, word [0x101eeb48]
mov dword [esp + 0x18], ecx
movq qword [esp + 0x20], xmm0
mov word [esp + 0x2c], ax
test ah, ah
je 0x1003d9b3
xor ebx, ebx
cmp edi, 2
jl 0x1003d987
movaps xmm2, xmmword [0x10214950]
mov ebx, 8
movaps xmm4, xmmword [0x10214d20]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov eax, dword [0x10214a90]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x102149b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10214990]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str._C_TeKIO_W_2C]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x20], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x102149b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x24]
xorps xmm1, xmm0
movd dword [esp + 0x24], xmm1
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + ebx + 0x20], cl
inc ebx
cmp ebx, 0xe
jl 0x1003d987
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
lea edx, [esp + 0x20]
push 0
push edx
push esi
mov eax, dword [eax + 0xc]
call eax
mov eax, dword [0x1023fc88]
movups xmm0, xmmword [str.EZWR_NXP__]
mov ecx, dword [eax + 0x20]
mov eax, dword [0x101eeb9c]
mov dword [esp + 0x44], eax
mov ax, word [0x101eeba0]
mov dword [esp + 0x18], ecx
mov word [esp + 0x48], ax
movups xmmword [esp + 0x34], xmm0
test ah, ah
je 0x1003db5c
xor ebx, ebx
cmp edi, 2
jl 0x1003db30
movaps xmm0, xmmword [0x10214a90]
lea esi, [esp + 0x38]
movaps xmm4, xmmword [0x10214950]
movaps xmm3, xmmword [0x10214d20]
movaps xmm5, xmmword [0x102149b0]
movaps xmmword [esp + 0x20], xmm0
mov edx, dword [esp + 0x20]
nop word [eax + eax]
movd xmm0, ebx
lea eax, [ebx + 4]
pshufd xmm2, xmm0, 0
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, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x34]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x34], 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, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebx + esi]
xorps xmm1, xmm0
movd dword [ebx + esi], xmm1
add ebx, 8
cmp ebx, 0x10
jl 0x1003da30
mov esi, dword [esp + 0x1c]
cmp ebx, 0x16
jge 0x1003db5c
nop
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + ebx + 0x34], cl
inc ebx
cmp ebx, 0x16
jl 0x1003db30
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
lea edx, [esp + 0x34]
push 0
push edx
push esi
mov eax, dword [eax + 0xc]
call eax
mov eax, dword [0x1023fc88]
xor ebx, ebx
movups xmm0, xmmword [str._XTVNTJbZZ4.__0_F]
mov edx, dword [eax + 0x20]
mov al, byte [0x101eeb88]
mov dword [esp + 0x18], edx
mov byte [esp + 0x44], al
movups xmmword [esp + 0x34], xmm0
cmp edi, 2
jl 0x1003dcc0
movaps xmm0, xmmword [0x10214a90]
lea esi, [esp + 0x38]
movaps xmm4, xmmword [0x10214950]
movaps xmm3, xmmword [0x10214d20]
movaps xmm5, xmmword [0x102149b0]
movaps xmmword [esp + 0x20], xmm0
mov ecx, dword [esp + 0x20]
movd xmm0, ebx
lea eax, [ebx + 4]
pshufd xmm2, xmm0, 0
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, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x34]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x34], 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, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebx + esi]
xorps xmm1, xmm0
movd dword [ebx + esi], xmm1
add ebx, 8
cmp ebx, 0x10
jl 0x1003dbc0
mov esi, dword [esp + 0x1c]
cmp ebx, 0x11
jge 0x1003dcec
nop
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + ebx + 0x34], cl
inc ebx
cmp ebx, 0x11
jl 0x1003dcc0
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
lea ecx, [esp + 0x34]
push 0
push ecx
push esi
mov eax, dword [eax + 0xc]
mov ecx, edx
call eax
mov eax, dword [0x1023fc88]
xor ebx, ebx
movq xmm0, qword [0x101eebb4]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [0x101eebbc]
mov dword [esp + 0x28], eax
mov ax, word [0x101eebc0]
mov word [esp + 0x2c], ax
mov al, byte [0x101eebc2]
movq qword [esp + 0x20], xmm0
mov byte [esp + 0x2e], al
cmp edi, 2
jl 0x1003de36
movaps xmm2, xmmword [0x10214950]
mov ebx, 8
movaps xmm4, xmmword [0x10214d20]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov eax, dword [0x10214a90]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x102149b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10214990]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x101eebb4]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x20], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x102149b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x24]
xorps xmm1, xmm0
movd dword [esp + 0x24], xmm1
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + ebx + 0x20], cl
inc ebx
cmp ebx, 0xf
jl 0x1003de36
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push 0
push edx
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov eax, dword [0x1023fc88]
movq xmm0, qword [str.TBTU_OcTSO__6C]
mov ecx, dword [eax + 0x20]
mov eax, dword [0x101eeb54]
mov dword [esp + 0x28], eax
mov ax, word [0x101eeb58]
mov dword [esp + 0x18], ecx
movq qword [esp + 0x20], xmm0
mov word [esp + 0x2c], ax
test ah, ah
je 0x1003dfdc
xor ebx, ebx
cmp edi, 2
jl 0x1003dfb0
movaps xmm2, xmmword [0x10214950]
mov ebx, 8
movaps xmm4, xmmword [0x10214d20]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov eax, dword [0x10214a90]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x102149b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10214990]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.TBTU_OcTSO__6C]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x20], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x102149b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x24]
xorps xmm1, xmm0
movd dword [esp + 0x24], xmm1
nop dword [eax]
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + ebx + 0x20], cl
inc ebx
cmp ebx, 0xe
jl 0x1003dfb0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
lea edx, [esp + 0x20]
push 0
push edx
push esi
mov eax, dword [eax + 0xc]
call eax
mov eax, dword [0x1023fc88]
xor ebx, ebx
movq xmm0, qword [0x101eeb68]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [0x101eeb70]
mov dword [esp + 0x28], eax
mov al, byte [0x101eeb74]
movq qword [esp + 0x20], xmm0
mov byte [esp + 0x2c], al
cmp edi, 2
jl 0x1003e120
movaps xmm2, xmmword [0x10214950]
mov ebx, 8
movaps xmm4, xmmword [0x10214d20]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov eax, dword [0x10214a90]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x102149b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10214990]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x101eeb68]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x20], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x102149b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x24]
xorps xmm1, xmm0
movd dword [esp + 0x24], xmm1
nop dword [eax]
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + ebx + 0x20], cl
inc ebx
cmp ebx, 0xd
jl 0x1003e120
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push 0
push edx
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov eax, dword [0x1023fc88]
movq xmm0, qword [str._XLeX_NJ_]
mov ecx, dword [eax + 0x20]
mov ax, word [0x101eeac0]
mov dword [esp + 0x18], ecx
movq qword [esp + 0x20], xmm0
mov word [esp + 0x28], ax
test ah, ah
je 0x1003e1ab
xor ebx, ebx
mov eax, 0x5397829d
mov cl, bl
mul ebx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + ebx + 0x20], cl
inc ebx
cmp ebx, 0xa
jl 0x1003e186
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
lea edx, [esp + 0x20]
push 0
push edx
push esi
mov eax, dword [eax + 0xc]
call eax
mov eax, dword [0x1023fc88]
xor ebx, ebx
movups xmm0, xmmword [0x101eeb28]
mov edx, dword [eax + 0x20]
mov al, byte [0x101eeb38]
mov dword [esp + 0x18], edx
mov byte [esp + 0x44], al
movups xmmword [esp + 0x34], xmm0
cmp edi, 2
jl 0x1003e310
movaps xmm0, xmmword [0x10214a90]
lea esi, [esp + 0x38]
movaps xmm4, xmmword [0x10214950]
movaps xmm3, xmmword [0x10214d20]
movaps xmm5, xmmword [0x102149b0]
movaps xmmword [esp + 0x20], xmm0
mov ecx, dword [esp + 0x20]
nop
movd xmm0, ebx
lea eax, [ebx + 4]
pshufd xmm2, xmm0, 0
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, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x34]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x34], 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, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebx + esi]
xorps xmm1, xmm0
movd dword [ebx + esi], xmm1
add ebx, 8
cmp ebx, 0x10
jl 0x1003e210
mov esi, dword [esp + 0x1c]
cmp ebx, 0x11
jge 0x1003e33c
nop
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + ebx + 0x34], cl
inc ebx
cmp ebx, 0x11
jl 0x1003e310
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
lea ecx, [esp + 0x34]
push 0
push ecx
push esi
mov eax, dword [eax + 0xc]
mov ecx, edx
call eax
mov eax, dword [0x1023fc88]
movups xmm0, xmmword [str.TXU_eYYZWQ0__0E_YHUSb_G0_0D]
mov eax, dword [eax + 0x20]
movups xmmword [esp + 0x34], xmm0
mov dword [esp + 0x18], eax
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x1003e4cf
xor ebx, ebx
cmp edi, 2
jl 0x1003e4a7
movaps xmm0, xmmword [0x10214a90]
lea ebx, [esp + 0x38]
movaps xmm4, xmmword [0x10214950]
xor ecx, ecx
movaps xmm3, xmmword [0x10214d20]
movaps xmm5, xmmword [0x102149b0]
movaps xmmword [esp + 0x20], xmm0
mov edx, dword [esp + 0x20]
nop dword [eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
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, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x34]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ecx + 0x34], 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, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ecx + ebx]
xorps xmm1, xmm0
movd dword [ecx + ebx], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x1003e3b0
jmp 0x1003e4cf
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + ebx + 0x34], cl
inc ebx
cmp ebx, 0x10
jl 0x1003e4a7
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x34]
push 0
push edx
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov eax, dword [0x1023fc88]
xor ebx, ebx
movq xmm0, qword [0x101eeafc]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [0x101eeb04]
mov dword [esp + 0x28], eax
mov al, byte [0x101eeb08]
movq qword [esp + 0x20], xmm0
mov byte [esp + 0x2c], al
cmp edi, 2
jl 0x1003e610
movaps xmm2, xmmword [0x10214950]
mov ebx, 8
movaps xmm4, xmmword [0x10214d20]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov eax, dword [0x10214a90]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x102149b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10214990]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x101eeafc]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x20], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x102149b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x24]
xorps xmm1, xmm0
movd dword [esp + 0x24], xmm1
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + ebx + 0x20], cl
inc ebx
cmp ebx, 0xd
jl 0x1003e610
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push 0
push edx
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov eax, dword [0x1023fc88]
xor ebx, ebx
movq xmm0, qword [str.F_Y__IcN_F_]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x18], eax
mov ax, word [0x101eeacc]
mov word [esp + 0x28], ax
mov al, byte [0x101eeace]
movq qword [esp + 0x20], xmm0
mov byte [esp + 0x2a], al
nop dword [eax + eax]
mov eax, 0x5397829d
mov cl, bl
mul ebx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + ebx + 0x20], cl
inc ebx
cmp ebx, 0xb
jl 0x1003e680
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push 0
push edx
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov eax, dword [0x1023fc7c]
xor ebx, ebx
movq xmm0, qword [0x101eeb68]
mov eax, dword [eax + 0xa4]
mov dword [esp + 0x18], eax
mov eax, dword [0x101eeb70]
mov dword [esp + 0x28], eax
mov al, byte [0x101eeb74]
movq qword [esp + 0x20], xmm0
mov byte [esp + 0x2c], al
cmp edi, 2
jl 0x1003e7e5
movaps xmm2, xmmword [0x10214950]
mov ebx, 8
movaps xmm4, xmmword [0x10214d20]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov eax, dword [0x10214a90]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x102149b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10214990]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x101eeb68]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x20], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x102149b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x24]
xorps xmm1, xmm0
movd dword [esp + 0x24], xmm1
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + ebx + 0x20], cl
inc ebx
cmp ebx, 0xd
jl 0x1003e7e5
mov eax, dword [0x1023fc88]
lea ecx, [esp + 0x20]
push 0
push ecx
mov ecx, dword [eax + 0x20]
call dword [esp + 0x20]
test eax, eax
je 0x1003e84d
mov edi, dword [eax + 0xc]
mov ecx, dword [eax + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [edi]
lea esi, [edi + ecx*4]
mov ecx, dword [esi - 4]
mov dword [edi], ecx
mov dword [esi - 4], edx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.101b579a
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x4c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101b579a
mov esp, ebp
pop ebp
ret