Function at 0x100aaf80
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [0x102230c0]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword fs:[0x2c]
mov edx, dword [0x10241d9c]
push ebx
mov bl, cl
mov edx, dword [eax + edx*4]
mov eax, dword [0x10534130]
cmp eax, dword [edx + 4]
jle 0x100aafda
push 0x10534130
call fcn.101b643d
add esp, 4
cmp dword [0x10534130], 0xffffffff
jne 0x100aafda
push 0x101e2310
call fcn.101b6189
push 0x10534130
call fcn.101b63ec
add esp, 8
cmp byte [0x104691a8], 0
jne 0x100ab5e8
mov eax, dword [0x10240c88]
movq xmm0, qword [str.SG_XPBhQTJZ_I_]
push esi
mov esi, dword [0x10241d90]
push edi
mov edi, dword [eax + 0x20]
mov eax, dword [0x101efb20]
mov dword [esp + 0x14], eax
mov ax, word [0x101efb24]
movq qword [esp + 0xc], xmm0
mov word [esp + 0x18], ax
test ah, ah
je 0x100ab150
xor ebx, ebx
cmp esi, 2
jl 0x100ab126
movaps xmm2, xmmword [0x10215ab0]
mov ebx, 8
movaps xmm3, xmmword [0x10215f70]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm1, xmm3
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10215b70]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10215af0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10215c00]
movd xmm0, dword [str.SG_XPBhQTJZ_I_]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10215c30]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0xc], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm1, xmm3
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10215b70]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10215c00]
movd xmm0, dword [esp + 0x10]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10215c30]
xorps xmm1, xmm0
movd dword [esp + 0x10], xmm1
mov eax, 0x8fb823ef
mov cl, bl
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x31
xor byte [esp + ebx + 0xc], cl
inc ebx
cmp ebx, 0xe
jl 0x100ab126
mov eax, dword [edi]
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x10240140
mov eax, dword [eax + 0xc]
mov ecx, edi
call eax
cmp byte [0x101efadb], 0
mov eax, dword [0x10240c88]
movq xmm0, qword [str.ARMPDhPLHO_]
mov edi, dword [eax + 0x20]
mov eax, dword [0x101efad8]
movq qword [esp + 0xc], xmm0
mov dword [esp + 0x14], eax
je 0x100ab2ca
xor ebx, ebx
cmp esi, 2
jl 0x100ab2a0
movaps xmm2, xmmword [0x10215ab0]
mov ebx, 8
movaps xmm4, xmmword [0x10215f70]
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 [0x10215c30]
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10215b70]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10215af0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10215c00]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.ARMPDhPLHO_]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0xc], 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 [0x10215b70]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10215c00]
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, 0x8fb823ef
mov cl, bl
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x31
xor byte [esp + ebx + 0xc], cl
inc ebx
cmp ebx, 0xc
jl 0x100ab2a0
mov eax, dword [edi]
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x10240144
mov eax, dword [eax + 0xc]
mov ecx, edi
call eax
cmp byte [0x101efbbb], 0
mov eax, dword [0x10240c88]
movq xmm0, qword [str.C_FZQiDLXHO_ARMPDhKXC_]
mov edi, dword [eax + 0x20]
mov eax, dword [0x101efbb8]
movq qword [esp + 0xc], xmm0
mov dword [esp + 0x14], eax
je 0x100ab43f
xor ebx, ebx
cmp esi, 2
jl 0x100ab415
movaps xmm2, xmmword [0x10215ab0]
mov ebx, 8
movaps xmm4, xmmword [0x10215f70]
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 [0x10215c30]
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10215b70]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10215af0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10215c00]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.C_FZQiDLXHO_ARMPDhKXC_]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0xc], 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 [0x10215b70]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10215c00]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x10]
xorps xmm1, xmm0
movd dword [esp + 0x10], xmm1
mov eax, 0x8fb823ef
mov cl, bl
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x31
xor byte [esp + ebx + 0xc], cl
inc ebx
cmp ebx, 0xc
jl 0x100ab415
mov eax, dword [edi]
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x10240148
mov eax, dword [eax + 0xc]
mov ecx, edi
call eax
cmp byte [0x101efb47], 0
mov eax, dword [0x10240c88]
movq xmm0, qword [str.FWRDZXhPH_S_VjRRLIX]
mov edi, dword [eax + 0x20]
mov eax, dword [0x101efb44]
movq qword [esp + 0xc], xmm0
mov dword [esp + 0x14], eax
je 0x100ab5ba
xor ebx, ebx
cmp esi, 2
jl 0x100ab590
movaps xmm2, xmmword [0x10215ab0]
mov ebx, 8
movaps xmm4, xmmword [0x10215f70]
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 [0x10215c30]
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10215b70]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10215af0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10215c00]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.FWRDZXhPH_S_VjRRLIX]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0xc], 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 [0x10215b70]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10215c00]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x10]
xorps xmm1, xmm0
movd dword [esp + 0x10], xmm1
nop word [eax + eax]
mov eax, 0x8fb823ef
mov cl, bl
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x31
xor byte [esp + ebx + 0xc], cl
inc ebx
cmp ebx, 0xc
jl 0x100ab590
mov eax, dword [edi]
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x1024014c
mov eax, dword [eax + 0xc]
mov ecx, edi
call eax
pop edi
pop esi
mov byte [0x104691a8], 1
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.101b5eaa
add esp, 0x14
ret
test bl, bl
je 0x100ab643
mov eax, dword [0x10240c88]
push 0x10240140
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [0x10240c88]
push 0x10240144
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [0x10240c88]
push 0x10240148
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [0x10240c88]
push 0x1024014c
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov byte [0x104691a8], 0
mov ecx, dword [esp + 0x14]
pop ebx
xor ecx, esp
call fcn.101b5eaa
add esp, 0x14
ret