Function at 0x100a40c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [0x101f90c0]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword fs:[0x2c]
mov edx, dword [0x1021551c]
push ebx
mov bl, cl
mov edx, dword [eax + edx*4]
mov eax, dword [0x103db6e8]
cmp eax, dword [edx + 4]
jle 0x100a411a
push 0x103db6e8
call fcn.1018e65d
add esp, 4
cmp dword [0x103db6e8], 0xffffffff
jne 0x100a411a
push 0x101ba1c0
call fcn.1018e3a9
push 0x103db6e8
call fcn.1018e60c
add esp, 8
cmp byte [0x103d8a24], 0
jne 0x100a4706
mov eax, dword [0x10214410]
movq xmm0, qword [str.V_Z__MeRQM_4A]
push esi
mov esi, dword [0x10215510]
push edi
mov edi, dword [eax + 0x20]
mov eax, dword [0x101c7960]
mov dword [esp + 0x14], eax
mov ax, word [0x101c7964]
movq qword [esp + 0xc], xmm0
mov word [esp + 0x18], ax
test ah, ah
je 0x100a4288
xor ebx, ebx
cmp esi, 2
jl 0x100a4260
movaps xmm2, xmmword [0x101eb880]
mov ebx, 8
movaps xmm3, xmmword [0x101ebc10]
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 [0x101eb900]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101eb8c0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb990]
movd xmm0, dword [str.V_Z__MeRQM_4A]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.4444444444444444]
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 [0x101eb900]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb990]
movd xmm0, dword [esp + 0x10]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.4444444444444444]
xorps xmm1, xmm0
movd dword [esp + 0x10], xmm1
nop
mov eax, 0x4bda12f7
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x36
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0xc], cl
inc ebx
cmp ebx, 0xe
jl 0x100a4260
mov eax, dword [edi]
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x102138c0
mov eax, dword [eax + 0xc]
mov ecx, edi
call eax
cmp byte [0x101c7a2f], 0
mov eax, dword [0x10214410]
movq xmm0, qword [str.DYWN_KeSIOJ_0_1_2_3_4_5_6_7_8_9]
mov edi, dword [eax + 0x20]
mov eax, dword [0x101c7a2c]
movq qword [esp + 0xc], xmm0
mov dword [esp + 0x14], eax
je 0x100a43f8
xor ebx, ebx
cmp esi, 2
jl 0x100a43d0
movaps xmm2, xmmword [0x101eb880]
mov ebx, 8
movaps xmm4, xmmword [0x101ebc10]
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.4444444444444444]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101eb900]
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.DYWN_KeSIOJ_0_1_2_3_4_5_6_7_8_9]
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 [0x101eb900]
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 + 0x10]
xorps xmm1, xmm0
movd dword [esp + 0x10], xmm1
nop dword [eax + eax]
mov eax, 0x4bda12f7
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x36
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0xc], cl
inc ebx
cmp ebx, 0xc
jl 0x100a43d0
mov eax, dword [edi]
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x102138c4
mov eax, dword [eax + 0xc]
mov ecx, edi
call eax
cmp byte [0x101c7987], 0
mov eax, dword [0x10214410]
movq xmm0, qword [str.FZCY_fIO_OJ_BZBRgZ_HH]
mov edi, dword [eax + 0x20]
mov eax, dword [0x101c7984]
movq qword [esp + 0xc], xmm0
mov dword [esp + 0x14], eax
je 0x100a4568
xor ebx, ebx
cmp esi, 2
jl 0x100a4540
movaps xmm2, xmmword [0x101eb880]
mov ebx, 8
movaps xmm4, xmmword [0x101ebc10]
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.4444444444444444]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101eb900]
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.FZCY_fIO_OJ_BZBRgZ_HH]
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 [0x101eb900]
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 + 0x10]
xorps xmm1, xmm0
movd dword [esp + 0x10], xmm1
nop dword [eax + eax]
mov eax, 0x4bda12f7
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x36
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0xc], cl
inc ebx
cmp ebx, 0xc
jl 0x100a4540
mov eax, dword [edi]
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x102138c8
mov eax, dword [eax + 0xc]
mov ecx, edi
call eax
cmp byte [0x101c79ab], 0
mov eax, dword [0x10214410]
movq xmm0, qword [str.CPWGWWe_UO__VZ_UgIVZRI___]
mov edi, dword [eax + 0x20]
mov eax, dword [0x101c79a8]
movq qword [esp + 0xc], xmm0
mov dword [esp + 0x14], eax
je 0x100a46d8
xor ebx, ebx
cmp esi, 2
jl 0x100a46b0
movaps xmm2, xmmword [0x101eb880]
mov ebx, 8
movaps xmm4, xmmword [0x101ebc10]
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.4444444444444444]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101eb900]
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.CPWGWWe_UO__VZ_UgIVZRI___]
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 [0x101eb900]
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 + 0x10]
xorps xmm1, xmm0
movd dword [esp + 0x10], xmm1
nop dword [eax + eax]
mov eax, 0x4bda12f7
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x36
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0xc], cl
inc ebx
cmp ebx, 0xc
jl 0x100a46b0
mov eax, dword [edi]
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x102138cc
mov eax, dword [eax + 0xc]
mov ecx, edi
call eax
pop edi
pop esi
mov byte [0x103d8a24], 1
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.1018e0ca
add esp, 0x14
ret
test bl, bl
je 0x100a4761
mov eax, dword [0x10214410]
push 0x102138c0
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [0x10214410]
push 0x102138c4
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [0x10214410]
push 0x102138c8
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [0x10214410]
push 0x102138cc
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov byte [0x103d8a24], 0
mov ecx, dword [esp + 0x14]
pop ebx
xor ecx, esp
call fcn.1018e0ca
add esp, 0x14
ret