Function at 0x40c370
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov edx, dword [ebp + 0x14]
or edx, 2
test dword [ebp + 0x18], 0x40000000
push ebx
cmove edx, dword [ebp + 0x14]
mov ecx, edx
and ecx, 0xfffffffb
test dl, 0x10
push esi
cmove ecx, edx
mov edx, 0x1000041
mov ebx, ecx
and ebx, 0xfffffff7
test cl, 0x20
push edi
mov edi, dword [0x450100]
cmove ebx, ecx
test bl, 0x70
mov dword [ebp - 4], ebx
mov eax, dword [edi + 0x3f94]
mov dword [ebp - 8], eax
mov eax, 0x1000001
cmove edx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
and eax, 4
or edx, eax
or edx, dword [ebp + 0x18]
mov dword [ebp + 0x18], edx
test bl, 0xc
jne 0x40c3e1
or edx, 0x102
mov dword [ebp + 0x18], edx
test bl, bl
jns 0x40c4c9
movups xmm0, xmmword [edi + 0x39c4]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 3
push eax
lea ecx, [edi + 0x49cc]
movups xmmword [ebp - 0x18], xmm0
call fcn.0041f6e0
cmp dword [edi + 0x49c8], 3
je 0x40c421
movups xmm0, xmmword [edi + 0x3a04]
movups xmmword [edi + 0x39c4], xmm0
mov esi, dword [0x450100]
lea eax, [ebp - 0x14]
movss xmm0, dword [edi + 0x38ec]
movss dword [ebp + 0x14], xmm0
push eax
movss xmm0, dword [esi + 0x38d4]
lea ecx, [esi + 0x49d8]
mov dword [ebp - 0x14], 7
movss dword [ebp - 0x10], xmm0
call fcn.0041f990
movss xmm0, dword [ebp + 0x14]
lea eax, [ebp - 0x14]
movss dword [esi + 0x38d4], xmm0
mov esi, dword [0x450100]
movss xmm0, dword [edi + 0x38f0]
movss dword [ebp + 0x14], xmm0
push eax
movss xmm0, dword [esi + 0x38d8]
lea ecx, [esi + 0x49d8]
mov dword [ebp - 0x14], 8
movss dword [ebp - 0x10], xmm0
call fcn.0041f990
movss xmm0, dword [ebp + 0x14]
lea eax, [edi + 0x38e4]
push eax
push 2
movss dword [esi + 0x38d8], xmm0
call fcn.00417e50
mov esi, dword [ebp + 0x18]
or ebx, 3
add esp, 8
mov dword [ebp - 4], ebx
or esi, 4
mov dword [ebp + 0x18], esi
jmp 0x40c4cc
mov esi, dword [ebp + 0x18]
or dword [edi + 0x495c], 0x100
mov dword [edi + 0x4994], ebx
mov ecx, dword [0x450100]
mov edx, dword [ecx + 0x3f94]
cmp dword [edx + 0x198], 0
jne 0x40c4ff
cmp dword [ecx + 0x4ce8], 0
mov eax, 0x234
je 0x40c504
mov eax, 0x204
movss xmm6, dword [edx + eax]
xorps xmm1, xmm1
movss xmm7, dword [edx + eax + 4]
mov eax, edx
subss xmm6, dword [eax + 0xf8]
subss xmm7, dword [eax + 0xfc]
test bl, 0x20
je 0x40c52c
xorps xmm7, xmm7
test bl, 0x10
je 0x40c534
xorps xmm6, xmm6
mov eax, dword [ebp + 0x10]
xorps xmm4, xmm4
xorps xmm3, xmm3
movss xmm2, dword [eax]
comiss xmm1, xmm2
movss xmm0, dword [eax + 4]
ja 0x40c550
comiss xmm1, xmm0
jbe 0x40c577
cmp dword [edx + 0x198], 0
jne 0x40c567
cmp dword [ecx + 0x4ce8], 0
mov eax, 0x234
je 0x40c56c
mov eax, 0x204
movss xmm4, dword [edx + eax]
movss xmm3, dword [edx + eax + 4]
movss xmm5, dword [0x4391b8]
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x40c58d
movaps xmm2, xmm6
jmp 0x40c5a5
comiss xmm1, xmm2
jbe 0x40c5a5
subss xmm4, dword [edx + 0xf8]
addss xmm4, xmm2
movaps xmm2, xmm5
maxss xmm2, xmm4
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x40c5b3
movaps xmm0, xmm7
jmp 0x40c5cb
comiss xmm1, xmm0
jbe 0x40c5cb
subss xmm3, dword [edx + 0xfc]
addss xmm3, xmm0
movaps xmm0, xmm5
maxss xmm0, xmm3
or dword [ecx + 0x495c], 2
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
movss dword [ecx + 0x497c], xmm2
movss dword [ecx + 0x4980], xmm0
mov dword [ecx + 0x4964], 1
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 4]
push ebx
test ecx, ecx
je 0x40c614
push ecx
push eax
push str._s__s__08X
lea eax, [ebp + 0x14]
push 0
push eax
call fcn.00410b30
add esp, 0x18
jmp 0x40c628
push eax
push str._s__08X
lea eax, [ebp + 0x14]
push 0
push eax
call fcn.00410b30
add esp, 0x14
test byte [ebp - 4], 1
movss xmm0, dword [edi + 0x38d8]
movss dword [ebp + 0x10], xmm0
jne 0x40c645
mov dword [edi + 0x38d8], 0
push esi
push 0
push dword [ebp + 0x14]
call fcn.00409ec0
movss xmm0, dword [ebp + 0x10]
add esp, 0xc
test byte [ebp - 4], 0x80
mov byte [ebp + 0x17], al
movss dword [edi + 0x38d8], xmm0
je 0x40c67a
push 3
call fcn.00417b30
push 1
call fcn.00417ad0
add esp, 8
mov esi, dword [edi + 0x3f94]
mov dword [ebp + 0x10], esi
cmp word [esi + 0xbc], 1
mov dword [esi + 0x78], ebx
jne 0x40c6a5
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
mov dword [edx + 0xf8], eax
mov dword [edx + 0xfc], ecx
mov esi, ebx
mov edx, 0x43845d
not esi
mov al, 0x23
mov ebx, esi
cmp al, 0x23
jne 0x40c6c0
cmp byte [edx], al
jne 0x40c6c0
cmp byte [edx + 1], al
cmove ebx, esi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x437848]
test al, al
jne 0x40c6b2
mov esi, dword [ebp + 0x10]
not ebx
cmp dword [edi + 0x3fe4], ebx
jne 0x40c6f2
push 0
push 0
call fcn.0041a480
add esp, 8
mov eax, dword [ebp + 0xc]
cmp dword [edi + 0x4a5c], eax
jne 0x40c73f
test dword [ebp + 0x18], 0x800000
jne 0x40c73f
cmp word [esi + 0x154], 0
jne 0x40c719
cmp byte [esi + 0x15a], 0
je 0x40c73f
push 0
push esi
call fcn.0040fb40
push 0
push esi
call fcn.00412f20
push esi
push ebx
call fcn.0041a480
mov eax, dword [edi + 0x4a88]
add esp, 0x18
mov dword [edi + 0x4008], eax
mov al, byte [ebp + 0x17]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret