Function at 0x100acc90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x34
mov eax, dword [0x102230c0]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [0x10240c88]
push ebx
push esi
push edi
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x100acfe5
mov eax, dword [0x10240c88]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x100acfe5
mov eax, dword [0x10242574]
mov ecx, dword [eax]
test ecx, ecx
je 0x100acff9
mov eax, dword [ecx]
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x100acff9
cmp dword [0x1024c168], 0
je 0x100acff9
mov eax, dword [0x10240c7c]
mov ecx, dword [eax + 0xcc]
mov ecx, dword [ecx]
call fcn.10091580
cmp byte [eax], 0
je 0x100acbd2
mov eax, dword [0x10240c7c]
mov eax, dword [eax + 0xc]
movss xmm0, dword [eax]
mov al, 1
movss dword [0x1024c140], xmm0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.101b67d9
mov esp, ebp
pop ebp
ret
mov edx, dword [0x10242574]
movss xmm0, dword [0x104692b8]
mov eax, dword [edx]
movss xmm1, dword [eax + 0x103c0]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100acc0f
movss dword [0x104692b8], xmm1
mov dword [0x1024c154], 0
mov dword [0x1024c150], 0
mov eax, dword [0x10240c80]
cmp byte [eax + 0x3570], 0
je case.0x100acc2d.0
mov ecx, dword [eax + 0x3574]
add eax, 0x3574
cmp ecx, 3
ja case.0x100acc2d.0
jmp dword [ecx*4 + 0x100ad018]
mov ecx, eax
call fcn.100c8e50
mov edx, dword [0x10242574]
jmp 0x100acc46
mov al, byte [eax + 0x20]
test al, al
je case.0x100acc2d.0
mov eax, dword [0x10240c7c]
mov dword [0x1024c170], 0
mov dword [0x1024c148], 0
mov dword [0x1024c15c], 0
mov eax, dword [eax + 0xc]
movss xmm0, dword [eax]
mov al, 1
movss dword [0x1024c140], xmm0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.101b67d9
mov esp, ebp
pop ebp
ret
mov ecx, dword [edx]
mov eax, dword [ecx]
mov eax, dword [eax + 0x430]
call eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10241d9c]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x10534444]
cmp eax, dword [esi + 4]
jle 0x100ace88
push 0x10534444
call fcn.101b6d6c
add esp, 4
cmp dword [0x10534444], 0xffffffff
jne 0x100ace88
mov eax, dword [0x10240c88]
xor ebx, ebx
cmp dword [0x10241d90], 2
movups xmm0, xmmword [str.AEkXWOMJHXQYNM__071__:J]
mov edi, dword [eax + 8]
mov al, byte [0x1020644c]
movups xmmword [esp + 0x20], xmm0
mov byte [esp + 0x38], al
movq xmm0, qword [0x10206444]
movq qword [esp + 0x30], xmm0
jl 0x100ace40
movaps xmm0, xmmword [str.2222222222222222]
movaps xmm4, xmmword [0x102157f0]
movaps xmm3, xmmword [0x10215bc0]
movaps xmm5, xmmword [0x10215860]
movaps xmmword [esp + 0x10], xmm0
mov ecx, dword [esp + 0x10]
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
psrad xmm1, 4
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 [0x10215920]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x20]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x20], xmm1
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
psrad xmm1, 4
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 [0x10215920]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x24]
xorps xmm1, xmm0
movd dword [esp + ebx + 0x24], xmm1
add ebx, 8
cmp ebx, 0x18
jl 0x100acd40
cmp ebx, 0x19
jge 0x100ace68
nop dword [eax]
mov eax, 0x4d4873ed
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x32
xor byte [esp + ebx + 0x20], cl
inc ebx
cmp ebx, 0x19
jl 0x100ace40
mov eax, dword [edi]
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x3c]
call eax
push 0x10534444
mov dword [0x10534448], eax
call fcn.101b6d1b
add esp, 4
mov ecx, dword [0x10534448]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
mov eax, dword [0x1053444c]
cmp eax, dword [esi + 4]
jle 0x100acec5
push 0x1053444c
call fcn.101b6d6c
add esp, 4
cmp dword [0x1053444c], 0xffffffff
jne 0x100acec5
push 0x1053444c
call fcn.101b6d1b
add esp, 4
mov eax, dword [0x104692c0]
cmp eax, dword [esi + 4]
jle 0x100acf10
push 0x104692c0
call fcn.101b6d6c
add esp, 4
cmp dword [0x104692c0], 0xffffffff
jne 0x100acf10
mov edx, 0xc60bf9f2
mov ecx, 0x10206415
call fcn.1007d620
mov ecx, eax
call fcn.100ced60
push 0x104692c0
mov dword [0x104692bc], eax
call fcn.101b6d1b
add esp, 4
mov eax, dword [0x1024c154]
cmp eax, dword [0x1024c168]
jl 0x100acf34
call fcn.101aad70
sub eax, dword [0x1024c168]
cmp dword [0x1024c164], eax
jle 0x100ad003
mov eax, dword [0x10240c7c]
mov eax, dword [eax + 0xc]
movss xmm1, dword [eax]
movaps xmm0, xmm1
subss xmm0, dword [0x1024c140]
comiss xmm0, dword [0x102151f8]
jbe 0x100ad003
subss xmm1, dword [0x1024c108]
comiss xmm1, dword [0x102152ac]
ja 0x100acf76
cmp byte [0x1024c160], 0
jne 0x100ad003
call fcn.101aad70
mov ecx, dword [0x1024c154]
lea edx, [ecx + 1]
mov dword [0x1024c154], edx
cmp ecx, eax
jl 0x100acf95
call fcn.101aad70
mov edx, eax
mov eax, dword [0x1024c164]
mov dword [0x1024c154], edx
test eax, eax
jle 0x100acfc4
inc dword [0x1024c150]
dec eax
mov dword [0x1024c164], eax
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.101b67d9
mov esp, ebp
pop ebp
ret
inc dword [0x1024c150]
xor eax, eax
mov dword [0x1024c164], eax
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.101b67d9
mov esp, ebp
pop ebp
ret
mov dword [0x1024c164], 0
mov dword [0x1024c150], 0
mov dword [0x1024c154], 0
mov ecx, dword [esp + 0x3c]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101b67d9
mov esp, ebp
pop ebp
ret