Function at 0x1000b790
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 [0x10081d40]
mov dword [ebp - 0x34], edx
mov edx, ecx
push esi
push edi
mov dword [ebp - 0xc], edx
test byte [edx + 8], 0x42
mov dword [ebp - 0x20], eax
jne 0x1000c0b8
cmp dword [edx + 0x90], 0
jg 0x1000c0b8
cmp dword [edx + 0x94], 0
jg 0x1000c0b8
cmp byte [edx + 0x7b], 0
je 0x1000c0b8
movss xmm2, dword [eax + 0x18a4]
xor esi, esi
movss xmm0, dword [edx + 0x44]
movaps xmm1, xmm2
addss xmm0, dword [0x10076238]
mulss xmm2, dword [0x100761f4]
mov edi, 4
mov cl, byte [eax + 0xaf]
mulss xmm1, dword [0x1007623c]
test cl, cl
addss xmm0, xmm2
cmovne esi, edi
mov dword [ebp - 0x30], esi
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10076224]
cvttss2si esi, xmm0
mov dword [ebp - 0x2c], esi
je 0x1000b854
movss xmm0, dword [0x10076288]
jmp 0x1000b857
xorps xmm0, xmm0
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [0x10076310]
movss dword [ebp - 0x10], xmm0
movss dword [ebp - 0x14], xmm0
movss dword [ebp - 0x24], xmm0
movss dword [ebp - 8], xmm0
call fcn.1000f3b0
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
cmp dword [ebx + 0xc], ecx
jle 0x1000bc81
nop dword [eax + eax]
mov eax, dword [ebp - 0xc]
lea edx, [ecx + ecx*2]
xorps xmm6, xmm6
mov dword [ebp - 0x3c], edx
cvtsi2ss xmm6, esi
movss xmm0, dword [eax + 0xc]
movss xmm1, dword [eax + 0x10]
movaps xmm3, xmm0
addss xmm3, dword [eax + 0x14]
movss xmm2, dword [eax + 0x18]
addss xmm2, xmm1
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [edx*8 + 0x100795b8]
mulss xmm2, dword [edx*8 + 0x100795bc]
addss xmm3, xmm0
movss xmm0, dword [edx*8 + 0x100795c0]
movaps xmm5, xmm0
mulss xmm0, dword [ebp - 0x18]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [edx*8 + 0x100795c4]
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 0x1000b93a
movss dword [ebp - 0x68], xmm5
movss dword [ebp - 0x60], xmm3
comiss xmm2, xmm4
jbe 0x1000b949
movss dword [ebp - 0x64], xmm4
movss dword [ebp - 0x5c], xmm2
mov dword [ebp - 0x28], ecx
lea esi, [ebp - 0x28]
mov ecx, dword [eax + 0x1c0]
mov edi, 4
mov eax, dword [eax + 0x1c8]
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 + 0x10036900]
sub edi, 1
jne 0x1000b966
mov edi, dword [0x10081d40]
not edx
mov esi, dword [ebp - 0x2c]
cmp dword [edi + 0x19a4], edx
jne 0x1000b999
mov dword [edi + 0x19ac], edx
cmp dword [edi + 0x19a8], edx
jne 0x1000b9a8
mov byte [edi + 0x19b8], 1
push 0x2020
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 2]
push eax
lea ecx, [ebp - 0x68]
call fcn.10023360
mov dl, byte [ebp - 2]
add esp, 0xc
test dl, dl
jne 0x1000b9d2
mov al, byte [ebp - 1]
test al, al
je 0x1000bc36
mov edx, dword [ebp - 0x1c]
mov eax, edx
mov ecx, dword [ebp - 0x20]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x1c54], eax
mov al, byte [ebp - 1]
test al, al
je 0x1000bc33
cmp byte [ecx + 0x3d5], 0
je 0x1000baa2
test edx, edx
jne 0x1000baa2
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x58]
mov edx, dword [ebp - 0xc]
push dword [eax + 4]
push dword [eax]
call fcn.1000b100
mov edi, dword [0x10081d40]
add esp, 8
movss xmm3, dword [eax]
mov ecx, dword [edi + 0x19a4]
test ecx, ecx
movss xmm2, dword [eax + 4]
setne al
movss dword [ebp - 0x24], xmm3
movss dword [ebp - 8], xmm2
mov byte [edi + 0x19b4], al
test ecx, ecx
je 0x1000ba5f
mov dword [edi + 0x19b0], 0
mov word [edi + 0x19b6], 0
mov dword [edi + 0x19a4], 0
mov dword [edi + 0x19bc], 0
mov dword [edi + 0x19c0], 0
mov byte [edi + 0x19b5], 0
mov dword [edi + 0x19cc], 0
cmp byte [ebp - 1], 0
je 0x1000bc4f
mov ecx, 0x20
jmp 0x1000bc5c
mov edi, dword [ebp - 0x3c]
movd xmm3, esi
cvtdq2ps xmm3, xmm3
mov eax, dword [ebp - 0xc]
mov edx, eax
movss xmm7, dword [edi*8 + 0x100795c0]
xorps xmm3, xmmword [0x100767b0]
movaps xmm0, xmm7
mulss xmm0, dword [ebp - 0x18]
movss xmm2, dword [edi*8 + 0x100795c4]
movss xmm4, dword [edi*8 + 0x100795b8]
movaps xmm1, xmm2
mulss xmm1, dword [ebp - 0x18]
movss xmm5, dword [edi*8 + 0x100795bc]
mulss xmm7, xmm3
mulss xmm2, xmm3
subss xmm7, xmm0
movss xmm6, dword [eax + 0x10]
movss xmm3, dword [eax + 0xc]
subss xmm2, xmm1
mulss xmm7, xmm4
mulss xmm2, xmm5
addss xmm7, xmm0
movss xmm0, dword [ecx + 0xe0]
subss xmm0, dword [ecx + 0x19c4]
addss xmm2, xmm1
addss xmm7, xmm0
movss xmm0, dword [ecx + 0xe4]
subss xmm0, dword [ecx + 0x19c8]
lea ecx, [ebp - 0x50]
subss xmm3, xmm7
addss xmm0, xmm2
movss xmm2, dword [eax + 0x18]
addss xmm2, dword [eax + 0x10]
mulss xmm3, xmm4
subss xmm6, xmm0
movss dword [ebp - 0x28], xmm0
addss xmm3, xmm7
mulss xmm6, xmm5
movss dword [ebp - 0x10], xmm3
addss xmm6, xmm0
movss xmm0, dword [eax + 0x14]
addss xmm0, dword [eax + 0xc]
movss dword [ebp - 0x14], xmm6
subss xmm7, xmm0
mulss xmm7, xmm4
addss xmm7, xmm0
movss xmm0, dword [ebp - 0x28]
subss xmm0, xmm2
subss xmm7, xmm3
mulss xmm0, xmm5
addss xmm0, xmm2
movss dword [ebp - 0x48], xmm7
movss dword [ebp - 0x3c], xmm7
subss xmm0, xmm6
movss dword [ebp - 0x44], xmm0
push dword [ebp - 0x44]
movss dword [ebp - 0x28], xmm0
push dword [ebp - 0x48]
call fcn.1000b100
movss xmm0, dword [edi*8 + 0x100795b8]
add esp, 8
movss xmm3, dword [ebp - 0x50]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
movss dword [ebp - 0x24], xmm3
lahf
test ah, 0x44
jp 0x1000bbf8
movss xmm1, dword [ebp - 0x10]
movaps xmm0, xmm3
subss xmm0, dword [ebp - 0x3c]
subss xmm1, xmm0
movss dword [ebp - 0x10], xmm1
movss xmm0, dword [edi*8 + 0x100795bc]
ucomiss xmm0, xmm2
movss xmm2, dword [ebp - 0x4c]
movss dword [ebp - 8], xmm2
lahf
test ah, 0x44
jp 0x1000bc2a
movss xmm1, dword [ebp - 0x14]
movaps xmm0, xmm2
subss xmm0, dword [ebp - 0x28]
subss xmm1, xmm0
movss dword [ebp - 0x14], xmm1
mov edi, dword [0x10081d40]
mov al, byte [ebp - 1]
mov dl, byte [ebp - 2]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x1000ba8e
test al, al
jne 0x1000ba98
test dl, dl
je 0x1000bc72
jmp 0x1000bc52
mov dl, byte [ebp - 2]
xor ecx, ecx
test dl, dl
setne cl
add ecx, 0x1e
movss xmm1, dword [0x10076238]
call fcn.100062b0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebx + 0x10]
mov dword [edx + ecx*4], eax
inc ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [ebx + 0xc]
jl 0x1000b890
jmp 0x1000bc87
mov edi, dword [0x10081d40]
xor edx, edx
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x30], edx
jbe 0x1000bedc
movd xmm0, esi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp], 0x40800000
lea ecx, [ebp - 0x68]
push edx
mov edx, dword [ebp - 0xc]
call fcn.1000b660
mov eax, dword [ebp - 0x1c]
lea edi, [ebp - 0x3c]
mov ecx, dword [edx + 0x1c0]
add esp, 8
add eax, 4
mov esi, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [edx + 0x1c8]
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 + 0x10036900]
sub esi, 1
jne 0x1000bcd6
mov edi, dword [0x10081d40]
not edx
mov esi, dword [ebp - 0x2c]
cmp dword [edi + 0x19a4], edx
jne 0x1000bd09
mov dword [edi + 0x19ac], edx
cmp dword [edi + 0x19a8], edx
jne 0x1000bd18
mov byte [edi + 0x19b8], 1
push 0x20
lea eax, [ebp - 2]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x68]
call fcn.10023360
mov ecx, dword [ebp - 0x20]
add esp, 0xc
cmp byte [ebp - 1], 0
je 0x1000bd47
movss xmm0, dword [ecx + 0x199c]
comiss xmm0, dword [0x100761e0]
ja 0x1000bd51
cmp byte [ebp - 2], 0
je 0x1000becc
mov edx, dword [ebp - 0x1c]
mov eax, edx
and eax, 1
add eax, 3
cmp byte [ebp - 2], 0
mov dword [ecx + 0x1c54], eax
je 0x1000becf
mov eax, dword [ebx + 8]
xorps xmm6, xmm6
movss dword [ebp - 0x18], xmm6
xorps xmm7, xmm7
movss dword [ebp - 8], xmm7
mov dword [eax], edx
mov eax, dword [ebp - 0xc]
movss xmm4, dword [eax + 0xc]
movss xmm1, dword [eax + 0x10]
movaps xmm2, xmm4
movaps xmm3, xmm1
test edx, edx
jne 0x1000bdb2
movss xmm3, dword [ecx + 0xe4]
subss xmm3, dword [ecx + 0x19c8]
addss xmm3, dword [0x10076288]
jmp 0x1000bded
cmp edx, 1
jne 0x1000bdc1
movss xmm7, dword [0x10076238]
jmp 0x1000bdd5
cmp edx, 2
jne 0x1000bdd0
movss xmm6, dword [0x10076238]
jmp 0x1000bd98
cmp edx, 3
jne 0x1000bdf7
movss xmm2, dword [ecx + 0xe0]
subss xmm2, dword [ecx + 0x19c4]
addss xmm2, dword [0x10076288]
movss dword [ebp - 0x18], xmm6
movss dword [ebp - 8], xmm7
movss xmm0, dword [eax + 0x14]
subss xmm4, xmm2
addss xmm0, dword [eax + 0xc]
movaps xmm5, xmm1
lea ecx, [ebp - 0x50]
movss xmm1, dword [eax + 0x18]
subss xmm5, xmm3
addss xmm1, dword [eax + 0x10]
mulss xmm4, xmm7
mov edx, eax
mulss xmm5, xmm6
addss xmm4, xmm2
subss xmm2, xmm0
addss xmm5, xmm3
subss xmm3, xmm1
movss dword [ebp - 0x10], xmm4
mulss xmm2, xmm7
mulss xmm3, xmm6
addss xmm2, xmm0
movss dword [ebp - 0x14], xmm5
addss xmm3, xmm1
subss xmm2, xmm4
subss xmm3, xmm5
movss dword [ebp - 0x38], xmm2
movss dword [ebp - 0x34], xmm3
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.1000b100
movss xmm0, dword [ebp - 8]
add esp, 8
xorps xmm2, xmm2
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x50]
movss dword [ebp - 0x24], xmm0
lahf
test ah, 0x44
jp 0x1000be9b
subss xmm0, dword [ebp - 0x38]
movss xmm1, dword [ebp - 0x10]
subss xmm1, xmm0
movss dword [ebp - 0x10], xmm1
movss xmm0, dword [ebp - 0x18]
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x4c]
movss dword [ebp - 8], xmm0
lahf
test ah, 0x44
jp 0x1000bec6
subss xmm0, dword [ebp - 0x34]
movss xmm1, dword [ebp - 0x14]
subss xmm1, xmm0
movss dword [ebp - 0x14], xmm1
mov edi, dword [0x10081d40]
mov edx, dword [ebp - 0x1c]
inc edx
mov dword [ebp - 0x1c], edx
cmp edx, dword [ebp - 0x30]
jl 0x1000bc95
mov eax, dword [edi + 0x1984]
mov esi, dword [ebp - 0xc]
dec dword [eax + 0x1c0]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x1ad4]
test ecx, ecx
je 0x1000c01f
cmp dword [ecx + 0x2f0], esi
jne 0x1000c01f
mov ecx, dword [eax + 0x1abc]
cmp ecx, 3
jne 0x1000bf29
cmp byte [eax + 0xf9], 0
je 0x1000c01f
push ecx
lea edx, [ecx - 2]
lea ecx, [ebp - 0x50]
jmp 0x1000bf39
cmp ecx, 4
jne 0x1000c01f
push ecx
lea edx, [ecx - 2]
lea ecx, [ebp - 0x40]
mov dword [esp], 0
xorps xmm3, xmm3
push 0
call fcn.10010ce0
add esp, 8
xorps xmm2, xmm2
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
ucomiss xmm0, xmm2
movss dword [ebp - 0x2c], xmm1
movss dword [ebp - 0x30], xmm0
lahf
test ah, 0x44
jp 0x1000bf79
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x1000c022
mov ecx, dword [ebp - 0x20]
movss xmm1, dword [0x10076238]
movss xmm2, dword [ecx + 0xa4]
movss xmm0, dword [ecx + 0x18]
minss xmm2, dword [ecx + 0xa8]
mulss xmm0, dword [0x100762ec]
mov byte [ecx + 0x1ae8], 0
mov byte [ecx + 0x1af7], 1
mov ecx, 0x20
mulss xmm2, xmm0
cvttss2si eax, xmm2
movd xmm7, eax
cvtdq2ps xmm7, xmm7
call fcn.100062b0
mov edx, esi
mov ecx, dword [ebx + 0x10]
movss xmm0, dword [ebp - 0x30]
mulss xmm0, xmm7
mov dword [ecx], eax
lea ecx, [ebp - 0x48]
addss xmm0, dword [esi + 0x1c]
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [ebp - 0x2c]
mulss xmm0, xmm7
addss xmm0, dword [esi + 0x20]
movss dword [ebp - 0x44], xmm0
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call fcn.1000b100
mov edi, dword [0x10081d40]
add esp, 8
xorps xmm2, xmm2
movss xmm0, dword [eax]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [eax + 4]
jmp 0x1000c027
xorps xmm2, xmm2
movss xmm0, dword [ebp - 8]
movss xmm1, dword [ebp - 0x24]
movss xmm3, dword [0x10076310]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jnp 0x1000c062
test dword [esi + 8], 0x100
movss dword [esi + 0x1c], xmm1
movss dword [esi + 0x20], xmm0
jne 0x1000c062
comiss xmm2, dword [edi + 0x2c2c]
jb 0x1000c062
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x2c2c], eax
movss xmm0, dword [ebp - 0x10]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x1000c0ac
test dword [esi + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0xc], xmm1
movss dword [esi + 0x10], xmm0
jne 0x1000c0ac
comiss xmm2, dword [edi + 0x2c2c]
jb 0x1000c0ac
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x2c2c], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0x18], eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret