Function at 0x10031d10
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [0x1009dc80]
xor eax, eax
push esi
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
mov byte [ebp - 8], al
call fcn.1002e040
mov dword [ebp - 0xc], eax
test eax, eax
je 0x10031d44
mov dword [ebx + 0x4c00], 0
xor eax, eax
jmp 0x10031d4a
mov eax, dword [ebx + 0x4c00]
cmp dword [ebx + 0x4c04], 0
je 0x10031d93
test eax, eax
jne 0x10031d93
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x1008e894]
movss xmm1, dword [ebx + 0x4c10]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [ebx + 0x4c2c]
maxss xmm1, xmm0
movss dword [ebx + 0x4c10], xmm1
jb 0x10031d93
comiss xmm0, xmm1
jb 0x10031d93
mov dword [ebx + 0x4c04], eax
or edx, 0xffffffff
mov esi, 0x10089cb5
mov al, 0x23
or edi, 0xffffffff
cmp al, 0x23
jne 0x10031dae
cmp byte [esi], al
jne 0x10031dae
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x1008a120]
test al, al
jne 0x10031da0
mov eax, dword [ebx + 8]
not edx
mov edi, dword [0x1009dc80]
mov dword [ebp - 0x10], edx
test al, 2
je 0x10031de3
test byte [ebx + 0xc], 1
mov byte [ebp - 3], 1
jne 0x10031de7
mov byte [ebp - 3], 0
mov ecx, dword [ebp - 0xc]
and eax, 0xffffff01
mov dword [ebp - 0x1c], eax
test ecx, ecx
jne 0x10031e5d
mov eax, dword [ebx + 0x4bf8]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x10031e5d
mov esi, edx
test edx, edx
je 0x10031e0e
cmp edx, 0xffffffff
jne 0x10031e1d
cmp edx, 0xffffffff
je 0x10031e17
test edx, edx
jne 0x10031e1d
mov esi, dword [edi + 0x48d8]
push 0x11001
mov edx, esi
mov ecx, eax
call fcn.1002b050
add esp, 4
test al, al
je 0x10031e54
mov ecx, dword [ebp - 0x20]
mov edx, esi
push 0x11021
call fcn.1002cee0
add esp, 4
test al, al
je 0x10031e54
mov edi, dword [0x1009dc80]
mov byte [ebp - 1], 1
jmp 0x10031e65
mov edi, dword [0x1009dc80]
mov ecx, dword [ebp - 0xc]
mov byte [ebp - 1], 0
test ecx, ecx
jne 0x10031ed3
mov ecx, dword [ebx + 0x4bfc]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x10031ed6
mov eax, esi
mov dword [ebp - 0x10], eax
test esi, esi
je 0x10031e83
cmp esi, 0xffffffff
jne 0x10031e95
cmp esi, 0xffffffff
je 0x10031e8c
test esi, esi
jne 0x10031e95
mov eax, dword [edi + 0x48d8]
mov dword [ebp - 0x10], eax
push 0x11001
mov edx, eax
call fcn.1002b050
add esp, 4
test al, al
je 0x10031ecb
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
push 0x11021
call fcn.1002cee0
add esp, 4
test al, al
je 0x10031ecb
mov edi, dword [0x1009dc80]
mov byte [ebp - 2], 1
jmp 0x10031ee0
mov edi, dword [0x1009dc80]
jmp 0x10031ed6
mov esi, dword [ebp - 0x10]
cmp dword [ebp - 0xc], 0
mov byte [ebp - 2], 0
jne 0x10031f13
cmp byte [ebp - 3], 0
je 0x10031f13
cmp dword [ebx + 0x4c00], 0
jne 0x10031f13
push 0
xor edx, edx
mov ecx, 0x279
call fcn.1002b2d0
add esp, 4
test al, al
je 0x10031f13
mov al, byte [ebp - 2]
mov cl, byte [ebp - 1]
mov byte [ebp - 3], 1
mov dl, byte [ebp - 3]
jmp 0x10031f36
xor dl, dl
cmp dword [ebp - 0xc], 0
mov byte [ebp - 3], dl
jne 0x10031f42
cmp dword [ebx + 0x4c00], 0
mov al, byte [ebp - 2]
mov cl, byte [ebp - 1]
mov byte [ebp - 3], dl
mov byte [ebp - 2], al
mov byte [ebp - 1], cl
jne 0x10031f42
test cl, cl
jne 0x10031f3e
test al, al
je 0x10031f42
mov al, 1
jmp 0x10031f44
xor al, al
mov byte [ebp - 4], al
test dl, dl
jne 0x10031f53
test al, al
je 0x1003209b
mov eax, dword [ebx + 0x4a38]
test eax, eax
jne 0x10031f7e
mov ecx, dword [ebx + 0x3f4c]
mov edx, 0x80000001
push 0xffffffffffffffff
dec ecx
call fcn.10031c00
add esp, 4
test eax, eax
je 0x1003209b
mov dl, byte [ebp - 3]
mov eax, dword [eax + 0x30c]
mov dword [ebx + 0x4c04], eax
mov dword [ebx + 0x4c00], eax
movzx eax, byte [ebp - 4]
xor eax, 1
mov dword [ebx + 0x4c10], 0
add eax, 2
mov dword [ebx + 0x4c0c], 0
cmp byte [ebp - 1], 0
mov dword [ebx + 0x4c24], 0
mov dword [ebx + 0x4c28], 0
mov dword [ebx + 0x4c1c], 0
mov dword [ebx + 0x4c20], 0
mov byte [ebx + 0x4c14], dl
mov dword [ebx + 0x4a7c], eax
jne 0x10031ff2
cmp byte [ebp - 2], 0
je 0x1003209b
mov edi, dword [ebx + 0x4bfc]
or edi, dword [ebx + 0x4bf8]
mov ecx, dword [0x1009dc80]
test edi, 0x1000
je 0x10032021
mov edx, 0x1000
call fcn.1001cdb0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
test edi, 0x2000
je 0x1003203e
mov edx, 0x2000
call fcn.1001cdb0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
test edi, 0x4000
je 0x1003205b
mov edx, 0x4000
call fcn.1001cdb0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
test edi, 0x8000
je 0x10032078
mov edx, 0x8000
call fcn.1001cdb0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
test edi, 0x800
je 0x10032095
mov edx, 0x800
call fcn.1001cdb0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov edi, dword [0x1009dc80]
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x4c0c]
mov esi, dword [ebx + 0x4c00]
movss xmm1, dword [0x1008e7e8]
movss xmm2, dword [0x1008e7d4]
movss xmm6, dword [0x1008e840]
movss dword [ebx + 0x4c0c], xmm0
test esi, esi
je 0x10032210
cmp dword [ebx + 0x4a7c], 3
jne 0x10032193
subss xmm0, xmm1
xorps xmm1, xmm1
divss xmm0, xmm2
comiss xmm1, xmm0
ja 0x100320fa
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm7, dword [ebx + 0x4c10]
xor edx, edx
maxss xmm7, xmm1
mov ecx, 0x281
push 1
movss dword [ebx + 0x4c10], xmm7
call fcn.1002b2d0
add esp, 4
xor edx, edx
mov ecx, 0x282
mov bl, al
push 1
call fcn.1002b2d0
movzx ecx, al
add esp, 4
movzx eax, bl
sub eax, ecx
je 0x1003215b
mov ecx, eax
call fcn.10031c70
mov ebx, dword [ebp - 0x18]
movaps xmm7, xmm6
mov esi, dword [ebx + 0x4c00]
mov dword [ebx + 0x4c10], 0x3f800000
jmp 0x1003215e
mov ebx, dword [ebp - 0x18]
mov edx, 0x279
mov ecx, edi
call fcn.1002ab40
cmp byte [eax], 0
je 0x100321e0
mov edx, 0x279
call fcn.1001cdb0
cmp byte [eax + 8], 0
jne 0x100321e0
movss xmm1, dword [0x1008e7e8]
movss xmm2, dword [0x1008e7d4]
test esi, esi
je 0x10032210
cmp dword [ebx + 0x4a7c], 2
xorps xmm7, xmm7
jne 0x10032213
movss xmm0, dword [ebx + 0x4c0c]
mov edx, 0xf800
mov eax, dword [ebx + 0x4bf8]
subss xmm0, xmm1
test eax, eax
mov ecx, edx
cmovne ecx, eax
mov eax, dword [ebx + 0x4bfc]
test eax, eax
divss xmm0, xmm2
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm7, xmm0
jbe 0x1003224f
xorps xmm6, xmm6
jmp 0x10032253
comiss xmm6, xmm7
seta al
and byte [ebx + 0x4c14], al
je 0x100321fd
cmp dword [ebx + 0x4a38], 0
je 0x10032206
mov byte [ebp - 8], 1
jmp 0x10032206
mov eax, dword [ebx + 0x4c00]
mov dword [ebp - 0x14], eax
mov dword [ebx + 0x4c00], 0
xorps xmm7, xmm7
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x211
mov dword [ebp - 0x28], 0x215
mov edi, dword [esi]
test al, al
je 0x10032243
push 0
or edx, 0xffffffff
mov ecx, edi
call fcn.1002b2d0
add esp, 4
test al, al
jne 0x100322a6
mov eax, dword [ebp - 0x1c]
add esi, 4
lea ecx, [ebp - 0x24]
cmp esi, ecx
jne 0x10032227
jmp 0x100322bd
minss xmm6, xmm0
movss xmm0, dword [ebx + 0x4c10]
mov al, byte [ebp - 1]
maxss xmm0, xmm6
movss dword [ebx + 0x4c10], xmm0
test al, al
jne 0x1003228f
cmp byte [ebp - 2], al
jne 0x1003228f
mov eax, dword [ebx + 0xe20]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x10032213
mov eax, dword [ebx + 0x4c00]
mov dword [ebp - 0x14], eax
jmp 0x10032213
movzx ecx, al
xor ecx, 1
lea ecx, [ecx*2 - 1]
call fcn.10031c70
jmp 0x10032213
mov byte [ebx + 0x4c14], 1
mov dword [ebx + 0x4c18], edi
mov dword [ebx + 0x4a7c], 2
cmp byte [ebx + 0x4c14], 0
mov edi, 1
je 0x100324cc
cmp dword [ebx + 0x4a7c], 2
jne 0x100324cc
cmp dword [ebx + 0x3898], 0
jg 0x10032300
cmp byte [ebx + 0xe1c], 0
jne 0x10032300
cmp byte [ebx + 0xe1d], 0
jne 0x10032300
cmp byte [ebx + 0xe1f], 0
je 0x10032307
mov byte [ebx + 0x4c14], 0
mov edx, dword [ebx + 0x4c18]
cmp edx, 0x200
jl 0x10032321
cmp edx, 0x29a
jl 0x100323e6
cmp edx, 0x1000
je 0x100323e6
cmp edx, 0x2000
je 0x100323e6
cmp edx, 0x4000
je 0x100323e6
cmp edx, 0x8000
je 0x100323e6
cmp edx, 0x800
je 0x100323e6
mov esi, dword [0x1009dc80]
mov eax, dword [ebp - 8]
mov edx, 0x4000
mov ecx, esi
mov dword [ebp - 8], eax
call fcn.1001cdb0
cmp dword [eax], 0xffffffff
je 0x10032381
mov byte [ebx + 0x4c14], 0
mov ecx, dword [ebx + 0x4c18]
call fcn.1002b480
test al, al
je 0x10032468
cmp byte [ebx + 0x4c14], 0
je 0x10032468
cmp dword [ebx + 0x3fdc], 0
je 0x100323b7
cmp byte [ebx + 0x3fe9], 0
je 0x10032468
lea eax, [ebx + 0xe00]
test eax, eax
jne 0x100323c7
lea eax, [esi + 0xe00]
movss xmm0, dword [eax]
movss xmm1, dword [0x1008e904]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x1003242f
comiss xmm2, xmm1
jb 0x1003242f
mov dl, 1
jmp 0x10032431
mov esi, dword [0x1009dc80]
cmp byte [esi + 0x48cc], 0
je 0x10032414
cmp dword [esi + 0x3fdc], 0xffffffff
je 0x10032414
lea eax, [edx - 0x200]
cmp eax, 0x76
ja 0x10032414
mov eax, dword [ebp - 8]
mov dword [ebp - 8], eax
jmp 0x1003237a
mov ecx, esi
call fcn.1001cdb0
cmp dword [eax], 0xffffffff
je 0x10032363
mov eax, dword [ebp - 8]
mov dword [ebp - 8], eax
jmp 0x1003237a
xor dl, dl
lea eax, [ebx + 0x37c8]
test eax, eax
jne 0x10032441
lea eax, [esi + 0xe00]
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x10032458
comiss xmm2, xmm1
jb 0x10032458
mov cl, 1
jmp 0x1003245a
xor cl, cl
mov eax, dword [ebp - 8]
cmp dl, cl
movzx eax, al
cmove eax, edi
mov dword [ebp - 8], eax
mov edi, dword [ebx + 0x4c18]
mov ecx, esi
mov edx, edi
call fcn.1002ab40
cmp byte [eax], 0
je 0x100324c3
cmp edi, 0x200
jl 0x1003248c
cmp edi, 0x29a
jl 0x100324b4
cmp edi, 0x1000
je 0x100324b4
cmp edi, 0x2000
je 0x100324b4
cmp edi, 0x4000
je 0x100324b4
cmp edi, 0x8000
je 0x100324b4
cmp edi, 0x800
jne 0x100324d2
mov edx, edi
mov ecx, esi
call fcn.1001cdb0
cmp byte [eax + 8], 0
je 0x100324d2
mov byte [ebx + 0x4c14], 0
jmp 0x100324d2
mov esi, dword [0x1009dc80]
mov eax, dword [ebx + 0x4c00]
test eax, eax
je 0x10032667
test byte [eax + 0xc], 4
jne 0x10032667
mov eax, dword [ebx + 0x4a7c]
cmp eax, 2
jne 0x10032533
cmp byte [ebx + 0xe1d], 0
jne 0x10032667
mov edx, 0x203
mov ecx, esi
call fcn.1002ab40
mov edx, 0x201
mov edi, eax
call fcn.1002ab40
mov ecx, dword [0x1009dc80]
mov edx, 0x202
mov esi, eax
call fcn.1002ab40
mov edx, 0x204
jmp 0x1003256b
cmp eax, 3
jne 0x10032667
mov edx, 0x289
mov ecx, esi
call fcn.1002ab40
mov edx, 0x287
mov edi, eax
call fcn.1002ab40
mov ecx, dword [0x1009dc80]
mov edx, 0x288
mov esi, eax
call fcn.1002ab40
mov edx, 0x28a
movss xmm2, dword [eax + 0xc]
subss xmm2, dword [esi + 0xc]
call fcn.1002ab40
ucomiss xmm2, xmm7
movss xmm3, dword [eax + 0xc]
subss xmm3, dword [edi + 0xc]
lahf
test ah, 0x44
jp 0x1003259a
ucomiss xmm3, xmm7
lahf
test ah, 0x44
jnp 0x10032667
movss xmm1, dword [ebx + 0x3c]
movss xmm0, dword [ebx + 0x18]
minss xmm1, dword [ebx + 0x40]
mulss xmm0, dword [0x1008e8d0]
mov byte [ebx + 0x4a93], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [ebx + 0x4c1c]
addss xmm3, dword [ebx + 0x4c20]
cvttss2si eax, xmm2
movss dword [ebx + 0x4c1c], xmm2
movss dword [ebx + 0x4c20], xmm3
movd xmm5, eax
cvtdq2ps xmm5, xmm5
cvttss2si eax, xmm3
ucomiss xmm5, xmm7
movd xmm4, eax
cvtdq2ps xmm4, xmm4
lahf
test ah, 0x44
jp 0x1003260c
ucomiss xmm4, xmm7
lahf
test ah, 0x44
jnp 0x10032667
mov eax, dword [ebx + 0x4c00]
lea edx, [ebp - 0x24]
movaps xmm0, xmm5
push 1
mov ecx, dword [eax + 0x30c]
addss xmm0, dword [ecx + 0x18]
movss dword [ebp - 0x24], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ecx + 0x1c]
movss dword [ebp - 0x20], xmm0
call fcn.1002a5f0
movss xmm0, dword [ebx + 0x4c1c]
add esp, 4
subss xmm0, xmm5
movss dword [ebx + 0x4c1c], xmm0
movss xmm0, dword [ebx + 0x4c20]
subss xmm0, xmm4
movss dword [ebx + 0x4c20], xmm0
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x100326e9
mov eax, dword [ebx + 0x4a38]
test eax, eax
je 0x10032680
cmp esi, dword [eax + 0x30c]
je 0x100326df
xor edx, edx
xor ecx, ecx
call fcn.10020280
mov eax, dword [0x1009dc80]
xor dl, dl
mov ecx, esi
mov word [eax + 0x4a91], 1
mov byte [eax + 0x4a93], 1
call fcn.1002e080
mov edx, 1
mov ecx, esi
call fcn.1002a150
mov esi, dword [ebx + 0x4a38]
cmp dword [esi + 0x324], 0
jne 0x100326cb
xor dl, dl
mov ecx, esi
call fcn.1002f670
cmp word [esi + 0x156], 2
jne 0x100326df
mov dword [ebx + 0x4a80], 1
mov dword [ebx + 0x4c00], 0
cmp byte [ebp - 8], 0
je 0x100327af
cmp dword [ebx + 0x4a38], 0
je 0x100327af
xor edx, edx
xor ecx, ecx
call fcn.10020280
mov esi, dword [ebx + 0x4a38]
cmp dword [esi + 0x304], 0
lea ecx, [esi + 0x304]
je 0x10032749
nop
test byte [esi + 0x154], 2
jne 0x10032749
mov eax, dword [esi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x10032749
mov esi, dword [ecx]
cmp dword [esi + 0x304], 0
lea ecx, [esi + 0x304]
jne 0x10032720
mov edi, dword [ebx + 0x4a38]
cmp esi, edi
je 0x10032762
xor edx, edx
mov ecx, esi
call fcn.1002a150
mov dword [esi + 0x320], edi
mov eax, dword [ebx + 0x4a38]
test byte [eax + 0x154], 2
je 0x1003277c
mov ecx, dword [ebx + 0x4a80]
xor ecx, 1
jmp 0x1003277e
xor ecx, ecx
cmp ecx, dword [ebx + 0x4a80]
je 0x100327af
cmp ecx, 1
jne 0x10032795
mov dword [eax + 0x328], 0
call fcn.1002f540
mov eax, dword [0x1009dc80]
mov word [eax + 0x4a91], 1
mov byte [eax + 0x4a93], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret