Function at 0x1000ebe0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x101dbe34]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x1c], eax
test byte [edi + 8], 0x42
jne 0x1000f712
cmp byte [edi + 0xc0], 0
jg 0x1000f712
cmp byte [edi + 0xc1], 0
jg 0x1000f712
cmp byte [edi + 0xa7], 0
je 0x1000f712
movss xmm2, dword [eax + 0x3bc8]
xor edx, edx
movss xmm0, dword [edi + 0x48]
movaps xmm1, xmm2
addss xmm0, dword [0x100d04d4]
mulss xmm2, dword [0x100d0480]
mov esi, 4
mov cl, byte [eax + 0x66]
mulss xmm1, dword [0x100d0500]
test cl, cl
mov byte [ebp - 3], 0
addss xmm0, xmm2
cmovne edx, esi
mov dword [ebp - 0x3c], edx
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100d04b8]
cvttss2si esi, xmm0
mov dword [ebp - 0x30], esi
je 0x1000eca8
movss xmm0, dword [0x100d0590]
jmp 0x1000ecab
xorps xmm0, xmm0
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [0x100d0620]
movaps xmm1, xmm0
movss dword [ebp - 0x10], xmm0
movss dword [ebp - 0x14], xmm0
movss dword [ebp - 0x20], xmm1
movss dword [ebp - 8], xmm0
mov dword [edi + 0x144], 1
call fcn.100130e0
xor edx, edx
mov dword [ebp - 0x18], edx
cmp dword [ebx + 0xc], edx
jle 0x1000f129
nop dword [eax]
movss xmm0, dword [edi + 0x10]
lea ecx, [edx + edx*2]
movss xmm1, dword [edi + 0x14]
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x18]
movaps xmm2, xmm1
mov dword [ebp - 0x2c], ecx
addss xmm2, dword [edi + 0x1c]
xorps xmm6, xmm6
cvtsi2ss xmm6, esi
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [ecx*8 + 0x100ca950]
mulss xmm2, dword [ecx*8 + 0x100ca954]
addss xmm3, xmm0
movss xmm0, dword [ecx*8 + 0x100ca958]
movaps xmm5, xmm0
mulss xmm0, dword [ebp - 0x28]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x100ca95c]
movaps xmm4, xmm1
mulss xmm1, dword [ebp - 0x28]
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [ebp - 0x60], xmm5
comiss xmm3, xmm5
movss dword [ebp - 0x68], xmm3
movss dword [ebp - 0x64], xmm2
movss dword [ebp - 0x5c], xmm4
jbe 0x1000ed96
movss dword [ebp - 0x68], xmm5
movss dword [ebp - 0x60], xmm3
comiss xmm2, xmm4
jbe 0x1000eda5
movss dword [ebp - 0x64], xmm4
movss dword [ebp - 0x5c], xmm2
mov ecx, dword [edi + 0xe0]
mov esi, 4
mov eax, dword [edi + 0xe8]
lea edi, [ebp - 0x38]
mov dword [ebp - 0x38], edx
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100ca9b8]
sub esi, 1
jne 0x1000edc2
mov eax, dword [0x101dbe34]
not edx
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x24], edx
cmp dword [eax + 0x3e6c], edx
jne 0x1000ee08
push ecx
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
mov edx, 4
call fcn.1001b5e0
mov edx, dword [ebp - 0x24]
add esp, 8
push 8
push 0
lea ecx, [ebp - 0x68]
call fcn.10014f70
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 1]
push 0x40800
push eax
lea eax, [ebp - 2]
push eax
lea ecx, [ebp - 0x68]
call fcn.1002f0c0
mov cl, byte [ebp - 2]
add esp, 0x14
test cl, cl
jne 0x1000ee41
mov al, byte [ebp - 1]
test al, al
je 0x1000f0dc
mov edx, dword [ebp - 0x18]
mov eax, edx
mov ecx, dword [ebp - 0x1c]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x4938], eax
mov al, byte [ebp - 1]
test al, al
je 0x1000f0e4
cmp word [ecx + 0x3702], 2
jne 0x1000eeb6
test edx, edx
jne 0x1000eeb6
push dword [ebp - 0x34]
mov edi, dword [ebp - 0xc]
lea ecx, [ebp - 0x58]
mov edx, edi
call fcn.1000e5a0
add esp, 4
mov byte [ebp - 3], 1
movss xmm0, dword [eax]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 8], xmm0
call fcn.1000acf0
mov edx, dword [ebp - 0x18]
cmp byte [ebp - 1], 0
je 0x1000f0fe
mov ecx, 0x20
jmp 0x1000f109
mov edx, dword [ebp - 0x2c]
movss xmm3, dword [0x100d04d4]
mov edi, dword [ebx + 0x14]
movss xmm2, dword [0x100d0654]
movss xmm0, dword [edx*8 + 0x100ca954]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x1000eee5
movss xmm7, dword [edi + 4]
jmp 0x1000eee8
movaps xmm7, xmm2
movss xmm1, dword [edx*8 + 0x100ca950]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jp 0x1000ef00
movss xmm5, dword [edi]
jmp 0x1000ef03
movaps xmm5, xmm2
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x1000ef23
movss xmm0, dword [edi + 0xc]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [0x100d0620]
jmp 0x1000ef30
movss xmm0, dword [0x100d0620]
movss dword [ebp - 0x24], xmm0
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jp 0x1000ef3e
movss xmm0, dword [edi + 8]
movss xmm1, dword [edx*8 + 0x100ca958]
xorps xmm4, xmm4
movss xmm3, dword [edx*8 + 0x100ca95c]
cvtsi2ss xmm4, esi
movss dword [ebp - 0x20], xmm0
movaps xmm2, xmm3
xorps xmm4, xmmword [0x100d0e30]
movaps xmm0, xmm1
mulss xmm0, dword [ebp - 0x28]
movaps xmm6, xmm4
mulss xmm2, dword [ebp - 0x28]
mulss xmm6, xmm1
movss xmm1, dword [edx*8 + 0x100ca950]
mulss xmm4, xmm3
subss xmm6, xmm0
subss xmm4, xmm2
mulss xmm6, xmm1
mulss xmm4, dword [edx*8 + 0x100ca954]
addss xmm6, xmm0
movss xmm0, dword [ecx + 0xdbc]
subss xmm0, dword [ecx + 0x3e98]
addss xmm4, xmm2
addss xmm6, xmm0
movss xmm0, dword [ecx + 0xdc0]
subss xmm0, dword [ecx + 0x3e9c]
addss xmm0, xmm4
comiss xmm7, xmm0
ja 0x1000efda
movss xmm7, dword [ebp - 0x24]
minss xmm7, xmm0
comiss xmm5, xmm6
ja 0x1000efe8
movss xmm5, dword [ebp - 0x20]
minss xmm5, xmm6
mov edi, dword [ebp - 0xc]
lea eax, [ebp - 0x48]
movss xmm4, dword [edx*8 + 0x100ca954]
lea ecx, [ebp - 0x50]
push eax
movss xmm0, dword [edi + 0x10]
movaps xmm2, xmm0
addss xmm0, dword [edi + 0x18]
subss xmm2, xmm5
mulss xmm2, xmm1
movss xmm1, dword [edi + 0x14]
movaps xmm3, xmm1
addss xmm1, dword [edi + 0x1c]
subss xmm3, xmm7
addss xmm2, xmm5
subss xmm5, xmm0
mulss xmm3, xmm4
mulss xmm5, dword [edx*8 + 0x100ca950]
mov edx, edi
addss xmm3, xmm7
movss dword [ebp - 0x10], xmm2
subss xmm7, xmm1
addss xmm5, xmm0
movss dword [ebp - 0x14], xmm3
mulss xmm7, xmm4
subss xmm5, xmm2
addss xmm7, xmm1
movss dword [ebp - 0x48], xmm5
subss xmm7, xmm3
movss dword [ebp - 0x44], xmm7
call fcn.1000e5a0
mov ecx, dword [ebp - 0x2c]
add esp, 4
xorps xmm2, xmm2
movss xmm0, dword [ecx*8 + 0x100ca950]
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x50]
movss dword [ebp - 0x20], xmm0
lahf
test ah, 0x44
jp 0x1000f0a5
subss xmm0, dword [ebp - 0x48]
movss xmm1, dword [ebp - 0x10]
subss xmm1, xmm0
movss dword [ebp - 0x10], xmm1
movss xmm0, dword [ecx*8 + 0x100ca954]
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x4c]
movss dword [ebp - 8], xmm0
lahf
test ah, 0x44
jp 0x1000f0d4
subss xmm0, dword [ebp - 0x44]
movss xmm1, dword [ebp - 0x14]
subss xmm1, xmm0
movss dword [ebp - 0x14], xmm1
mov edx, dword [ebp - 0x18]
mov al, byte [ebp - 1]
jmp 0x1000f0e7
mov edi, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
jmp 0x1000f0ea
mov edi, dword [ebp - 0xc]
mov cl, byte [ebp - 2]
test edx, edx
je 0x1000eea2
test al, al
jne 0x1000eeac
test cl, cl
je 0x1000f11c
xor ecx, ecx
cmp byte [ebp - 2], cl
setne cl
add ecx, 0x1e
movss xmm1, dword [0x100d04d4]
call fcn.10008c30
mov ecx, dword [ebx + 0x10]
mov dword [ecx + edx*4], eax
inc edx
mov dword [ebp - 0x18], edx
cmp edx, dword [ebx + 0xc]
jl 0x1000ecf0
xor edi, edi
mov dword [ebp - 0x38], edi
cmp dword [ebp - 0x3c], edi
jbe 0x1000f407
nop word [eax + eax]
lea eax, [edi*8]
sub eax, edi
shl eax, 2
mov dword [ebp - 0x40], eax
test edi, edi
je 0x1000f172
cmp edi, 1
je 0x1000f172
mov dword [ebp - 0x2c], 3
lea eax, [ebp - 0x44]
mov dword [ebp - 0x24], 0xdc0
mov dword [ebp - 0x18], 0x3e9c
jmp 0x1000f18a
mov dword [ebp - 0x2c], 4
lea eax, [ebp - 0x48]
mov dword [ebp - 0x24], 0xdbc
mov dword [ebp - 0x18], 0x3e98
mov edx, dword [ebp - 0xc]
movd xmm0, esi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp], 0x40800000
lea ecx, [ebp - 0x68]
push edi
mov dword [ebp - 0x34], eax
call fcn.1000eac0
mov ecx, dword [edx + 0xe0]
lea eax, [edi + 4]
mov dword [ebp - 0x28], eax
lea esi, [ebp - 0x28]
mov eax, dword [edx + 0xe8]
add esp, 8
mov edi, 4
mov edx, dword [eax + ecx*4 - 4]
not edx
nop dword [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100ca9b8]
sub edi, 1
jne 0x1000f1d0
mov eax, dword [0x101dbe34]
not edx
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x28], edx
cmp dword [eax + 0x3e6c], edx
jne 0x1000f21a
push ecx
mov ecx, dword [ebp - 0x28]
lea eax, [edi + 4]
push eax
mov edx, 4
call fcn.1001b5e0
mov edx, dword [ebp - 0x28]
add esp, 8
push 8
push 0
lea ecx, [ebp - 0x68]
call fcn.10014f70
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 1]
push 0x40800
push eax
lea eax, [ebp - 2]
push eax
lea ecx, [ebp - 0x68]
call fcn.1002f0c0
mov al, byte [ebp - 1]
add esp, 0x14
cmp byte [ebp - 2], 0
mov ecx, dword [ebp - 0x1c]
je 0x1000f25e
movss xmm0, dword [ecx + 0x3e7c]
comiss xmm0, dword [0x100d0464]
ja 0x1000f266
test al, al
je 0x1000f3fa
mov edx, dword [ebp - 0x2c]
mov dword [ecx + 0x4938], edx
test al, al
je 0x1000f3fa
mov eax, dword [ebx + 8]
mov dword [eax], edi
cmp edi, 3
jne 0x1000f47d
mov eax, dword [ebx + 0x14]
movss xmm3, dword [0x100d0654]
movss xmm4, dword [eax + 4]
movss xmm1, dword [0x100d0620]
movss xmm2, dword [0x100d0620]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
movss xmm0, dword [eax + 0x10]
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [eax + 0x14]
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [edx + ecx]
mov edx, dword [ebp - 0x18]
subss xmm0, dword [edx + ecx]
mov ecx, dword [ebp - 0x34]
addss xmm0, dword [0x100d0590]
movss dword [ecx], xmm0
movss xmm0, dword [ebp - 0x44]
comiss xmm4, xmm0
ja 0x1000f2ec
movaps xmm4, xmm1
minss xmm4, xmm0
movss xmm0, dword [ebp - 0x48]
comiss xmm3, xmm0
ja 0x1000f2fd
movaps xmm3, xmm2
minss xmm3, xmm0
mov ecx, dword [ebp - 0x40]
mov edx, eax
movss xmm0, dword [eax + 0x10]
movss xmm1, dword [eax + 0x14]
movaps xmm5, xmm0
addss xmm0, dword [eax + 0x18]
movss xmm7, dword [ecx + 0x100ca79c]
subss xmm5, xmm3
minss xmm7, dword [ecx + 0x100ca7a4]
movss xmm2, dword [ecx + 0x100ca798]
movaps xmm6, xmm1
minss xmm2, dword [ecx + 0x100ca7a0]
addss xmm1, dword [eax + 0x1c]
subss xmm6, xmm4
lea ecx, [ebp - 0x50]
movss dword [ebp - 0x38], xmm7
push ecx
mulss xmm5, xmm2
lea ecx, [ebp - 0x58]
mulss xmm6, xmm7
addss xmm5, xmm3
movss dword [ebp - 0x40], xmm2
subss xmm3, xmm0
addss xmm6, xmm4
subss xmm4, xmm1
movss dword [ebp - 0x10], xmm5
mulss xmm3, xmm2
mulss xmm4, xmm7
addss xmm3, xmm0
movss dword [ebp - 0x14], xmm6
addss xmm4, xmm1
subss xmm3, xmm5
subss xmm4, xmm6
movss dword [ebp - 0x50], xmm3
movss dword [ebp - 0x4c], xmm4
call fcn.1000e5a0
movss xmm0, dword [ebp - 0x40]
add esp, 4
xorps xmm2, xmm2
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x58]
movss dword [ebp - 0x20], xmm0
lahf
test ah, 0x44
jp 0x1000f3cf
subss xmm0, dword [ebp - 0x50]
movss xmm1, dword [ebp - 0x10]
subss xmm1, xmm0
movss dword [ebp - 0x10], xmm1
movss xmm0, dword [ebp - 0x38]
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x54]
movss dword [ebp - 8], xmm0
lahf
test ah, 0x44
jp 0x1000f3fa
subss xmm0, dword [ebp - 0x4c]
movss xmm1, dword [ebp - 0x14]
subss xmm1, xmm0
movss dword [ebp - 0x14], xmm1
inc edi
mov dword [ebp - 0x38], edi
cmp edi, dword [ebp - 0x3c]
jl 0x1000f140
mov esi, dword [0x101dbe34]
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x1c]
mov eax, dword [esi + 0x3e38]
dec dword [eax + 0xe0]
mov dword [edx + 0x144], 0
mov eax, dword [edi + 0x490c]
test eax, eax
je 0x1000f656
cmp dword [eax + 0x300], edx
jne 0x1000f656
mov eax, dword [edi + 0x47e8]
cmp eax, 2
jne 0x1000f4cb
cmp byte [edi + 0xdd5], 0
je 0x1000f656
movss xmm2, dword [esi + 0x2e08]
movss xmm3, dword [esi + 0x2e28]
subss xmm2, dword [esi + 0x2df8]
subss xmm3, dword [esi + 0x2e18]
jmp 0x1000f4f4
movss xmm0, dword [0x100d0654]
movaps xmm4, xmm0
cmp edi, 1
jne 0x1000f499
mov eax, dword [ebx + 0x14]
movss xmm3, dword [eax]
jmp 0x1000f295
movaps xmm3, xmm0
cmp edi, 2
jne 0x1000f4ae
mov eax, dword [ebx + 0x14]
movss xmm1, dword [eax + 0xc]
jmp 0x1000f29d
movss xmm1, dword [0x100d0620]
test edi, edi
jne 0x1000f29d
mov eax, dword [ebx + 0x14]
movss xmm2, dword [eax + 8]
jmp 0x1000f2a5
cmp eax, 3
jne 0x1000f656
movss xmm2, dword [esi + 0x34e8]
movss xmm3, dword [esi + 0x3508]
subss xmm2, dword [esi + 0x34d8]
subss xmm3, dword [esi + 0x34f8]
xorps xmm7, xmm7
ucomiss xmm2, xmm7
lahf
test ah, 0x44
jp 0x1000f50d
ucomiss xmm3, xmm7
lahf
test ah, 0x44
jnp 0x1000f660
movss xmm1, dword [edi + 0x58]
mov ecx, 0x20
minss xmm1, dword [edi + 0x5c]
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x100d05f4]
mov eax, dword [ebx + 0x14]
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [edi + 0x492c]
movss xmm1, dword [0x100d04d4]
addss xmm3, dword [edi + 0x4930]
movss dword [edi + 0x492c], xmm2
movss dword [edi + 0x4930], xmm3
movss xmm0, dword [eax]
subss xmm0, dword [edx + 0x10]
subss xmm0, dword [edx + 0x18]
maxss xmm2, xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [edx + 0x14]
subss xmm0, dword [edx + 0x1c]
movss dword [edi + 0x492c], xmm2
mov byte [edi + 0x4920], 0
mov byte [edi + 0x47f3], 1
maxss xmm3, xmm0
movss dword [edi + 0x4930], xmm3
call fcn.10008c30
mov ecx, dword [ebx + 0x10]
mov dword [ecx], eax
cvttss2si esi, dword [edi + 0x492c]
cvttss2si edi, dword [edi + 0x4930]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movd xmm1, edi
ucomiss xmm0, xmm7
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x1000f5e1
ucomiss xmm1, xmm7
lahf
test ah, 0x44
jnp 0x1000f667
addss xmm0, dword [edx + 0x20]
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x50]
movss dword [ebp - 0x58], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edx + 0x24]
movss dword [ebp - 0x54], xmm0
call fcn.1000e5a0
mov edx, dword [ebp - 0xc]
add esp, 4
xorps xmm7, xmm7
movss xmm1, dword [eax]
movss xmm2, dword [eax + 4]
mov eax, dword [ebp - 0x1c]
movss dword [ebp - 0x20], xmm1
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax + 0x492c]
subss xmm0, xmm1
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movss dword [eax + 0x492c], xmm0
movss xmm0, dword [eax + 0x4930]
subss xmm0, xmm1
movss dword [eax + 0x4930], xmm0
jmp 0x1000f66c
movss xmm2, dword [ebp - 8]
xorps xmm7, xmm7
jmp 0x1000f672
movss xmm2, dword [ebp - 8]
jmp 0x1000f672
movss xmm2, dword [ebp - 8]
mov esi, dword [0x101dbe34]
movss xmm1, dword [0x100d0620]
movss xmm0, dword [ebp - 0x20]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000f6ad
test dword [edx + 8], 0x100
movss dword [edx + 0x20], xmm0
movss dword [edx + 0x24], xmm2
jne 0x1000f6ad
comiss xmm7, dword [esi + 0x5a0c]
jb 0x1000f6ad
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x5a0c], eax
movss xmm0, dword [ebp - 0x10]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000f6f7
test dword [edx + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx + 0x10], xmm1
movss dword [edx + 0x14], xmm0
jne 0x1000f6f7
comiss xmm7, dword [esi + 0x5a0c]
jb 0x1000f6f7
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x5a0c], ecx
mov esi, dword [ebp - 0xc]
mov ecx, dword [edx + 0x20]
mov edx, dword [edx + 0x24]
mov al, byte [ebp - 3]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret