Function at 0x100a40f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [0x101f80c0]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword fs:[0x2c]
mov edx, dword [0x1021451c]
push ebx
mov bl, cl
mov edx, dword [eax + edx*4]
mov eax, dword [0x103da6e8]
cmp eax, dword [edx + 4]
jle 0x100a414a
push 0x103da6e8
call fcn.1018e03f
add esp, 4
cmp dword [0x103da6e8], 0xffffffff
jne 0x100a414a
push 0x101b9ba0
call fcn.1018dd88
push 0x103da6e8
call fcn.1018dfee
add esp, 8
cmp byte [0x103d7a24], 0
jne 0x100a4736
mov eax, dword [0x10213410]
movq xmm0, qword [str.V_Z__MeRQM_4A]
push esi
mov esi, dword [0x10214510]
push edi
mov edi, dword [eax + 0x20]
mov eax, dword [0x101c69c8]
mov dword [esp + 0x14], eax
mov ax, word [0x101c69cc]
movq qword [esp + 0xc], xmm0
mov word [esp + 0x18], ax
test ah, ah
je 0x100a42b8
xor ebx, ebx
cmp esi, 2
jl 0x100a4290
movaps xmm2, xmmword [0x101ea800]
mov ebx, 8
movaps xmm3, xmmword [0x101eabf0]
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 [0x101ea860]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ea840]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ea930]
movd xmm0, dword [str.V_Z__MeRQM_4A]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.44444444444444447777777777777777]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0xc], 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 [0x101ea860]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ea930]
movd xmm0, dword [esp + 0x10]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.44444444444444447777777777777777]
xorps xmm1, xmm0
movd dword [esp + 0x10], xmm1
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, 0x34
xor byte [esp + ebx + 0xc], cl
inc ebx
cmp ebx, 0xe
jl 0x100a4290
mov eax, dword [edi]
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x102128c0
mov eax, dword [eax + 0xc]
mov ecx, edi
call eax
cmp byte [0x101c698b], 0
mov eax, dword [0x10213410]
movq xmm0, qword [str.DYWN_KeSIOJ___PRJWUdYENV2_B]
mov edi, dword [eax + 0x20]
mov eax, dword [0x101c6988]
movq qword [esp + 0xc], xmm0
mov dword [esp + 0x14], eax
je 0x100a4428
xor ebx, ebx
cmp esi, 2
jl 0x100a4400
movaps xmm2, xmmword [0x101ea800]
mov ebx, 8
movaps xmm4, xmmword [0x101eabf0]
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 [str.44444444444444447777777777777777]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ea860]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ea840]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ea930]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.DYWN_KeSIOJ___PRJWUdYENV2_B]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0xc], 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 [0x101ea860]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ea930]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x10]
xorps xmm1, xmm0
movd dword [esp + 0x10], xmm1
nop dword [eax + 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, 0x34
xor byte [esp + ebx + 0xc], cl
inc ebx
cmp ebx, 0xc
jl 0x100a4400
mov eax, dword [edi]
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x102128c4
mov eax, dword [eax + 0xc]
mov ecx, edi
call eax
cmp byte [0x101c6973], 0
mov eax, dword [0x10213410]
movq xmm0, qword [0x101c6968]
mov edi, dword [eax + 0x20]
mov eax, dword [0x101c6970]
movq qword [esp + 0xc], xmm0
mov dword [esp + 0x14], eax
je 0x100a4598
xor ebx, ebx
cmp esi, 2
jl 0x100a4570
movaps xmm2, xmmword [0x101ea800]
mov ebx, 8
movaps xmm4, xmmword [0x101eabf0]
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 [str.44444444444444447777777777777777]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ea860]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ea840]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ea930]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x101c6968]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0xc], 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 [0x101ea860]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ea930]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x10]
xorps xmm1, xmm0
movd dword [esp + 0x10], xmm1
nop dword [eax + 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, 0x34
xor byte [esp + ebx + 0xc], cl
inc ebx
cmp ebx, 0xc
jl 0x100a4570
mov eax, dword [edi]
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x102128c8
mov eax, dword [eax + 0xc]
mov ecx, edi
call eax
cmp byte [0x101c6967], 0
mov eax, dword [0x10213410]
movq xmm0, qword [str.CPWGWWe_UO__FZCY_fIO_OJ_DYWN_KeH_D_]
mov edi, dword [eax + 0x20]
mov eax, dword [0x101c6964]
movq qword [esp + 0xc], xmm0
mov dword [esp + 0x14], eax
je 0x100a4708
xor ebx, ebx
cmp esi, 2
jl 0x100a46e0
movaps xmm2, xmmword [0x101ea800]
mov ebx, 8
movaps xmm4, xmmword [0x101eabf0]
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 [str.44444444444444447777777777777777]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ea860]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ea840]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ea930]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.CPWGWWe_UO__FZCY_fIO_OJ_DYWN_KeH_D_]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0xc], 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 [0x101ea860]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ea930]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x10]
xorps xmm1, xmm0
movd dword [esp + 0x10], xmm1
nop dword [eax + 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, 0x34
xor byte [esp + ebx + 0xc], cl
inc ebx
cmp ebx, 0xc
jl 0x100a46e0
mov eax, dword [edi]
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x102128cc
mov eax, dword [eax + 0xc]
mov ecx, edi
call eax
pop edi
pop esi
mov byte [0x103d7a24], 1
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.1018daa9
add esp, 0x14
ret
test bl, bl
je 0x100a4791
mov eax, dword [0x10213410]
push 0x102128c0
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [0x10213410]
push 0x102128c4
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [0x10213410]
push 0x102128c8
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [0x10213410]
push 0x102128cc
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov byte [0x103d7a24], 0
mov ecx, dword [esp + 0x14]
pop ebx
xor ecx, esp
call fcn.1018daa9
add esp, 0x14
ret