Function at 0x412b70
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [0x6cfd64]
xor edx, edx
push esi
push edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edx
mov byte [ebp - 4], dl
call fcn.0040d780
mov edi, eax
test edi, edi
je 0x412ba3
mov dword [ebx + 0x4bb8], 0
xor ecx, ecx
jmp 0x412ba9
mov ecx, dword [ebx + 0x4bb8]
cmp dword [ebx + 0x4bbc], 0
je 0x412bf2
test ecx, ecx
jne 0x412bf2
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x469d44]
movss xmm1, dword [ebx + 0x4bc8]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [ebx + 0x4be0]
maxss xmm1, xmm0
movss dword [ebx + 0x4bc8], xmm1
jb 0x412bf2
comiss xmm0, xmm1
jb 0x412bf2
mov dword [ebx + 0x4bbc], ecx
or edx, 0xffffffff
mov al, 0x23
mov esi, 0x469af5
or ebx, 0xffffffff
nop
cmp al, 0x23
jne 0x412c0e
cmp byte [esi], al
jne 0x412c0e
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 + 0x468738]
test al, al
jne 0x412c00
mov ebx, dword [ebp - 0x10]
not edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebx + 8]
test al, 2
je 0x412c40
test byte [ebx + 0xc], 1
mov byte [ebp - 3], 1
jne 0x412c44
mov byte [ebp - 3], 0
and eax, 0xffffff01
mov dword [ebp - 0x18], eax
test edi, edi
jne 0x412c73
mov eax, dword [ebx + 0x4bb0]
test eax, eax
je 0x412c73
push 0x1001
push edx
push eax
call fcn.004186a0
add esp, 0xc
test al, al
je 0x412c73
mov byte [ebp - 1], 1
jmp 0x412c7b
mov byte [ebp - 1], 0
test edi, edi
jne 0x412ca1
mov eax, dword [ebx + 0x4bb4]
mov esi, dword [ebp - 0xc]
test eax, eax
je 0x412ca4
push 0x1001
push esi
push eax
call fcn.004186a0
add esp, 0xc
test al, al
je 0x412ca4
mov byte [ebp - 2], 1
jmp 0x412cac
mov esi, dword [ebp - 0xc]
mov byte [ebp - 2], 0
test edi, edi
jne 0x412cdf
cmp byte [ebp - 3], 0
je 0x412cdf
cmp dword [ebx + 0x4bb8], 0
jne 0x412cdf
push 0
push 0
push 0x279
call fcn.0040ed80
add esp, 0xc
test al, al
je 0x412cdf
mov al, byte [ebp - 1]
mov cl, byte [ebp - 2]
mov byte [ebp - 3], 1
mov dl, byte [ebp - 3]
jmp 0x412cff
xor dl, dl
mov byte [ebp - 3], dl
test edi, edi
jne 0x412d0b
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 + 0x4bb8], edi
jne 0x412d0b
test al, al
jne 0x412d07
test cl, cl
je 0x412d0b
mov al, 1
jmp 0x412d0d
xor al, al
mov byte [ebp - 5], al
test dl, dl
jne 0x412d1c
test al, al
je 0x412dd5
mov eax, dword [ebx + 0x4a04]
test eax, eax
jne 0x412d48
mov eax, dword [ebx + 0x3f4c]
push 0xffffffffffffffff
dec eax
push 0x80000001
push eax
call fcn.0040c7f0
add esp, 0xc
test eax, eax
je 0x412dd5
mov dl, byte [ebp - 3]
mov eax, dword [eax + 0x308]
mov dword [ebx + 0x4bbc], eax
mov dword [ebx + 0x4bb8], eax
movzx eax, byte [ebp - 5]
xor eax, 1
mov dword [ebx + 0x4bc8], 0
add eax, 2
mov dword [ebx + 0x4bc4], 0
cmp byte [ebp - 1], 0
mov dword [ebx + 0x4bd8], 0
mov dword [ebx + 0x4bdc], 0
mov dword [ebx + 0x4bd0], 0
mov dword [ebx + 0x4bd4], 0
mov byte [ebx + 0x4bcc], dl
mov dword [ebx + 0x4a34], eax
jne 0x412db8
cmp byte [ebp - 2], 0
je 0x412dd5
mov eax, dword [ebx + 0x4bb4]
or eax, dword [ebx + 0x4bb0]
push 0
and eax, 0xf800
push esi
push eax
call fcn.00417e30
add esp, 0xc
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x4bc4]
mov esi, dword [ebx + 0x4bb8]
mov edx, esi
movss xmm2, dword [0x469ce4]
movss xmm4, dword [0x469cd8]
movss xmm1, dword [0x46848c]
movss dword [ebx + 0x4bc4], xmm0
test esi, esi
je 0x412ede
cmp dword [ebx + 0x4a34], 3
jne 0x412ede
subss xmm0, xmm2
movss xmm3, dword [ebx + 0x4bc8]
xorps xmm2, xmm2
divss xmm0, xmm4
comiss xmm2, xmm0
jbe 0x412e3c
xorps xmm1, xmm1
jmp 0x412e40
minss xmm1, xmm0
maxss xmm3, xmm1
push 1
push 0
push 0x281
movss dword [ebp - 0xc], xmm3
movss dword [ebx + 0x4bc8], xmm3
call fcn.0040ed80
push 1
push 0
push 0x282
mov bl, al
call fcn.0040ed80
movzx ecx, al
add esp, 0x18
movzx eax, bl
mov edx, esi
sub eax, ecx
je 0x412ea7
push eax
call fcn.00413400
mov ebx, dword [ebp - 0x10]
add esp, 4
movss xmm1, dword [0x46848c]
movaps xmm0, xmm1
mov edx, dword [ebx + 0x4bb8]
mov dword [ebx + 0x4bc8], 0x3f800000
jmp 0x412eb7
movss xmm1, dword [0x46848c]
movss xmm0, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
mov eax, dword [0x6cfd64]
cmp byte [eax + 0x35b4], 0
je 0x412f36
cmp byte [eax + 0x45c8], 0
jne 0x412f36
movss xmm2, dword [0x469ce4]
movss xmm4, dword [0x469cd8]
test edx, edx
je 0x412f60
cmp dword [ebx + 0x4a34], 2
jne 0x412f60
movss xmm0, dword [ebx + 0x4bc4]
mov esi, 0xf800
mov eax, dword [ebx + 0x4bb0]
subss xmm0, xmm2
test eax, eax
mov ecx, esi
xorps xmm2, xmm2
cmovne ecx, eax
mov eax, dword [ebx + 0x4bb4]
test eax, eax
divss xmm0, xmm4
cmovne esi, eax
and esi, ecx
mov ecx, esi
and ecx, 0xf800
comiss xmm2, xmm0
jbe 0x41307e
xorps xmm1, xmm1
jmp 0x413082
comiss xmm1, xmm0
seta al
and byte [ebx + 0x4bcc], al
je 0x412f53
cmp dword [ebx + 0x4a04], 0
je 0x412f56
mov byte [ebp - 4], 1
jmp 0x412f56
mov dword [ebp - 0x14], edx
mov dword [ebx + 0x4bb8], 0
xorps xmm2, xmm2
cmp byte [ebp - 0x18], 0
je 0x412fa8
mov ecx, dword [0x6cfd64]
cmp byte [ecx + 0x37a4], 0
je 0x412fa8
movss xmm0, dword [ecx + 0x37a8]
comiss xmm2, xmm0
ja 0x412fa8
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x412fa8
cmp dword [ecx + 0x4734], 0xffffffff
jne 0x412fa8
mov byte [ebx + 0x4bcc], 1
mov dword [ebx + 0x4a34], 2
cmp byte [ebx + 0x4bcc], 0
je 0x413131
cmp dword [ebx + 0x4a34], 2
jne 0x413131
cmp dword [ebx + 0x3898], 0
jg 0x412ff4
cmp byte [ebx + 0xe1c], 0
jne 0x412ff4
cmp byte [ebx + 0xe1d], 0
jne 0x412ff4
cmp byte [ebx + 0xe1f], 0
jne 0x412ff4
mov eax, dword [0x6cfd64]
cmp dword [eax + 0x4734], 0xffffffff
je 0x412ffb
mov byte [ebx + 0x4bcc], 0
mov ecx, dword [0x6cfd64]
comiss xmm2, dword [ecx + 0x37ac]
ja 0x413113
cmp byte [ecx + 0x37a4], 0
jne 0x413113
cmp byte [ecx + 0x473c], 0
jne 0x41312a
cmp byte [ebx + 0x4bcc], 0
je 0x413113
cmp dword [ebx + 0x3fd8], 0
je 0x41304b
cmp byte [ebx + 0x3fe5], 0
je 0x413113
lea eax, [ebx + 0x37c8]
test eax, eax
jne 0x41305f
mov eax, dword [0x6cfd64]
add eax, 0xe00
movss xmm0, dword [eax]
movss xmm1, dword [0x469d78]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x4130da
comiss xmm2, xmm1
jb 0x4130da
mov dl, 1
jmp 0x4130dc
minss xmm1, xmm0
movss xmm0, dword [ebx + 0x4bc8]
mov al, byte [ebp - 1]
maxss xmm0, xmm1
movss dword [ebx + 0x4bc8], xmm0
test al, al
jne 0x4130bf
cmp byte [ebp - 2], al
jne 0x4130bf
mov eax, dword [ebx + 0xe20]
and eax, esi
and eax, 0xf800
cmp eax, ecx
je 0x412f63
mov dword [ebp - 0x14], edx
jmp 0x412f63
movzx eax, al
xor eax, 1
lea eax, [eax*2 - 1]
push eax
call fcn.00413400
add esp, 4
jmp 0x412f63
xor dl, dl
lea eax, [ebx + 0xe00]
test eax, eax
jne 0x4130f0
mov eax, dword [0x6cfd64]
add eax, 0xe00
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x413107
comiss xmm2, xmm1
jb 0x413107
mov al, 1
jmp 0x413109
xor al, al
cmp al, dl
jne 0x413113
mov byte [ebp - 4], 1
jmp 0x41312a
cmp byte [ecx + 0x37a4], 0
mov eax, dword [0x6cfd64]
je 0x41312a
cmp byte [eax + 0x473c], 0
je 0x413131
mov byte [ebx + 0x4bcc], 0
mov eax, dword [ebx + 0x4bb8]
test eax, eax
je 0x41329c
test byte [eax + 0xc], 4
jne 0x41329c
mov eax, dword [ebx + 0x4a34]
cmp eax, 2
jne 0x413177
cmp byte [ebx + 0xe1d], 0
jne 0x41329c
push 0x204
push 0x203
push 0x202
push 0x201
jmp 0x413194
cmp eax, 3
jne 0x41329c
push 0x28a
push 0x289
push 0x288
push 0x287
lea eax, [ebp - 0x1c]
push eax
call fcn.0040d1f0
add esp, 0x14
xorps xmm2, xmm2
movss xmm3, dword [eax]
movss xmm4, dword [eax + 4]
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jp 0x4131c2
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jnp 0x41329c
movss xmm1, dword [ebx + 0x3c]
minss xmm1, dword [ebx + 0x40]
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x469d68]
mov byte [ebx + 0x4a4b], 1
mulss xmm1, xmm0
mulss xmm3, xmm1
mulss xmm4, xmm1
addss xmm3, dword [ebx + 0x4bd0]
addss xmm4, dword [ebx + 0x4bd4]
cvttss2si esi, xmm3
cvttss2si edi, xmm4
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movd xmm1, edi
ucomiss xmm0, xmm2
movss dword [ebx + 0x4bd0], xmm3
movss dword [ebx + 0x4bd4], xmm4
lahf
cvtdq2ps xmm1, xmm1
test ah, 0x44
jp 0x413234
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x41329c
mov eax, dword [ebx + 0x4bb8]
lea ecx, [ebp - 0x1c]
push 1
push ecx
mov eax, dword [eax + 0x308]
push eax
addss xmm0, dword [eax + 0x18]
movss dword [ebp - 0x1c], xmm0
movaps xmm0, xmm1
addss xmm0, dword [eax + 0x1c]
movss dword [ebp - 0x18], xmm0
call fcn.00418420
movss xmm0, dword [ebx + 0x4bd0]
add esp, 0xc
movd xmm1, esi
cvtdq2ps xmm1, xmm1
subss xmm0, xmm1
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movss dword [ebx + 0x4bd0], xmm0
movss xmm0, dword [ebx + 0x4bd4]
subss xmm0, xmm1
movss dword [ebx + 0x4bd4], xmm0
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x41331e
mov eax, dword [ebx + 0x4a04]
test eax, eax
je 0x4132b5
cmp esi, dword [eax + 0x308]
je 0x413314
push 0
push 0
call fcn.00417800
mov eax, dword [0x6cfd64]
push 0
push esi
mov word [eax + 0x4a49], 1
mov byte [eax + 0x4a4b], 1
call fcn.0040a640
push 1
push esi
call fcn.0040c940
mov esi, dword [ebx + 0x4a04]
add esp, 0x18
cmp dword [esi + 0x31c], 0
jne 0x413300
push 0
push esi
call fcn.004100a0
add esp, 8
cmp word [esi + 0x156], 2
jne 0x413314
mov dword [ebx + 0x4a38], 1
mov dword [ebx + 0x4bb8], 0
cmp byte [ebp - 4], 0
je 0x4133ef
cmp dword [ebx + 0x4a04], 0
je 0x4133ef
push 0
push 0
call fcn.00417800
mov edi, dword [ebx + 0x4a04]
add esp, 8
mov esi, edi
cmp dword [esi + 0x300], 0
lea ecx, [esi + 0x300]
je 0x41339e
nop dword [eax + eax]
test byte [esi + 0x154], 2
jne 0x413389
mov eax, dword [esi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x413389
mov esi, dword [ecx]
cmp dword [esi + 0x300], 0
lea ecx, [esi + 0x300]
jne 0x413360
cmp esi, edi
je 0x41339e
push 0
push esi
call fcn.0040c940
add esp, 8
mov dword [esi + 0x318], edi
mov ecx, dword [ebx + 0x4a04]
test byte [ecx + 0x154], 2
je 0x4133b8
mov eax, dword [ebx + 0x4a38]
xor eax, 1
jmp 0x4133ba
xor eax, eax
cmp eax, dword [ebx + 0x4a38]
je 0x4133ef
cmp eax, 1
jne 0x4133d1
mov dword [ecx + 0x320], 0
push eax
call fcn.00410c80
mov eax, dword [0x6cfd64]
add esp, 4
mov word [eax + 0x4a49], 1
mov byte [eax + 0x4a4b], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret