Function at 0x10012640
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 8], 0
push ebx
push esi
mov esi, dword [0x103325e0]
mov dword [ebp - 0xc], esi
push edi
mov edi, dword [esi + 0x19b0]
test al, 0x10
jne 0x100128fa
mov ebx, dword [edi + 0x118]
lea ecx, [esi + 0x19ec]
test ebx, ebx
je 0x10012682
cmp dword [ecx], ebx
jne 0x100128f1
cmp byte [esi + 0xf0], 0
je 0x100128f1
test ebx, ebx
jne 0x100128aa
test al, 8
je 0x100128f1
test byte [edi + 0x11c], 1
jne 0x100126bc
cmp dword [ecx], ebx
je 0x100128f1
cmp dword [esi + 0x1a18], edi
jne 0x100128f1
lea ecx, [edi + 0x120]
push ecx
mov ecx, edi
call fcn.10016110
mov ebx, eax
mov dword [edi + 0x118], ebx
mov edx, dword [0x103325e0]
mov dword [ebp - 8], edx
mov eax, dword [edx + 0x19d8]
test eax, eax
je 0x100126f6
cmp eax, ebx
je 0x100126f6
cmp byte [edx + 0x19dc], 0
je 0x10012892
mov eax, dword [edx + 0x19b0]
cmp dword [edx + 0x19b4], eax
jne 0x10012892
mov ecx, dword [edx + 0x19ec]
test ecx, ecx
je 0x10012723
cmp ecx, ebx
je 0x10012723
cmp byte [edx + 0x19f9], 0
je 0x10012892
movss xmm3, dword [edi + 0x120]
lea ecx, [edi + 0x120]
movss xmm0, dword [eax + 0x21c]
maxss xmm3, dword [eax + 0x214]
minss xmm0, dword [ecx + 8]
movss xmm1, dword [edx + 0x1568]
movss xmm4, dword [eax + 0x218]
movaps xmm6, xmm1
movss xmm2, dword [eax + 0x220]
maxss xmm4, dword [ecx + 4]
minss xmm2, dword [ecx + 0xc]
subss xmm3, xmm1
movss xmm1, dword [edx + 0xe8]
addss xmm6, xmm0
movss xmm0, dword [edx + 0x156c]
movaps xmm5, xmm0
subss xmm4, xmm0
addss xmm5, xmm2
comiss xmm1, xmm3
jb 0x10012892
movss xmm0, dword [edx + 0xec]
comiss xmm0, xmm4
jb 0x10012892
comiss xmm6, xmm1
jbe 0x10012892
comiss xmm5, xmm0
jbe 0x10012892
cmp byte [edx + 0x1b3b], 0
jne 0x10012892
push 0
push eax
call fcn.10017e40
add esp, 8
test al, al
je 0x10012892
mov eax, dword [edx + 0x19b0]
test byte [eax + 0x17c], 4
jne 0x10012892
mov eax, dword [0x103325e0]
mov dword [eax + 0x19d8], ebx
mov byte [eax + 0x19dc], 0
test ebx, ebx
je 0x1001281f
cmp dword [eax + 0x19e0], ebx
je 0x1001281f
mov dword [eax + 0x19e8], 0
mov dword [eax + 0x19e4], 0
cmp byte [edx + 0x2d8c], 0
je 0x10012866
cmp dword [edx + 0x19e0], ebx
jne 0x10012866
push ecx
mov dword [esp], 0x3f800000
push 0xf
push ecx
mov dword [esp], 0
lea ecx, [edi + 0x120]
lea eax, [ecx + 8]
push 0xffffff00
push eax
push ecx
mov ecx, dword [0x103325e0]
lea ecx, [ecx + 0x1cc0]
call fcn.10024400
mov edx, dword [ebp - 8]
cmp dword [edx + 0x2d90], ebx
jne 0x1001286f
int3
cmp byte [esi + 0x3d8], 0
mov al, 1
mov byte [ebp - 1], al
je 0x10012894
push edi
push ebx
call fcn.1001f180
push edi
call fcn.10015580
mov al, byte [ebp - 1]
add esp, 0xc
jmp 0x10012894
xor al, al
cmp dword [esi + 0x19ec], ebx
lea ecx, [esi + 0x19ec]
jne 0x100128f1
mov byte [esi + 0x19f9], al
jmp 0x100128b1
mov byte [esi + 0x19f9], 0
cmp dword [ecx], ebx
jne 0x100128f1
mov ecx, dword [edi + 0xcc]
mov eax, dword [edi + 0xd4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [ebp - 8], eax
mov eax, dword [0x103325e0]
cmp byte [eax + 0xf0], 0
je 0x100128f1
movss xmm1, dword [eax + 0x30]
movss xmm0, dword [eax + 0x444]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
jne 0x1001293c
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
or ebx, 0xffffffff
mov edx, 0x101bb819
mov al, 0x23
or esi, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x1001291e
cmp byte [edx], al
jne 0x1001291e
cmp byte [edx + 1], al
cmove ebx, esi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x101bb160]
test al, al
jne 0x10012910
mov esi, dword [ebp - 0xc]
not ebx
cmp byte [esi + 0x1d3c], 0
jne 0x10012975
call fcn.100137a0
mov eax, dword [ebp - 8]
mov dword [esi + 0x1d54], ebx
mov ebx, dword [ebp + 8]
mov dword [esi + 0x1d58], eax
mov byte [esi + 0x1d3c], 1
mov dword [esi + 0x1d40], ebx
mov dword [esi + 0x1d48], 0
jmp 0x10012978
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 0x1960]
mov dword [esi + 0x1d44], eax
mov byte [esi + 0x1d3d], 1
test bl, 1
jne 0x100129c1
call fcn.10012d00
cmp dword [esi + 0x1da4], 0
je 0x100129c1
test dword [esi + 0x1d98], 0x1000
je 0x100129c1
mov eax, dword [esi + 0x19b0]
mov byte [eax + 0x8f], 1
mov dword [eax + 0xa8], 1
test bl, 0x12
jne 0x100129cd
and dword [edi + 0x11c], 0xfffffffe
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret