Function at 0x10031260
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [0x100a4ea0]
xor eax, eax
push esi
push edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], al
call fcn.1002be30
mov edi, eax
test edi, edi
je 0x10031293
mov dword [ebx + 0x4bc8], 0
xor ecx, ecx
jmp 0x10031299
mov ecx, dword [ebx + 0x4bc8]
cmp dword [ebx + 0x4bcc], 0
je 0x100312e2
test ecx, ecx
jne 0x100312e2
movss xmm0, dword [ebx + 0x28]
mulss xmm0, dword [0x1006e3e4]
movss xmm1, dword [ebx + 0x4bd8]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [ebx + 0x4bf0]
maxss xmm1, xmm0
movss dword [ebx + 0x4bd8], xmm1
jb 0x100312e2
comiss xmm0, xmm1
jb 0x100312e2
mov dword [ebx + 0x4bcc], ecx
or edx, 0xffffffff
mov esi, 0x1006e1a5
mov al, 0x23
or ebx, 0xffffffff
nop
cmp al, 0x23
jne 0x100312fe
cmp byte [esi], al
jne 0x100312fe
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x1006cb58]
test al, al
jne 0x100312f0
mov ebx, dword [ebp - 0x10]
not edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebx + 0x18]
test al, 2
je 0x10031330
test byte [ebx + 0x1c], 1
mov byte [ebp - 3], 1
jne 0x10031334
mov byte [ebp - 3], 0
and eax, 0xffffff01
mov dword [ebp - 0x18], eax
test edi, edi
jne 0x10031363
mov eax, dword [ebx + 0x4bc0]
test eax, eax
je 0x10031363
push 0x1001
push edx
push eax
call fcn.10036f10
add esp, 0xc
test al, al
je 0x10031363
mov byte [ebp - 1], 1
jmp 0x1003136b
mov byte [ebp - 1], 0
test edi, edi
jne 0x10031391
mov eax, dword [ebx + 0x4bc4]
mov esi, dword [ebp - 0xc]
test eax, eax
je 0x10031394
push 0x1001
push esi
push eax
call fcn.10036f10
add esp, 0xc
test al, al
je 0x10031394
mov byte [ebp - 2], 1
jmp 0x1003139c
mov esi, dword [ebp - 0xc]
mov byte [ebp - 2], 0
test edi, edi
jne 0x100313cf
cmp byte [ebp - 3], 0
je 0x100313cf
cmp dword [ebx + 0x4bc8], 0
jne 0x100313cf
push 0
push 0
push 0x279
call fcn.1002d490
add esp, 0xc
test al, al
je 0x100313cf
mov al, byte [ebp - 1]
mov cl, byte [ebp - 2]
mov byte [ebp - 3], 1
mov dl, byte [ebp - 3]
jmp 0x100313ef
xor dl, dl
mov byte [ebp - 3], dl
test edi, edi
jne 0x100313fb
mov cl, byte [ebp - 2]
mov al, byte [ebp - 1]
mov byte [ebp - 3], dl
mov byte [ebp - 2], cl
mov byte [ebp - 1], al
cmp dword [ebx + 0x4bc8], edi
jne 0x100313fb
test al, al
jne 0x100313f7
test cl, cl
je 0x100313fb
mov al, 1
jmp 0x100313fd
xor al, al
mov byte [ebp - 5], al
test dl, dl
jne 0x1003140c
test al, al
je 0x100314c5
mov eax, dword [ebx + 0x4a14]
test eax, eax
jne 0x10031438
mov eax, dword [ebx + 0x3f5c]
push 0xffffffffffffffff
dec eax
push 0x80000001
push eax
call fcn.1002ae90
add esp, 0xc
test eax, eax
je 0x100314c5
mov dl, byte [ebp - 3]
mov eax, dword [eax + 0x308]
mov dword [ebx + 0x4bcc], eax
mov dword [ebx + 0x4bc8], eax
movzx eax, byte [ebp - 5]
xor eax, 1
mov dword [ebx + 0x4bd8], 0
add eax, 2
mov dword [ebx + 0x4bd4], 0
cmp byte [ebp - 1], 0
mov dword [ebx + 0x4be8], 0
mov dword [ebx + 0x4bec], 0
mov dword [ebx + 0x4be0], 0
mov dword [ebx + 0x4be4], 0
mov byte [ebx + 0x4bdc], dl
mov dword [ebx + 0x4a44], eax
jne 0x100314a8
cmp byte [ebp - 2], 0
je 0x100314c5
mov eax, dword [ebx + 0x4bc4]
or eax, dword [ebx + 0x4bc0]
push 0
and eax, 0xf800
push esi
push eax
call fcn.100366b0
add esp, 0xc
movss xmm0, dword [ebx + 0x28]
addss xmm0, dword [ebx + 0x4bd4]
mov esi, dword [ebx + 0x4bc8]
movss xmm1, dword [0x1006e384]
movss xmm3, dword [0x1006e378]
movss xmm2, dword [0x1006b5bc]
movss dword [ebx + 0x4bd4], xmm0
test esi, esi
je 0x10031656
cmp dword [ebx + 0x4a44], 3
jne 0x100315d2
subss xmm0, xmm1
xorps xmm1, xmm1
divss xmm0, xmm3
comiss xmm1, xmm0
jbe 0x10031522
xorps xmm2, xmm2
jmp 0x10031526
minss xmm2, xmm0
movss xmm0, dword [ebx + 0x4bd8]
maxss xmm0, xmm2
push 1
push 0
push 0x281
movss dword [ebp - 0xc], xmm0
movss dword [ebx + 0x4bd8], xmm0
call fcn.1002d490
push 1
push 0
push 0x282
mov bl, al
call fcn.1002d490
movzx ecx, al
add esp, 0x18
movzx eax, bl
sub eax, ecx
je 0x10031593
push eax
call fcn.10031af0
mov ebx, dword [ebp - 0x10]
add esp, 4
movss xmm2, dword [0x1006b5bc]
movaps xmm0, xmm2
mov esi, dword [ebx + 0x4bc8]
mov dword [ebx + 0x4bd8], 0x3f800000
jmp 0x100315a3
movss xmm2, dword [0x1006b5bc]
movss xmm0, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
mov eax, dword [0x100a4ea0]
cmp byte [eax + 0x35c4], 0
je 0x10031626
cmp byte [eax + 0x45d8], 0
jne 0x10031626
movss xmm1, dword [0x1006e384]
movss xmm3, dword [0x1006e378]
test esi, esi
je 0x10031656
cmp dword [ebx + 0x4a44], 2
jne 0x10031656
movss xmm0, dword [ebx + 0x4bd4]
mov edx, 0xf800
mov eax, dword [ebx + 0x4bc0]
subss xmm0, xmm1
test eax, eax
mov ecx, edx
xorps xmm1, xmm1
cmovne ecx, eax
mov eax, dword [ebx + 0x4bc4]
test eax, eax
divss xmm0, xmm3
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm1, xmm0
jbe 0x10031773
xorps xmm2, xmm2
jmp 0x10031777
comiss xmm2, xmm0
seta al
and byte [ebx + 0x4bdc], al
je 0x10031643
cmp dword [ebx + 0x4a14], 0
je 0x1003164c
mov byte [ebp - 4], 1
jmp 0x1003164c
mov eax, dword [ebx + 0x4bc8]
mov dword [ebp - 0x14], eax
mov dword [ebx + 0x4bc8], 0
xorps xmm1, xmm1
cmp byte [ebp - 0x18], 0
je 0x1003169e
mov ecx, dword [0x100a4ea0]
cmp byte [ecx + 0x37b4], 0
je 0x1003169e
movss xmm0, dword [ecx + 0x37b8]
comiss xmm1, xmm0
ja 0x1003169e
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1003169e
cmp dword [ecx + 0x4744], 0xffffffff
jne 0x1003169e
mov byte [ebx + 0x4bdc], 1
mov dword [ebx + 0x4a44], 2
cmp byte [ebx + 0x4bdc], 0
je 0x1003182c
cmp dword [ebx + 0x4a44], 2
jne 0x1003182c
cmp dword [ebx + 0x38a8], 0
jg 0x100316ea
cmp byte [ebx + 0xe2c], 0
jne 0x100316ea
cmp byte [ebx + 0xe2d], 0
jne 0x100316ea
cmp byte [ebx + 0xe2f], 0
jne 0x100316ea
mov eax, dword [0x100a4ea0]
cmp dword [eax + 0x4744], 0xffffffff
je 0x100316f1
mov byte [ebx + 0x4bdc], 0
mov eax, dword [0x100a4ea0]
comiss xmm1, dword [eax + 0x37bc]
ja 0x1003180e
cmp byte [eax + 0x37b4], 0
jne 0x1003180e
cmp byte [eax + 0x474c], 0
jne 0x10031825
cmp byte [ebx + 0x4bdc], 0
je 0x1003180e
cmp dword [ebx + 0x3fe8], 0
je 0x10031740
cmp byte [ebx + 0x3ff5], 0
je 0x1003180e
lea eax, [ebx + 0x37d8]
test eax, eax
jne 0x10031754
mov eax, dword [0x100a4ea0]
add eax, 0xe10
movss xmm0, dword [eax]
movss xmm1, dword [0x1006e414]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x100317d5
comiss xmm2, xmm1
jb 0x100317d5
mov cl, 1
jmp 0x100317d7
minss xmm2, xmm0
movss xmm0, dword [ebx + 0x4bd8]
mov al, byte [ebp - 1]
maxss xmm0, xmm2
movss dword [ebx + 0x4bd8], xmm0
test al, al
jne 0x100317ba
cmp byte [ebp - 2], al
jne 0x100317ba
mov eax, dword [ebx + 0xe30]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x10031659
mov eax, dword [ebx + 0x4bc8]
mov dword [ebp - 0x14], eax
jmp 0x10031659
movzx eax, al
xor eax, 1
lea eax, [eax*2 - 1]
push eax
call fcn.10031af0
add esp, 4
jmp 0x10031659
xor cl, cl
lea eax, [ebx + 0xe10]
test eax, eax
jne 0x100317eb
mov eax, dword [0x100a4ea0]
add eax, 0xe10
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x10031802
comiss xmm2, xmm1
jb 0x10031802
mov al, 1
jmp 0x10031804
xor al, al
cmp al, cl
jne 0x1003180e
mov byte [ebp - 4], 1
jmp 0x10031825
mov eax, dword [0x100a4ea0]
cmp byte [eax + 0x37b4], 0
je 0x10031825
cmp byte [eax + 0x474c], 0
je 0x1003182c
mov byte [ebx + 0x4bdc], 0
mov eax, dword [ebx + 0x4bc8]
test eax, eax
je 0x10031997
test byte [eax + 0xc], 4
jne 0x10031997
mov eax, dword [ebx + 0x4a44]
cmp eax, 2
jne 0x10031872
cmp byte [ebx + 0xe2d], 0
jne 0x10031997
push 0x204
push 0x203
push 0x202
push 0x201
jmp 0x1003188f
cmp eax, 3
jne 0x10031997
push 0x28a
push 0x289
push 0x288
push 0x287
lea eax, [ebp - 0x1c]
push eax
call fcn.1002b780
add esp, 0x14
xorps xmm2, xmm2
movss xmm4, dword [eax]
movss xmm3, dword [eax + 4]
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jp 0x100318bd
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jnp 0x10031997
movss xmm1, dword [ebx + 0x4c]
minss xmm1, dword [ebx + 0x50]
movss xmm0, dword [ebx + 0x28]
mulss xmm0, dword [0x1006e404]
mov byte [ebx + 0x4a5b], 1
mulss xmm1, xmm0
mulss xmm4, xmm1
mulss xmm3, xmm1
addss xmm4, dword [ebx + 0x4be0]
addss xmm3, dword [ebx + 0x4be4]
cvttss2si esi, xmm4
cvttss2si edi, xmm3
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movd xmm1, edi
ucomiss xmm0, xmm2
movss dword [ebx + 0x4be0], xmm4
movss dword [ebx + 0x4be4], xmm3
lahf
cvtdq2ps xmm1, xmm1
test ah, 0x44
jp 0x1003192f
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x10031997
mov eax, dword [ebx + 0x4bc8]
lea ecx, [ebp - 0x1c]
push 1
push ecx
mov eax, dword [eax + 0x308]
push eax
addss xmm0, dword [eax + 0x18]
movss dword [ebp - 0x1c], xmm0
movaps xmm0, xmm1
addss xmm0, dword [eax + 0x1c]
movss dword [ebp - 0x18], xmm0
call fcn.10036c90
movss xmm0, dword [ebx + 0x4be0]
add esp, 0xc
movd xmm1, esi
cvtdq2ps xmm1, xmm1
subss xmm0, xmm1
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movss dword [ebx + 0x4be0], xmm0
movss xmm0, dword [ebx + 0x4be4]
subss xmm0, xmm1
movss dword [ebx + 0x4be4], xmm0
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x10031a19
mov eax, dword [ebx + 0x4a14]
test eax, eax
je 0x100319b0
cmp esi, dword [eax + 0x308]
je 0x10031a0f
push 0
push 0
call fcn.10036110
mov eax, dword [0x100a4ea0]
push 0
push esi
mov word [eax + 0x4a59], 1
mov byte [eax + 0x4a5b], 1
call fcn.10028a90
push 1
push esi
call fcn.1002afe0
mov esi, dword [ebx + 0x4a14]
add esp, 0x18
cmp dword [esi + 0x31c], 0
jne 0x100319fb
push 0
push esi
call fcn.1002e830
add esp, 8
cmp word [esi + 0x156], 2
jne 0x10031a0f
mov dword [ebx + 0x4a48], 1
mov dword [ebx + 0x4bc8], 0
cmp byte [ebp - 4], 0
je 0x10031ae6
cmp dword [ebx + 0x4a14], 0
je 0x10031ae6
push 0
push 0
call fcn.10036110
mov esi, dword [ebx + 0x4a14]
add esp, 8
cmp dword [esi + 0x300], 0
lea ecx, [esi + 0x300]
je 0x10031a7a
test byte [esi + 0x154], 2
jne 0x10031a7a
mov eax, dword [esi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x10031a7a
mov esi, dword [ecx]
cmp dword [esi + 0x300], 0
lea ecx, [esi + 0x300]
jne 0x10031a51
mov edi, dword [ebx + 0x4a14]
cmp esi, edi
je 0x10031a95
push 0
push esi
call fcn.1002afe0
add esp, 8
mov dword [esi + 0x318], edi
mov ecx, dword [ebx + 0x4a14]
test byte [ecx + 0x154], 2
je 0x10031aaf
mov eax, dword [ebx + 0x4a48]
xor eax, 1
jmp 0x10031ab1
xor eax, eax
cmp eax, dword [ebx + 0x4a48]
je 0x10031ae6
cmp eax, 1
jne 0x10031ac8
mov dword [ecx + 0x320], 0
push eax
call fcn.1002f400
mov eax, dword [0x100a4ea0]
add esp, 4
mov word [eax + 0x4a59], 1
mov byte [eax + 0x4a5b], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret