Function at 0x41be00
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x4ba040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x4bead0]
xor eax, eax
push edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], eax
mov edx, dword [esi + 0x4a08]
sub edx, 1
mov byte [ebp - 0x1c], al
js 0x41be5e
lea ecx, [edx + edx*4]
lea ecx, [ecx*8 + 4]
add ecx, dword [esi + 0x4a10]
nop
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41be56
test dword [eax + 0xc], 0x8000000
jne 0x41bf08
sub ecx, 0x28
sub edx, 1
jns 0x41be40
mov dword [ebp - 0x14], 0
cmp dword [esi + 0x4c04], 0
je 0x41beb7
cmp dword [esi + 0x4c00], 0
jne 0x41beb7
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x4b6bb0]
movss xmm1, dword [esi + 0x4c10]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x4c2c]
maxss xmm1, xmm0
movss dword [esi + 0x4c10], xmm1
jb 0x41beb7
comiss xmm0, xmm1
jb 0x41beb7
mov dword [esi + 0x4c04], 0
or ebx, 0xffffffff
mov edx, 0x4a05f5
mov al, 0x23
or edi, 0xffffffff
cmp al, 0x23
jne 0x41bed2
cmp byte [edx], al
jne 0x41bed2
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 + 0x4a2af0]
test al, al
jne 0x41bec4
mov eax, dword [esi + 8]
not ebx
mov edi, dword [0x4bead0]
mov cl, al
test al, 2
je 0x41bf17
test byte [esi + 0xc], 1
je 0x41bf17
mov byte [ebp - 0xf], 1
jmp 0x41bf1d
mov dword [esi + 0x4c00], 0
jmp 0x41be65
mov byte [ebp - 0xf], 0
mov al, cl
and eax, 0xffffff01
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x41bf98
mov ecx, dword [esi + 0x4bf8]
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x41bf98
mov eax, ebx
mov dword [ebp - 0x18], eax
test ebx, ebx
je 0x41bf47
cmp ebx, 0xffffffff
jne 0x41bf59
cmp ebx, 0xffffffff
je 0x41bf50
test ebx, ebx
jne 0x41bf59
mov eax, dword [edi + 0x48d8]
mov dword [ebp - 0x18], eax
push 0x11001
mov edx, eax
call fcn.00414050
add esp, 4
test al, al
je 0x41bf8f
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
push 0x11021
call fcn.004160f0
add esp, 4
test al, al
je 0x41bf8f
mov edi, dword [0x4bead0]
mov byte [ebp - 0xd], 1
jmp 0x41bfa0
mov edi, dword [0x4bead0]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 0xd], 0
test eax, eax
jne 0x41c009
mov ecx, dword [esi + 0x4bfc]
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x41c009
mov eax, ebx
mov dword [ebp - 0x18], eax
test ebx, ebx
je 0x41bfbb
cmp ebx, 0xffffffff
jne 0x41bfcd
cmp ebx, 0xffffffff
je 0x41bfc4
test ebx, ebx
jne 0x41bfcd
mov eax, dword [edi + 0x48d8]
mov dword [ebp - 0x18], eax
push 0x11001
mov edx, eax
call fcn.00414050
add esp, 4
test al, al
je 0x41c003
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
push 0x11021
call fcn.004160f0
add esp, 4
test al, al
je 0x41c003
mov edi, dword [0x4bead0]
mov byte [ebp - 0xe], 1
jmp 0x41c013
mov edi, dword [0x4bead0]
cmp dword [ebp - 0x14], 0
mov byte [ebp - 0xe], 0
jne 0x41c03e
cmp byte [ebp - 0xf], 0
je 0x41c03e
cmp dword [esi + 0x4c00], 0
jne 0x41c03e
push 0
xor edx, edx
mov ecx, 0x279
call fcn.00414340
add esp, 4
test al, al
je 0x41c03e
mov cl, 1
mov byte [ebp - 0xf], cl
jmp 0x41c049
xor cl, cl
cmp dword [ebp - 0x14], 0
mov byte [ebp - 0xf], cl
jne 0x41c062
cmp dword [esi + 0x4c00], 0
jne 0x41c062
cmp byte [ebp - 0xd], 0
jne 0x41c05e
cmp byte [ebp - 0xe], 0
je 0x41c062
mov al, 1
jmp 0x41c064
xor al, al
mov byte [ebp - 0x10], al
test cl, cl
jne 0x41c073
test al, al
je 0x41c1c3
mov eax, dword [esi + 0x4a38]
test eax, eax
jne 0x41c09e
mov ecx, dword [esi + 0x3f4c]
mov edx, 0x80000001
push 0xffffffffffffffff
dec ecx
call fcn.0041bcf0
add esp, 4
test eax, eax
je 0x41c1c3
mov cl, byte [ebp - 0xf]
mov eax, dword [eax + 0x30c]
mov dword [esi + 0x4c04], eax
mov dword [esi + 0x4c00], eax
movzx eax, byte [ebp - 0x10]
xor eax, 1
mov dword [esi + 0x4c10], 0
add eax, 2
mov dword [esi + 0x4c0c], 0
cmp byte [ebp - 0xd], 0
mov dword [esi + 0x4c24], 0
mov dword [esi + 0x4c28], 0
mov dword [esi + 0x4c1c], 0
mov dword [esi + 0x4c20], 0
mov byte [esi + 0x4c14], cl
mov dword [esi + 0x4a7c], eax
jne 0x41c112
cmp byte [ebp - 0xe], 0
je 0x41c1c3
mov eax, dword [esi + 0x4bfc]
or eax, dword [esi + 0x4bf8]
mov dword [ebp - 0x14], eax
test eax, 0x1000
je 0x41c142
mov edx, 0x1000
mov ecx, edi
call fcn.004030a0
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
mov eax, dword [ebp - 0x14]
test eax, 0x2000
je 0x41c163
mov edx, 0x2000
mov ecx, edi
call fcn.004030a0
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
mov eax, dword [ebp - 0x14]
test eax, 0x4000
je 0x41c184
mov edx, 0x4000
mov ecx, edi
call fcn.004030a0
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
mov eax, dword [ebp - 0x14]
test eax, 0x8000
je 0x41c1a5
mov edx, 0x8000
mov ecx, edi
call fcn.004030a0
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
mov eax, dword [ebp - 0x14]
test eax, 0x800
je 0x41c1c3
mov edx, 0x800
mov ecx, edi
call fcn.004030a0
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
cmp dword [esi + 0x4c00], 0
movss xmm0, dword [esi + 0x18]
addss xmm0, dword [esi + 0x4c0c]
movss xmm1, dword [0x4b6a50]
movss xmm2, dword [0x4b6a30]
movss xmm6, dword [0x4b6ac4]
movss dword [esi + 0x4c0c], xmm0
je 0x41c2ec
cmp dword [esi + 0x4a7c], 3
jne 0x41c2ec
subss xmm0, xmm1
xorps xmm1, xmm1
divss xmm0, xmm2
comiss xmm1, xmm0
ja 0x41c221
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm7, dword [esi + 0x4c10]
xor edx, edx
maxss xmm7, xmm1
mov ecx, 0x281
push 1
movss dword [esi + 0x4c10], xmm7
call fcn.00414340
add esp, 4
xor edx, edx
mov ecx, 0x282
mov bl, al
push 1
call fcn.00414340
movzx ecx, al
add esp, 4
movzx eax, bl
sub eax, ecx
je 0x41c277
mov ecx, eax
call fcn.0041bd60
mov dword [esi + 0x4c10], 0x3f800000
movaps xmm7, xmm6
mov ebx, dword [0x4bead0]
mov edx, 0x279
mov ecx, ebx
call fcn.00413b40
cmp byte [eax], 0
je 0x41c29e
mov edx, 0x279
call fcn.004030a0
cmp byte [eax + 8], 0
je 0x41c2da
comiss xmm6, xmm7
seta al
and byte [esi + 0x4c14], al
je 0x41c2bb
cmp dword [esi + 0x4a38], 0
je 0x41c2d0
mov byte [ebp - 0x1c], 1
jmp 0x41c2d0
mov eax, dword [esi + 0x4c00]
mov dword [ebp - 0x28], eax
mov al, byte [ebp - 0xe]
mov byte [ebp - 0xe], al
mov al, byte [ebp - 0xd]
mov byte [ebp - 0xd], al
mov dword [esi + 0x4c00], 0
movss xmm1, dword [0x4b6a50]
movss xmm2, dword [0x4b6a30]
jmp 0x41c2f2
mov ebx, dword [0x4bead0]
cmp dword [esi + 0x4c00], 0
xorps xmm7, xmm7
je 0x41c3a2
cmp dword [esi + 0x4a7c], 2
jne 0x41c3a2
movss xmm0, dword [esi + 0x4c0c]
mov edx, 0xf800
mov eax, dword [esi + 0x4bf8]
subss xmm0, xmm1
test eax, eax
mov ecx, edx
cmovne ecx, eax
mov eax, dword [esi + 0x4bfc]
test eax, eax
divss xmm0, xmm2
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm7, xmm0
jbe 0x41c350
xorps xmm6, xmm6
jmp 0x41c354
minss xmm6, xmm0
movss xmm0, dword [esi + 0x4c10]
mov al, byte [ebp - 0xd]
maxss xmm0, xmm6
movss dword [esi + 0x4c10], xmm0
test al, al
jne 0x41c390
cmp byte [ebp - 0xe], al
jne 0x41c390
mov eax, dword [esi + 0xe20]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x41c3a2
mov eax, dword [esi + 0x4c00]
mov dword [ebp - 0x28], eax
jmp 0x41c3a2
movzx ecx, al
xor ecx, 1
lea ecx, [ecx*2 - 1]
call fcn.0041bd60
mov ecx, dword [ebp - 0x2c]
lea edi, [ebp - 0xc]
mov dword [ebp - 0xc], 0x211
mov dword [ebp - 8], 0x215
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
test cl, cl
je 0x41c3d5
push 0
or edx, 0xffffffff
mov ecx, eax
call fcn.00414340
add esp, 4
test al, al
jne 0x41c3e1
mov ecx, dword [ebp - 0x2c]
add edi, 4
lea eax, [ebp - 4]
cmp edi, eax
jne 0x41c3b6
jmp 0x41c3fb
mov eax, dword [ebp - 0x20]
mov byte [esi + 0x4c14], 1
mov dword [esi + 0x4c18], eax
mov dword [esi + 0x4a7c], 2
cmp byte [esi + 0x4c14], 0
je 0x41c616
cmp dword [esi + 0x4a7c], 2
jne 0x41c616
cmp dword [esi + 0x3898], 0
jg 0x41c439
cmp byte [esi + 0xe1c], 0
jne 0x41c439
cmp byte [esi + 0xe1d], 0
jne 0x41c439
cmp byte [esi + 0xe1f], 0
je 0x41c440
mov byte [esi + 0x4c14], 0
mov edx, dword [esi + 0x4c18]
cmp edx, 0x200
jl 0x41c456
cmp edx, 0x29a
jl 0x41c47e
cmp edx, 0x1000
je 0x41c47e
cmp edx, 0x2000
je 0x41c47e
cmp edx, 0x4000
je 0x41c47e
cmp edx, 0x8000
je 0x41c47e
cmp edx, 0x800
jne 0x41c4a7
cmp byte [ebx + 0x48cc], 0
je 0x41c49b
cmp dword [ebx + 0x3fdc], 0xffffffff
je 0x41c49b
lea eax, [edx - 0x200]
cmp eax, 0x76
jbe 0x41c4b8
mov ecx, ebx
call fcn.004030a0
cmp dword [eax], 0xffffffff
jne 0x41c4b8
mov edx, 0x4000
mov ecx, ebx
call fcn.004030a0
cmp dword [eax], 0xffffffff
je 0x41c4bf
mov byte [esi + 0x4c14], 0
mov edi, dword [esi + 0x4c18]
mov ecx, ebx
mov edx, edi
call fcn.00413b40
comiss xmm7, dword [eax + 8]
ja 0x41c5b4
cmp byte [eax], 0
jne 0x41c5b4
cmp edi, 0x200
jl 0x41c4f1
cmp edi, 0x29a
jl 0x41c519
cmp edi, 0x1000
je 0x41c519
cmp edi, 0x2000
je 0x41c519
cmp edi, 0x4000
je 0x41c519
cmp edi, 0x8000
je 0x41c519
cmp edi, 0x800
jne 0x41c52c
mov edx, edi
mov ecx, ebx
call fcn.004030a0
cmp byte [eax + 8], 0
jne 0x41c5b4
cmp byte [esi + 0x4c14], 0
je 0x41c5b4
cmp dword [esi + 0x3fdc], 0
je 0x41c547
cmp byte [esi + 0x3fe9], 0
je 0x41c5b4
lea eax, [esi + 0xe00]
test eax, eax
jne 0x41c557
lea eax, [ebx + 0xe00]
movss xmm0, dword [eax]
movss xmm1, dword [0x4b6cf4]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x41c576
comiss xmm2, xmm1
jb 0x41c576
mov cl, 1
jmp 0x41c578
xor cl, cl
lea eax, [esi + 0x37c8]
test eax, eax
jne 0x41c588
lea eax, [ebx + 0xe00]
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x41c59f
comiss xmm2, xmm1
jb 0x41c59f
mov al, 1
jmp 0x41c5a1
xor al, al
mov edx, dword [ebp - 0x1c]
cmp cl, al
movzx edx, dl
mov eax, 1
cmove edx, eax
mov dword [ebp - 0x1c], edx
mov edi, dword [esi + 0x4c18]
mov ecx, ebx
mov edx, edi
call fcn.00413b40
cmp byte [eax], 0
je 0x41c60f
cmp edi, 0x200
jl 0x41c5d8
cmp edi, 0x29a
jl 0x41c600
cmp edi, 0x1000
je 0x41c600
cmp edi, 0x2000
je 0x41c600
cmp edi, 0x4000
je 0x41c600
cmp edi, 0x8000
je 0x41c600
cmp edi, 0x800
jne 0x41c616
mov edx, edi
mov ecx, ebx
call fcn.004030a0
cmp byte [eax + 8], 0
je 0x41c616
mov byte [esi + 0x4c14], 0
mov eax, dword [esi + 0x4c00]
test eax, eax
je 0x41c7a9
test byte [eax + 0xc], 4
jne 0x41c7a9
mov eax, dword [esi + 0x4a7c]
cmp eax, 2
jne 0x41c671
cmp byte [esi + 0xe1d], 0
jne 0x41c7a9
mov edx, 0x203
mov ecx, ebx
call fcn.00413b40
mov edx, 0x201
mov edi, eax
call fcn.00413b40
mov edx, 0x202
mov esi, eax
call fcn.00413b40
mov edx, 0x204
jmp 0x41c6a3
cmp eax, 3
jne 0x41c7a9
mov edx, 0x289
mov ecx, ebx
call fcn.00413b40
mov edx, 0x287
mov edi, eax
call fcn.00413b40
mov edx, 0x288
mov esi, eax
call fcn.00413b40
mov edx, 0x28a
movss xmm2, dword [eax + 0xc]
mov ecx, ebx
subss xmm2, dword [esi + 0xc]
call fcn.00413b40
ucomiss xmm2, xmm7
movss xmm3, dword [eax + 0xc]
subss xmm3, dword [edi + 0xc]
lahf
test ah, 0x44
jp 0x41c6d4
ucomiss xmm3, xmm7
lahf
test ah, 0x44
jnp 0x41c7a6
mov esi, dword [ebp - 0x30]
movss xmm1, dword [esi + 0x3c]
movss xmm0, dword [esi + 0x18]
minss xmm1, dword [esi + 0x40]
mulss xmm0, dword [0x4b6c64]
mov byte [esi + 0x4a93], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [esi + 0x4c1c]
addss xmm3, dword [esi + 0x4c20]
cvttss2si eax, xmm2
movss dword [esi + 0x4c1c], xmm2
movss dword [esi + 0x4c20], xmm3
movd xmm5, eax
cvtdq2ps xmm5, xmm5
cvttss2si eax, xmm3
ucomiss xmm5, xmm7
movd xmm4, eax
cvtdq2ps xmm4, xmm4
lahf
test ah, 0x44
jp 0x41c749
ucomiss xmm4, xmm7
lahf
test ah, 0x44
jnp 0x41c7a9
mov eax, dword [esi + 0x4c00]
lea edx, [ebp - 0x24]
movaps xmm0, xmm5
push 1
mov ecx, dword [eax + 0x30c]
addss xmm0, dword [ecx + 0x18]
movss dword [ebp - 0x24], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ecx + 0x1c]
movss dword [ebp - 0x20], xmm0
call fcn.00413310
movss xmm0, dword [esi + 0x4c1c]
add esp, 4
subss xmm0, xmm5
movss dword [esi + 0x4c1c], xmm0
movss xmm0, dword [esi + 0x4c20]
subss xmm0, xmm4
movss dword [esi + 0x4c20], xmm0
jmp 0x41c7a9
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c82b
mov eax, dword [esi + 0x4a38]
test eax, eax
je 0x41c7c2
cmp ebx, dword [eax + 0x30c]
je 0x41c821
xor edx, edx
xor ecx, ecx
call fcn.004092f0
mov eax, dword [0x4bead0]
xor dl, dl
mov ecx, ebx
mov word [eax + 0x4a91], 1
mov byte [eax + 0x4a93], 1
call fcn.00417aa0
mov edx, 1
mov ecx, ebx
call fcn.00412930
mov edi, dword [esi + 0x4a38]
cmp dword [edi + 0x324], 0
jne 0x41c80d
xor dl, dl
mov ecx, edi
call fcn.00419710
cmp word [edi + 0x156], 2
jne 0x41c821
mov dword [esi + 0x4a80], 1
mov dword [esi + 0x4c00], 0
cmp byte [ebp - 0x1c], 0
je 0x41c8ef
cmp dword [esi + 0x4a38], 0
je 0x41c8ef
xor edx, edx
xor ecx, ecx
call fcn.004092f0
mov edi, dword [esi + 0x4a38]
cmp dword [edi + 0x304], 0
lea ecx, [edi + 0x304]
je 0x41c889
test byte [edi + 0x154], 2
jne 0x41c889
mov eax, dword [edi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x41c889
mov edi, dword [ecx]
cmp dword [edi + 0x304], 0
lea ecx, [edi + 0x304]
jne 0x41c860
mov ebx, dword [esi + 0x4a38]
cmp edi, ebx
je 0x41c8a2
xor edx, edx
mov ecx, edi
call fcn.00412930
mov dword [edi + 0x320], ebx
mov eax, dword [esi + 0x4a38]
test byte [eax + 0x154], 2
je 0x41c8bc
mov ecx, dword [esi + 0x4a80]
xor ecx, 1
jmp 0x41c8be
xor ecx, ecx
cmp ecx, dword [esi + 0x4a80]
je 0x41c8ef
cmp ecx, 1
jne 0x41c8d5
mov dword [eax + 0x328], 0
call fcn.004195e0
mov eax, dword [0x4bead0]
mov word [eax + 0x4a91], 1
mov byte [eax + 0x4a93], 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049c694
mov esp, ebp
pop ebp
ret