Function at 0x100ac220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1c8
mov eax, dword [0x101f90c0]
xor eax, esp
mov dword [esp + 0x1c4], eax
mov eax, dword [0x10215cf4]
push esi
mov esi, ecx
push edi
cmp dword [eax], 0
mov dword [esp + 0x14], esi
je 0x100ac5a3
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
xor eax, eax
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x44], 7
mov word [esp + 0x30], ax
test esi, esi
je 0x100ac467
mov ax, word [0x101df154]
xor ecx, ecx
movq xmm0, qword [str.PXQhP_WHU_]
mov word [esp + 0x2c], ax
mov al, byte [0x101df156]
movq qword [esp + 0x24], xmm0
mov byte [esp + 0x2e], al
mov dword [esp + 0x10], ecx
nop
mov eax, 0x24924925
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [esp + 0x10]
shl cl, 3
sub al, cl
mov ecx, dword [esp + 0x10]
add al, 0x34
xor byte [esp + ecx + 0x24], al
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 0xb
jl 0x100ac2a0
mov eax, dword [esi]
lea ecx, [esp + 0x24]
push 0
push ecx
mov ecx, esi
mov eax, dword [eax + 0x18]
call eax
mov edx, eax
lea ecx, [esp + 0x50]
call fcn.1003b290
lea ecx, [esp + 0x30]
call fcn.10002000
movaps xmm0, xmmword [esp + 0x50]
xor ecx, ecx
mov al, byte [0x101dd464]
movaps xmmword [esp + 0x30], xmm0
movq xmm0, qword [esp + 0x60]
movq qword [esp + 0x40], xmm0
movq xmm0, qword [0x101dd45c]
movq qword [esp + 0x24], xmm0
mov byte [esp + 0x2c], al
mov dword [esp + 0x10], ecx
nop dword [eax]
mov eax, 0x24924925
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [esp + 0x10]
shl cl, 3
sub al, cl
mov ecx, dword [esp + 0x10]
add al, 0x34
xor byte [esp + ecx + 0x24], al
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 9
jl 0x100ac330
mov eax, dword [esi]
lea ecx, [esp + 0x24]
push 0
push ecx
mov ecx, esi
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [0x10214410]
mov dword [esp + 0x10], eax
mov edi, dword [ecx + 0x10]
mov ecx, dword [0x10215cf4]
mov esi, dword [ecx]
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x28]
lea ecx, [esi + 8]
call edx
mov ecx, dword [edi]
mov edx, dword [ecx + 0x20]
lea ecx, [esp + 0x70]
push ecx
push eax
mov ecx, edi
call edx
or edi, 0xffffffff
test al, al
mov ecx, edi
cmovne ecx, dword [esp + 0x100]
cmp dword [esp + 0x10], ecx
jne 0x100ac56b
mov esi, dword [esp + 0x14]
push ecx
mov dword [esp], 0
mov ecx, esi
push 0x101dd3a0
mov eax, dword [esi]
mov eax, dword [eax + 0x20]
call eax
mov eax, dword [esi]
fstp st(0)
push ecx
mov dword [esp], 0
mov ecx, esi
push 0x101dd39c
mov eax, dword [eax + 0x20]
call eax
mov eax, dword [esi]
fstp st(0)
push ecx
mov dword [esp], 0
mov ecx, esi
push 0x101dd3a4
mov eax, dword [eax + 0x20]
call eax
mov eax, dword [0x10215cf4]
fstp st(0)
mov ecx, dword [eax]
test ecx, ecx
je 0x100ac56b
mov eax, dword [0x10214410]
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 + 0x70]
push ecx
push eax
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
test al, al
cmovne edi, dword [esp + 0x100]
cmp dword [esp + 0x10], edi
jne 0x100ac56b
mov eax, dword [0x10214404]
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax]
movss dword [0x103d8a50], xmm0
jmp 0x100ac56b
mov ecx, dword [0x10214404]
mov eax, dword [0x10214408]
movss xmm1, dword [0x103d8a50]
mov ecx, dword [ecx + 0x10]
addss xmm1, dword [eax + 0x1550]
movss xmm0, dword [ecx]
comiss xmm0, xmm1
ja 0x100ac56b
cmp byte [eax + 0x18c5], 0
je 0x100ac56b
movups xmm0, xmmword [eax + 0x18b0]
lea edx, [esp + 0x24]
lea ecx, [esp + 0x18]
movups xmmword [esp + 0x50], xmm0
call fcn.10034e70
test al, al
jne 0x100ac56b
movss xmm1, dword [0x101eb62c]
movss xmm0, dword [esp + 0x5c]
mov eax, dword [0x10214410]
mulss xmm0, xmm1
mov ecx, dword [eax + 0x5c]
cvttss2si eax, xmm0
mov edx, dword [ecx]
movss xmm0, dword [esp + 0x58]
mulss xmm0, xmm1
push eax
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x58]
mulss xmm0, xmm1
push eax
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x58]
mulss xmm0, xmm1
push eax
cvttss2si eax, xmm0
push eax
mov eax, dword [edx + 0x64]
call eax
mov eax, dword [0x10214410]
mov ecx, dword [eax + 0x5c]
mov eax, dword [0x10214418]
mov edx, dword [ecx]
push dword [eax + 0x14]
mov eax, dword [edx + 0x5c]
call eax
mov eax, dword [0x10214410]
mov ecx, dword [eax + 0x5c]
cvttss2si eax, dword [esp + 0x28]
mov edx, dword [ecx]
push eax
cvttss2si eax, dword [esp + 0x28]
push eax
mov eax, dword [edx + 0x68]
call eax
mov eax, dword [0x10214410]
lea edx, [esp + 0x30]
cmp dword [esp + 0x44], 7
push 0
push dword [esp + 0x44]
mov ecx, dword [eax + 0x5c]
cmova edx, dword [esp + 0x38]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x70]
call eax
mov ecx, dword [esp + 0x44]
cmp ecx, 7
jbe 0x100ac5a3
mov edx, dword [esp + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100ac599
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ac5b7
push ecx
push edx
call fcn.1018e3c3
add esp, 8
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
xor ecx, esp
call fcn.1018e0ca
mov esp, ebp
pop ebp
ret
call fcn.101934f6
int3