Function at 0x4163c0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [0x438420]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], ebx
mov edx, dword [ebx + 0x47c4]
sub edx, 1
mov dword [ebp - 0x18], edi
mov byte [ebp - 8], 0
js 0x416410
mov eax, dword [ebx + 0x47cc]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
mov edi, dword [eax]
test edi, edi
je 0x416408
test dword [edi + 0xc], 0x8000000
jne 0x4164e0
sub eax, 0x28
sub edx, 1
jns 0x4163f5
lea eax, [ebx + 0x49a8]
xor edi, edi
mov dword [ebp - 0xc], eax
mov eax, dword [eax]
cmp dword [ebx + 0x49ac], 0
je 0x416466
test eax, eax
jne 0x416466
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x435a48]
movss xmm1, dword [ebx + 0x49b8]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [ebx + 0x49d0]
maxss xmm1, xmm0
movss dword [ebx + 0x49b8], xmm1
jb 0x416466
comiss xmm0, xmm1
jb 0x416466
mov dword [ebx + 0x49ac], eax
or edx, 0xffffffff
mov esi, 0x430f1d
mov al, 0x23
or ebx, 0xffffffff
cmp al, 0x23
jne 0x416481
cmp byte [esi], al
jne 0x416481
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 + 0x431358]
test al, al
jne 0x416473
mov ebx, dword [ebp - 0x10]
not edx
mov dword [ebp - 0x14], edx
mov eax, dword [ebx + 8]
test al, 2
je 0x4164b3
test byte [ebx + 0xc], 1
mov byte [ebp - 3], 1
jne 0x4164b7
mov byte [ebp - 3], 0
and eax, 0xffffff01
mov dword [ebp - 0x1c], eax
test edi, edi
jne 0x4164f6
mov ecx, dword [ebx + 0x49a0]
test ecx, ecx
je 0x4164f6
push ecx
call fcn.00411dd0
add esp, 4
test al, al
je 0x4164f6
mov byte [ebp - 1], 1
jmp 0x4164fe
lea eax, [ebx + 0x49a8]
mov dword [eax], 0
mov dword [ebp - 0xc], eax
xor eax, eax
jmp 0x41641d
mov byte [ebp - 1], 0
test edi, edi
jne 0x416520
mov ecx, dword [ebx + 0x49a4]
mov esi, dword [ebp - 0x14]
test ecx, ecx
je 0x416523
push ecx
mov edx, esi
call fcn.00411dd0
add esp, 4
test al, al
je 0x416523
mov byte [ebp - 2], 1
jmp 0x41652b
mov esi, dword [ebp - 0x14]
mov byte [ebp - 2], 0
test edi, edi
jne 0x41655e
cmp byte [ebp - 3], 0
je 0x41655e
cmp dword [ebx + 0x49a8], 0
jne 0x41655e
push 0
xor edx, edx
mov ecx, 0x26b
call fcn.004102e0
add esp, 4
test al, al
je 0x41655e
mov al, byte [ebp - 1]
mov cl, byte [ebp - 2]
mov byte [ebp - 3], 1
mov dl, byte [ebp - 3]
jmp 0x41657e
xor dl, dl
mov byte [ebp - 3], dl
test edi, edi
jne 0x41658a
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 + 0x49a8], edi
jne 0x41658a
test al, al
jne 0x416586
test cl, cl
je 0x41658a
mov al, 1
jmp 0x41658c
xor al, al
mov byte [ebp - 4], al
test dl, dl
jne 0x41659b
test al, al
je 0x4166dd
mov eax, dword [ebx + 0x47f8]
test eax, eax
jne 0x4165c6
mov ecx, dword [ebx + 0x3e24]
mov edx, 0x80000001
push 0xffffffffffffffff
dec ecx
call fcn.004162b0
add esp, 4
test eax, eax
je 0x4166dd
mov dl, byte [ebp - 3]
mov eax, dword [eax + 0x300]
mov dword [ebx + 0x49ac], eax
mov dword [ebx + 0x49a8], eax
movzx eax, byte [ebp - 4]
xor eax, 1
mov dword [ebx + 0x49b8], 0
add eax, 2
mov dword [ebx + 0x49b4], 0
cmp byte [ebp - 1], 0
mov dword [ebx + 0x49c8], 0
mov dword [ebx + 0x49cc], 0
mov dword [ebx + 0x49c0], 0
mov dword [ebx + 0x49c4], 0
mov byte [ebx + 0x49bc], dl
mov dword [ebx + 0x4828], eax
jne 0x41663a
cmp byte [ebp - 2], 0
je 0x4166dd
mov edi, dword [ebx + 0x49a4]
or edi, dword [ebx + 0x49a0]
mov ecx, dword [0x438420]
test edi, 0x1000
je 0x416669
mov edx, 0x1000
call fcn.004038a0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
test edi, 0x2000
je 0x416686
mov edx, 0x2000
call fcn.004038a0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
test edi, 0x4000
je 0x4166a3
mov edx, 0x4000
call fcn.004038a0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
test edi, 0x8000
je 0x4166c0
mov edx, 0x8000
call fcn.004038a0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
test edi, 0x800
je 0x4166dd
mov edx, 0x800
call fcn.004038a0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
movss xmm0, dword [ebx + 0x49b4]
lea esi, [ebx + 0x49a8]
addss xmm0, dword [ebx + 0x18]
mov eax, dword [esi]
mov edi, eax
movss xmm7, dword [0x4359b8]
movss xmm1, dword [0x4359ac]
movss xmm5, dword [0x435a08]
movss dword [ebx + 0x49b4], xmm0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4167d3
cmp dword [ebx + 0x4828], 3
jne 0x4167db
subss xmm0, xmm7
divss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x416743
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm6, dword [ebx + 0x49b8]
xor edx, edx
maxss xmm6, xmm1
mov ecx, 0x273
push 1
movss dword [ebx + 0x49b8], xmm6
call fcn.004102e0
add esp, 4
xor edx, edx
mov ecx, 0x274
mov bl, al
push 1
call fcn.004102e0
movzx ecx, al
add esp, 4
movzx eax, bl
sub eax, ecx
je 0x4167a3
mov ecx, eax
call fcn.00416320
mov ebx, dword [ebp - 0x10]
movaps xmm6, xmm5
mov edi, dword [esi]
mov dword [ebp - 0x14], edi
mov dword [ebx + 0x49b8], 0x3f800000
jmp 0x4167a6
mov ebx, dword [ebp - 0x10]
mov ecx, dword [0x438420]
mov edx, 0x26b
call fcn.0040fd40
cmp byte [eax], 0
je 0x41682f
mov edx, 0x26b
call fcn.004038a0
cmp byte [eax + 8], 0
jne 0x41682f
movss xmm1, dword [0x4359ac]
test edi, edi
je 0x41685b
cmp dword [ebx + 0x4828], 2
xorps xmm6, xmm6
jne 0x41685e
movss xmm0, dword [ebx + 0x49b4]
mov edx, 0xf800
mov eax, dword [ebx + 0x49a0]
subss xmm0, xmm7
test eax, eax
mov ecx, edx
cmovne ecx, eax
mov eax, dword [ebx + 0x49a4]
test eax, eax
divss xmm0, xmm1
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm6, xmm0
jbe 0x4168ed
xorps xmm5, xmm5
jmp 0x4168f1
comiss xmm5, xmm6
seta al
and byte [ebx + 0x49bc], al
je 0x41684c
cmp dword [ebx + 0x47f8], 0
je 0x416855
mov byte [ebp - 8], 1
jmp 0x416855
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xc], esi
mov dword [esi], 0
xorps xmm6, xmm6
cmp byte [ebp - 0x1c], 0
je 0x41688b
push 0
or edx, 0xffffffff
mov ecx, 0x4000
call fcn.004102e0
add esp, 4
test al, al
je 0x41688b
mov byte [ebx + 0x49bc], 1
mov dword [ebx + 0x4828], 2
cmp byte [ebx + 0x49bc], 0
mov edi, 1
je 0x416a3a
cmp dword [ebx + 0x4828], 2
jne 0x416a3a
cmp dword [ebx + 0x3778], 0
jg 0x416945
cmp byte [ebx + 0xdd8], 0
jne 0x416945
cmp byte [ebx + 0xdd9], 0
jne 0x416945
cmp byte [ebx + 0xddb], 0
mov ecx, dword [0x438420]
jne 0x41694b
mov edx, 0x4000
call fcn.004038a0
cmp dword [eax], 0xffffffff
je 0x416952
jmp 0x41694b
minss xmm5, xmm0
movss xmm0, dword [ebx + 0x49b8]
mov al, byte [ebp - 1]
maxss xmm0, xmm5
movss dword [ebx + 0x49b8], xmm0
test al, al
jne 0x41692e
cmp byte [ebp - 2], al
jne 0x41692e
mov eax, dword [ebx + 0xddc]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x41685e
mov dword [ebp - 0x18], edi
jmp 0x41685e
movzx ecx, al
xor ecx, 1
lea ecx, [ecx*2 - 1]
call fcn.00416320
jmp 0x41685e
mov ecx, dword [0x438420]
mov byte [ebx + 0x49bc], 0
mov edx, 0x4000
call fcn.0040fd40
comiss xmm6, dword [eax + 8]
ja 0x416a12
cmp byte [eax], 0
jne 0x416a12
mov edx, 0x4000
call fcn.004038a0
cmp byte [eax + 8], 0
jne 0x416a12
cmp byte [ebx + 0x49bc], 0
je 0x416a12
cmp dword [ebx + 0x3eac], 0
je 0x4169a2
cmp byte [ebx + 0x3eb9], 0
je 0x416a12
lea eax, [ebx + 0x36a4]
test eax, eax
jne 0x4169b2
lea eax, [ecx + 0xdbc]
movss xmm0, dword [eax]
movss xmm1, dword [0x435ab4]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x4169d1
comiss xmm2, xmm1
jb 0x4169d1
mov dl, 1
jmp 0x4169d3
xor dl, dl
lea eax, [ebx + 0xdbc]
test eax, eax
jne 0x4169e3
lea eax, [ecx + 0xdbc]
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x4169fa
comiss xmm2, xmm1
jb 0x4169fa
mov al, 1
jmp 0x4169fc
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 - 0x10]
cmove eax, edi
mov dword [ebp - 8], eax
mov edx, 0x4000
call fcn.0040fd40
cmp byte [eax], 0
je 0x416a31
mov edx, 0x4000
call fcn.004038a0
cmp byte [eax + 8], 0
je 0x416a40
mov byte [ebx + 0x49bc], 0
jmp 0x416a40
mov ecx, dword [0x438420]
mov eax, dword [esi]
test eax, eax
je 0x416bc5
test byte [eax + 0xc], 4
jne 0x416bc5
mov eax, dword [ebx + 0x4828]
cmp eax, 2
jne 0x416a95
cmp byte [ebx + 0xdd9], 0
jne 0x416bc5
mov edx, 0x203
call fcn.0040fd40
mov edx, 0x201
mov edi, eax
call fcn.0040fd40
mov edx, 0x202
mov esi, eax
call fcn.0040fd40
mov edx, 0x204
jmp 0x416ac5
cmp eax, 3
jne 0x416bc5
mov edx, 0x27b
call fcn.0040fd40
mov edx, 0x279
mov edi, eax
call fcn.0040fd40
mov edx, 0x27a
mov esi, eax
call fcn.0040fd40
mov edx, 0x27c
movss xmm2, dword [eax + 0xc]
subss xmm2, dword [esi + 0xc]
call fcn.0040fd40
ucomiss xmm2, xmm6
movss xmm3, dword [eax + 0xc]
subss xmm3, dword [edi + 0xc]
lahf
test ah, 0x44
jp 0x416af4
ucomiss xmm3, xmm6
lahf
test ah, 0x44
jnp 0x416bc2
movss xmm1, dword [ebx + 0x3c]
movss xmm0, dword [ebx + 0x18]
minss xmm1, dword [ebx + 0x40]
mulss xmm0, dword [0x435a88]
mov byte [ebx + 0x483b], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [ebx + 0x49c0]
addss xmm3, dword [ebx + 0x49c4]
cvttss2si eax, xmm2
movss dword [ebx + 0x49c0], xmm2
movss dword [ebx + 0x49c4], xmm3
movd xmm5, eax
cvtdq2ps xmm5, xmm5
cvttss2si eax, xmm3
ucomiss xmm5, xmm6
movd xmm4, eax
cvtdq2ps xmm4, xmm4
lahf
test ah, 0x44
jp 0x416b66
ucomiss xmm4, xmm6
lahf
test ah, 0x44
jnp 0x416bc2
mov esi, dword [ebp - 0xc]
lea edx, [ebp - 0x20]
movaps xmm0, xmm5
push 1
mov eax, dword [esi]
mov ecx, dword [eax + 0x300]
addss xmm0, dword [ecx + 0x14]
movss dword [ebp - 0x20], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ecx + 0x18]
movss dword [ebp - 0x1c], xmm0
call fcn.0040fa60
movss xmm0, dword [ebx + 0x49c0]
add esp, 4
subss xmm0, xmm5
movss dword [ebx + 0x49c0], xmm0
movss xmm0, dword [ebx + 0x49c4]
subss xmm0, xmm4
movss dword [ebx + 0x49c4], xmm0
jmp 0x416bc5
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x416c43
mov eax, dword [ebx + 0x47f8]
test eax, eax
je 0x416bde
cmp edi, dword [eax + 0x300]
je 0x416c3d
xor edx, edx
xor ecx, ecx
call fcn.004073a0
mov eax, dword [0x438420]
xor dl, dl
mov ecx, edi
mov word [eax + 0x4839], 1
mov byte [eax + 0x483b], 1
call fcn.00412a50
mov edx, 1
mov ecx, edi
call fcn.0040f670
mov edi, dword [ebx + 0x47f8]
cmp dword [edi + 0x314], 0
jne 0x416c29
xor dl, dl
mov ecx, edi
call fcn.00414050
cmp word [edi + 0x14e], 2
jne 0x416c3d
mov dword [ebx + 0x482c], 1
mov dword [esi], 0
cmp byte [ebp - 8], 0
je 0x416d09
cmp dword [ebx + 0x47f8], 0
je 0x416d09
xor edx, edx
xor ecx, ecx
call fcn.004073a0
mov edi, dword [ebx + 0x47f8]
mov esi, edi
cmp dword [esi + 0x2f8], 0
lea ecx, [esi + 0x2f8]
je 0x416cbc
nop word [eax + eax]
test byte [esi + 0x14c], 2
jne 0x416ca9
mov eax, dword [esi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x416ca9
mov esi, dword [ecx]
cmp dword [esi + 0x2f8], 0
lea ecx, [esi + 0x2f8]
jne 0x416c80
cmp esi, edi
je 0x416cbc
xor edx, edx
mov ecx, esi
call fcn.0040f670
mov dword [esi + 0x310], edi
mov eax, dword [ebx + 0x47f8]
test byte [eax + 0x14c], 2
je 0x416cd6
mov ecx, dword [ebx + 0x482c]
xor ecx, 1
jmp 0x416cd8
xor ecx, ecx
cmp ecx, dword [ebx + 0x482c]
je 0x416d09
cmp ecx, 1
jne 0x416cef
mov dword [eax + 0x318], 0
call fcn.00413fa0
mov eax, dword [0x438420]
mov word [eax + 0x4839], 1
mov byte [eax + 0x483b], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret