Function at 0x409440
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [0x461fe8]
xor eax, eax
push edi
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], al
call fcn.0040db70
mov dword [ebp - 0x10], eax
test eax, eax
je 0x409471
mov dword [esi + 0x4944], 0
xor eax, eax
jmp 0x409477
mov eax, dword [esi + 0x4944]
cmp dword [esi + 0x4948], 0
je 0x4094c0
test eax, eax
jne 0x4094c0
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x457864]
movss xmm1, dword [esi + 0x4954]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x496c]
maxss xmm1, xmm0
movss dword [esi + 0x4954], xmm1
jb 0x4094c0
comiss xmm0, xmm1
jb 0x4094c0
mov dword [esi + 0x4948], eax
or ebx, 0xffffffff
mov edx, 0x43e9f5
mov al, 0x23
or edi, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x4094de
cmp byte [edx], al
jne 0x4094de
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 + 0x440c10]
test al, al
jne 0x4094d0
mov eax, dword [esi + 8]
not ebx
mov edi, dword [0x461fe8]
test al, 2
je 0x409510
test byte [esi + 0xc], 1
mov byte [ebp - 3], 1
jne 0x409514
mov byte [ebp - 3], 0
and eax, 0xffffff01
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40954b
mov ecx, dword [esi + 0x493c]
test ecx, ecx
je 0x40954b
push ecx
mov edx, ebx
call fcn.0040eec0
mov edi, dword [0x461fe8]
add esp, 4
test al, al
je 0x409548
mov byte [ebp - 1], 1
jmp 0x409553
mov eax, dword [ebp - 0x10]
mov byte [ebp - 1], 0
test eax, eax
jne 0x409578
mov ecx, dword [esi + 0x4940]
test ecx, ecx
je 0x409578
push ecx
mov edx, ebx
call fcn.0040eec0
mov edi, dword [0x461fe8]
add esp, 4
test al, al
je 0x409578
mov byte [ebp - 2], 1
jmp 0x409582
cmp dword [ebp - 0x10], 0
mov byte [ebp - 2], 0
jne 0x4095b5
cmp byte [ebp - 3], 0
je 0x4095b5
cmp dword [esi + 0x4944], 0
jne 0x4095b5
push 0
xor edx, edx
mov ecx, 0x26b
call fcn.004110e0
add esp, 4
test al, al
je 0x4095b5
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
mov byte [ebp - 3], 1
mov al, byte [ebp - 3]
jmp 0x4095d8
xor al, al
cmp dword [ebp - 0x10], 0
mov byte [ebp - 3], al
jne 0x4095e4
cmp dword [esi + 0x4944], 0
mov dl, byte [ebp - 2]
mov cl, byte [ebp - 1]
mov byte [ebp - 3], al
mov byte [ebp - 2], dl
mov byte [ebp - 1], cl
jne 0x4095e4
test cl, cl
jne 0x4095e0
test dl, dl
je 0x4095e4
mov cl, 1
jmp 0x4095e6
xor cl, cl
mov byte [ebp - 4], cl
test al, al
jne 0x4095f5
test cl, cl
je 0x409739
mov eax, dword [esi + 0x47d8]
test eax, eax
jne 0x40961d
mov ecx, dword [esi + 0x3e1c]
mov edx, 0x80000001
push 0xffffffffffffffff
dec ecx
call fcn.00409dc0
add esp, 4
test eax, eax
je 0x409739
mov eax, dword [eax + 0x308]
mov dword [esi + 0x4948], eax
mov dword [esi + 0x4944], eax
mov dword [esi + 0x4964], 0
mov eax, dword [esi + 0x4964]
mov dword [esi + 0x495c], eax
mov al, byte [ebp - 3]
mov byte [esi + 0x4958], al
movzx eax, byte [ebp - 4]
xor eax, 1
mov dword [esi + 0x4968], 0
mov ecx, dword [esi + 0x4968]
add eax, 2
cmp byte [ebp - 1], 0
mov dword [esi + 0x4954], 0
mov dword [esi + 0x4950], 0
mov dword [esi + 0x4960], ecx
mov dword [esi + 0x4808], eax
jne 0x409698
cmp byte [ebp - 2], 0
je 0x409739
mov eax, dword [esi + 0x4940]
or eax, dword [esi + 0x493c]
test eax, 0x1000
je 0x4096c0
mov dword [edi + 0x4544], ebx
mov dword [edi + 0x4540], ebx
mov word [edi + 0x4548], 0
test eax, 0x2000
je 0x4096dc
mov dword [edi + 0x4550], ebx
mov dword [edi + 0x454c], ebx
mov word [edi + 0x4554], 0
test eax, 0x4000
je 0x4096f8
mov dword [edi + 0x455c], ebx
mov dword [edi + 0x4558], ebx
mov word [edi + 0x4560], 0
test eax, 0x8000
je 0x409714
mov dword [edi + 0x4568], ebx
mov dword [edi + 0x4564], ebx
mov word [edi + 0x456c], 0
test eax, 0x800
je 0x409739
cmp byte [edi + 0x45], 0
mov eax, 0x4540
mov ecx, 0x4564
cmovne eax, ecx
add eax, edi
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
movss xmm0, dword [esi + 0x18]
xorps xmm7, xmm7
addss xmm0, dword [esi + 0x4950]
mov eax, dword [esi + 0x4944]
mov ebx, eax
movss xmm1, dword [0x4577c8]
movss xmm2, dword [0x4577bc]
movss xmm5, dword [0x457818]
movss dword [esi + 0x4950], xmm0
test eax, eax
je 0x409827
cmp dword [esi + 0x4808], 3
jne 0x409827
subss xmm0, xmm1
divss xmm0, xmm2
comiss xmm7, xmm0
jbe 0x409798
xorps xmm1, xmm1
jmp 0x40979f
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm6, dword [esi + 0x4954]
xor edx, edx
maxss xmm6, xmm1
mov ecx, 0x273
push 1
movss dword [esi + 0x4954], xmm6
call fcn.004110e0
add esp, 4
xor edx, edx
mov ecx, 0x274
mov bl, al
push 1
call fcn.004110e0
movzx ecx, al
add esp, 4
movzx eax, bl
mov ebx, dword [esi + 0x4944]
sub eax, ecx
je 0x409801
mov ecx, eax
call fcn.00409d20
mov ebx, dword [esi + 0x4944]
movaps xmm6, xmm5
mov dword [esi + 0x4954], 0x3f800000
cmp byte [edi + 0x348c], 0
je 0x409893
cmp byte [edi + 0x43ec], 0
jne 0x409893
movss xmm1, dword [0x4577c8]
movss xmm2, dword [0x4577bc]
mov dword [ebp - 0xc], 0
mov byte [ebp - 8], 0
test ebx, ebx
je 0x40992f
cmp dword [esi + 0x4808], 2
mov dword [ebp - 0xc], 0
mov byte [ebp - 8], 0
jne 0x40992f
movss xmm0, dword [esi + 0x4950]
mov edx, 0xf800
mov eax, dword [esi + 0x493c]
subss xmm0, xmm1
test eax, eax
mov ecx, edx
cmovne ecx, eax
mov eax, dword [esi + 0x4940]
test eax, eax
divss xmm0, xmm2
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm7, xmm0
jbe 0x4098cf
xorps xmm5, xmm5
jmp 0x4098d3
comiss xmm5, xmm6
seta al
and byte [esi + 0x4958], al
je 0x4098ba
cmp dword [esi + 0x47d8], 0
je 0x4098c3
mov byte [ebp - 8], 1
mov dword [esi + 0x4944], 0
jmp 0x40992f
mov eax, dword [esi + 0x4944]
mov dword [ebp - 0xc], eax
mov dword [esi + 0x4944], 0
jmp 0x40992f
minss xmm5, xmm0
movss xmm0, dword [esi + 0x4954]
mov al, byte [ebp - 1]
maxss xmm0, xmm5
movss dword [esi + 0x4954], xmm0
test al, al
jne 0x409915
cmp byte [ebp - 2], al
jne 0x409915
xor eax, eax
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], al
mov eax, dword [esi + 0xdd8]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x40992f
mov dword [ebp - 0xc], ebx
mov byte [ebp - 8], 0
jmp 0x40992f
movzx ecx, al
xor ecx, 1
lea ecx, [ecx*2 - 1]
call fcn.00409d20
xor eax, eax
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], al
cmp byte [ebp - 0x14], 0
je 0x40996e
cmp byte [edi + 0x367c], 0
je 0x40996e
movss xmm0, dword [edi + 0x3680]
comiss xmm7, xmm0
ja 0x40996e
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jp 0x40996e
cmp dword [edi + 0x4558], 0xffffffff
jne 0x40996e
mov byte [esi + 0x4958], 1
mov dword [esi + 0x4808], 2
mov bl, byte [esi + 0x4958]
test bl, bl
je 0x409a68
cmp dword [esi + 0x4808], 2
jne 0x409a68
cmp dword [esi + 0x3770], 0
jg 0x4099b6
cmp byte [esi + 0xdd4], 0
jne 0x4099b6
cmp byte [esi + 0xdd5], 0
jne 0x4099b6
cmp byte [esi + 0xdd7], 0
jne 0x4099b6
cmp dword [edi + 0x4558], 0xffffffff
je 0x4099bf
mov byte [esi + 0x4958], 0
xor bl, bl
call fcn.00411070
test al, al
je 0x409a4f
test bl, bl
je 0x409a4f
cmp dword [esi + 0x3ea4], 0
je 0x4099e2
cmp byte [esi + 0x3eb1], 0
je 0x409a4f
lea eax, [esi + 0xdb8]
test eax, eax
jne 0x4099f2
lea eax, [edi + 0xdb8]
movss xmm0, dword [eax]
movss xmm1, dword [0x4578d8]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x409a11
comiss xmm2, xmm1
jb 0x409a11
mov cl, 1
jmp 0x409a13
xor cl, cl
lea eax, [esi + 0x36a0]
test eax, eax
jne 0x409a23
lea eax, [edi + 0xdb8]
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x409a3a
comiss xmm2, xmm1
jb 0x409a3a
mov al, 1
jmp 0x409a3c
xor al, al
mov edx, dword [ebp - 8]
cmp cl, al
movzx edx, dl
mov eax, 1
cmove edx, eax
mov dword [ebp - 8], edx
cmp byte [edi + 0x367c], 0
je 0x409a61
cmp byte [edi + 0x4560], 0
je 0x409a68
mov byte [esi + 0x4958], 0
mov eax, dword [esi + 0x4944]
test eax, eax
je 0x409bce
test byte [eax + 0xc], 4
jne 0x409bce
mov eax, dword [esi + 0x4808]
cmp eax, 2
jne 0x409ac2
cmp byte [esi + 0xdd5], 0
jne 0x409bce
push 0x204
push 0x203
push 0x202
mov edx, 0x201
lea ecx, [ebp - 0x18]
call fcn.00411750
add esp, 0xc
movss xmm2, dword [eax]
movss xmm3, dword [eax + 4]
jmp 0x409aeb
cmp eax, 3
jne 0x409bce
movss xmm3, dword [edi + 0x35a8]
movss xmm2, dword [edi + 0x3588]
subss xmm3, dword [edi + 0x3598]
subss xmm2, dword [edi + 0x3578]
ucomiss xmm2, xmm7
lahf
test ah, 0x44
jp 0x409b01
ucomiss xmm3, xmm7
lahf
test ah, 0x44
jnp 0x409bce
movss xmm1, dword [esi + 0x3c]
movss xmm0, dword [esi + 0x18]
minss xmm1, dword [esi + 0x40]
mulss xmm0, dword [0x4578a8]
mov byte [esi + 0x4813], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [esi + 0x495c]
addss xmm3, dword [esi + 0x4960]
cvttss2si eax, xmm2
movss dword [esi + 0x495c], xmm2
movss dword [esi + 0x4960], xmm3
movd xmm5, eax
cvtdq2ps xmm5, xmm5
cvttss2si eax, xmm3
ucomiss xmm5, xmm7
movd xmm4, eax
cvtdq2ps xmm4, xmm4
lahf
test ah, 0x44
jp 0x409b73
ucomiss xmm4, xmm7
lahf
test ah, 0x44
jnp 0x409bce
mov eax, dword [esi + 0x4944]
lea edx, [ebp - 0x18]
movaps xmm0, xmm5
push 1
mov ecx, dword [eax + 0x308]
addss xmm0, dword [ecx + 0x14]
movss dword [ebp - 0x18], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ecx + 0x18]
movss dword [ebp - 0x14], xmm0
call fcn.00411e60
movss xmm0, dword [esi + 0x495c]
add esp, 4
subss xmm0, xmm5
movss dword [esi + 0x495c], xmm0
movss xmm0, dword [esi + 0x4960]
subss xmm0, xmm4
movss dword [esi + 0x4960], xmm0
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x409c50
mov eax, dword [esi + 0x47d8]
test eax, eax
je 0x409be7
cmp ebx, dword [eax + 0x308]
je 0x409c46
xor edx, edx
xor ecx, ecx
call fcn.0041b640
mov eax, dword [0x461fe8]
xor dl, dl
mov ecx, ebx
mov word [eax + 0x4811], 1
mov byte [eax + 0x4813], 1
call fcn.0040da40
mov edx, 1
mov ecx, ebx
call fcn.00412270
mov edi, dword [esi + 0x47d8]
cmp dword [edi + 0x31c], 0
jne 0x409c32
xor dl, dl
mov ecx, edi
call fcn.0040c0a0
cmp word [edi + 0x152], 2
jne 0x409c46
mov dword [esi + 0x480c], 1
mov dword [esi + 0x4944], 0
cmp byte [ebp - 8], 0
je 0x409d0a
cmp dword [esi + 0x47d8], 0
je 0x409d0a
xor edx, edx
xor ecx, ecx
call fcn.0041b640
mov ebx, dword [esi + 0x47d8]
mov edi, ebx
cmp dword [edi + 0x300], 0
lea ecx, [edi + 0x300]
je 0x409cb0
test byte [edi + 0x150], 2
jne 0x409cb0
mov eax, dword [edi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x409cb0
mov edi, dword [ecx]
cmp dword [edi + 0x300], 0
lea ecx, [edi + 0x300]
jne 0x409c87
cmp edi, ebx
je 0x409cc9
xor edx, edx
mov ecx, edi
call fcn.00412270
mov dword [edi + 0x318], ebx
mov ebx, dword [esi + 0x47d8]
mov edx, dword [esi + 0x480c]
mov ecx, edx
mov al, byte [ebx + 0x150]
xor ecx, 1
xor esi, esi
and al, 2
cmove ecx, esi
cmp ecx, edx
je 0x409d0a
cmp ecx, 1
jne 0x409cf0
mov dword [ebx + 0x320], esi
call fcn.0040c210
mov eax, dword [0x461fe8]
mov word [eax + 0x4811], 1
mov byte [eax + 0x4813], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret