Function at 0x1001a940
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [0x1004a4dc]
xor eax, eax
push edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], al
call fcn.10016800
mov dword [ebp - 8], eax
test eax, eax
je 0x1001a974
mov dword [esi + 0x495c], 0
xor eax, eax
jmp 0x1001a97a
mov eax, dword [esi + 0x495c]
cmp dword [esi + 0x4960], 0
je 0x1001a9c3
test eax, eax
jne 0x1001a9c3
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x10047e6c]
movss xmm1, dword [esi + 0x496c]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x4984]
maxss xmm1, xmm0
movss dword [esi + 0x496c], xmm1
jb 0x1001a9c3
comiss xmm0, xmm1
jb 0x1001a9c3
mov dword [esi + 0x4960], eax
or ebx, 0xffffffff
mov al, 0x23
mov edx, 0x10046c0d
or edi, 0xffffffff
cmp al, 0x23
jne 0x1001a9de
cmp byte [edx], al
jne 0x1001a9de
cmp byte [edx + 1], al
cmove ebx, edi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x10041b40]
test al, al
jne 0x1001a9d0
mov eax, dword [esi + 8]
not ebx
mov edi, dword [0x1004a4dc]
test al, 2
je 0x1001aa10
test byte [esi + 0xc], 1
mov byte [ebp - 3], 1
jne 0x1001aa14
mov byte [ebp - 3], 0
and eax, 0xffffff01
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1001aa4f
mov ecx, dword [esi + 0x4954]
test ecx, ecx
je 0x1001aa4f
push 0x1001
mov edx, ebx
call fcn.100157f0
mov edi, dword [0x1004a4dc]
add esp, 4
test al, al
je 0x1001aa4c
mov byte [ebp - 1], 1
jmp 0x1001aa57
mov eax, dword [ebp - 8]
mov byte [ebp - 1], 0
test eax, eax
jne 0x1001aa80
mov ecx, dword [esi + 0x4958]
test ecx, ecx
je 0x1001aa80
push 0x1001
mov edx, ebx
call fcn.100157f0
mov edi, dword [0x1004a4dc]
add esp, 4
test al, al
je 0x1001aa80
mov byte [ebp - 2], 1
jmp 0x1001aa8a
cmp dword [ebp - 8], 0
mov byte [ebp - 2], 0
jne 0x1001aabd
cmp byte [ebp - 3], 0
je 0x1001aabd
cmp dword [esi + 0x495c], 0
jne 0x1001aabd
push 0
xor edx, edx
mov ecx, 0x26b
call fcn.10013d20
add esp, 4
test al, al
je 0x1001aabd
mov al, byte [ebp - 1]
mov cl, byte [ebp - 2]
mov byte [ebp - 3], 1
mov dl, byte [ebp - 3]
jmp 0x1001aae0
xor dl, dl
cmp dword [ebp - 8], 0
mov byte [ebp - 3], dl
jne 0x1001aaec
cmp dword [esi + 0x495c], 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 0x1001aaec
test al, al
jne 0x1001aae8
test cl, cl
je 0x1001aaec
mov al, 1
jmp 0x1001aaee
xor al, al
mov byte [ebp - 4], al
test dl, dl
jne 0x1001aafd
test al, al
je 0x1001ac4d
mov eax, dword [esi + 0x47f0]
test eax, eax
jne 0x1001ab28
mov ecx, dword [esi + 0x3e24]
mov edx, 0x80000001
push 0xffffffffffffffff
dec ecx
call fcn.1001a830
add esp, 4
test eax, eax
je 0x1001ac4d
mov dl, byte [ebp - 3]
mov eax, dword [eax + 0x300]
mov dword [esi + 0x4960], eax
mov dword [esi + 0x495c], eax
movzx eax, byte [ebp - 4]
xor eax, 1
mov dword [esi + 0x496c], 0
add eax, 2
mov dword [esi + 0x4968], 0
cmp byte [ebp - 1], 0
mov dword [esi + 0x497c], 0
mov dword [esi + 0x4980], 0
mov dword [esi + 0x4974], 0
mov dword [esi + 0x4978], 0
mov byte [esi + 0x4970], dl
mov dword [esi + 0x4820], eax
jne 0x1001ab9c
cmp byte [ebp - 2], 0
je 0x1001ac4d
mov eax, dword [esi + 0x4958]
or eax, dword [esi + 0x4954]
mov dword [ebp - 8], eax
test eax, 0x1000
je 0x1001abcc
mov edx, 0x1000
mov ecx, edi
call fcn.10005b90
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
mov eax, dword [ebp - 8]
test eax, 0x2000
je 0x1001abed
mov edx, 0x2000
mov ecx, edi
call fcn.10005b90
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
mov eax, dword [ebp - 8]
test eax, 0x4000
je 0x1001ac0e
mov edx, 0x4000
mov ecx, edi
call fcn.10005b90
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
mov eax, dword [ebp - 8]
test eax, 0x8000
je 0x1001ac2f
mov edx, 0x8000
mov ecx, edi
call fcn.10005b90
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
mov eax, dword [ebp - 8]
test eax, 0x800
je 0x1001ac4d
mov edx, 0x800
mov ecx, edi
call fcn.10005b90
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
cmp dword [esi + 0x495c], 0
xorps xmm7, xmm7
movss xmm0, dword [esi + 0x18]
addss xmm0, dword [esi + 0x4968]
movss xmm1, dword [0x10047dc0]
movss xmm2, dword [0x10047db4]
movss xmm5, dword [0x10047e10]
movss dword [esi + 0x4968], xmm0
je 0x1001add2
cmp dword [esi + 0x4820], 3
jne 0x1001add2
subss xmm0, xmm1
movss xmm6, dword [esi + 0x496c]
divss xmm0, xmm2
comiss xmm7, xmm0
jbe 0x1001acb1
xorps xmm1, xmm1
jmp 0x1001acb8
movaps xmm1, xmm5
minss xmm1, xmm0
maxss xmm6, xmm1
xor edx, edx
push 1
mov ecx, 0x274
movss dword [esi + 0x496c], xmm6
call fcn.10013d20
add esp, 4
xor edx, edx
mov ecx, 0x273
mov bl, al
push 1
call fcn.10013d20
movzx ecx, al
add esp, 4
movzx eax, bl
sub ecx, eax
je 0x1001ad04
call fcn.1001a8a0
mov dword [esi + 0x496c], 0x3f800000
movaps xmm6, xmm5
mov ebx, dword [0x1004a4dc]
mov edx, 0x26b
mov ecx, ebx
call fcn.100137e0
cmp byte [eax], 0
je 0x1001ad2b
mov edx, 0x26b
call fcn.10005b90
cmp byte [eax + 8], 0
je 0x1001ad67
comiss xmm5, xmm6
seta al
and byte [esi + 0x4970], al
je 0x1001ad48
cmp dword [esi + 0x47f0], 0
je 0x1001ad5d
mov byte [ebp - 0xc], 1
jmp 0x1001ad5d
mov eax, dword [esi + 0x495c]
mov dword [ebp - 0x10], eax
mov al, byte [ebp - 2]
mov byte [ebp - 2], al
mov al, byte [ebp - 1]
mov byte [ebp - 1], al
mov dword [esi + 0x495c], 0
movss xmm2, dword [0x10047db4]
movss xmm1, dword [0x10047dc0]
cmp dword [esi + 0x495c], 0
je 0x1001ae2c
cmp dword [esi + 0x4820], 2
jne 0x1001ae2c
movss xmm0, dword [esi + 0x4968]
mov edx, 0xf800
mov eax, dword [esi + 0x4954]
subss xmm0, xmm1
test eax, eax
mov ecx, edx
cmovne ecx, eax
mov eax, dword [esi + 0x4958]
test eax, eax
divss xmm0, xmm2
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm7, xmm0
jbe 0x1001adda
xorps xmm5, xmm5
jmp 0x1001adde
mov ebx, dword [0x1004a4dc]
jmp 0x1001ad77
minss xmm5, xmm0
movss xmm0, dword [esi + 0x496c]
mov al, byte [ebp - 1]
maxss xmm0, xmm5
movss dword [esi + 0x496c], xmm0
test al, al
jne 0x1001ae1a
cmp byte [ebp - 2], al
jne 0x1001ae1a
mov eax, dword [esi + 0xddc]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x1001ae2c
mov eax, dword [esi + 0x495c]
mov dword [ebp - 0x10], eax
jmp 0x1001ae2c
movzx ecx, al
xor ecx, 1
lea ecx, [ecx*2 - 1]
call fcn.1001a8a0
cmp byte [ebp - 0x18], 0
je 0x1001ae59
push 0
or edx, 0xffffffff
mov ecx, 0x4000
call fcn.10013d20
add esp, 4
test al, al
je 0x1001ae59
mov byte [esi + 0x4970], 1
mov dword [esi + 0x4820], 2
cmp byte [esi + 0x4970], 0
mov edi, 1
je 0x1001af92
cmp dword [esi + 0x4820], 2
jne 0x1001af92
cmp dword [esi + 0x3778], 0
jg 0x1001aead
cmp byte [esi + 0xdd8], 0
jne 0x1001aead
cmp byte [esi + 0xdd9], 0
jne 0x1001aead
cmp byte [esi + 0xddb], 0
jne 0x1001aead
mov edx, 0x4000
mov ecx, ebx
call fcn.10005b90
cmp dword [eax], 0xffffffff
je 0x1001aeb4
mov byte [esi + 0x4970], 0
mov edx, 0x4000
mov ecx, ebx
call fcn.100137e0
comiss xmm7, dword [eax + 8]
ja 0x1001af6a
cmp byte [eax], 0
jne 0x1001af6a
mov edx, 0x4000
call fcn.10005b90
cmp byte [eax + 8], 0
jne 0x1001af6a
cmp byte [esi + 0x4970], 0
je 0x1001af6a
cmp dword [esi + 0x3eac], 0
je 0x1001af02
cmp byte [esi + 0x3eb9], 0
je 0x1001af6a
lea eax, [esi + 0x36a4]
test eax, eax
jne 0x1001af12
lea eax, [ebx + 0xdbc]
movss xmm0, dword [eax]
movss xmm1, dword [0x10047ee4]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x1001af31
comiss xmm2, xmm1
jb 0x1001af31
mov cl, 1
jmp 0x1001af33
xor cl, cl
lea eax, [esi + 0xdbc]
test eax, eax
jne 0x1001af43
lea eax, [ebx + 0xdbc]
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x1001af5a
comiss xmm2, xmm1
jb 0x1001af5a
mov al, 1
jmp 0x1001af5c
xor al, al
mov edx, dword [ebp - 0xc]
cmp al, cl
movzx edx, dl
cmove edx, edi
mov dword [ebp - 0xc], edx
mov edx, 0x4000
mov ecx, ebx
call fcn.100137e0
cmp byte [eax], 0
je 0x1001af8b
mov edx, 0x4000
call fcn.10005b90
cmp byte [eax + 8], 0
je 0x1001af92
mov byte [esi + 0x4970], 0
mov eax, dword [esi + 0x495c]
test eax, eax
je 0x1001b12a
test byte [eax + 0xc], 4
jne 0x1001b12a
mov eax, dword [esi + 0x4820]
cmp eax, 2
jne 0x1001afed
cmp byte [esi + 0xdd9], 0
jne 0x1001b12a
mov edx, 0x203
mov ecx, ebx
call fcn.100137e0
mov edx, 0x201
mov edi, eax
call fcn.100137e0
mov edx, 0x202
mov esi, eax
call fcn.100137e0
mov edx, 0x204
jmp 0x1001b01f
cmp eax, 3
jne 0x1001b12a
mov edx, 0x27b
mov ecx, ebx
call fcn.100137e0
mov edx, 0x279
mov edi, eax
call fcn.100137e0
mov edx, 0x27a
mov esi, eax
call fcn.100137e0
mov edx, 0x27c
movss xmm2, dword [eax + 0xc]
mov ecx, ebx
subss xmm2, dword [esi + 0xc]
call fcn.100137e0
ucomiss xmm2, xmm7
movss xmm3, dword [eax + 0xc]
subss xmm3, dword [edi + 0xc]
lahf
test ah, 0x44
jp 0x1001b050
ucomiss xmm3, xmm7
lahf
test ah, 0x44
jnp 0x1001b122
mov esi, dword [ebp - 0x14]
movss xmm1, dword [esi + 0x3c]
movss xmm0, dword [esi + 0x18]
minss xmm1, dword [esi + 0x40]
mulss xmm0, dword [0x10047eb0]
mov byte [esi + 0x482b], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [esi + 0x4974]
addss xmm3, dword [esi + 0x4978]
cvttss2si eax, xmm2
movss dword [esi + 0x4974], xmm2
movss dword [esi + 0x4978], xmm3
movd xmm5, eax
cvtdq2ps xmm5, xmm5
cvttss2si eax, xmm3
ucomiss xmm5, xmm7
movd xmm4, eax
cvtdq2ps xmm4, xmm4
lahf
test ah, 0x44
jp 0x1001b0c5
ucomiss xmm4, xmm7
lahf
test ah, 0x44
jnp 0x1001b125
mov eax, dword [esi + 0x495c]
lea edx, [ebp - 0x1c]
movaps xmm0, xmm5
push 1
mov ecx, dword [eax + 0x300]
addss xmm0, dword [ecx + 0x14]
movss dword [ebp - 0x1c], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ecx + 0x18]
movss dword [ebp - 0x18], xmm0
call fcn.10013590
movss xmm0, dword [esi + 0x4974]
add esp, 4
subss xmm0, xmm5
movss dword [esi + 0x4974], xmm0
movss xmm0, dword [esi + 0x4978]
subss xmm0, xmm4
movss dword [esi + 0x4978], xmm0
jmp 0x1001b125
mov esi, dword [ebp - 0x14]
mov edi, 1
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1001b1a9
mov eax, dword [esi + 0x47f0]
test eax, eax
je 0x1001b143
cmp ebx, dword [eax + 0x300]
je 0x1001b19f
xor edx, edx
xor ecx, ecx
call fcn.1000a2b0
mov eax, dword [0x1004a4dc]
xor dl, dl
mov ecx, ebx
mov word [eax + 0x4829], 1
mov byte [eax + 0x482b], 1
call fcn.10016a40
mov edx, edi
mov ecx, ebx
call fcn.10012f70
mov edi, dword [esi + 0x47f0]
cmp dword [edi + 0x314], 0
jne 0x1001b18b
xor dl, dl
mov ecx, edi
call fcn.10018480
cmp word [edi + 0x14e], 2
jne 0x1001b19f
mov dword [esi + 0x4824], 1
mov dword [esi + 0x495c], 0
cmp byte [ebp - 0xc], 0
je 0x1001b26f
cmp dword [esi + 0x47f0], 0
je 0x1001b26f
xor edx, edx
xor ecx, ecx
call fcn.1000a2b0
mov edi, dword [esi + 0x47f0]
cmp dword [edi + 0x2f8], 0
lea ecx, [edi + 0x2f8]
je 0x1001b209
nop
test byte [edi + 0x14c], 2
jne 0x1001b209
mov eax, dword [edi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1001b209
mov edi, dword [ecx]
cmp dword [edi + 0x2f8], 0
lea ecx, [edi + 0x2f8]
jne 0x1001b1e0
mov ebx, dword [esi + 0x47f0]
cmp edi, ebx
je 0x1001b222
xor edx, edx
mov ecx, edi
call fcn.10012f70
mov dword [edi + 0x310], ebx
mov eax, dword [esi + 0x47f0]
test byte [eax + 0x14c], 2
je 0x1001b23c
mov ecx, dword [esi + 0x4824]
xor ecx, 1
jmp 0x1001b23e
xor ecx, ecx
cmp ecx, dword [esi + 0x4824]
je 0x1001b26f
cmp ecx, 1
jne 0x1001b255
mov dword [eax + 0x318], 0
call fcn.10018380
mov eax, dword [0x1004a4dc]
mov word [eax + 0x4829], 1
mov byte [eax + 0x482b], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret