Function at 0x100ab040
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [0x102220c0]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword fs:[0x2c]
mov edx, dword [0x10240d9c]
push ebx
mov bl, cl
mov edx, dword [eax + edx*4]
mov eax, dword [0x10533228]
cmp eax, dword [edx + 4]
jle 0x100ab09a
push 0x10533228
call fcn.101b5d2d
add esp, 4
cmp dword [0x10533228], 0xffffffff
jne 0x100ab09a
push 0x101e1c00
call fcn.101b5a79
push 0x10533228
call fcn.101b5cdc
add esp, 8
cmp byte [0x104682ac], 0
jne 0x100ab686
mov eax, dword [0x1023fc88]
movq xmm0, qword [0x10205398]
push esi
mov esi, dword [0x10240d90]
push edi
mov edi, dword [eax + 0x20]
mov eax, dword [0x102053a0]
mov dword [esp + 0x14], eax
mov ax, word [0x102053a4]
movq qword [esp + 0xc], xmm0
mov word [esp + 0x18], ax
test ah, ah
je 0x100ab208
xor ebx, ebx
cmp esi, 2
jl 0x100ab1e0
movaps xmm2, xmmword [0x10214950]
mov ebx, 8
movaps xmm3, xmmword [0x10214d10]
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 [0x102149c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10214990]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
movd xmm0, dword [0x10205398]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10214a80]
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 [0x102149c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
movd xmm0, dword [esp + 0x10]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10214a80]
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, 0x35
xor byte [esp + ebx + 0xc], cl
inc ebx
cmp ebx, 0xe
jl 0x100ab1e0
mov eax, dword [edi]
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x1023f140
mov eax, dword [eax + 0xc]
mov ecx, edi
call eax
cmp byte [0x10205397], 0
mov eax, dword [0x1023fc88]
movq xmm0, qword [0x1020538c]
mov edi, dword [eax + 0x20]
mov eax, dword [0x10205394]
movq qword [esp + 0xc], xmm0
mov dword [esp + 0x14], eax
je 0x100ab378
xor ebx, ebx
cmp esi, 2
jl 0x100ab350
movaps xmm2, xmmword [0x10214950]
mov ebx, 8
movaps xmm4, xmmword [0x10214d10]
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 [0x10214a80]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x102149c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10214990]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x1020538c]
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 [0x102149c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
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, 0x35
xor byte [esp + ebx + 0xc], cl
inc ebx
cmp ebx, 0xc
jl 0x100ab350
mov eax, dword [edi]
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x1023f144
mov eax, dword [eax + 0xc]
mov ecx, edi
call eax
cmp byte [0x1020538b], 0
mov eax, dword [0x1023fc88]
movq xmm0, qword [0x10205380]
mov edi, dword [eax + 0x20]
mov eax, dword [0x10205388]
movq qword [esp + 0xc], xmm0
mov dword [esp + 0x14], eax
je 0x100ab4e8
xor ebx, ebx
cmp esi, 2
jl 0x100ab4c0
movaps xmm2, xmmword [0x10214950]
mov ebx, 8
movaps xmm4, xmmword [0x10214d10]
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 [0x10214a80]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x102149c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10214990]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x10205380]
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 [0x102149c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
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, 0x35
xor byte [esp + ebx + 0xc], cl
inc ebx
cmp ebx, 0xc
jl 0x100ab4c0
mov eax, dword [edi]
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x1023f148
mov eax, dword [eax + 0xc]
mov ecx, edi
call eax
cmp byte [0x102053cf], 0
mov eax, dword [0x1023fc88]
movq xmm0, qword [str.BSVHVTdZTLZ_]
mov edi, dword [eax + 0x20]
mov eax, dword [0x102053cc]
movq qword [esp + 0xc], xmm0
mov dword [esp + 0x14], eax
je 0x100ab658
xor ebx, ebx
cmp esi, 2
jl 0x100ab630
movaps xmm2, xmmword [0x10214950]
mov ebx, 8
movaps xmm4, xmmword [0x10214d10]
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 [0x10214a80]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x102149c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10214990]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.BSVHVTdZTLZ_]
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 [0x102149c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
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, 0x35
xor byte [esp + ebx + 0xc], cl
inc ebx
cmp ebx, 0xc
jl 0x100ab630
mov eax, dword [edi]
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x1023f14c
mov eax, dword [eax + 0xc]
mov ecx, edi
call eax
pop edi
pop esi
mov byte [0x104682ac], 1
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.101b579a
add esp, 0x14
ret
test bl, bl
je 0x100ab6e1
mov eax, dword [0x1023fc88]
push 0x1023f140
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [0x1023fc88]
push 0x1023f144
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [0x1023fc88]
push 0x1023f148
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [0x1023fc88]
push 0x1023f14c
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov byte [0x104682ac], 0
mov ecx, dword [esp + 0x14]
pop ebx
xor ecx, esp
call fcn.101b579a
add esp, 0x14
ret