Function at 0x1000d6b0
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, 0x78
mov eax, dword [ebx + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x6c], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [0x10043a6c]
test byte [edi + 8], 0x42
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x28], eax
jne 0x1000dff5
cmp byte [edi + 0x90], 0
jg 0x1000dff5
cmp byte [edi + 0x91], 0
jg 0x1000dff5
cmp byte [edi + 0x7b], 0
je 0x1000dff5
movss xmm2, dword [eax + 0x18c4]
xor edx, edx
movss xmm0, dword [edi + 0x3c]
movaps xmm1, xmm2
addss xmm0, dword [0x1003fe64]
mulss xmm2, dword [0x1003fe00]
mov esi, 4
mov cl, byte [eax + 0xb3]
mulss xmm1, dword [0x1003fe6c]
test cl, cl
mov byte [ebp - 0x19], 0
addss xmm0, xmm2
cmovne edx, esi
mov dword [ebp - 0x4c], edx
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1003fe4c]
cvttss2si esi, xmm0
mov dword [ebp - 0x44], esi
je 0x1000d784
movss xmm0, dword [0x1003fecc]
jmp 0x1000d787
xorps xmm0, xmm0
movss dword [ebp - 0x18], xmm0
mov ecx, str.RESIZE
movss xmm0, dword [0x1003ff84]
movss dword [ebp - 0x20], xmm0
movss dword [ebp - 0x24], xmm0
movss dword [ebp - 0x2c], xmm0
movss dword [ebp - 0x14], xmm0
mov dword [edi + 0x134], 1
mov dword [edi + 0x138], 2
call fcn.10011c70
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebx + 0xc], eax
jle 0x1000db61
nop dword [eax]
nop dword [eax + eax]
movss xmm0, dword [edi + 0xc]
lea ecx, [eax + eax*2]
movss xmm1, dword [edi + 0x10]
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x14]
movaps xmm2, xmm1
mov dword [ebp - 0x40], ecx
addss xmm2, dword [edi + 0x18]
xorps xmm6, xmm6
cvtsi2ss xmm6, esi
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [ecx*8 + 0x10043230]
mulss xmm2, dword [ecx*8 + 0x10043234]
addss xmm3, xmm0
movss xmm0, dword [ecx*8 + 0x10043238]
movaps xmm5, xmm0
mulss xmm0, dword [ebp - 0x18]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x1004323c]
movaps xmm4, xmm1
mulss xmm1, dword [ebp - 0x18]
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 0x1000d886
movss dword [ebp - 0x68], xmm5
movss dword [ebp - 0x60], xmm3
comiss xmm2, xmm4
jbe 0x1000d895
movss dword [ebp - 0x64], xmm4
movss dword [ebp - 0x5c], xmm2
mov ecx, dword [edi + 0xbc]
lea esi, [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [edi + 0xc4]
mov edi, 4
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1003b898]
sub edi, 1
jne 0x1000d8b2
mov eax, dword [0x10043a6c]
not edx
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x48]
cmp dword [eax + 0x19e4], edx
jne 0x1000d8e7
mov dword [eax + 0x19e8], edx
cmp dword [eax + 0x1a18], edx
jne 0x1000d8f6
mov byte [eax + 0x1a1c], 1
push 0x4080
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 0xa]
push eax
lea ecx, [ebp - 0x68]
call fcn.100274f0
mov dl, byte [ebp - 0xa]
add esp, 0xc
test dl, dl
jne 0x1000d920
mov cl, byte [ebp - 9]
test cl, cl
je 0x1000db16
mov edx, dword [ebp - 0x10]
mov eax, edx
mov ecx, dword [ebp - 0x28]
not eax
and eax, 1
add eax, 5
cmp byte [ebp - 9], 0
mov dword [ecx + 0x1d38], eax
je 0x1000db10
cmp byte [ecx + 0x3dd], 0
je 0x1000d996
test edx, edx
jne 0x1000d996
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x74]
mov edx, edi
push dword [eax + 4]
push dword [eax]
call fcn.1000d070
add esp, 8
mov byte [ebp - 0x19], 1
xor edx, edx
xor ecx, ecx
movss xmm3, dword [eax]
movss xmm2, dword [eax + 4]
movss dword [ebp - 0x2c], xmm3
movss dword [ebp - 0x14], xmm2
call fcn.10009980
cmp byte [ebp - 9], 0
je 0x1000db2f
mov ecx, 0x20
jmp 0x1000db3c
mov eax, dword [ebp - 0x40]
mov edx, edi
movss xmm7, dword [ecx + 0xec]
subss xmm7, dword [ecx + 0x1a0c]
movd xmm3, esi
movss xmm2, dword [eax*8 + 0x1004323c]
movss xmm6, dword [eax*8 + 0x10043238]
movaps xmm1, xmm2
mulss xmm1, dword [ebp - 0x18]
movaps xmm0, xmm6
mulss xmm0, dword [ebp - 0x18]
movss xmm4, dword [eax*8 + 0x10043230]
movss xmm5, dword [eax*8 + 0x10043234]
cvtdq2ps xmm3, xmm3
xorps xmm3, xmmword [0x100403e0]
mulss xmm6, xmm3
mulss xmm2, xmm3
subss xmm6, xmm0
subss xmm2, xmm1
mulss xmm6, xmm4
mulss xmm2, xmm5
addss xmm6, xmm0
movss xmm0, dword [ecx + 0xe8]
subss xmm0, dword [ecx + 0x1a08]
addss xmm2, xmm1
movss xmm1, dword [edi + 0x10]
movaps xmm3, xmm1
lea ecx, [ebp - 0x58]
addss xmm1, dword [edi + 0x18]
addss xmm6, xmm0
movss xmm0, dword [edi + 0xc]
addss xmm7, xmm2
movaps xmm2, xmm0
addss xmm0, dword [edi + 0x14]
subss xmm2, xmm6
subss xmm3, xmm7
mulss xmm2, xmm4
mulss xmm3, xmm5
addss xmm2, xmm6
subss xmm6, xmm0
addss xmm3, xmm7
subss xmm7, xmm1
movss dword [ebp - 0x20], xmm2
mulss xmm6, xmm4
mulss xmm7, xmm5
addss xmm6, xmm0
movss dword [ebp - 0x24], xmm3
addss xmm7, xmm1
subss xmm6, xmm2
subss xmm7, xmm3
movss dword [ebp - 0x3c], xmm6
movss dword [ebp - 4], xmm6
movss dword [ebp - 0x38], xmm7
push dword [ebp - 0x38]
movss dword [ebp - 8], xmm7
push dword [ebp - 0x3c]
call fcn.1000d070
mov ecx, dword [ebp - 0x40]
add esp, 8
movss xmm3, dword [ebp - 0x58]
xorps xmm1, xmm1
movss dword [ebp - 0x2c], xmm3
movss xmm0, dword [ecx*8 + 0x10043230]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1000dade
movss xmm2, dword [ebp - 0x20]
movaps xmm0, xmm3
subss xmm0, dword [ebp - 4]
subss xmm2, xmm0
movss dword [ebp - 0x20], xmm2
movss xmm0, dword [ecx*8 + 0x10043234]
movss xmm2, dword [ebp - 0x54]
ucomiss xmm0, xmm1
movss dword [ebp - 0x14], xmm2
lahf
test ah, 0x44
jp 0x1000db10
movss xmm1, dword [ebp - 0x24]
movaps xmm0, xmm2
subss xmm0, dword [ebp - 8]
subss xmm1, xmm0
movss dword [ebp - 0x24], xmm1
mov dl, byte [ebp - 0xa]
mov cl, byte [ebp - 9]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1000d982
test cl, cl
jne 0x1000d98c
test dl, dl
je 0x1000db54
jmp 0x1000db32
mov dl, byte [ebp - 0xa]
xor ecx, ecx
test dl, dl
setne cl
add ecx, 0x1e
movss xmm1, dword [0x1003fe64]
call fcn.10008040
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx*4], eax
mov eax, ecx
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebx + 0xc]
jl 0x1000d7e0
xor edx, edx
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x4c], edx
jbe 0x1000ddab
nop
movd xmm0, esi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp], 0x40800000
lea ecx, [ebp - 0x68]
push edx
mov edx, edi
call fcn.1000d590
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 8]
mov ecx, dword [edi + 0xbc]
add esp, 8
add eax, 4
mov dword [ebp - 8], eax
mov eax, dword [edi + 0xc4]
mov edi, 4
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1003b898]
sub edi, 1
jne 0x1000dbb0
mov eax, dword [0x10043a6c]
not edx
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x48]
cmp dword [eax + 0x19e4], edx
jne 0x1000dbe5
mov dword [eax + 0x19e8], edx
cmp dword [eax + 0x1a18], edx
jne 0x1000dbf4
mov byte [eax + 0x1a1c], 1
push 0x80
lea eax, [ebp - 0xa]
push eax
lea eax, [ebp - 9]
push eax
lea ecx, [ebp - 0x68]
call fcn.100274f0
mov ecx, dword [ebp - 0x28]
add esp, 0xc
cmp byte [ebp - 9], 0
je 0x1000dc26
movss xmm0, dword [ecx + 0x19dc]
comiss xmm0, dword [0x1003fdd0]
ja 0x1000dc30
cmp byte [ebp - 0xa], 0
je 0x1000dd9b
mov edx, dword [ebp - 0x18]
mov eax, edx
and eax, 1
add eax, 3
cmp byte [ebp - 0xa], 0
mov dword [ecx + 0x1d38], eax
je 0x1000dd9e
mov eax, dword [ebp - 0x6c]
xorps xmm4, xmm4
movss dword [ebp - 0x14], xmm4
xorps xmm5, xmm5
movss dword [ebp - 0x10], xmm5
mov dword [eax], edx
movss xmm6, dword [edi + 0xc]
movss xmm7, dword [edi + 0x10]
movaps xmm0, xmm6
movaps xmm1, xmm7
test edx, edx
jne 0x1000dc8e
movss xmm1, dword [ecx + 0xec]
subss xmm1, dword [ecx + 0x1a0c]
addss xmm1, dword [0x1003fecc]
jmp 0x1000dcc9
cmp edx, 1
jne 0x1000dc9d
movss xmm5, dword [0x1003fe64]
jmp 0x1000dcb1
cmp edx, 2
jne 0x1000dcac
movss xmm4, dword [0x1003fe64]
jmp 0x1000dc74
cmp edx, 3
jne 0x1000dcd3
movss xmm0, dword [ecx + 0xe8]
subss xmm0, dword [ecx + 0x1a08]
addss xmm0, dword [0x1003fecc]
movss dword [ebp - 0x14], xmm4
movss dword [ebp - 0x10], xmm5
movaps xmm3, xmm7
lea ecx, [ebp - 0x58]
addss xmm7, dword [edi + 0x18]
subss xmm3, xmm1
movaps xmm2, xmm6
addss xmm6, dword [edi + 0x14]
subss xmm2, xmm0
mov edx, edi
mulss xmm3, xmm4
mulss xmm2, xmm5
addss xmm3, xmm1
subss xmm1, xmm7
addss xmm2, xmm0
subss xmm0, xmm6
movss dword [ebp - 0x24], xmm3
mulss xmm1, xmm4
mulss xmm0, xmm5
addss xmm1, xmm7
movss dword [ebp - 0x20], xmm2
addss xmm0, xmm6
subss xmm1, xmm3
subss xmm0, xmm2
movss dword [ebp - 0x30], xmm1
push dword [ebp - 0x30]
movss dword [ebp - 0x34], xmm0
push dword [ebp - 0x34]
call fcn.1000d070
movss xmm0, dword [ebp - 0x10]
add esp, 8
xorps xmm1, xmm1
ucomiss xmm0, xmm1
movss xmm0, dword [ebp - 0x58]
movss dword [ebp - 0x2c], xmm0
lahf
test ah, 0x44
jp 0x1000dd70
subss xmm0, dword [ebp - 0x34]
movss xmm2, dword [ebp - 0x20]
subss xmm2, xmm0
movss dword [ebp - 0x20], xmm2
movss xmm0, dword [ebp - 0x14]
ucomiss xmm0, xmm1
movss xmm0, dword [ebp - 0x54]
movss dword [ebp - 0x14], xmm0
lahf
test ah, 0x44
jp 0x1000dd9b
subss xmm0, dword [ebp - 0x30]
movss xmm1, dword [ebp - 0x24]
subss xmm1, xmm0
movss dword [ebp - 0x24], xmm1
mov edx, dword [ebp - 0x18]
inc edx
mov dword [ebp - 0x18], edx
cmp edx, dword [ebp - 0x4c]
jl 0x1000db70
mov esi, dword [0x10043a6c]
mov ecx, dword [ebp - 0x28]
mov eax, dword [esi + 0x19b0]
dec dword [eax + 0xbc]
mov eax, dword [ecx + 0x1bcc]
test eax, eax
je 0x1000df3c
cmp dword [eax + 0x2f8], edi
jne 0x1000df3c
mov eax, dword [ecx + 0x1b00]
cmp eax, 3
jne 0x1000de24
cmp byte [ecx + 0x101], 0
je 0x1000df3c
xor edx, edx
lea ecx, [eax + 0xf]
call fcn.10014230
lea ecx, [edx + 0x11]
movaps xmm6, xmm0
call fcn.10014230
subss xmm6, xmm0
xorps xmm5, xmm5
lea ecx, [edx + 0x14]
addss xmm6, xmm5
movss dword [ebp - 0x18], xmm6
call fcn.10014230
lea ecx, [edx + 0x13]
jmp 0x1000de69
xorps xmm7, xmm7
xorps xmm6, xmm6
movss dword [ebp - 0x10], xmm7
xorps xmm5, xmm5
movss dword [ebp - 0x18], xmm6
cmp eax, 4
jne 0x1000de83
xor edx, edx
lea ecx, [eax + 1]
call fcn.10014230
lea ecx, [edx + 4]
movaps xmm6, xmm0
call fcn.10014230
subss xmm6, xmm0
lea ecx, [edx + 7]
addss xmm6, xmm5
movss dword [ebp - 0x18], xmm6
call fcn.10014230
lea ecx, [edx + 6]
xor edx, edx
movaps xmm7, xmm0
call fcn.10014230
mov ecx, dword [ebp - 0x28]
subss xmm7, xmm0
addss xmm7, xmm5
movss dword [ebp - 0x10], xmm7
ucomiss xmm6, xmm5
lahf
test ah, 0x44
jp 0x1000de99
ucomiss xmm7, xmm5
lahf
test ah, 0x44
jnp 0x1000df3f
movss xmm2, dword [ecx + 0xa8]
movss xmm0, dword [ecx + 0x18]
minss xmm2, dword [ecx + 0xac]
mulss xmm0, dword [0x1003ff54]
mov byte [ecx + 0x1be0], 0
movss xmm1, dword [0x1003fe64]
mov byte [ecx + 0x1b23], 1
mov ecx, 0x20
mulss xmm2, xmm0
cvttss2si eax, xmm2
movd xmm7, eax
cvtdq2ps xmm7, xmm7
call fcn.10008040
mov edx, edi
mov ecx, dword [ebp - 0x50]
movss xmm0, dword [ebp - 0x18]
mulss xmm0, xmm7
mov dword [ecx], eax
lea ecx, [ebp - 0x74]
addss xmm0, dword [edi + 0x1c]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebp - 0x10]
mulss xmm0, xmm7
addss xmm0, dword [edi + 0x20]
movss dword [ebp - 0x38], xmm0
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.1000d070
mov esi, dword [0x10043a6c]
add esp, 8
xorps xmm5, xmm5
movss xmm0, dword [eax]
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [eax + 4]
jmp 0x1000df44
xorps xmm5, xmm5
movss xmm0, dword [ebp - 0x14]
movss xmm1, dword [ebp - 0x2c]
movss xmm2, dword [0x1003ff84]
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x1000df7f
test dword [edi + 8], 0x100
movss dword [edi + 0x1c], xmm1
movss dword [edi + 0x20], xmm0
jne 0x1000df7f
comiss xmm5, dword [esi + 0x2d34]
jb 0x1000df7f
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x2d34], eax
movss xmm0, dword [ebp - 0x20]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1000dfc9
test dword [edi + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x24]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0xc], xmm1
movss dword [edi + 0x10], xmm0
jne 0x1000dfc9
comiss xmm5, dword [esi + 0x2d34]
jb 0x1000dfc9
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x2d34], ecx
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x20]
mov al, byte [ebp - 0x19]
mov dword [edi + 0x134], 0
mov dword [edi + 0x138], 1
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], 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