Function at 0x10020f90
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [0x10056b84]
xor eax, eax
push esi
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov byte [ebp - 8], al
call fcn.1001d540
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10020fc4
mov dword [ebx + 0x1e60], 0
xor eax, eax
jmp 0x10020fca
mov eax, dword [ebx + 0x1e60]
cmp dword [ebx + 0x1e64], 0
je 0x10021013
test eax, eax
jne 0x10021013
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x100519a8]
movss xmm1, dword [ebx + 0x1e70]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [ebx + 0x1e88]
maxss xmm1, xmm0
movss dword [ebx + 0x1e70], xmm1
jb 0x10021013
comiss xmm0, xmm1
jb 0x10021013
mov dword [ebx + 0x1e64], eax
or edx, 0xffffffff
mov esi, 0x1004c54d
mov al, 0x23
or edi, 0xffffffff
cmp al, 0x23
jne 0x1002102e
cmp byte [esi], al
jne 0x1002102e
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 + 0x1004cc00]
test al, al
jne 0x10021020
mov eax, dword [ebx + 8]
not edx
mov edi, dword [0x10056b84]
mov dword [ebp - 0xc], edx
test al, 2
je 0x10021063
test byte [ebx + 0xc], 1
mov byte [ebp - 3], 1
jne 0x10021067
mov byte [ebp - 3], 0
mov ecx, dword [ebp - 0x10]
and eax, 0xffffff01
mov dword [ebp - 0x20], eax
test ecx, ecx
jne 0x100210c6
mov eax, dword [ebx + 0x1e58]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x100210c6
push 0x1101
mov ecx, eax
call fcn.1001abc0
mov esi, dword [ebp - 0xc]
add esp, 4
test al, al
je 0x100210bb
mov ecx, dword [ebp - 0x1c]
mov edx, esi
push 0x1101
call fcn.1001c440
add esp, 4
test al, al
je 0x100210bb
mov edi, dword [0x10056b84]
mov byte [ebp - 1], 1
jmp 0x100210d1
mov edi, dword [0x10056b84]
mov ecx, dword [ebp - 0x10]
jmp 0x100210c9
mov esi, dword [ebp - 0xc]
mov byte [ebp - 1], 0
test ecx, ecx
jne 0x1002111b
mov eax, dword [ebx + 0x1e5c]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1002111b
push 0x1101
mov edx, esi
mov ecx, eax
call fcn.1001abc0
add esp, 4
test al, al
je 0x10021115
mov ecx, dword [ebp - 0x1c]
mov edx, esi
push 0x1101
call fcn.1001c440
add esp, 4
test al, al
je 0x10021115
mov edi, dword [0x10056b84]
mov byte [ebp - 2], 1
jmp 0x10021125
mov edi, dword [0x10056b84]
cmp dword [ebp - 0x10], 0
mov byte [ebp - 2], 0
jne 0x10021158
cmp byte [ebp - 3], 0
je 0x10021158
cmp dword [ebx + 0x1e60], 0
jne 0x10021158
push 0
xor edx, edx
mov ecx, 0x279
call fcn.1001acc0
add esp, 4
test al, al
je 0x10021158
mov al, byte [ebp - 1]
mov cl, byte [ebp - 2]
mov byte [ebp - 3], 1
mov dl, byte [ebp - 3]
jmp 0x1002117b
xor dl, dl
cmp dword [ebp - 0x10], 0
mov byte [ebp - 3], dl
jne 0x10021187
cmp dword [ebx + 0x1e60], 0
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
jne 0x10021187
test al, al
jne 0x10021183
test cl, cl
je 0x10021187
mov al, 1
jmp 0x10021189
xor al, al
mov byte [ebp - 4], al
test dl, dl
jne 0x10021198
test al, al
je 0x100212e8
mov eax, dword [ebx + 0x1cb0]
test eax, eax
jne 0x100211c3
mov ecx, dword [ebx + 0x120c]
mov edx, 0x80000001
push 0xffffffffffffffff
dec ecx
call fcn.10020e80
add esp, 4
test eax, eax
je 0x100212e8
mov dl, byte [ebp - 3]
mov eax, dword [eax + 0x308]
mov dword [ebx + 0x1e64], eax
mov dword [ebx + 0x1e60], eax
movzx eax, byte [ebp - 4]
xor eax, 1
mov dword [ebx + 0x1e70], 0
add eax, 2
mov dword [ebx + 0x1e6c], 0
cmp byte [ebp - 1], 0
mov dword [ebx + 0x1e80], 0
mov dword [ebx + 0x1e84], 0
mov dword [ebx + 0x1e78], 0
mov dword [ebx + 0x1e7c], 0
mov byte [ebx + 0x1e74], dl
mov dword [ebx + 0x1ce0], eax
jne 0x10021237
cmp byte [ebp - 2], 0
je 0x100212e8
mov eax, dword [ebx + 0x1e5c]
or eax, dword [ebx + 0x1e58]
mov dword [ebp - 0x10], eax
test eax, 0x1000
je 0x10021267
mov edx, 0x1000
mov ecx, edi
call fcn.10024350
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0x10]
test eax, 0x2000
je 0x10021288
mov edx, 0x2000
mov ecx, edi
call fcn.10024350
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0x10]
test eax, 0x4000
je 0x100212a9
mov edx, 0x4000
mov ecx, edi
call fcn.10024350
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0x10]
test eax, 0x8000
je 0x100212ca
mov edx, 0x8000
mov ecx, edi
call fcn.10024350
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0x10]
test eax, 0x800
je 0x100212e8
mov edx, 0x800
mov ecx, edi
call fcn.10024350
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x1e6c]
mov esi, dword [ebx + 0x1e60]
movss xmm7, dword [0x1005190c]
movss xmm1, dword [0x10051900]
movss xmm5, dword [0x1005195c]
movss dword [ebx + 0x1e6c], xmm0
test esi, esi
je 0x1002145e
cmp dword [ebx + 0x1ce0], 3
jne 0x100213da
subss xmm0, xmm7
divss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x10021347
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm6, dword [ebx + 0x1e70]
xor edx, edx
maxss xmm6, xmm1
mov ecx, 0x282
push 1
movss dword [ebx + 0x1e70], xmm6
call fcn.1001acc0
add esp, 4
xor edx, edx
mov ecx, 0x281
mov bl, al
push 1
call fcn.1001acc0
movzx ecx, al
add esp, 4
movzx eax, bl
sub ecx, eax
je 0x100213a6
call fcn.10020ef0
mov ebx, dword [ebp - 0x14]
movaps xmm6, xmm5
mov esi, dword [ebx + 0x1e60]
mov dword [ebx + 0x1e70], 0x3f800000
jmp 0x100213a9
mov ebx, dword [ebp - 0x14]
mov edx, 0x279
mov ecx, edi
call fcn.1001a760
cmp byte [eax], 0
je 0x1002142e
mov edx, 0x279
call fcn.10024350
cmp byte [eax + 8], 0
jne 0x1002142e
movss xmm1, dword [0x10051900]
test esi, esi
je 0x1002145e
cmp dword [ebx + 0x1ce0], 2
xorps xmm6, xmm6
jne 0x10021461
movss xmm0, dword [ebx + 0x1e6c]
mov edx, 0xf800
mov eax, dword [ebx + 0x1e58]
subss xmm0, xmm7
test eax, eax
mov ecx, edx
cmovne ecx, eax
mov eax, dword [ebx + 0x1e5c]
test eax, eax
divss xmm0, xmm1
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm6, xmm0
jbe 0x100214f0
xorps xmm5, xmm5
jmp 0x100214f4
comiss xmm5, xmm6
seta al
and byte [ebx + 0x1e74], al
je 0x1002144b
cmp dword [ebx + 0x1cb0], 0
je 0x10021454
mov byte [ebp - 8], 1
jmp 0x10021454
mov eax, dword [ebx + 0x1e60]
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x1e60], 0
xorps xmm6, xmm6
cmp byte [ebp - 0x20], 0
je 0x1002148e
push 0
or edx, 0xffffffff
mov ecx, 0x4000
call fcn.1001acc0
add esp, 4
test al, al
je 0x1002148e
mov byte [ebx + 0x1e74], 1
mov dword [ebx + 0x1ce0], 2
cmp byte [ebx + 0x1e74], 0
mov edi, 1
je 0x10021643
cmp dword [ebx + 0x1ce0], 2
jne 0x10021643
cmp dword [ebx + 0xb58], 0
jg 0x1002154e
cmp byte [ebx + 0xd8], 0
jne 0x1002154e
cmp byte [ebx + 0xd9], 0
jne 0x1002154e
cmp byte [ebx + 0xdb], 0
mov ecx, dword [0x10056b84]
jne 0x10021554
mov edx, 0x4000
call fcn.10024350
cmp dword [eax], 0xffffffff
je 0x1002155b
jmp 0x10021554
minss xmm5, xmm0
movss xmm0, dword [ebx + 0x1e70]
mov al, byte [ebp - 1]
maxss xmm0, xmm5
movss dword [ebx + 0x1e70], xmm0
test al, al
jne 0x10021537
cmp byte [ebp - 2], al
jne 0x10021537
mov eax, dword [ebx + 0xdc]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x10021461
mov eax, dword [ebx + 0x1e60]
mov dword [ebp - 0x18], eax
jmp 0x10021461
movzx ecx, al
xor ecx, 1
lea ecx, [ecx*2 - 1]
call fcn.10020ef0
jmp 0x10021461
mov ecx, dword [0x10056b84]
mov byte [ebx + 0x1e74], 0
mov edx, 0x4000
call fcn.1001a760
comiss xmm6, dword [eax + 8]
ja 0x1002161b
cmp byte [eax], 0
jne 0x1002161b
mov edx, 0x4000
call fcn.10024350
cmp byte [eax + 8], 0
jne 0x1002161b
cmp byte [ebx + 0x1e74], 0
je 0x1002161b
cmp dword [ebx + 0x1298], 0
je 0x100215ab
cmp byte [ebx + 0x12a5], 0
je 0x1002161b
lea eax, [ebx + 0xa84]
test eax, eax
jne 0x100215bb
lea eax, [ecx + 0xbc]
movss xmm0, dword [eax]
movss xmm1, dword [0x10051a18]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x100215da
comiss xmm2, xmm1
jb 0x100215da
mov dl, 1
jmp 0x100215dc
xor dl, dl
lea eax, [ebx + 0xbc]
test eax, eax
jne 0x100215ec
lea eax, [ecx + 0xbc]
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x10021603
comiss xmm2, xmm1
jb 0x10021603
mov al, 1
jmp 0x10021605
xor al, al
mov ebx, dword [ebp - 8]
cmp al, dl
movzx ebx, bl
mov eax, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x14]
cmove eax, edi
mov dword [ebp - 8], eax
mov edx, 0x4000
call fcn.1001a760
cmp byte [eax], 0
je 0x1002163a
mov edx, 0x4000
call fcn.10024350
cmp byte [eax + 8], 0
je 0x10021649
mov byte [ebx + 0x1e74], 0
jmp 0x10021649
mov ecx, dword [0x10056b84]
mov eax, dword [ebx + 0x1e60]
test eax, eax
je 0x100217d3
test byte [eax + 0xc], 4
jne 0x100217d3
mov eax, dword [ebx + 0x1ce0]
cmp eax, 2
jne 0x100216a2
cmp byte [ebx + 0xd9], 0
jne 0x100217d3
mov edx, 0x203
call fcn.1001a760
mov edx, 0x201
mov edi, eax
call fcn.1001a760
mov edx, 0x202
mov esi, eax
call fcn.1001a760
mov edx, 0x204
jmp 0x100216d2
cmp eax, 3
jne 0x100217d3
mov edx, 0x289
call fcn.1001a760
mov edx, 0x287
mov edi, eax
call fcn.1001a760
mov edx, 0x288
mov esi, eax
call fcn.1001a760
mov edx, 0x28a
movss xmm2, dword [eax + 0xc]
subss xmm2, dword [esi + 0xc]
call fcn.1001a760
ucomiss xmm2, xmm6
movss xmm3, dword [eax + 0xc]
subss xmm3, dword [edi + 0xc]
lahf
test ah, 0x44
jp 0x10021701
ucomiss xmm3, xmm6
lahf
test ah, 0x44
jnp 0x100217ce
movss xmm1, dword [ebx + 0x3c]
movss xmm0, dword [ebx + 0x18]
minss xmm1, dword [ebx + 0x40]
mulss xmm0, dword [0x100519ec]
mov byte [ebx + 0x1cf3], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [ebx + 0x1e78]
addss xmm3, dword [ebx + 0x1e7c]
cvttss2si eax, xmm2
movss dword [ebx + 0x1e78], xmm2
movss dword [ebx + 0x1e7c], xmm3
movd xmm5, eax
cvtdq2ps xmm5, xmm5
cvttss2si eax, xmm3
ucomiss xmm5, xmm6
movd xmm4, eax
cvtdq2ps xmm4, xmm4
lahf
test ah, 0x44
jp 0x10021773
ucomiss xmm4, xmm6
lahf
test ah, 0x44
jnp 0x100217ce
mov eax, dword [ebx + 0x1e60]
lea edx, [ebp - 0x24]
movaps xmm0, xmm5
push 1
mov ecx, dword [eax + 0x308]
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.1001a450
movss xmm0, dword [ebx + 0x1e78]
add esp, 4
subss xmm0, xmm5
movss dword [ebx + 0x1e78], xmm0
movss xmm0, dword [ebx + 0x1e7c]
subss xmm0, xmm4
movss dword [ebx + 0x1e7c], xmm0
mov edi, 1
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x1002184e
mov eax, dword [ebx + 0x1cb0]
test eax, eax
je 0x100217ec
cmp esi, dword [eax + 0x308]
je 0x10021844
call fcn.10010030
mov eax, dword [0x10056b84]
xor dl, dl
mov ecx, esi
mov word [eax + 0x1cf1], 1
mov byte [eax + 0x1cf3], 1
call fcn.1001d580
mov edx, edi
mov ecx, esi
call fcn.10019d70
mov esi, dword [ebx + 0x1cb0]
cmp dword [esi + 0x31c], 0
jne 0x10021830
xor dl, dl
mov ecx, esi
call fcn.1001ec20
cmp word [esi + 0x156], 2
jne 0x10021844
mov dword [ebx + 0x1ce4], 1
mov dword [ebx + 0x1e60], 0
cmp byte [ebp - 8], 0
je 0x1002190f
cmp dword [ebx + 0x1cb0], 0
je 0x1002190f
call fcn.10010030
mov esi, dword [ebx + 0x1cb0]
cmp dword [esi + 0x300], 0
lea ecx, [esi + 0x300]
je 0x100218a9
nop
test byte [esi + 0x154], 2
jne 0x100218a9
mov eax, dword [esi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x100218a9
mov esi, dword [ecx]
cmp dword [esi + 0x300], 0
lea ecx, [esi + 0x300]
jne 0x10021880
mov edi, dword [ebx + 0x1cb0]
cmp esi, edi
je 0x100218c2
xor edx, edx
mov ecx, esi
call fcn.10019d70
mov dword [esi + 0x318], edi
mov eax, dword [ebx + 0x1cb0]
test byte [eax + 0x154], 2
je 0x100218dc
mov ecx, dword [ebx + 0x1ce4]
xor ecx, 1
jmp 0x100218de
xor ecx, ecx
cmp ecx, dword [ebx + 0x1ce4]
je 0x1002190f
cmp ecx, 1
jne 0x100218f5
mov dword [eax + 0x320], 0
call fcn.1001eb10
mov eax, dword [0x10056b84]
mov word [eax + 0x1cf1], 1
mov byte [eax + 0x1cf3], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret