Function at 0x100accd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x34
mov eax, dword [0x102220c0]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [0x1023fc88]
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 0x100ad025
mov eax, dword [0x1023fc88]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x100ad025
mov eax, dword [0x10241574]
mov ecx, dword [eax]
test ecx, ecx
je 0x100ad039
mov eax, dword [ecx]
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x100ad039
cmp dword [0x1024b168], 0
je 0x100ad039
mov eax, dword [0x1023fc7c]
mov ecx, dword [eax + 0xcc]
mov ecx, dword [ecx]
call fcn.10091420
cmp byte [eax], 0
je 0x100acc12
mov eax, dword [0x1023fc7c]
mov eax, dword [eax + 0xc]
movss xmm0, dword [eax]
mov al, 1
movss dword [0x1024b140], xmm0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.101b579a
mov esp, ebp
pop ebp
ret
mov edx, dword [0x10241574]
movss xmm0, dword [0x104682b8]
mov eax, dword [edx]
movss xmm1, dword [eax + 0x103c0]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100acc4f
movss dword [0x104682b8], xmm1
mov dword [0x1024b154], 0
mov dword [0x1024b150], 0
mov eax, dword [0x1023fc80]
cmp byte [eax + 0x3580], 0
je case.0x100acc6d.0
mov ecx, dword [eax + 0x3584]
add eax, 0x3584
cmp ecx, 3
ja case.0x100acc6d.0
jmp dword [ecx*4 + 0x100ad058]
mov ecx, eax
call fcn.100c8dc0
mov edx, dword [0x10241574]
jmp 0x100acc86
mov al, byte [eax + 0x20]
test al, al
je case.0x100acc6d.0
mov eax, dword [0x1023fc7c]
mov dword [0x1024b170], 0
mov dword [0x1024b148], 0
mov dword [0x1024b15c], 0
mov eax, dword [eax + 0xc]
movss xmm0, dword [eax]
mov al, 1
movss dword [0x1024b140], xmm0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.101b579a
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 [0x10240d9c]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x10533230]
cmp eax, dword [esi + 4]
jle 0x100acec8
push 0x10533230
call fcn.101b5d2d
add esp, 4
cmp dword [0x10533230], 0xffffffff
jne 0x100acec8
mov eax, dword [0x1023fc88]
xor ebx, ebx
cmp dword [0x10240d90], 2
movups xmm0, xmmword [str.EAgT_CINL__214___N]
mov edi, dword [eax + 8]
mov al, byte [0x1020549c]
movups xmmword [esp + 0x20], xmm0
mov byte [esp + 0x38], al
movq xmm0, qword [0x10205494]
movq qword [esp + 0x30], xmm0
jl 0x100ace80
movaps xmm0, xmmword [0x10214a90]
lea edx, [esp + 0x24]
movaps xmm4, xmmword [0x10214950]
movaps xmm3, xmmword [0x10214d20]
movaps xmm5, xmmword [0x102149b0]
movaps xmmword [esp + 0x10], xmm0
mov ecx, dword [esp + 0x10]
nop dword [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 [0x10214a50]
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 [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [edx + ebx]
xorps xmm1, xmm0
movd dword [edx + ebx], xmm1
add ebx, 8
cmp ebx, 0x18
jl 0x100acd80
cmp ebx, 0x19
jge 0x100acea8
nop word [eax + eax]
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + ebx + 0x20], cl
inc ebx
cmp ebx, 0x19
jl 0x100ace80
mov eax, dword [edi]
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x3c]
call eax
push 0x10533230
mov dword [0x10533234], eax
call fcn.101b5cdc
add esp, 4
mov ecx, dword [0x10533234]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
mov eax, dword [0x1053323c]
cmp eax, dword [esi + 4]
jle 0x100acf05
push 0x1053323c
call fcn.101b5d2d
add esp, 4
cmp dword [0x1053323c], 0xffffffff
jne 0x100acf05
push 0x1053323c
call fcn.101b5cdc
add esp, 4
mov eax, dword [0x104682c0]
cmp eax, dword [esi + 4]
jle 0x100acf50
push 0x104682c0
call fcn.101b5d2d
add esp, 4
cmp dword [0x104682c0], 0xffffffff
jne 0x100acf50
mov edx, 0xc60bf9f2
mov ecx, 0x10205465
call fcn.1007d630
mov ecx, eax
call fcn.100ce850
push 0x104682c0
mov dword [0x104682bc], eax
call fcn.101b5cdc
add esp, 4
mov eax, dword [0x1024b154]
cmp eax, dword [0x1024b168]
jl 0x100acf74
call fcn.101a9d50
sub eax, dword [0x1024b168]
cmp dword [0x1024b164], eax
jle 0x100ad043
mov eax, dword [0x1023fc7c]
mov eax, dword [eax + 0xc]
movss xmm1, dword [eax]
movaps xmm0, xmm1
subss xmm0, dword [0x1024b140]
comiss xmm0, dword [0x10214354]
jbe 0x100ad043
subss xmm1, dword [0x1024b108]
comiss xmm1, dword [0x10214420]
ja 0x100acfb6
cmp byte [0x1024b160], 0
jne 0x100ad043
call fcn.101a9d50
mov ecx, dword [0x1024b154]
lea edx, [ecx + 1]
mov dword [0x1024b154], edx
cmp ecx, eax
jl 0x100acfd5
call fcn.101a9d50
mov edx, eax
mov eax, dword [0x1024b164]
mov dword [0x1024b154], edx
test eax, eax
jle 0x100ad004
inc dword [0x1024b150]
dec eax
mov dword [0x1024b164], eax
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.101b579a
mov esp, ebp
pop ebp
ret
inc dword [0x1024b150]
xor eax, eax
mov dword [0x1024b164], eax
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.101b579a
mov esp, ebp
pop ebp
ret
mov dword [0x1024b164], 0
mov dword [0x1024b150], 0
mov dword [0x1024b154], 0
mov ecx, dword [esp + 0x3c]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101b579a
mov esp, ebp
pop ebp
ret