Function at 0x100aa1e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, dword [0x102187c8]
sub esp, 0x1d4
cmp dword [eax], 0
push ebx
push esi
push edi
mov edi, ecx
je 0x100aa587
xorps xmm0, xmm0
mov dword [esp + 0x50], 0
xor eax, eax
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x54], 7
mov word [esp + 0x40], ax
test edi, edi
je 0x100aa3fe
mov ax, word [0x101b00dc]
xor ebx, ebx
movq xmm0, qword [str.PXQhP_WHU_]
mov word [esp + 0x18], ax
mov al, byte [0x101b00de]
movq qword [esp + 0x10], xmm0
mov byte [esp + 0x1a], al
nop word [eax + eax]
mov eax, 0x24924925
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
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 + 0x10], al
inc ebx
cmp ebx, 0xb
jl 0x100aa250
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push 0
push ecx
mov ecx, edi
mov eax, dword [eax + 0x18]
call eax
mov edx, eax
lea ecx, [esp + 0x60]
call fcn.10041c80
lea ecx, [esp + 0x40]
call fcn.100021f0
movaps xmm0, xmmword [esp + 0x60]
xor ebx, ebx
mov al, byte [0x101b0000]
movaps xmmword [esp + 0x40], xmm0
movq xmm0, qword [esp + 0x70]
movq qword [esp + 0x50], xmm0
movq xmm0, qword [str.UABV_R_I_]
movq qword [esp + 0x10], xmm0
mov byte [esp + 0x18], al
nop
mov eax, 0x24924925
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
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 + 0x10], al
inc ebx
cmp ebx, 9
jl 0x100aa2d0
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push 0
push ecx
mov ecx, edi
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [0x1021663c]
mov dword [esp + 0xc], eax
mov esi, dword [ecx + 0x10]
mov ecx, dword [0x102187c8]
mov ecx, dword [ecx]
add ecx, 8
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
call edx
mov edx, dword [esi]
lea ecx, [esp + 0x88]
push ecx
push eax
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
or ebx, 0xffffffff
test al, al
mov ecx, ebx
cmovne ecx, dword [esp + 0x118]
cmp dword [esp + 0xc], ecx
jne 0x100aa54f
mov eax, dword [edi]
push ecx
mov dword [esp], 0
mov ecx, edi
push 0x101ae324
mov eax, dword [eax + 0x20]
call eax
mov eax, dword [edi]
fstp st(0)
push ecx
mov dword [esp], 0
mov ecx, edi
push 0x101ae320
mov eax, dword [eax + 0x20]
call eax
mov eax, dword [edi]
fstp st(0)
push ecx
mov dword [esp], 0
mov ecx, edi
push 0x101ae328
mov eax, dword [eax + 0x20]
call eax
mov eax, dword [0x102187c8]
fstp st(0)
mov ecx, dword [eax]
test ecx, ecx
je 0x100aa54f
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 + 0x88]
push ecx
push eax
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
test al, al
cmovne ebx, dword [esp + 0x118]
cmp dword [esp + 0xc], ebx
jne 0x100aa54f
mov eax, dword [0x10216630]
mov eax, dword [eax + 0xc]
movss xmm0, dword [eax]
movss dword [0x10423744], xmm0
jmp 0x100aa54f
mov ecx, dword [0x10216630]
mov eax, dword [0x10216634]
movss xmm1, dword [0x10423744]
mov ecx, dword [ecx + 0xc]
addss xmm1, dword [eax + 0x168c]
movss xmm0, dword [ecx]
comiss xmm0, xmm1
ja 0x100aa54f
cmp byte [eax + 0x1a81], 0
je 0x100aa54f
movups xmm0, xmmword [eax + 0x1a6c]
mov eax, dword [0x1021663c]
movups xmmword [esp + 0x10], xmm0
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x94]
call eax
movss xmm0, dword [esp + 0xc]
movss xmm1, dword [esp + 0xc]
mulss xmm1, dword [eax + 0x30]
mulss xmm0, dword [eax + 0x34]
addss xmm1, xmm0
movss xmm0, dword [esp + 0xc]
mulss xmm0, dword [eax + 0x38]
addss xmm1, xmm0
addss xmm1, dword [eax + 0x3c]
mov eax, dword [0x1021663c]
comiss xmm1, dword [0x101eca80]
mov ecx, dword [eax + 0x5c]
jbe 0x100aa4ac
mov eax, dword [ecx]
lea edx, [esp + 0xc]
push edx
lea edx, [esp + 0x40]
push edx
mov eax, dword [eax + 0xb0]
call eax
jmp 0x100aa54f
movss xmm1, dword [0x101ece10]
movss xmm0, dword [esp + 0x1c]
mulss xmm0, xmm1
mov edx, dword [ecx]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x18]
mulss xmm0, xmm1
push eax
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x18]
mulss xmm0, xmm1
push eax
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x18]
mulss xmm0, xmm1
push eax
cvttss2si eax, xmm0
push eax
mov eax, dword [edx + 0x64]
call eax
mov eax, dword [0x1021663c]
mov ecx, dword [eax + 0x5c]
mov eax, dword [0x10216968]
mov edx, dword [ecx]
push dword [eax + 0x10]
mov eax, dword [edx + 0x5c]
call eax
mov eax, dword [0x1021663c]
mov ecx, dword [eax + 0x5c]
cvttss2si eax, dword [esp + 0x3c]
mov edx, dword [ecx]
push eax
cvttss2si eax, dword [esp + 0x40]
push eax
mov eax, dword [edx + 0x68]
call eax
mov eax, dword [0x1021663c]
lea edx, [esp + 0x40]
cmp dword [esp + 0x54], 7
push 0
push dword [esp + 0x54]
mov ecx, dword [eax + 0x5c]
cmova edx, dword [esp + 0x48]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x70]
call eax
mov ecx, dword [esp + 0x54]
cmp ecx, 7
jbe 0x100aa587
mov edx, dword [esp + 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100aa57d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aa58e
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
int3