Function at 0x100ac2a0
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 0x100ac620
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 0x100ac4e4
mov ax, word [0x101df0ac]
xor edx, edx
movq xmm0, qword [str.TUlPW_LQ:]
mov word [esp + 0x2c], ax
mov al, byte [0x101df0ae]
movq qword [esp + 0x24], xmm0
mov byte [esp + 0x2e], al
mov dword [esp + 0x10], edx
nop
mov eax, 0x1f7047dd
mul edx
mov eax, dword [esp + 0x10]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [esp + 0x10]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x30
xor byte [esp + edx + 0x24], cl
inc edx
mov dword [esp + 0x10], edx
cmp edx, 0xb
jl 0x100ac320
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 edx, edx
mov al, byte [0x101dd4a4]
movaps xmmword [esp + 0x30], xmm0
movq xmm0, qword [esp + 0x60]
movq qword [esp + 0x40], xmm0
movq xmm0, qword [str.QEFRWSE8]
movq qword [esp + 0x24], xmm0
mov byte [esp + 0x2c], al
mov dword [esp + 0x10], edx
nop word [eax + eax]
mov eax, 0x1f7047dd
mul edx
mov eax, dword [esp + 0x10]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [esp + 0x10]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x30
xor byte [esp + edx + 0x24], cl
inc edx
mov dword [esp + 0x10], edx
cmp edx, 9
jl 0x100ac3b0
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 0x100ac5e8
mov esi, dword [esp + 0x14]
push ecx
mov dword [esp], 0
mov ecx, esi
push 0x101dd3b4
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 0x101dd3b0
mov eax, dword [eax + 0x20]
call eax
mov eax, dword [esi]
fstp st(0)
push ecx
mov dword [esp], 0
mov ecx, esi
push 0x101dd3b8
mov eax, dword [eax + 0x20]
call eax
mov eax, dword [0x10215cf4]
fstp st(0)
mov ecx, dword [eax]
test ecx, ecx
je 0x100ac5e8
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 0x100ac5e8
mov eax, dword [0x10214404]
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax]
movss dword [0x103d8a50], xmm0
jmp 0x100ac5e8
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 0x100ac5e8
cmp byte [eax + 0x18c5], 0
je 0x100ac5e8
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 0x100ac5e8
movss xmm1, dword [0x101eb60c]
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 0x100ac620
mov edx, dword [esp + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100ac616
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ac634
push ecx
push edx
call fcn.1018e573
add esp, 8
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
xor ecx, esp
call fcn.1018e27a
mov esp, ebp
pop ebp
ret
call fcn.101936a6
int3