Function at 0x415900
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [0x4863a0]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], ebx
mov edx, dword [ebx + 0x47bc]
sub edx, 1
mov dword [ebp - 0x18], edi
mov byte [ebp - 8], 0
js 0x415950
mov eax, dword [ebx + 0x47c4]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
mov edi, dword [eax]
test edi, edi
je 0x415948
test dword [edi + 0xc], 0x8000000
jne 0x415a24
sub eax, 0x28
sub edx, 1
jns 0x415935
lea eax, [ebx + 0x495c]
xor edi, edi
mov dword [ebp - 0xc], eax
mov eax, dword [eax]
cmp dword [ebx + 0x4960], 0
je 0x4159a6
test eax, eax
jne 0x4159a6
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x43b394]
movss xmm1, dword [ebx + 0x496c]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [ebx + 0x4984]
maxss xmm1, xmm0
movss dword [ebx + 0x496c], xmm1
jb 0x4159a6
comiss xmm0, xmm1
jb 0x4159a6
mov dword [ebx + 0x4960], eax
or edx, 0xffffffff
mov esi, 0x436075
mov al, 0x23
or ebx, 0xffffffff
cmp al, 0x23
jne 0x4159c1
cmp byte [esi], al
jne 0x4159c1
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 + 0x4364a8]
test al, al
jne 0x4159b3
mov ebx, dword [ebp - 0x10]
not edx
mov dword [ebp - 0x14], edx
mov eax, dword [ebx + 8]
test al, 2
je 0x4159f3
test byte [ebx + 0xc], 1
mov byte [ebp - 3], 1
jne 0x4159f7
mov byte [ebp - 3], 0
and eax, 0xffffff01
mov dword [ebp - 0x1c], eax
test edi, edi
jne 0x415a3a
mov ecx, dword [ebx + 0x4954]
test ecx, ecx
je 0x415a3a
push 0x1001
call fcn.00410ab0
add esp, 4
test al, al
je 0x415a3a
mov byte [ebp - 1], 1
jmp 0x415a42
lea eax, [ebx + 0x495c]
mov dword [eax], 0
mov dword [ebp - 0xc], eax
xor eax, eax
jmp 0x41595d
mov byte [ebp - 1], 0
test edi, edi
jne 0x415a68
mov ecx, dword [ebx + 0x4958]
mov esi, dword [ebp - 0x14]
test ecx, ecx
je 0x415a6b
push 0x1001
mov edx, esi
call fcn.00410ab0
add esp, 4
test al, al
je 0x415a6b
mov byte [ebp - 2], 1
jmp 0x415a73
mov esi, dword [ebp - 0x14]
mov byte [ebp - 2], 0
test edi, edi
jne 0x415aa6
cmp byte [ebp - 3], 0
je 0x415aa6
cmp dword [ebx + 0x495c], 0
jne 0x415aa6
push 0
xor edx, edx
mov ecx, 0x26b
call fcn.0040efb0
add esp, 4
test al, al
je 0x415aa6
mov al, byte [ebp - 1]
mov cl, byte [ebp - 2]
mov byte [ebp - 3], 1
mov dl, byte [ebp - 3]
jmp 0x415ac6
xor dl, dl
mov byte [ebp - 3], dl
test edi, edi
jne 0x415ad2
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 + 0x495c], edi
jne 0x415ad2
test al, al
jne 0x415ace
test cl, cl
je 0x415ad2
mov al, 1
jmp 0x415ad4
xor al, al
mov byte [ebp - 4], al
test dl, dl
jne 0x415ae3
test al, al
je 0x415c25
mov eax, dword [ebx + 0x47f0]
test eax, eax
jne 0x415b0e
mov ecx, dword [ebx + 0x3e24]
mov edx, 0x80000001
push 0xffffffffffffffff
dec ecx
call fcn.004157f0
add esp, 4
test eax, eax
je 0x415c25
mov dl, byte [ebp - 3]
mov eax, dword [eax + 0x300]
mov dword [ebx + 0x4960], eax
mov dword [ebx + 0x495c], eax
movzx eax, byte [ebp - 4]
xor eax, 1
mov dword [ebx + 0x496c], 0
add eax, 2
mov dword [ebx + 0x4968], 0
cmp byte [ebp - 1], 0
mov dword [ebx + 0x497c], 0
mov dword [ebx + 0x4980], 0
mov dword [ebx + 0x4974], 0
mov dword [ebx + 0x4978], 0
mov byte [ebx + 0x4970], dl
mov dword [ebx + 0x4820], eax
jne 0x415b82
cmp byte [ebp - 2], 0
je 0x415c25
mov edi, dword [ebx + 0x4958]
or edi, dword [ebx + 0x4954]
mov ecx, dword [0x4863a0]
test edi, 0x1000
je 0x415bb1
mov edx, 0x1000
call fcn.00402be0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
test edi, 0x2000
je 0x415bce
mov edx, 0x2000
call fcn.00402be0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
test edi, 0x4000
je 0x415beb
mov edx, 0x4000
call fcn.00402be0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
test edi, 0x8000
je 0x415c08
mov edx, 0x8000
call fcn.00402be0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
test edi, 0x800
je 0x415c25
mov edx, 0x800
call fcn.00402be0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
movss xmm0, dword [ebx + 0x4968]
lea esi, [ebx + 0x495c]
addss xmm0, dword [ebx + 0x18]
mov eax, dword [esi]
mov edi, eax
movss xmm7, dword [0x43b2f8]
movss xmm1, dword [0x43b2ec]
movss xmm5, dword [0x43b348]
movss dword [ebx + 0x4968], xmm0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x415d1b
cmp dword [ebx + 0x4820], 3
jne 0x415d23
subss xmm0, xmm7
divss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x415c8b
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm6, dword [ebx + 0x496c]
xor edx, edx
maxss xmm6, xmm1
mov ecx, 0x273
push 1
movss dword [ebx + 0x496c], xmm6
call fcn.0040efb0
add esp, 4
xor edx, edx
mov ecx, 0x274
mov bl, al
push 1
call fcn.0040efb0
movzx ecx, al
add esp, 4
movzx eax, bl
sub eax, ecx
je 0x415ceb
mov ecx, eax
call fcn.00415860
mov ebx, dword [ebp - 0x10]
movaps xmm6, xmm5
mov edi, dword [esi]
mov dword [ebp - 0x14], edi
mov dword [ebx + 0x496c], 0x3f800000
jmp 0x415cee
mov ebx, dword [ebp - 0x10]
mov ecx, dword [0x4863a0]
mov edx, 0x26b
call fcn.0040e9a0
cmp byte [eax], 0
je 0x415d77
mov edx, 0x26b
call fcn.00402be0
cmp byte [eax + 8], 0
jne 0x415d77
movss xmm1, dword [0x43b2ec]
test edi, edi
je 0x415da3
cmp dword [ebx + 0x4820], 2
xorps xmm6, xmm6
jne 0x415da6
movss xmm0, dword [ebx + 0x4968]
mov edx, 0xf800
mov eax, dword [ebx + 0x4954]
subss xmm0, xmm7
test eax, eax
mov ecx, edx
cmovne ecx, eax
mov eax, dword [ebx + 0x4958]
test eax, eax
divss xmm0, xmm1
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm6, xmm0
jbe 0x415e35
xorps xmm5, xmm5
jmp 0x415e39
comiss xmm5, xmm6
seta al
and byte [ebx + 0x4970], al
je 0x415d94
cmp dword [ebx + 0x47f0], 0
je 0x415d9d
mov byte [ebp - 8], 1
jmp 0x415d9d
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 0x415dd3
push 0
or edx, 0xffffffff
mov ecx, 0x4000
call fcn.0040efb0
add esp, 4
test al, al
je 0x415dd3
mov byte [ebx + 0x4970], 1
mov dword [ebx + 0x4820], 2
cmp byte [ebx + 0x4970], 0
mov edi, 1
je 0x415f82
cmp dword [ebx + 0x4820], 2
jne 0x415f82
cmp dword [ebx + 0x3778], 0
jg 0x415e8d
cmp byte [ebx + 0xdd8], 0
jne 0x415e8d
cmp byte [ebx + 0xdd9], 0
jne 0x415e8d
cmp byte [ebx + 0xddb], 0
mov ecx, dword [0x4863a0]
jne 0x415e93
mov edx, 0x4000
call fcn.00402be0
cmp dword [eax], 0xffffffff
je 0x415e9a
jmp 0x415e93
minss xmm5, xmm0
movss xmm0, dword [ebx + 0x496c]
mov al, byte [ebp - 1]
maxss xmm0, xmm5
movss dword [ebx + 0x496c], xmm0
test al, al
jne 0x415e76
cmp byte [ebp - 2], al
jne 0x415e76
mov eax, dword [ebx + 0xddc]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x415da6
mov dword [ebp - 0x18], edi
jmp 0x415da6
movzx ecx, al
xor ecx, 1
lea ecx, [ecx*2 - 1]
call fcn.00415860
jmp 0x415da6
mov ecx, dword [0x4863a0]
mov byte [ebx + 0x4970], 0
mov edx, 0x4000
call fcn.0040e9a0
comiss xmm6, dword [eax + 8]
ja 0x415f5a
cmp byte [eax], 0
jne 0x415f5a
mov edx, 0x4000
call fcn.00402be0
cmp byte [eax + 8], 0
jne 0x415f5a
cmp byte [ebx + 0x4970], 0
je 0x415f5a
cmp dword [ebx + 0x3eac], 0
je 0x415eea
cmp byte [ebx + 0x3eb9], 0
je 0x415f5a
lea eax, [ebx + 0x36a4]
test eax, eax
jne 0x415efa
lea eax, [ecx + 0xdbc]
movss xmm0, dword [eax]
movss xmm1, dword [0x43b428]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x415f19
comiss xmm2, xmm1
jb 0x415f19
mov dl, 1
jmp 0x415f1b
xor dl, dl
lea eax, [ebx + 0xdbc]
test eax, eax
jne 0x415f2b
lea eax, [ecx + 0xdbc]
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x415f42
comiss xmm2, xmm1
jb 0x415f42
mov al, 1
jmp 0x415f44
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.0040e9a0
cmp byte [eax], 0
je 0x415f79
mov edx, 0x4000
call fcn.00402be0
cmp byte [eax + 8], 0
je 0x415f88
mov byte [ebx + 0x4970], 0
jmp 0x415f88
mov ecx, dword [0x4863a0]
mov eax, dword [esi]
test eax, eax
je 0x41610d
test byte [eax + 0xc], 4
jne 0x41610d
mov eax, dword [ebx + 0x4820]
cmp eax, 2
jne 0x415fdd
cmp byte [ebx + 0xdd9], 0
jne 0x41610d
mov edx, 0x203
call fcn.0040e9a0
mov edx, 0x201
mov edi, eax
call fcn.0040e9a0
mov edx, 0x202
mov esi, eax
call fcn.0040e9a0
mov edx, 0x204
jmp 0x41600d
cmp eax, 3
jne 0x41610d
mov edx, 0x27b
call fcn.0040e9a0
mov edx, 0x279
mov edi, eax
call fcn.0040e9a0
mov edx, 0x27a
mov esi, eax
call fcn.0040e9a0
mov edx, 0x27c
movss xmm2, dword [eax + 0xc]
subss xmm2, dword [esi + 0xc]
call fcn.0040e9a0
ucomiss xmm2, xmm6
movss xmm3, dword [eax + 0xc]
subss xmm3, dword [edi + 0xc]
lahf
test ah, 0x44
jp 0x41603c
ucomiss xmm3, xmm6
lahf
test ah, 0x44
jnp 0x41610a
movss xmm1, dword [ebx + 0x3c]
movss xmm0, dword [ebx + 0x18]
minss xmm1, dword [ebx + 0x40]
mulss xmm0, dword [0x43b3f8]
mov byte [ebx + 0x482b], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [ebx + 0x4974]
addss xmm3, dword [ebx + 0x4978]
cvttss2si eax, xmm2
movss dword [ebx + 0x4974], xmm2
movss dword [ebx + 0x4978], xmm3
movd xmm5, eax
cvtdq2ps xmm5, xmm5
cvttss2si eax, xmm3
ucomiss xmm5, xmm6
movd xmm4, eax
cvtdq2ps xmm4, xmm4
lahf
test ah, 0x44
jp 0x4160ae
ucomiss xmm4, xmm6
lahf
test ah, 0x44
jnp 0x41610a
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.0040e560
movss xmm0, dword [ebx + 0x4974]
add esp, 4
subss xmm0, xmm5
movss dword [ebx + 0x4974], xmm0
movss xmm0, dword [ebx + 0x4978]
subss xmm0, xmm4
movss dword [ebx + 0x4978], xmm0
jmp 0x41610d
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x41618b
mov eax, dword [ebx + 0x47f0]
test eax, eax
je 0x416126
cmp edi, dword [eax + 0x300]
je 0x416185
xor edx, edx
xor ecx, ecx
call fcn.00405790
mov eax, dword [0x4863a0]
xor dl, dl
mov ecx, edi
mov word [eax + 0x4829], 1
mov byte [eax + 0x482b], 1
call fcn.00411a20
mov edx, 1
mov ecx, edi
call fcn.0040df40
mov edi, dword [ebx + 0x47f0]
cmp dword [edi + 0x314], 0
jne 0x416171
xor dl, dl
mov ecx, edi
call fcn.00413430
cmp word [edi + 0x14e], 2
jne 0x416185
mov dword [ebx + 0x4824], 1
mov dword [esi], 0
cmp byte [ebp - 8], 0
je 0x41624b
cmp dword [ebx + 0x47f0], 0
je 0x41624b
xor edx, edx
xor ecx, ecx
call fcn.00405790
mov edi, dword [ebx + 0x47f0]
mov esi, edi
cmp dword [esi + 0x2f8], 0
lea ecx, [esi + 0x2f8]
je 0x4161fe
test byte [esi + 0x14c], 2
jne 0x4161eb
mov eax, dword [esi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x4161eb
mov esi, dword [ecx]
cmp dword [esi + 0x2f8], 0
lea ecx, [esi + 0x2f8]
jne 0x4161c2
cmp esi, edi
je 0x4161fe
xor edx, edx
mov ecx, esi
call fcn.0040df40
mov dword [esi + 0x310], edi
mov eax, dword [ebx + 0x47f0]
test byte [eax + 0x14c], 2
je 0x416218
mov ecx, dword [ebx + 0x4824]
xor ecx, 1
jmp 0x41621a
xor ecx, ecx
cmp ecx, dword [ebx + 0x4824]
je 0x41624b
cmp ecx, 1
jne 0x416231
mov dword [eax + 0x318], 0
call fcn.00413390
mov eax, dword [0x4863a0]
mov word [eax + 0x4829], 1
mov byte [eax + 0x482b], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret