Function at 0x40a1b0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x445040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x4454a8]
mov dword [ebp - 0xc], ecx
push edi
mov dword [ebp - 0x14], edx
mov ecx, dword [esi + 0x495c]
mov ebx, dword [esi + 0x3f94]
or ecx, 0x100
mov dword [esi + 0x495c], ecx
mov dword [esi + 0x4994], 1
mov edi, dword [ebx + 0x198]
test edi, edi
jne 0x40a208
mov eax, 0x234
cmp dword [esi + 0x4ce8], edi
je 0x40a20d
mov eax, 0x204
movss xmm6, dword [eax + ebx]
xorps xmm4, xmm4
movss xmm7, dword [eax + ebx + 4]
xorps xmm3, xmm3
mov eax, dword [ebp + 8]
xorps xmm2, xmm2
subss xmm7, dword [ebx + 0xfc]
subss xmm6, dword [ebx + 0xf8]
movss xmm1, dword [eax]
comiss xmm4, xmm1
movss xmm0, dword [eax + 4]
ja 0x40a247
comiss xmm4, xmm0
jbe 0x40a268
test edi, edi
jne 0x40a258
mov eax, 0x234
cmp dword [esi + 0x4ce8], edi
je 0x40a25d
mov eax, 0x204
movss xmm3, dword [ebx + eax]
movss xmm2, dword [ebx + eax + 4]
movss xmm5, dword [0x441f10]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x40a27e
movaps xmm1, xmm6
jmp 0x40a296
comiss xmm4, xmm1
jbe 0x40a296
subss xmm3, dword [ebx + 0xf8]
addss xmm3, xmm1
movaps xmm1, xmm5
maxss xmm1, xmm3
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jp 0x40a2a4
movaps xmm0, xmm7
jmp 0x40a2bc
comiss xmm4, xmm0
jbe 0x40a2bc
subss xmm2, dword [ebx + 0xfc]
addss xmm2, xmm0
movaps xmm0, xmm5
maxss xmm0, xmm2
or ecx, 2
movss dword [esi + 0x497c], xmm1
mov dword [esi + 0x495c], ecx
mov ecx, dword [ebp - 0xc]
movss dword [esi + 0x4980], xmm0
mov dword [esi + 0x4964], 1
mov eax, dword [ebx + 4]
push edx
test ecx, ecx
je 0x40a301
push ecx
push eax
push str._s__s__08X
lea eax, [ebp - 0xc]
push 0
push eax
call fcn.00403c60
add esp, 0x18
jmp 0x40a315
push eax
push str._s__08X
lea eax, [ebp - 0xc]
push 0
push eax
call fcn.00403c60
add esp, 0x14
movss xmm0, dword [esi + 0x38d8]
xor edx, edx
mov ecx, dword [ebp - 0xc]
push 0x1000107
movss dword [ebp - 0x10], xmm0
call fcn.0040cfd0
mov edi, dword [esi + 0x3f94]
add esp, 4
movss xmm0, dword [ebp - 0x10]
movss dword [esi + 0x38d8], xmm0
mov byte [ebp - 5], al
cmp word [edi + 0xbc], 1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], edi
mov dword [edi + 0x78], eax
jne 0x40a36f
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
mov dword [ebx + 0xf8], ecx
mov dword [ebx + 0xfc], edx
mov edi, eax
mov edx, 0x43c5b9
not edi
mov al, 0x23
mov ebx, edi
nop dword [eax]
cmp al, 0x23
jne 0x40a38e
cmp byte [edx], al
jne 0x40a38e
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 + 0x43d560]
test al, al
jne 0x40a380
mov edi, dword [ebp - 0x10]
not ebx
cmp dword [esi + 0x3fe4], ebx
jne 0x40a3bd
xor edx, edx
xor ecx, ecx
call fcn.00406d40
mov eax, dword [ebp - 0x14]
cmp dword [esi + 0x4a5c], eax
jne 0x40a402
cmp word [edi + 0x154], 0
jne 0x40a3db
cmp byte [edi + 0x15a], 0
je 0x40a402
xor edx, edx
mov ecx, edi
call fcn.0040fe10
xor dl, dl
mov ecx, edi
call fcn.004153f0
mov edx, edi
mov ecx, ebx
call fcn.00406d40
mov eax, dword [esi + 0x4a88]
mov dword [esi + 0x4008], eax
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 5]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00439b22
mov esp, ebp
pop ebp
ret