Function at 0x100a74b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x101f90c0]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1021551c]
push esi
push edi
mov edi, dword [0x10215510]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x103dbe6c]
cmp eax, dword [esi + 4]
jle 0x100a76db
push 0x103dbe6c
call fcn.1018e65d
add esp, 4
cmp dword [0x103dbe6c], 0xffffffff
jne 0x100a76db
cmp byte [0x101df21b], 0
mov eax, dword [0x10214410]
movups xmm0, xmmword [str.WYiTKTeISIaP6_01__GDTDV_QOOY]
mov edx, dword [eax + 8]
mov eax, dword [0x101df218]
mov dword [esp + 0xc], edx
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x30], eax
je 0x100a76bb
xor ecx, ecx
mov dword [esp + 8], ecx
cmp edi, 2
jl 0x100a7680
movaps xmm0, xmmword [str.4444444444444444]
lea edx, [esp + 0x24]
movaps xmm4, xmmword [0x101eb880]
movaps xmm3, xmmword [0x101ebc90]
movaps xmm5, xmmword [0x101eb910]
movaps xmmword [esp + 0x10], xmm0
mov eax, dword [esp + 0x10]
nop dword [eax]
movd xmm0, ecx
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x101eb990]
packuswb xmm1, xmm1
movd xmm0, eax
lea eax, [ecx + 4]
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x20]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ecx + 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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x101eb990]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [edx + ecx]
xorps xmm1, xmm0
movd dword [edx + ecx], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x100a7570
mov edx, dword [esp + 0xc]
mov dword [esp + 8], ecx
cmp ecx, 0x14
jge 0x100a76bb
nop
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [esp + 8]
shl cl, 3
sub al, cl
mov ecx, dword [esp + 8]
add al, 0x34
xor byte [esp + ecx + 0x20], al
inc ecx
mov dword [esp + 8], ecx
cmp ecx, 0x14
jl 0x100a7680
mov edx, dword [esp + 0xc]
mov eax, dword [edx]
lea ecx, [esp + 0x20]
push ecx
mov ecx, edx
mov eax, dword [eax + 0x3c]
call eax
push 0x103dbe6c
mov dword [0x103dba68], eax
call fcn.1018e60c
add esp, 4
mov eax, dword [0x103dbe30]
cmp eax, dword [esi + 4]
jle 0x100a78dc
push 0x103dbe30
call fcn.1018e65d
add esp, 4
cmp dword [0x103dbe30], 0xffffffff
jne 0x100a78dc
mov eax, dword [0x10214410]
xor ecx, ecx
mov dword [esp + 8], ecx
movups xmm0, xmmword [str.WYiTKTeV_EaL___3]
mov edx, dword [eax + 8]
mov eax, dword [0x101df238]
mov dword [esp + 0x30], eax
mov ax, word [0x101df23c]
mov word [esp + 0x34], ax
mov al, byte [0x101df23e]
mov dword [esp + 0xc], edx
mov byte [esp + 0x36], al
movups xmmword [esp + 0x20], xmm0
cmp edi, 2
jl 0x100a7881
movaps xmm0, xmmword [str.4444444444444444]
lea edx, [esp + 0x24]
movaps xmm4, xmmword [0x101eb880]
movaps xmm3, xmmword [0x101ebc90]
movaps xmm5, xmmword [0x101eb910]
movaps xmmword [esp + 0x10], xmm0
mov eax, dword [esp + 0x10]
movd xmm0, ecx
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x101eb990]
packuswb xmm1, xmm1
movd xmm0, eax
lea eax, [ecx + 4]
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x20]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ecx + 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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x101eb990]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [edx + ecx]
xorps xmm1, xmm0
movd dword [edx + ecx], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x100a7773
mov edx, dword [esp + 0xc]
mov dword [esp + 8], ecx
cmp ecx, 0x17
jge 0x100a78bc
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [esp + 8]
shl cl, 3
sub al, cl
mov ecx, dword [esp + 8]
add al, 0x34
xor byte [esp + ecx + 0x20], al
inc ecx
mov dword [esp + 8], ecx
cmp ecx, 0x17
jl 0x100a7881
mov edx, dword [esp + 0xc]
mov eax, dword [edx]
lea ecx, [esp + 0x20]
push ecx
mov ecx, edx
mov eax, dword [eax + 0x3c]
call eax
push 0x103dbe30
mov dword [0x103dbe34], eax
call fcn.1018e60c
add esp, 4
mov eax, dword [0x103dbddc]
cmp eax, dword [esi + 4]
jle 0x100a7a9e
push 0x103dbddc
call fcn.1018e65d
add esp, 4
cmp dword [0x103dbddc], 0xffffffff
jne 0x100a7a9e
mov eax, dword [0x10214410]
xor ecx, ecx
movq xmm0, qword [str.WYiTKTeISIaG_]
mov dword [esp + 8], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0xc], eax
mov eax, dword [0x101df068]
mov dword [esp + 0x18], eax
mov al, byte [0x101df06c]
movq qword [esp + 0x10], xmm0
mov byte [esp + 0x1c], al
cmp edi, 2
jl 0x100a7a45
movaps xmm2, xmmword [0x101eb880]
mov ecx, 8
movaps xmm4, xmmword [0x101ebc90]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
mov eax, dword [str.4444444444444444]
psrad xmm1, 5
mov dword [esp + 8], ecx
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101eb910]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101eb8c0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb990]
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
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101eb910]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb990]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x14]
xorps xmm1, xmm0
movd dword [esp + 0x14], xmm1
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [esp + 8]
shl cl, 3
sub al, cl
mov ecx, dword [esp + 8]
add al, 0x34
xor byte [esp + ecx + 0x10], al
inc ecx
mov dword [esp + 8], ecx
cmp ecx, 0xd
jl 0x100a7a45
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
push 0x103dbddc
mov dword [0x103dbdd8], eax
call fcn.1018e60c
add esp, 4
mov eax, dword [0x103dbe50]
cmp eax, dword [esi + 4]
jle 0x100a7c5a
push 0x103dbe50
call fcn.1018e65d
add esp, 4
cmp dword [0x103dbe50], 0xffffffff
jne 0x100a7c5a
mov eax, dword [0x10214410]
xor ecx, ecx
movq xmm0, qword [str.WYiTKTeISIaF_]
mov dword [esp + 8], ecx
mov esi, dword [eax + 8]
mov eax, dword [0x101df248]
mov dword [esp + 0x18], eax
mov al, byte [0x101df24c]
movq qword [esp + 0x10], xmm0
mov byte [esp + 0x1c], al
cmp edi, 2
jl 0x100a7c03
movaps xmm2, xmmword [0x101eb880]
mov ecx, 8
movaps xmm4, xmmword [0x101ebc90]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
mov eax, dword [str.4444444444444444]
psrad xmm1, 5
mov dword [esp + 8], ecx
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101eb910]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101eb8c0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb990]
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
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101eb910]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb990]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x14]
xorps xmm1, xmm0
movd dword [esp + 0x14], xmm1
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [esp + 8]
shl cl, 3
sub al, cl
mov ecx, dword [esp + 8]
add al, 0x34
xor byte [esp + ecx + 0x10], al
inc ecx
mov dword [esp + 8], ecx
cmp ecx, 0xd
jl 0x100a7c03
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x3c]
call eax
push 0x103dbe50
mov dword [0x103dbe84], eax
call fcn.1018e60c
add esp, 4
mov eax, dword [0x10214408]
cmp byte [eax + 0x1498], 0
jne 0x100a7cd7
cmp byte [eax + 0x149c], 0
je 0x100a7cd7
mov ecx, dword [0x103dbe34]
push 0x320
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x103dba68]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x103dbdd8]
mov eax, dword [0x10214408]
mov edx, dword [ecx]
push dword [eax + 0x14a0]
mov eax, dword [edx + 0x40]
call eax
mov ecx, dword [0x103dbe84]
mov eax, dword [0x10214408]
mov edx, dword [ecx]
push dword [eax + 0x14a4]
mov eax, dword [edx + 0x40]
call eax
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.1018e0ca
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x103dba68]
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.1018e0ca
mov esp, ebp
pop ebp
ret