Function at 0x10108790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1c4
mov dword [esp + 0x24], 0
mov eax, dword [0x10216634]
push ebx
push esi
push edi
cmp dword [eax + 0x3834], 0
mov edi, ecx
je 0x10109077
mov eax, dword [0x102187c8]
mov ecx, dword [eax]
test ecx, ecx
je 0x10109077
mov eax, dword [0x1021663c]
add ecx, 8
mov esi, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov edx, dword [esi]
lea ecx, [esp + 0x78]
push ecx
push eax
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
movq xmm0, qword [str.UABV_R_I_]
or esi, 0xffffffff
test al, al
movq qword [esp + 0x30], xmm0
mov al, byte [0x101b0000]
cmovne esi, dword [esp + 0x108]
xor ebx, ebx
mov byte [esp + 0x38], al
mov eax, 0x8d3dcb09
mov cl, bl
mul ebx
shr edx, 5
movsx eax, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x30], cl
inc ebx
cmp ebx, 9
jl 0x10108811
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], 0
movups xmmword [esp + 0x18], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10108851
sub ecx, edx
lea eax, [esp + 0x30]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.100291a0
cmp dword [esp + 0x2c], 0xf
lea ecx, [esp + 0x18]
mov eax, dword [edi]
cmova ecx, dword [esp + 0x18]
push 0
push ecx
mov eax, dword [eax + 0x18]
mov ecx, edi
mov dword [esp + 0x38], 1
call eax
cmp eax, esi
jne 0x10108934
mov eax, dword [str.AFSEQ_:]
xor ebx, ebx
mov dword [esp + 0x30], eax
mov ax, word [0x101b0af8]
mov word [esp + 0x34], ax
mov al, byte [0x101b0afa]
mov byte [esp + 0x36], al
mov eax, 0x8d3dcb09
mov cl, bl
mul ebx
shr edx, 5
movsx eax, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x30], cl
inc ebx
cmp ebx, 7
jl 0x101088b2
xorps xmm0, xmm0
mov dword [esp + 0x54], 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], 0
movups xmmword [esp + 0x44], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101088f2
sub ecx, edx
lea eax, [esp + 0x30]
push ecx
push eax
lea ecx, [esp + 0x4c]
call fcn.100291a0
cmp dword [esp + 0x58], 0xf
lea ecx, [esp + 0x44]
mov eax, dword [edi]
cmova ecx, dword [esp + 0x44]
push 0
push ecx
mov eax, dword [eax + 0x18]
mov ecx, edi
mov dword [esp + 0x38], 3
call eax
cmp eax, esi
je 0x10108934
xor bl, bl
jmp 0x1010893d
test byte [esp + 0x30], 2
mov bl, 1
je 0x10108988
mov ecx, dword [esp + 0x58]
cmp ecx, 0xf
jbe 0x10108973
mov edx, dword [esp + 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10108969
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010907e
push ecx
push edx
call fcn.1015fe24
add esp, 8
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0xf
mov byte [esp + 0x44], 0
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xf
jbe 0x101089be
mov edx, dword [esp + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101089b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010907e
push ecx
push edx
call fcn.1015fe24
add esp, 8
test bl, bl
jne 0x10109077
mov eax, dword [0x10216634]
mov eax, dword [eax + 0x3834]
test eax, eax
je 0x10109077
cmp eax, 1
jne 0x10108c0e
mov eax, dword [0x1021663c]
xor ebx, ebx
cmp dword [0x10217ca4], 2
movups xmm0, xmmword [0x101e53d4]
mov esi, dword [eax + 0x10]
mov ax, word [0x101e53f4]
movups xmmword [esp + 0x44], xmm0
mov word [esp + 0x64], ax
movups xmm0, xmmword [0x101e53e4]
mov al, byte [0x101e53f6]
mov byte [esp + 0x66], al
movups xmmword [esp + 0x54], xmm0
jl 0x10108b54
movaps xmm0, xmmword [str.4444444444444444]
movaps xmm4, xmmword [0x101ed000]
movaps xmm3, xmmword [0x101ed410]
movaps xmm5, xmmword [0x101ed0c0]
movaps xmmword [esp + 0x30], xmm0
mov ecx, dword [esp + 0x30]
nop word [eax + eax]
movd xmm0, ebx
lea eax, [ebx + 4]
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 [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x44]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x44], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, 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 [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x48]
xorps xmm1, xmm0
movd dword [esp + ebx + 0x48], xmm1
add ebx, 8
cmp ebx, 0x20
jl 0x10108a50
cmp ebx, 0x23
jge 0x10108b7e
mov eax, 0x8d3dcb09
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, 0x3a
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x44], cl
inc ebx
cmp ebx, 0x23
jl 0x10108b54
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0
movups xmmword [esp + 0x18], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10108ba0
sub ecx, edx
lea eax, [esp + 0x44]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.100291a0
cmp dword [esp + 0x2c], 0xf
lea edx, [esp + 0x18]
mov eax, dword [esi]
mov ecx, esi
cmova edx, dword [esp + 0x18]
push 0
push edx
mov eax, dword [eax + 0x1c8]
call eax
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xf
jbe 0x10109077
mov edx, dword [esp + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010906d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10109083
jmp 0x1010906d
cmp eax, 2
jne 0x10108e4e
movups xmm0, xmmword [str.DYWN]
mov eax, dword [0x1021663c]
xor ebx, ebx
cmp dword [0x10217ca4], 2
movups xmmword [esp + 0x44], xmm0
movups xmm0, xmmword [0x101e5498]
mov esi, dword [eax + 0x10]
mov eax, dword [0x101e54b0]
movups xmmword [esp + 0x54], xmm0
mov dword [esp + 0x6c], eax
movq xmm0, qword [0x101e54a8]
mov ax, word [0x101e54b4]
movq qword [esp + 0x64], xmm0
mov word [esp + 0x70], ax
jl 0x10108d94
movaps xmm0, xmmword [str.4444444444444444]
movaps xmm4, xmmword [0x101ed000]
movaps xmm3, xmmword [0x101ed410]
movaps xmm5, xmmword [0x101ed0c0]
movaps xmmword [esp + 0x30], xmm0
mov ecx, dword [esp + 0x30]
nop dword [eax]
movd xmm0, ebx
lea eax, [ebx + 4]
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 [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x44]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x44], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, 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 [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x48]
xorps xmm1, xmm0
movd dword [esp + ebx + 0x48], xmm1
add ebx, 8
cmp ebx, 0x28
jl 0x10108c90
cmp ebx, 0x2e
jge 0x10108dbe
mov eax, 0x8d3dcb09
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, 0x3a
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x44], cl
inc ebx
cmp ebx, 0x2e
jl 0x10108d94
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0
movups xmmword [esp + 0x18], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10108de0
sub ecx, edx
lea eax, [esp + 0x44]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.100291a0
cmp dword [esp + 0x2c], 0xf
lea edx, [esp + 0x18]
mov eax, dword [esi]
mov ecx, esi
cmova edx, dword [esp + 0x18]
push 0
push edx
mov eax, dword [eax + 0x1c8]
call eax
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xf
jbe 0x10109077
mov edx, dword [esp + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010906d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10109088
jmp 0x1010906d
cmp eax, 3
jne 0x10109077
mov eax, dword [0x1021663c]
xor ebx, ebx
cmp dword [0x10217ca4], 2
movups xmm0, xmmword [0x101e5240]
mov esi, dword [eax + 0x10]
mov ax, word [0x101e5260]
movups xmmword [esp + 0x44], xmm0
mov word [esp + 0x64], ax
movups xmm0, xmmword [0x101e5250]
mov al, byte [0x101e5262]
mov byte [esp + 0x66], al
movups xmmword [esp + 0x54], xmm0
jl 0x10108fc4
movaps xmm0, xmmword [str.4444444444444444]
movaps xmm4, xmmword [0x101ed000]
movaps xmm3, xmmword [0x101ed410]
movaps xmm5, xmmword [0x101ed0c0]
movaps xmmword [esp + 0x30], xmm0
mov ecx, dword [esp + 0x30]
nop
movd xmm0, ebx
lea eax, [ebx + 4]
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 [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x44]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x44], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, 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 [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x48]
xorps xmm1, xmm0
movd dword [esp + ebx + 0x48], xmm1
add ebx, 8
cmp ebx, 0x20
jl 0x10108ec0
cmp ebx, 0x23
jge 0x10108fee
mov eax, 0x8d3dcb09
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, 0x3a
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x44], cl
inc ebx
cmp ebx, 0x23
jl 0x10108fc4
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0
movups xmmword [esp + 0x18], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10109010
sub ecx, edx
lea eax, [esp + 0x44]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.100291a0
cmp dword [esp + 0x2c], 0xf
lea edx, [esp + 0x18]
mov eax, dword [esi]
mov ecx, esi
cmova edx, dword [esp + 0x18]
push 0
push edx
mov eax, dword [eax + 0x1c8]
call eax
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xf
jbe 0x10109077
mov edx, dword [esp + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010906d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010908d
push ecx
push edx
call fcn.1015fe24
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10164f66
call fcn.10164f66
call fcn.10164f66
call fcn.10164f66
int3