Function at 0x10015250
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [0x100478a8]
xor eax, eax
push esi
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov byte [ebp - 8], al
call fcn.100113e0
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10015284
mov dword [ebx + 0x496c], 0
xor eax, eax
jmp 0x1001528a
mov eax, dword [ebx + 0x496c]
cmp dword [ebx + 0x4970], 0
je 0x100152d3
test eax, eax
jne 0x100152d3
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x100438d4]
movss xmm1, dword [ebx + 0x497c]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [ebx + 0x4994]
maxss xmm1, xmm0
movss dword [ebx + 0x497c], xmm1
jb 0x100152d3
comiss xmm0, xmm1
jb 0x100152d3
mov dword [ebx + 0x4970], eax
or edx, 0xffffffff
mov esi, 0x1003e0ed
mov al, 0x23
or edi, 0xffffffff
cmp al, 0x23
jne 0x100152ee
cmp byte [esi], al
jne 0x100152ee
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 + 0x1003e520]
test al, al
jne 0x100152e0
mov eax, dword [ebx + 8]
not edx
mov edi, dword [0x100478a8]
mov dword [ebp - 0xc], edx
test al, 2
je 0x10015323
test byte [ebx + 0xc], 1
mov byte [ebp - 3], 1
jne 0x10015327
mov byte [ebp - 3], 0
mov esi, dword [ebp - 0x10]
and eax, 0xffffff01
mov dword [ebp - 0x1c], eax
test esi, esi
jne 0x10015359
mov ecx, dword [ebx + 0x4964]
test ecx, ecx
je 0x10015359
push ecx
call fcn.100103b0
mov edi, dword [0x100478a8]
add esp, 4
test al, al
je 0x10015359
mov byte [ebp - 1], 1
jmp 0x10015361
mov byte [ebp - 1], 0
test esi, esi
jne 0x10015389
mov ecx, dword [ebx + 0x4968]
mov esi, dword [ebp - 0xc]
test ecx, ecx
je 0x1001538c
push ecx
mov edx, esi
call fcn.100103b0
mov edi, dword [0x100478a8]
add esp, 4
test al, al
je 0x1001538c
mov byte [ebp - 2], 1
jmp 0x10015396
mov esi, dword [ebp - 0xc]
cmp dword [ebp - 0x10], 0
mov byte [ebp - 2], 0
jne 0x100153c9
cmp byte [ebp - 3], 0
je 0x100153c9
cmp dword [ebx + 0x496c], 0
jne 0x100153c9
push 0
xor edx, edx
mov ecx, 0x26b
call fcn.1000e8c0
add esp, 4
test al, al
je 0x100153c9
mov al, byte [ebp - 1]
mov cl, byte [ebp - 2]
mov byte [ebp - 3], 1
mov dl, byte [ebp - 3]
jmp 0x100153ec
xor dl, dl
cmp dword [ebp - 0x10], 0
mov byte [ebp - 3], dl
jne 0x100153f8
cmp dword [ebx + 0x496c], 0
mov cl, byte [ebp - 2]
mov al, byte [ebp - 1]
mov byte [ebp - 3], dl
mov byte [ebp - 2], cl
mov byte [ebp - 1], al
jne 0x100153f8
test al, al
jne 0x100153f4
test cl, cl
je 0x100153f8
mov al, 1
jmp 0x100153fa
xor al, al
mov byte [ebp - 4], al
test dl, dl
jne 0x10015409
test al, al
je 0x10015559
mov eax, dword [ebx + 0x47fc]
test eax, eax
jne 0x10015434
mov ecx, dword [ebx + 0x3e3c]
mov edx, 0x80000001
push 0xffffffffffffffff
dec ecx
call fcn.10015140
add esp, 4
test eax, eax
je 0x10015559
mov dl, byte [ebp - 3]
mov eax, dword [eax + 0x308]
mov dword [ebx + 0x4970], eax
mov dword [ebx + 0x496c], eax
movzx eax, byte [ebp - 4]
xor eax, 1
mov dword [ebx + 0x497c], 0
add eax, 2
mov dword [ebx + 0x4978], 0
cmp byte [ebp - 1], 0
mov dword [ebx + 0x498c], 0
mov dword [ebx + 0x4990], 0
mov dword [ebx + 0x4984], 0
mov dword [ebx + 0x4988], 0
mov byte [ebx + 0x4980], dl
mov dword [ebx + 0x4830], eax
jne 0x100154a8
cmp byte [ebp - 2], 0
je 0x10015559
mov eax, dword [ebx + 0x4968]
or eax, dword [ebx + 0x4964]
mov dword [ebp - 0xc], eax
test eax, 0x1000
je 0x100154d8
mov edx, 0x1000
mov ecx, edi
call fcn.10002da0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0xc]
test eax, 0x2000
je 0x100154f9
mov edx, 0x2000
mov ecx, edi
call fcn.10002da0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0xc]
test eax, 0x4000
je 0x1001551a
mov edx, 0x4000
mov ecx, edi
call fcn.10002da0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0xc]
test eax, 0x8000
je 0x1001553b
mov edx, 0x8000
mov ecx, edi
call fcn.10002da0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0xc]
test eax, 0x800
je 0x10015559
mov edx, 0x800
mov ecx, edi
call fcn.10002da0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x4978]
mov esi, dword [ebx + 0x496c]
movss xmm7, dword [0x10043844]
movss xmm1, dword [0x10043814]
movss xmm5, dword [0x10043890]
movss dword [ebx + 0x4978], xmm0
test esi, esi
je 0x100156d1
cmp dword [ebx + 0x4830], 3
jne 0x1001564d
subss xmm0, xmm7
divss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x100155b8
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm6, dword [ebx + 0x497c]
xor edx, edx
maxss xmm6, xmm1
mov ecx, 0x273
push 1
movss dword [ebx + 0x497c], xmm6
call fcn.1000e8c0
add esp, 4
xor edx, edx
mov ecx, 0x274
mov bl, al
push 1
call fcn.1000e8c0
movzx ecx, al
add esp, 4
movzx eax, bl
sub eax, ecx
je 0x10015619
mov ecx, eax
call fcn.100151b0
mov ebx, dword [ebp - 0x14]
movaps xmm6, xmm5
mov esi, dword [ebx + 0x496c]
mov dword [ebx + 0x497c], 0x3f800000
jmp 0x1001561c
mov ebx, dword [ebp - 0x14]
mov edx, 0x26b
mov ecx, edi
call fcn.1000e340
cmp byte [eax], 0
je 0x100156a1
mov edx, 0x26b
call fcn.10002da0
cmp byte [eax + 8], 0
jne 0x100156a1
movss xmm1, dword [0x10043814]
test esi, esi
je 0x100156d1
cmp dword [ebx + 0x4830], 2
xorps xmm6, xmm6
jne 0x100156d4
movss xmm0, dword [ebx + 0x4978]
mov edx, 0xf800
mov eax, dword [ebx + 0x4964]
subss xmm0, xmm7
test eax, eax
mov ecx, edx
cmovne ecx, eax
mov eax, dword [ebx + 0x4968]
test eax, eax
divss xmm0, xmm1
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm6, xmm0
jbe 0x10015763
xorps xmm5, xmm5
jmp 0x10015767
comiss xmm5, xmm6
seta al
and byte [ebx + 0x4980], al
je 0x100156be
cmp dword [ebx + 0x47fc], 0
je 0x100156c7
mov byte [ebp - 8], 1
jmp 0x100156c7
mov eax, dword [ebx + 0x496c]
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x496c], 0
xorps xmm6, xmm6
cmp byte [ebp - 0x1c], 0
je 0x10015701
push 0
or edx, 0xffffffff
mov ecx, 0x4000
call fcn.1000e8c0
add esp, 4
test al, al
je 0x10015701
mov byte [ebx + 0x4980], 1
mov dword [ebx + 0x4830], 2
cmp byte [ebx + 0x4980], 0
mov edi, 1
je 0x100158b6
cmp dword [ebx + 0x4830], 2
jne 0x100158b6
cmp dword [ebx + 0x3770], 0
jg 0x100157c1
cmp byte [ebx + 0xdd4], 0
jne 0x100157c1
cmp byte [ebx + 0xdd5], 0
jne 0x100157c1
cmp byte [ebx + 0xdd7], 0
mov ecx, dword [0x100478a8]
jne 0x100157c7
mov edx, 0x4000
call fcn.10002da0
cmp dword [eax], 0xffffffff
je 0x100157ce
jmp 0x100157c7
minss xmm5, xmm0
movss xmm0, dword [ebx + 0x497c]
mov al, byte [ebp - 1]
maxss xmm0, xmm5
movss dword [ebx + 0x497c], xmm0
test al, al
jne 0x100157aa
cmp byte [ebp - 2], al
jne 0x100157aa
mov eax, dword [ebx + 0xdd8]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x100156d4
mov eax, dword [ebx + 0x496c]
mov dword [ebp - 0x18], eax
jmp 0x100156d4
movzx ecx, al
xor ecx, 1
lea ecx, [ecx*2 - 1]
call fcn.100151b0
jmp 0x100156d4
mov ecx, dword [0x100478a8]
mov byte [ebx + 0x4980], 0
mov edx, 0x4000
call fcn.1000e340
comiss xmm6, dword [eax + 8]
ja 0x1001588e
cmp byte [eax], 0
jne 0x1001588e
mov edx, 0x4000
call fcn.10002da0
cmp byte [eax + 8], 0
jne 0x1001588e
cmp byte [ebx + 0x4980], 0
je 0x1001588e
cmp dword [ebx + 0x3ec4], 0
je 0x1001581e
cmp byte [ebx + 0x3ed1], 0
je 0x1001588e
lea eax, [ebx + 0x36a0]
test eax, eax
jne 0x1001582e
lea eax, [ecx + 0xdb8]
movss xmm0, dword [eax]
movss xmm1, dword [0x10043994]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x1001584d
comiss xmm2, xmm1
jb 0x1001584d
mov dl, 1
jmp 0x1001584f
xor dl, dl
lea eax, [ebx + 0xdb8]
test eax, eax
jne 0x1001585f
lea eax, [ecx + 0xdb8]
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x10015876
comiss xmm2, xmm1
jb 0x10015876
mov al, 1
jmp 0x10015878
xor al, al
mov ebx, dword [ebp - 8]
cmp al, dl
movzx ebx, bl
mov eax, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x14]
cmove eax, edi
mov dword [ebp - 8], eax
mov edx, 0x4000
call fcn.1000e340
cmp byte [eax], 0
je 0x100158ad
mov edx, 0x4000
call fcn.10002da0
cmp byte [eax + 8], 0
je 0x100158bc
mov byte [ebx + 0x4980], 0
jmp 0x100158bc
mov ecx, dword [0x100478a8]
mov eax, dword [ebx + 0x496c]
test eax, eax
je 0x10015a46
test byte [eax + 0xc], 4
jne 0x10015a46
mov eax, dword [ebx + 0x4830]
cmp eax, 2
jne 0x10015915
cmp byte [ebx + 0xdd5], 0
jne 0x10015a46
mov edx, 0x203
call fcn.1000e340
mov edx, 0x201
mov edi, eax
call fcn.1000e340
mov edx, 0x202
mov esi, eax
call fcn.1000e340
mov edx, 0x204
jmp 0x10015945
cmp eax, 3
jne 0x10015a46
mov edx, 0x27b
call fcn.1000e340
mov edx, 0x279
mov edi, eax
call fcn.1000e340
mov edx, 0x27a
mov esi, eax
call fcn.1000e340
mov edx, 0x27c
movss xmm2, dword [eax + 0xc]
subss xmm2, dword [esi + 0xc]
call fcn.1000e340
ucomiss xmm2, xmm6
movss xmm3, dword [eax + 0xc]
subss xmm3, dword [edi + 0xc]
lahf
test ah, 0x44
jp 0x10015974
ucomiss xmm3, xmm6
lahf
test ah, 0x44
jnp 0x10015a41
movss xmm1, dword [ebx + 0x3c]
movss xmm0, dword [ebx + 0x18]
minss xmm1, dword [ebx + 0x40]
mulss xmm0, dword [0x10043968]
mov byte [ebx + 0x483b], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [ebx + 0x4984]
addss xmm3, dword [ebx + 0x4988]
cvttss2si eax, xmm2
movss dword [ebx + 0x4984], xmm2
movss dword [ebx + 0x4988], xmm3
movd xmm5, eax
cvtdq2ps xmm5, xmm5
cvttss2si eax, xmm3
ucomiss xmm5, xmm6
movd xmm4, eax
cvtdq2ps xmm4, xmm4
lahf
test ah, 0x44
jp 0x100159e6
ucomiss xmm4, xmm6
lahf
test ah, 0x44
jnp 0x10015a41
mov eax, dword [ebx + 0x496c]
lea edx, [ebp - 0x20]
movaps xmm0, xmm5
push 1
mov ecx, dword [eax + 0x308]
addss xmm0, dword [ecx + 0x14]
movss dword [ebp - 0x20], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ecx + 0x18]
movss dword [ebp - 0x1c], xmm0
call fcn.1000e080
movss xmm0, dword [ebx + 0x4984]
add esp, 4
subss xmm0, xmm5
movss dword [ebx + 0x4984], xmm0
movss xmm0, dword [ebx + 0x4988]
subss xmm0, xmm4
movss dword [ebx + 0x4988], xmm0
mov edi, 1
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x10015ac5
mov eax, dword [ebx + 0x47fc]
test eax, eax
je 0x10015a5f
cmp esi, dword [eax + 0x308]
je 0x10015abb
xor edx, edx
xor ecx, ecx
call fcn.10005910
mov eax, dword [0x100478a8]
xor dl, dl
mov ecx, esi
mov word [eax + 0x4839], 1
mov byte [eax + 0x483b], 1
call fcn.10011420
mov edx, edi
mov ecx, esi
call fcn.1000dc30
mov esi, dword [ebx + 0x47fc]
cmp dword [esi + 0x31c], 0
jne 0x10015aa7
xor dl, dl
mov ecx, esi
call fcn.10012d30
cmp word [esi + 0x14e], 2
jne 0x10015abb
mov dword [ebx + 0x4834], 1
mov dword [ebx + 0x496c], 0
cmp byte [ebp - 8], 0
je 0x10015b8f
cmp dword [ebx + 0x47fc], 0
je 0x10015b8f
xor edx, edx
xor ecx, ecx
call fcn.10005910
mov esi, dword [ebx + 0x47fc]
cmp dword [esi + 0x300], 0
lea ecx, [esi + 0x300]
je 0x10015b29
nop word [eax + eax]
test byte [esi + 0x14c], 2
jne 0x10015b29
mov eax, dword [esi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x10015b29
mov esi, dword [ecx]
cmp dword [esi + 0x300], 0
lea ecx, [esi + 0x300]
jne 0x10015b00
mov edi, dword [ebx + 0x47fc]
cmp esi, edi
je 0x10015b42
xor edx, edx
mov ecx, esi
call fcn.1000dc30
mov dword [esi + 0x318], edi
mov eax, dword [ebx + 0x47fc]
test byte [eax + 0x14c], 2
je 0x10015b5c
mov ecx, dword [ebx + 0x4834]
xor ecx, 1
jmp 0x10015b5e
xor ecx, ecx
cmp ecx, dword [ebx + 0x4834]
je 0x10015b8f
cmp ecx, 1
jne 0x10015b75
mov dword [eax + 0x320], 0
call fcn.10012c30
mov eax, dword [0x100478a8]
mov word [eax + 0x4839], 1
mov byte [eax + 0x483b], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret