Function at 0x100af0d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x102220c0]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10240d9c]
push esi
push edi
mov edi, dword [0x10240d90]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x105339c4]
cmp eax, dword [esi + 4]
jle 0x100af2e7
push 0x105339c4
call fcn.101b51bd
add esp, 4
cmp dword [0x105339c4], 0xffffffff
jne 0x100af2e7
cmp byte [0x102071ff], 0
mov eax, dword [0x1023fc88]
movups xmm0, xmmword [str.WYiTKTeISIaP6_01__GYZRRTIH__W_A]
mov ecx, dword [eax + 8]
mov eax, dword [0x102071fc]
mov dword [esp + 0xc], ecx
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x30], eax
je 0x100af2c9
xor edx, edx
mov dword [esp + 8], edx
cmp edi, 2
jl 0x100af296
movaps xmm0, xmmword [0x10214950]
lea ecx, [esp + 0x24]
movaps xmm4, xmmword [0x102147a0]
movaps xmm3, xmmword [0x10214900]
movaps xmm5, xmmword [0x10214850]
movaps xmmword [esp + 0x10], xmm0
mov eax, dword [esp + 0x10]
nop dword [eax]
movd xmm0, edx
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, 1
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 [0x102148e0]
packuswb xmm1, xmm1
movd xmm0, eax
lea eax, [edx + 4]
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x20]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + edx + 0x20], xmm1
paddd xmm2, xmm4
mov eax, dword [esp + 0x10]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 [0x102148e0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ecx + edx]
xorps xmm1, xmm0
movd dword [ecx + edx], xmm1
add edx, 8
cmp edx, 0x10
jl 0x100af190
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], edx
cmp edx, 0x14
jge 0x100af2c9
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 8]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x20], cl
inc edx
mov dword [esp + 8], edx
cmp edx, 0x14
jl 0x100af296
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
lea edx, [esp + 0x20]
push edx
mov eax, dword [eax + 0x3c]
call eax
push 0x105339c4
mov dword [0x105335b8], eax
call fcn.101b516c
add esp, 4
mov eax, dword [0x10533980]
cmp eax, dword [esi + 4]
jle 0x100af4d7
push 0x10533980
call fcn.101b51bd
add esp, 4
cmp dword [0x10533980], 0xffffffff
jne 0x100af4d7
mov eax, dword [0x1023fc88]
xor edx, edx
mov dword [esp + 8], edx
movups xmm0, xmmword [str.WYiTKTeV_EaL___3]
mov ecx, dword [eax + 8]
mov eax, dword [0x10207194]
mov dword [esp + 0x30], eax
mov ax, word [0x10207198]
mov word [esp + 0x34], ax
mov al, byte [0x1020719a]
mov dword [esp + 0xc], ecx
mov byte [esp + 0x36], al
movups xmmword [esp + 0x20], xmm0
cmp edi, 2
jl 0x100af486
movaps xmm0, xmmword [0x10214950]
lea ecx, [esp + 0x24]
movaps xmm4, xmmword [0x102147a0]
movaps xmm3, xmmword [0x10214900]
movaps xmm5, xmmword [0x10214850]
movaps xmmword [esp + 0x10], xmm0
mov eax, dword [esp + 0x10]
nop
movd xmm0, edx
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, 1
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 [0x102148e0]
packuswb xmm1, xmm1
movd xmm0, eax
lea eax, [edx + 4]
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x20]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + edx + 0x20], xmm1
paddd xmm2, xmm4
mov eax, dword [esp + 0x10]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 [0x102148e0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ecx + edx]
xorps xmm1, xmm0
movd dword [ecx + edx], xmm1
add edx, 8
cmp edx, 0x10
jl 0x100af380
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], edx
cmp edx, 0x17
jge 0x100af4b9
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 8]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x20], cl
inc edx
mov dword [esp + 8], edx
cmp edx, 0x17
jl 0x100af486
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
lea edx, [esp + 0x20]
push edx
mov eax, dword [eax + 0x3c]
call eax
push 0x10533980
mov dword [0x10533984], eax
call fcn.101b516c
add esp, 4
mov eax, dword [0x1053392c]
cmp eax, dword [esi + 4]
jle 0x100af691
push 0x1053392c
call fcn.101b51bd
add esp, 4
cmp dword [0x1053392c], 0xffffffff
jne 0x100af691
mov eax, dword [0x1023fc88]
xor edx, edx
movq xmm0, qword [str.WYiTKTeISIaG_]
mov dword [esp + 8], edx
mov eax, dword [eax + 8]
mov dword [esp + 0xc], eax
mov eax, dword [0x10207340]
mov dword [esp + 0x18], eax
mov al, byte [0x10207344]
movq qword [esp + 0x10], xmm0
mov byte [esp + 0x1c], al
cmp edi, 2
jl 0x100af640
movaps xmm2, xmmword [0x102147a0]
mov edx, 8
movaps xmm4, xmmword [0x10214900]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
mov eax, dword [0x10214950]
movaps xmm0, xmm1
mov dword [esp + 8], edx
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10214850]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x102147e0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x102148e0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.WYiTKTeISIaG_]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x10], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10214850]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x102148e0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x14]
xorps xmm1, xmm0
movd dword [esp + 0x14], xmm1
nop dword [eax + eax]
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 8]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x10], cl
inc edx
mov dword [esp + 8], edx
cmp edx, 0xd
jl 0x100af640
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
push 0x1053392c
mov dword [0x10533928], eax
call fcn.101b516c
add esp, 4
mov eax, dword [0x105339a8]
cmp eax, dword [esi + 4]
jle 0x100af83f
push 0x105339a8
call fcn.101b51bd
add esp, 4
cmp dword [0x105339a8], 0xffffffff
jne 0x100af83f
mov eax, dword [0x1023fc88]
xor edx, edx
movq xmm0, qword [str.WYiTKTeISIaF_]
mov dword [esp + 8], edx
mov esi, dword [eax + 8]
mov eax, dword [0x102071a4]
mov dword [esp + 0x18], eax
mov al, byte [0x102071a8]
movq qword [esp + 0x10], xmm0
mov byte [esp + 0x1c], al
cmp edi, 2
jl 0x100af7f0
movaps xmm2, xmmword [0x102147a0]
mov edx, 8
movaps xmm4, xmmword [0x10214900]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
mov eax, dword [0x10214950]
movaps xmm0, xmm1
mov dword [esp + 8], edx
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10214850]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x102147e0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x102148e0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.WYiTKTeISIaF_]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x10], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10214850]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x102148e0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x14]
xorps xmm1, xmm0
movd dword [esp + 0x14], xmm1
nop
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 8]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x10], cl
inc edx
mov dword [esp + 8], edx
cmp edx, 0xd
jl 0x100af7f0
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x3c]
call eax
push 0x105339a8
mov dword [0x105339dc], eax
call fcn.101b516c
add esp, 4
mov eax, dword [0x1023fc80]
cmp byte [eax + 0x15aa], 0
jne 0x100af8b8
cmp byte [eax + 0x15ac], 0
je 0x100af8b8
mov ecx, dword [0x10533984]
push 0x320
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x105335b8]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x10533928]
mov eax, dword [0x1023fc80]
mov edx, dword [ecx]
push dword [eax + 0x15b0]
mov eax, dword [edx + 0x40]
call eax
mov ecx, dword [0x105339dc]
mov eax, dword [0x1023fc80]
mov edx, dword [ecx]
push dword [eax + 0x15b4]
mov eax, dword [edx + 0x40]
call eax
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.101b4c2a
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x105335b8]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
xor ecx, esp
call fcn.101b4c2a
mov esp, ebp
pop ebp
ret