Function at 0x10039920
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x100a23c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x100a28d8]
push edi
mov edi, esi
mov dword [ebp - 0x38], edi
mov eax, dword [edi + 0x3f04]
mov byte [eax + 0xc5], 1
mov eax, dword [edi + 0x3f04]
mov ecx, dword [edi + 0x3fec]
mov dword [edi + 0x3fec], 0
mov dword [ebp - 0x50], eax
cmp byte [eax + 0xc8], 0
mov dword [ebp - 0x68], ecx
jne 0x10039eff
mov ecx, dword [eax + 0xfc]
xor edx, edx
mov eax, dword [eax + 0x104]
push dword [eax + ecx*4 - 4]
mov ecx, 0x1009e638
call fcn.100033e0
add esp, 4
mov dword [ebp - 0x40], eax
cmp dword [edi + 0x3f28], eax
jne 0x100399cb
push ecx
push 0x1009e638
mov edx, 0xb
mov ecx, eax
call fcn.10021c00
mov esi, dword [0x100a28d8]
add esp, 8
movss xmm0, dword [esi + 0x3894]
mov ecx, 0x1009e638
addss xmm0, xmm0
mov eax, ecx
addss xmm0, dword [esi + 0x3c98]
movss dword [ebp - 0xc], xmm0
cmp eax, 0xffffffff
jae 0x10039a06
mov dl, byte [ecx]
test dl, dl
je 0x10039a06
cmp dl, 0x23
jne 0x10039a00
cmp byte [ecx + 1], dl
je 0x10039a06
inc ecx
cmp ecx, 0xffffffff
jb 0x100399f0
movss xmm4, dword [esi + 0x3c98]
xorps xmm2, xmm2
cmp ecx, 0x1009e638
jne 0x10039a1e
xorps xmm3, xmm3
jmp 0x10039a6d
movss xmm3, dword [0x1009f038]
lea eax, [ebp - 0x5c]
push 0
push ecx
push 0x1009e638
push ecx
mov ecx, dword [esi + 0x3c94]
movaps xmm2, xmm4
mov dword [esp], 0xbf800000
push eax
call fcn.100310c0
movss xmm0, dword [ebp - 0x5c]
xorps xmm2, xmm2
addss xmm0, dword [0x1009ef80]
movss xmm4, dword [ebp - 0x58]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0xc]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm3, xmm2
mov eax, dword [ebp - 0x50]
movss xmm5, dword [eax + 0x108]
movss xmm7, dword [edi + 0x3894]
movaps xmm1, xmm5
movss xmm6, dword [eax + 0x10c]
addss xmm1, xmm0
movaps xmm0, xmm7
movss dword [ebp - 0x60], xmm3
addss xmm0, xmm7
movss dword [ebp - 0x30], xmm5
movss dword [ebp - 0x2c], xmm6
movss dword [ebp - 0x28], xmm1
addss xmm0, xmm4
addss xmm0, xmm6
movss dword [ebp - 0x24], xmm0
jbe 0x10039ac6
addss xmm3, dword [edi + 0x38a8]
jmp 0x10039ac9
xorps xmm3, xmm3
addss xmm1, xmm3
movss dword [ebp - 0x20], xmm5
addss xmm0, xmm2
movss dword [ebp - 0x1c], xmm6
lea ecx, [ebp - 0x5c]
movss dword [ebp - 0x18], xmm1
subss xmm1, xmm5
movss dword [ebp - 0x14], xmm0
subss xmm0, xmm6
movss dword [ebp - 0x5c], xmm1
movaps xmm1, xmm7
movss dword [ebp - 0x58], xmm0
call fcn.100113d0
mov esi, dword [ebp - 0x40]
lea eax, [ebp - 0x30]
push 0
push eax
mov edx, esi
lea ecx, [ebp - 0x20]
call fcn.10011530
add esp, 8
test al, al
je 0x10039eff
push 0
lea eax, [ebp - 0x32]
mov edx, esi
push eax
lea eax, [ebp - 0x33]
push eax
lea ecx, [ebp - 0x30]
call fcn.10037ce0
mov edi, esi
mov byte [ebp - 0x32], al
not edi
add esp, 0xc
mov edx, edi
mov esi, 0x1009ee65
mov al, 0x23
cmp al, 0x23
jne 0x10039b55
cmp byte [esi], al
jne 0x10039b55
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x1009a458]
test al, al
jne 0x10039b47
mov eax, dword [0x100a28d8]
not edx
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x58], edx
mov ecx, dword [eax + 0x40c8]
cmp dword [eax + 0x40bc], ecx
jle 0x10039b9b
mov eax, dword [eax + 0x40c4]
lea ecx, [ecx + ecx*8]
cmp dword [eax + ecx*4], edx
jne 0x10039b9b
mov al, 1
jmp 0x10039b9d
xor al, al
cmp byte [ebp - 0x32], 0
mov byte [ebp - 0x31], al
je 0x10039eb0
test al, al
jne 0x10039eb0
mov ecx, edx
call fcn.10012050
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x30]
push 1
mov byte [ebp - 0x31], 1
call fcn.10004840
movss xmm0, dword [ebp - 0x28]
add esp, 4
subss xmm0, dword [ebp - 0xc]
movss xmm1, dword [ebp - 0x30]
maxss xmm1, xmm0
movss dword [ebp - 0x38], xmm1
mov edx, 0x16
movss xmm1, dword [0x1009ef88]
xor ecx, ecx
call fcn.10003a80
movss xmm0, dword [ebp - 0x38]
mov ecx, 0xf0
movss xmm1, dword [0x1009ef88]
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [ebp - 0x2c]
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [ebp - 0xc]
comiss xmm0, xmm0
mov dword [ebp - 0x40], eax
mov eax, 0xa0
movss xmm0, dword [edi + 0x3898]
cmovae eax, ecx
push eax
push ecx
mov ecx, edx
movss dword [esp], xmm0
call fcn.10003a80
mov esi, dword [ebp - 0x50]
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [esi + 0x288]
lea eax, [ebp - 0x4c]
push eax
call fcn.1002d4a0
movss xmm2, dword [ebp - 0x38]
movss xmm1, dword [ebp - 0x28]
movaps xmm0, xmm2
addss xmm0, dword [ebp - 0xc]
subss xmm0, dword [edi + 0x3890]
comiss xmm1, xmm0
jb 0x10039d3c
mov ecx, dword [esi + 0x288]
movss xmm0, dword [edi + 0x3894]
movss xmm6, dword [ebp - 0x2c]
movaps xmm5, xmm0
push dword [ebp - 0x40]
mov eax, dword [ecx + 0x2c]
addss xmm6, xmm0
addss xmm5, xmm2
movss xmm0, dword [eax + 0xc]
lea eax, [ebp - 0x4c]
movaps xmm4, xmm0
mulss xmm0, dword [0x1009ef44]
push eax
mulss xmm4, dword [0x1009ef3c]
lea eax, [ebp - 0x54]
push eax
addss xmm5, xmm0
addss xmm6, xmm0
xorps xmm0, xmm0
movaps xmm2, xmm4
lea eax, [ebp - 0x3c]
mulss xmm2, xmm0
movaps xmm3, xmm4
push eax
mulss xmm3, dword [0x1009ef64]
movaps xmm1, xmm4
mulss xmm1, dword [0x1009f044]
movaps xmm0, xmm4
mulss xmm0, dword [0x1009ef74]
addss xmm2, xmm5
mulss xmm4, dword [0x1009f040]
addss xmm3, xmm6
addss xmm0, xmm5
addss xmm1, xmm5
movss dword [ebp - 0x3c], xmm2
addss xmm4, xmm6
movss dword [ebp - 0x38], xmm3
movss dword [ebp - 0x4c], xmm0
movss dword [ebp - 0x54], xmm1
movss dword [ebp - 0x48], xmm4
movss dword [ebp - 0x50], xmm4
call fcn.1002d600
movss xmm1, dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x24]
movss xmm3, dword [edi + 0x3898]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [0x100a28d8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], ecx
movss xmm2, dword [eax + 0x389c]
comiss xmm2, xmm0
mov esi, dword [eax + 0x3f04]
movss dword [ebp - 0x38], xmm3
movss dword [ebp - 0x50], xmm2
jbe 0x10039e38
movaps xmm0, xmm1
sub esp, 0x10
movss xmm1, dword [0x1009ef88]
mov ecx, 6
addss xmm0, xmm1
movss dword [esp + 0xc], xmm2
movss dword [esp + 4], xmm3
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [ebp - 0x24]
addss xmm0, xmm1
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [ebp - 0x30]
addss xmm0, xmm1
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [ebp - 0x2c]
addss xmm0, xmm1
movss dword [ebp - 0x40], xmm0
call fcn.10003a80
mov ecx, dword [esi + 0x288]
add esp, 4
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.1002d3c0
movss xmm0, dword [ebp - 0x50]
sub esp, 0x10
movss xmm1, dword [0x1009ef88]
mov ecx, 5
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp - 0x38]
movss dword [esp + 4], xmm0
call fcn.10003a80
mov ecx, dword [esi + 0x288]
add esp, 4
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1002d3c0
xorps xmm0, xmm0
movss xmm1, dword [ebp - 0x60]
comiss xmm1, xmm0
jbe 0x10039e7f
movss xmm0, dword [ebp - 0x28]
mov eax, 0x1009e638
addss xmm0, dword [edi + 0x38a8]
xor edx, edx
mov ecx, eax
movss dword [ebp - 0x64], xmm0
movss xmm0, dword [ebp - 0x2c]
addss xmm0, dword [edi + 0x3894]
movss dword [ebp - 0x60], xmm0
push dword [ebp - 0x60]
push dword [ebp - 0x64]
push 1
call fcn.10003d20
add esp, 0xc
cmp byte [ebp - 0x31], 0
je 0x10039eff
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x58]
mov dword [edi + 0x3fec], eax
call fcn.10039f20
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008ad82
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
movss xmm0, dword [ebp - 0x28]
lea ecx, [ebp - 0x30]
subss xmm0, dword [ebp - 0xc]
movss xmm1, dword [ebp - 0x30]
mov edx, dword [ebp - 0x40]
push 1
maxss xmm1, xmm0
movss dword [ebp - 0x38], xmm1
call fcn.10004840
mov al, byte [ebp - 0x31]
add esp, 4
mov byte [ebp - 0x31], al
test al, al
jne 0x10039be5
mov byte [ebp - 0x31], al
cmp byte [ebp - 0x33], al
jne 0x10039be5
mov edx, 0x15
mov byte [ebp - 0x31], al
jmp 0x10039bea
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.1008ad82
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret