Function at 0x10047890
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [0x10292678]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
mov ebx, dword [esi + 0x3e58]
mov ecx, ebx
mov dword [ebp - 8], edx
mov eax, dword [ebx + 0xc]
and eax, 4
or eax, 0x1000103
or edi, eax
cmp dword [ebx + 0x190], 0
mov dword [ebp + 0x10], edi
jne 0x100478d7
cmp dword [esi + 0x4a14], 0
mov eax, 0x228
je 0x100478dc
mov eax, 0x1f8
movss xmm4, dword [eax + ebx]
xorps xmm3, xmm3
movss xmm5, dword [eax + ebx + 4]
subss xmm4, dword [ecx + 0xf0]
subss xmm5, dword [ecx + 0xf4]
mov ecx, dword [ebp + 8]
movss xmm2, dword [0x1027dff8]
mov dword [ebp + 8], 0
mov dword [ebp - 4], 2
cvttss2si eax, dword [ecx]
movd xmm1, eax
cvttss2si eax, dword [ecx + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm3
cvtdq2ps xmm0, xmm0
lahf
xor ecx, ecx
test ah, 0x44
mov eax, 1
cmovnp ecx, eax
ucomiss xmm0, xmm3
lahf
test ah, 0x44
mov eax, dword [ebp + 8]
cmovnp eax, dword [ebp - 4]
or eax, ecx
comiss xmm3, xmm1
mov dword [ebp + 8], eax
jb 0x1004795f
addss xmm1, xmm4
comiss xmm1, xmm2
jae 0x1004795f
movaps xmm1, xmm2
comiss xmm3, xmm0
jb 0x10047970
addss xmm0, xmm5
comiss xmm0, xmm2
jae 0x10047970
movaps xmm0, xmm2
or dword [esi + 0x470c], 2
mov ecx, dword [ebp - 0xc]
movss dword [esi + 0x472c], xmm1
movss dword [esi + 0x4730], xmm0
mov dword [esi + 0x4714], 1
mov eax, dword [ebx + 4]
push edx
test ecx, ecx
je 0x100479b3
push ecx
push eax
push str._s__s__08X
lea eax, [ebp - 4]
push 0
push eax
call fcn.100412d0
add esp, 0x18
jmp 0x100479c7
push eax
push str._s__08X
lea eax, [ebp - 4]
push 0
push eax
call fcn.100412d0
add esp, 0x14
cmp byte [ebp + 0xc], 0
movss xmm0, dword [esi + 0x37b0]
movss dword [ebp - 0xc], xmm0
jne 0x100479e4
mov dword [esi + 0x37b0], 0
mov ecx, dword [ebp - 4]
xor edx, edx
push edi
call fcn.1004a530
mov edi, dword [esi + 0x3e58]
add esp, 4
movss xmm0, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
movss dword [esi + 0x37b0], xmm0
cmp word [edi + 0xb6], 1
mov byte [ebp + 0xf], al
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], edi
mov dword [edi + 0x74], edx
mov byte [edi + 0xc6], al
jne 0x10047a36
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [ebx + 0xf0], ecx
mov dword [ebx + 0xf4], eax
mov edi, edx
mov al, 0x23
not edi
mov edx, 0x10199639
mov ebx, edi
cmp al, 0x23
jne 0x10047a51
cmp byte [edx], al
jne 0x10047a51
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 + 0x1019dba8]
test al, al
jne 0x10047a43
mov edi, dword [ebp - 0xc]
not ebx
cmp dword [esi + 0x3ea4], ebx
jne 0x10047a80
xor edx, edx
xor ecx, ecx
call fcn.10043e60
mov eax, dword [ebp - 8]
cmp dword [esi + 0x47e8], eax
jne 0x10047ace
test dword [ebp + 0x10], 0x800000
jne 0x10047ace
cmp word [edi + 0x14c], 0
jne 0x10047aa7
cmp byte [edi + 0x152], 0
je 0x10047ace
xor edx, edx
mov ecx, edi
call fcn.1004d470
xor dl, dl
mov ecx, edi
call fcn.10054f90
mov edx, edi
mov ecx, ebx
call fcn.10043e60
mov eax, dword [esi + 0x480c]
mov dword [esi + 0x3ec4], eax
mov al, byte [ebp + 0xf]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret