Function at 0x415780
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [0x4393a8]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], ebx
mov edx, dword [ebx + 0x47c0]
sub edx, 1
mov dword [ebp - 0x18], edi
mov byte [ebp - 8], 0
js 0x4157d0
mov eax, dword [ebx + 0x47c8]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
mov edi, dword [eax]
test edi, edi
je 0x4157c8
test dword [edi + 0xc], 0x8000000
jne 0x4158a0
sub eax, 0x28
sub edx, 1
jns 0x4157b5
lea eax, [ebx + 0x49a8]
xor edi, edi
mov dword [ebp - 0xc], eax
mov eax, dword [eax]
cmp dword [ebx + 0x49ac], 0
je 0x415826
test eax, eax
jne 0x415826
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x436a0c]
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 0x415826
comiss xmm0, xmm1
jb 0x415826
mov dword [ebx + 0x49ac], eax
or edx, 0xffffffff
mov esi, 0x431ea5
mov al, 0x23
or ebx, 0xffffffff
cmp al, 0x23
jne 0x415841
cmp byte [esi], al
jne 0x415841
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 + 0x4322e0]
test al, al
jne 0x415833
mov ebx, dword [ebp - 0x10]
not edx
mov dword [ebp - 0x14], edx
mov eax, dword [ebx + 8]
test al, 2
je 0x415873
test byte [ebx + 0xc], 1
mov byte [ebp - 3], 1
jne 0x415877
mov byte [ebp - 3], 0
and eax, 0xffffff01
mov dword [ebp - 0x1c], eax
test edi, edi
jne 0x4158b6
mov ecx, dword [ebx + 0x49a0]
test ecx, ecx
je 0x4158b6
push ecx
call fcn.004111a0
add esp, 4
test al, al
je 0x4158b6
mov byte [ebp - 1], 1
jmp 0x4158be
lea eax, [ebx + 0x49a8]
mov dword [eax], 0
mov dword [ebp - 0xc], eax
xor eax, eax
jmp 0x4157dd
mov byte [ebp - 1], 0
test edi, edi
jne 0x4158e0
mov ecx, dword [ebx + 0x49a4]
mov esi, dword [ebp - 0x14]
test ecx, ecx
je 0x4158e3
push ecx
mov edx, esi
call fcn.004111a0
add esp, 4
test al, al
je 0x4158e3
mov byte [ebp - 2], 1
jmp 0x4158eb
mov esi, dword [ebp - 0x14]
mov byte [ebp - 2], 0
test edi, edi
jne 0x41591e
cmp byte [ebp - 3], 0
je 0x41591e
cmp dword [ebx + 0x49a8], 0
jne 0x41591e
push 0
xor edx, edx
mov ecx, 0x26b
call fcn.0040f6c0
add esp, 4
test al, al
je 0x41591e
mov al, byte [ebp - 1]
mov cl, byte [ebp - 2]
mov byte [ebp - 3], 1
mov dl, byte [ebp - 3]
jmp 0x41593e
xor dl, dl
mov byte [ebp - 3], dl
test edi, edi
jne 0x41594a
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 0x41594a
test al, al
jne 0x415946
test cl, cl
je 0x41594a
mov al, 1
jmp 0x41594c
xor al, al
mov byte [ebp - 4], al
test dl, dl
jne 0x41595b
test al, al
je 0x415a9d
mov eax, dword [ebx + 0x47f4]
test eax, eax
jne 0x415986
mov ecx, dword [ebx + 0x3e1c]
mov edx, 0x80000001
push 0xffffffffffffffff
dec ecx
call fcn.00415670
add esp, 4
test eax, eax
je 0x415a9d
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 + 0x4824], eax
jne 0x4159fa
cmp byte [ebp - 2], 0
je 0x415a9d
mov edi, dword [ebx + 0x49a4]
or edi, dword [ebx + 0x49a0]
mov ecx, dword [0x4393a8]
test edi, 0x1000
je 0x415a29
mov edx, 0x1000
call fcn.00402e30
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
test edi, 0x2000
je 0x415a46
mov edx, 0x2000
call fcn.00402e30
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
test edi, 0x4000
je 0x415a63
mov edx, 0x4000
call fcn.00402e30
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
test edi, 0x8000
je 0x415a80
mov edx, 0x8000
call fcn.00402e30
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
test edi, 0x800
je 0x415a9d
mov edx, 0x800
call fcn.00402e30
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 [0x436978]
movss xmm1, dword [0x43696c]
movss xmm5, dword [0x4369c8]
movss dword [ebx + 0x49b4], xmm0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x415b93
cmp dword [ebx + 0x4824], 3
jne 0x415b9b
subss xmm0, xmm7
divss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x415b03
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.0040f6c0
add esp, 4
xor edx, edx
mov ecx, 0x274
mov bl, al
push 1
call fcn.0040f6c0
movzx ecx, al
add esp, 4
movzx eax, bl
sub eax, ecx
je 0x415b63
mov ecx, eax
call fcn.004156e0
mov ebx, dword [ebp - 0x10]
movaps xmm6, xmm5
mov edi, dword [esi]
mov dword [ebp - 0x14], edi
mov dword [ebx + 0x49b8], 0x3f800000
jmp 0x415b66
mov ebx, dword [ebp - 0x10]
mov ecx, dword [0x4393a8]
mov edx, 0x26b
call fcn.0040f120
cmp byte [eax], 0
je 0x415bef
mov edx, 0x26b
call fcn.00402e30
cmp byte [eax + 8], 0
jne 0x415bef
movss xmm1, dword [0x43696c]
test edi, edi
je 0x415c1b
cmp dword [ebx + 0x4824], 2
xorps xmm6, xmm6
jne 0x415c1e
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 0x415cad
xorps xmm5, xmm5
jmp 0x415cb1
comiss xmm5, xmm6
seta al
and byte [ebx + 0x49bc], al
je 0x415c0c
cmp dword [ebx + 0x47f4], 0
je 0x415c15
mov byte [ebp - 8], 1
jmp 0x415c15
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 0x415c4b
push 0
or edx, 0xffffffff
mov ecx, 0x4000
call fcn.0040f6c0
add esp, 4
test al, al
je 0x415c4b
mov byte [ebx + 0x49bc], 1
mov dword [ebx + 0x4824], 2
cmp byte [ebx + 0x49bc], 0
mov edi, 1
je 0x415dfa
cmp dword [ebx + 0x4824], 2
jne 0x415dfa
cmp dword [ebx + 0x3770], 0
jg 0x415d05
cmp byte [ebx + 0xdd4], 0
jne 0x415d05
cmp byte [ebx + 0xdd5], 0
jne 0x415d05
cmp byte [ebx + 0xdd7], 0
mov ecx, dword [0x4393a8]
jne 0x415d0b
mov edx, 0x4000
call fcn.00402e30
cmp dword [eax], 0xffffffff
je 0x415d12
jmp 0x415d0b
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 0x415cee
cmp byte [ebp - 2], al
jne 0x415cee
mov eax, dword [ebx + 0xdd8]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x415c1e
mov dword [ebp - 0x18], edi
jmp 0x415c1e
movzx ecx, al
xor ecx, 1
lea ecx, [ecx*2 - 1]
call fcn.004156e0
jmp 0x415c1e
mov ecx, dword [0x4393a8]
mov byte [ebx + 0x49bc], 0
mov edx, 0x4000
call fcn.0040f120
comiss xmm6, dword [eax + 8]
ja 0x415dd2
cmp byte [eax], 0
jne 0x415dd2
mov edx, 0x4000
call fcn.00402e30
cmp byte [eax + 8], 0
jne 0x415dd2
cmp byte [ebx + 0x49bc], 0
je 0x415dd2
cmp dword [ebx + 0x3ea4], 0
je 0x415d62
cmp byte [ebx + 0x3eb1], 0
je 0x415dd2
lea eax, [ebx + 0x36a0]
test eax, eax
jne 0x415d72
lea eax, [ecx + 0xdb8]
movss xmm0, dword [eax]
movss xmm1, dword [0x436a7c]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x415d91
comiss xmm2, xmm1
jb 0x415d91
mov dl, 1
jmp 0x415d93
xor dl, dl
lea eax, [ebx + 0xdb8]
test eax, eax
jne 0x415da3
lea eax, [ecx + 0xdb8]
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x415dba
comiss xmm2, xmm1
jb 0x415dba
mov al, 1
jmp 0x415dbc
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.0040f120
cmp byte [eax], 0
je 0x415df1
mov edx, 0x4000
call fcn.00402e30
cmp byte [eax + 8], 0
je 0x415e00
mov byte [ebx + 0x49bc], 0
jmp 0x415e00
mov ecx, dword [0x4393a8]
mov eax, dword [esi]
test eax, eax
je 0x415f85
test byte [eax + 0xc], 4
jne 0x415f85
mov eax, dword [ebx + 0x4824]
cmp eax, 2
jne 0x415e55
cmp byte [ebx + 0xdd5], 0
jne 0x415f85
mov edx, 0x203
call fcn.0040f120
mov edx, 0x201
mov edi, eax
call fcn.0040f120
mov edx, 0x202
mov esi, eax
call fcn.0040f120
mov edx, 0x204
jmp 0x415e85
cmp eax, 3
jne 0x415f85
mov edx, 0x27b
call fcn.0040f120
mov edx, 0x279
mov edi, eax
call fcn.0040f120
mov edx, 0x27a
mov esi, eax
call fcn.0040f120
mov edx, 0x27c
movss xmm2, dword [eax + 0xc]
subss xmm2, dword [esi + 0xc]
call fcn.0040f120
ucomiss xmm2, xmm6
movss xmm3, dword [eax + 0xc]
subss xmm3, dword [edi + 0xc]
lahf
test ah, 0x44
jp 0x415eb4
ucomiss xmm3, xmm6
lahf
test ah, 0x44
jnp 0x415f82
movss xmm1, dword [ebx + 0x3c]
movss xmm0, dword [ebx + 0x18]
minss xmm1, dword [ebx + 0x40]
mulss xmm0, dword [0x436a50]
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 0x415f26
ucomiss xmm4, xmm6
lahf
test ah, 0x44
jnp 0x415f82
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.0040ee40
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 0x415f85
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x416003
mov eax, dword [ebx + 0x47f4]
test eax, eax
je 0x415f9e
cmp edi, dword [eax + 0x300]
je 0x415ffd
xor edx, edx
xor ecx, ecx
call fcn.00406610
mov eax, dword [0x4393a8]
xor dl, dl
mov ecx, edi
mov word [eax + 0x4839], 1
mov byte [eax + 0x483b], 1
call fcn.00411e10
mov edx, 1
mov ecx, edi
call fcn.0040ea50
mov edi, dword [ebx + 0x47f4]
cmp dword [edi + 0x314], 0
jne 0x415fe9
xor dl, dl
mov ecx, edi
call fcn.00413410
cmp word [edi + 0x14e], 2
jne 0x415ffd
mov dword [ebx + 0x4828], 1
mov dword [esi], 0
cmp byte [ebp - 8], 0
je 0x4160c9
cmp dword [ebx + 0x47f4], 0
je 0x4160c9
xor edx, edx
xor ecx, ecx
call fcn.00406610
mov edi, dword [ebx + 0x47f4]
mov esi, edi
cmp dword [esi + 0x2f8], 0
lea ecx, [esi + 0x2f8]
je 0x41607c
nop word [eax + eax]
test byte [esi + 0x14c], 2
jne 0x416069
mov eax, dword [esi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x416069
mov esi, dword [ecx]
cmp dword [esi + 0x2f8], 0
lea ecx, [esi + 0x2f8]
jne 0x416040
cmp esi, edi
je 0x41607c
xor edx, edx
mov ecx, esi
call fcn.0040ea50
mov dword [esi + 0x310], edi
mov eax, dword [ebx + 0x47f4]
test byte [eax + 0x14c], 2
je 0x416096
mov ecx, dword [ebx + 0x4828]
xor ecx, 1
jmp 0x416098
xor ecx, ecx
cmp ecx, dword [ebx + 0x4828]
je 0x4160c9
cmp ecx, 1
jne 0x4160af
mov dword [eax + 0x318], 0
call fcn.00413360
mov eax, dword [0x4393a8]
mov word [eax + 0x4839], 1
mov byte [eax + 0x483b], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret