Function at 0x100a86af
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, dword [0x10216634]
sub esp, 0x44
cmp byte [eax + 0x19dc], 0
push ebx
push esi
push edi
je 0x100a8e54
mov eax, dword [0x102187c8]
cmp dword [eax], 0
je 0x100a8e54
mov eax, dword [0x1021663c]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x100a8e54
mov eax, dword [0x10216634]
cmp byte [eax + 0x19dc], 0
je case.0x100a8691.0
mov ecx, dword [eax + 0x19e0]
add eax, 0x19e0
cmp ecx, 3
ja case.0x100a8691.0
jmp dword [ecx*4 + 0x100a8e6c]
mov ecx, eax
call fcn.100be310
jmp 0x100a86a4
mov al, byte [eax + 0x20]
test al, al
je case.0x100a8691.0
mov byte [esp + 0x1b], 1
jmp 0x100a86b4
mov byte [esp + 0x1b], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10217cb0]
mov esi, dword [0x10217ca4]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x104ee0b0]
cmp eax, dword [edi + 4]
jle 0x100a88f8
push 0x104ee0b0
call fcn.1015fec1
add esp, 4
cmp dword [0x104ee0b0], 0xffffffff
jne 0x100a88f8
mov eax, dword [0x1021663c]
movq xmm0, qword [0x101b01b0]
movq qword [esp + 0x21], xmm0
mov ebx, dword [eax + 8]
mov eax, dword [0x101b01b8]
mov dword [esp + 0x29], eax
mov ax, word [0x101b01bc]
mov dword [esp + 0x1c], ebx
mov word [esp + 0x2d], ax
test ah, ah
je 0x100a8861
xor ebx, ebx
cmp esi, 2
jl 0x100a8830
movaps xmm2, xmmword [0x101ed000]
mov ebx, 8
movaps xmm3, xmmword [0x101ed430]
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 [0x101ed0a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ed030]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
movd xmm0, dword [0x101b01b0]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.4444444444444444]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x21], 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 [0x101ed0a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
movd xmm0, dword [esp + 0x25]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.4444444444444444]
xorps xmm1, xmm0
movd dword [esp + 0x25], xmm1
nop
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, bl
shl cl, 3
sub al, cl
add al, 0x34
xor byte [esp + ebx + 0x21], al
inc ebx
cmp ebx, 0xe
jl 0x100a8830
mov ebx, dword [esp + 0x1c]
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x21]
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x44], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a8880
sub ecx, edx
lea eax, [esp + 0x21]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.100291a0
cmp dword [esp + 0x44], 0xf
lea edx, [esp + 0x30]
mov eax, dword [ebx]
mov ecx, ebx
cmova edx, dword [esp + 0x30]
push edx
mov eax, dword [eax + 0x3c]
call eax
mov ecx, dword [esp + 0x44]
mov dword [0x104ee0b4], eax
cmp ecx, 0xf
jbe 0x100a88eb
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a88e1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a8e5b
push ecx
push edx
call fcn.1015fe24
add esp, 8
push 0x104ee0b0
call fcn.1015fe70
add esp, 4
mov ecx, dword [0x104ee0b4]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x104ee42c]
cmp eax, dword [edi + 4]
jle 0x100a8b3a
push 0x104ee42c
call fcn.1015fec1
add esp, 4
cmp dword [0x104ee42c], 0xffffffff
jne 0x100a8b3a
mov eax, dword [0x1021663c]
xor ebx, ebx
movq xmm0, qword [0x101b00f0]
movq qword [esp + 0x21], xmm0
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [0x101b00f8]
mov dword [esp + 0x29], eax
mov al, byte [0x101b00fc]
mov byte [esp + 0x2d], al
cmp esi, 2
jl 0x100a8a70
movaps xmm2, xmmword [0x101ed000]
mov ebx, 8
movaps xmm4, xmmword [0x101ed430]
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 [str.4444444444444444]
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ed0a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ed030]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x101b00f0]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x21], 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 [0x101ed0a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x25]
xorps xmm1, xmm0
movd dword [esp + 0x25], xmm1
nop dword [eax + eax]
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, bl
shl cl, 3
sub al, cl
add al, 0x34
xor byte [esp + ebx + 0x21], al
inc ebx
cmp ebx, 0xd
jl 0x100a8a70
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x21]
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x44], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a8ac0
sub ecx, edx
lea eax, [esp + 0x21]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.100291a0
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x30]
cmp dword [esp + 0x44], 0xf
cmova edx, dword [esp + 0x30]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x3c]
call eax
mov ecx, dword [esp + 0x44]
mov dword [0x104ee428], eax
cmp ecx, 0xf
jbe 0x100a8b2d
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a8b23
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a8e60
push ecx
push edx
call fcn.1015fe24
add esp, 8
push 0x104ee42c
call fcn.1015fe70
add esp, 4
mov ecx, dword [0x104ee428]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x104ee80c]
cmp eax, dword [edi + 4]
jle 0x100a8d78
push 0x104ee80c
call fcn.1015fec1
add esp, 4
cmp dword [0x104ee80c], 0xffffffff
jne 0x100a8d78
mov eax, dword [0x1021663c]
xor ebx, ebx
movq xmm0, qword [str.WT_hQ__ZPMWK_B]
movq qword [esp + 0x21], xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x101b0160]
mov dword [esp + 0x29], eax
mov ax, word [0x101b0164]
mov word [esp + 0x2d], ax
mov al, byte [0x101b0166]
mov byte [esp + 0x2f], al
cmp esi, 2
jl 0x100a8cb1
movaps xmm2, xmmword [0x101ed000]
mov ebx, 8
movaps xmm4, xmmword [0x101ed430]
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 [str.4444444444444444]
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ed0a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ed030]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.WT_hQ__ZPMWK_B]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x21], 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 [0x101ed0a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x25]
xorps xmm1, xmm0
movd dword [esp + 0x25], xmm1
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, bl
shl cl, 3
sub al, cl
add al, 0x34
xor byte [esp + ebx + 0x21], al
inc ebx
cmp ebx, 0xf
jl 0x100a8cb1
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x21]
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x44], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a8d00
sub ecx, edx
lea eax, [esp + 0x21]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.100291a0
cmp dword [esp + 0x44], 0xf
lea edx, [esp + 0x30]
mov eax, dword [edi]
mov ecx, edi
cmova edx, dword [esp + 0x30]
push edx
mov eax, dword [eax + 0x3c]
call eax
mov ecx, dword [esp + 0x44]
mov dword [0x104ee840], eax
cmp ecx, 0xf
jbe 0x100a8d6b
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a8d61
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a8e65
push ecx
push edx
call fcn.1015fe24
add esp, 8
push 0x104ee80c
call fcn.1015fe70
add esp, 4
mov ecx, dword [0x104ee840]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x102187c8]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x100a8e14
mov eax, dword [0x102187c8]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x430]
call eax
test eax, eax
je 0x100a8e54
mov eax, dword [0x102187c8]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x430]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 0x71c]
mov ecx, eax
call edx
cmp eax, 9
jne 0x100a8dfb
mov eax, dword [0x10216634]
cmp byte [eax + 0x1a0a], 0
je 0x100a8dfb
mov eax, dword [0x10216630]
mov eax, dword [eax + 8]
mov byte [eax + 0xa9], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10216630]
mov cl, byte [esp + 0x1b]
mov eax, dword [eax + 8]
mov byte [eax + 0xa9], cl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10216630]
mov eax, dword [eax + 8]
cmp byte [eax + 0xa9], 0
je 0x100a8e2c
mov byte [eax + 0xa9], 0
mov eax, dword [0x102187c8]
mov ecx, 0x43b417d5
mov esi, dword [eax]
call fcn.100c3de0
cmp dword [eax + esi], 4
jne 0x100a8e54
mov ecx, 0x43b417d5
call fcn.100c3de0
mov dword [eax + esi], 5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10164f66
call fcn.10164f66
call fcn.10164f66
nop
scasd eax, dword es:[edi]
xchg byte [edx], cl
adc byte [eax - 0x67eff57a], ch
xchg byte [edx], cl
adc byte [ecx - 0x33eff57a], ah
int3