Function at 0x100b0a10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x102060c0]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10224d4c]
push esi
push edi
mov edi, dword [0x10224d40]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x10352428]
cmp eax, dword [esi + 4]
jle 0x100b0c36
push 0x10352428
call fcn.10199827
add esp, 4
cmp dword [0x10352428], 0xffffffff
jne 0x100b0c36
cmp byte [0x101eb2a3], 0
mov eax, dword [0x10223ca8]
movups xmm0, xmmword [str.Q_kVEZgKUOcRHZ23_E]
mov ecx, dword [eax + 8]
mov eax, dword [0x101eb2a0]
mov dword [esp + 0xc], ecx
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x30], eax
je 0x100b0c18
xor edx, edx
mov dword [esp + 8], edx
cmp edi, 2
jl 0x100b0be0
movaps xmm0, xmmword [0x101f7db0]
movaps xmm4, xmmword [0x101f7c30]
movaps xmm3, xmmword [0x101f80e0]
movaps xmm5, xmmword [0x101f7cf0]
movaps xmmword [esp + 0x10], xmm0
mov eax, dword [esp + 0x10]
nop dword [eax + eax]
movd xmm0, edx
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 [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, eax
lea eax, [edx + 4]
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x20]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + edx + 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 [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x24]
xorps xmm1, xmm0
movd dword [esp + edx + 0x24], xmm1
add edx, 8
cmp edx, 0x10
jl 0x100b0ad0
mov dword [esp + 8], edx
cmp edx, 0x14
jge 0x100b0c18
nop dword [eax]
mov eax, 0x8fb823ef
imul edx
add edx, dword [esp + 8]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 8]
movsx eax, al
mov cl, dl
imul eax, eax, 0x39
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x20], cl
inc edx
mov dword [esp + 8], edx
cmp edx, 0x14
jl 0x100b0be0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
lea edx, [esp + 0x20]
push edx
mov eax, dword [eax + 0x3c]
call eax
push 0x10352428
mov dword [0x10352018], eax
call fcn.101997d6
add esp, 4
mov eax, dword [0x103523e0]
cmp eax, dword [esi + 4]
jle 0x100b0e36
push 0x103523e0
call fcn.10199827
add esp, 4
cmp dword [0x103523e0], 0xffffffff
jne 0x100b0e36
mov eax, dword [0x10223ca8]
xor edx, edx
mov dword [esp + 8], edx
movups xmm0, xmmword [str.Q_kVEZgT_CcNV_.5]
mov ecx, dword [eax + 8]
mov eax, dword [0x101eb1d4]
mov dword [esp + 0x30], eax
mov ax, word [0x101eb1d8]
mov word [esp + 0x34], ax
mov al, byte [0x101eb1da]
mov dword [esp + 0xc], ecx
mov byte [esp + 0x36], al
movups xmmword [esp + 0x20], xmm0
cmp edi, 2
jl 0x100b0de0
movaps xmm0, xmmword [0x101f7db0]
movaps xmm4, xmmword [0x101f7c30]
movaps xmm3, xmmword [0x101f80e0]
movaps xmm5, xmmword [0x101f7cf0]
movaps xmmword [esp + 0x10], xmm0
mov eax, dword [esp + 0x10]
nop word [eax + eax]
movd xmm0, edx
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 [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, eax
lea eax, [edx + 4]
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x20]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + edx + 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 [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x24]
xorps xmm1, xmm0
movd dword [esp + edx + 0x24], xmm1
add edx, 8
cmp edx, 0x10
jl 0x100b0cd0
mov dword [esp + 8], edx
cmp edx, 0x17
jge 0x100b0e18
nop dword [eax]
mov eax, 0x8fb823ef
imul edx
add edx, dword [esp + 8]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 8]
movsx eax, al
mov cl, dl
imul eax, eax, 0x39
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x20], cl
inc edx
mov dword [esp + 8], edx
cmp edx, 0x17
jl 0x100b0de0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
lea edx, [esp + 0x20]
push edx
mov eax, dword [eax + 0x3c]
call eax
push 0x103523e0
mov dword [0x103523e4], eax
call fcn.101997d6
add esp, 4
mov eax, dword [0x1035238c]
cmp eax, dword [esi + 4]
jle 0x100b0ff6
push 0x1035238c
call fcn.10199827
add esp, 4
cmp dword [0x1035238c], 0xffffffff
jne 0x100b0ff6
mov eax, dword [0x10223ca8]
xor edx, edx
movq xmm0, qword [0x101eb264]
mov dword [esp + 8], edx
mov eax, dword [eax + 8]
mov dword [esp + 0xc], eax
mov eax, dword [0x101eb26c]
mov dword [esp + 0x18], eax
mov al, byte [0x101eb270]
movq qword [esp + 0x10], xmm0
mov byte [esp + 0x1c], al
cmp edi, 2
jl 0x100b0fa0
movaps xmm2, xmmword [0x101f7c30]
mov edx, 8
movaps xmm4, xmmword [0x101f80e0]
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 [0x101f7db0]
psrad xmm1, 5
mov dword [esp + 8], edx
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101f7cf0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101f7c70]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x101eb264]
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 [0x101f7cf0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x14]
xorps xmm1, xmm0
movd dword [esp + 0x14], xmm1
nop
mov eax, 0x8fb823ef
imul edx
add edx, dword [esp + 8]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 8]
movsx eax, al
mov cl, dl
imul eax, eax, 0x39
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x10], cl
inc edx
mov dword [esp + 8], edx
cmp edx, 0xd
jl 0x100b0fa0
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
push 0x1035238c
mov dword [0x10352388], eax
call fcn.101997d6
add esp, 4
mov eax, dword [0x1035240c]
cmp eax, dword [esi + 4]
jle 0x100b11b4
push 0x1035240c
call fcn.10199827
add esp, 4
cmp dword [0x1035240c], 0xffffffff
jne 0x100b11b4
mov eax, dword [0x10223ca8]
xor edx, edx
movq xmm0, qword [str.Q_kVEZgKUOcD_]
mov dword [esp + 8], edx
mov esi, dword [eax + 8]
mov eax, dword [0x101eb200]
mov dword [esp + 0x18], eax
mov al, byte [0x101eb204]
movq qword [esp + 0x10], xmm0
mov byte [esp + 0x1c], al
cmp edi, 2
jl 0x100b1160
movaps xmm2, xmmword [0x101f7c30]
mov edx, 8
movaps xmm4, xmmword [0x101f80e0]
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 [0x101f7db0]
psrad xmm1, 5
mov dword [esp + 8], edx
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101f7cf0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101f7c70]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.Q_kVEZgKUOcD_]
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 [0x101f7cf0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x14]
xorps xmm1, xmm0
movd dword [esp + 0x14], xmm1
nop dword [eax + eax]
mov eax, 0x8fb823ef
imul edx
add edx, dword [esp + 8]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 8]
movsx eax, al
mov cl, dl
imul eax, eax, 0x39
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x10], cl
inc edx
mov dword [esp + 8], edx
cmp edx, 0xd
jl 0x100b1160
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x3c]
call eax
push 0x1035240c
mov dword [0x10352440], eax
call fcn.101997d6
add esp, 4
mov eax, dword [0x10223ca0]
cmp byte [eax + 0x1572], 0
jne 0x100b122d
cmp byte [eax + 0x1574], 0
je 0x100b122d
mov ecx, dword [0x103523e4]
push 0x320
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x10352018]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x10352388]
mov eax, dword [0x10223ca0]
mov edx, dword [ecx]
push dword [eax + 0x1578]
mov eax, dword [edx + 0x40]
call eax
mov ecx, dword [0x10352440]
mov eax, dword [0x10223ca0]
mov edx, dword [ecx]
push dword [eax + 0x157c]
mov eax, dword [edx + 0x40]
call eax
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.10199294
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x10352018]
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.10199294
mov esp, ebp
pop ebp
ret