Function at 0x1000a510
Capabilities:
Encode data using xor
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, 0x88
mov eax, dword [0x1003a0b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x58], edx
mov edx, ecx
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x10]
push esi
test byte [edx + 8], 0x42
mov dword [ebp - 0x6c], eax
mov eax, dword [0x1003a568]
push edi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x44], eax
jne 0x1000b24a
cmp byte [edx + 0xa8], 0
jg 0x1000b24a
cmp byte [edx + 0xa9], 0
jg 0x1000b24a
cmp byte [edx + 0x8f], 0
je 0x1000b24a
movss xmm2, dword [eax + 0x3bcc]
xor esi, esi
movss xmm0, dword [edx + 0x48]
movaps xmm1, xmm2
addss xmm0, dword [0x1003739c]
mulss xmm2, dword [0x10037350]
mov edi, 4
mov cl, byte [eax + 0x5d]
mulss xmm1, dword [0x100373a8]
test cl, cl
mov byte [ebp - 0x27], 0
addss xmm0, xmm2
cmovne esi, edi
mov dword [ebp - 0x68], esi
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10037380]
cvttss2si esi, xmm0
mov dword [ebp - 0x64], esi
je 0x1000a5f1
movss xmm0, dword [0x100373c8]
jmp 0x1000a5f4
xorps xmm0, xmm0
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [0x10037424]
movss dword [ebp - 0x3c], xmm0
movss dword [ebp - 0x40], xmm0
movss dword [ebp - 0x48], xmm0
movss dword [ebp - 0x34], xmm0
mov dword [edx + 0x12c], 1
call fcn.1000f460
xor edx, edx
mov dword [ebp - 0x2c], edx
cmp dword [ebx + 0xc], edx
jle 0x1000ab3d
mov eax, dword [ebp - 0x38]
lea ecx, [edx + edx*2]
xorps xmm6, xmm6
mov dword [ebp - 0x4c], ecx
cvtsi2ss xmm6, esi
movss xmm0, dword [eax + 0x10]
movss xmm1, dword [eax + 0x14]
movaps xmm3, xmm0
addss xmm3, dword [eax + 0x18]
movaps xmm2, xmm1
addss xmm2, dword [eax + 0x1c]
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [ecx*8 + 0x10032658]
mulss xmm2, dword [ecx*8 + 0x1003265c]
addss xmm3, xmm0
movss xmm0, dword [ecx*8 + 0x10032660]
movaps xmm5, xmm0
mulss xmm0, dword [ebp - 0x30]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x10032664]
movaps xmm4, xmm1
mulss xmm1, dword [ebp - 0x30]
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [ebp - 0xc], xmm5
comiss xmm3, xmm5
movss dword [ebp - 0x14], xmm3
movss dword [ebp - 0x10], xmm2
movss dword [ebp - 8], xmm4
jbe 0x1000a6db
movss dword [ebp - 0x14], xmm5
movss dword [ebp - 0xc], xmm3
comiss xmm2, xmm4
jbe 0x1000a6ea
movss dword [ebp - 0x10], xmm4
movss dword [ebp - 8], xmm2
mov ecx, dword [eax + 0xc8]
lea edi, [ebp - 0x24]
mov eax, dword [eax + 0xd0]
mov esi, 4
mov dword [ebp - 0x24], edx
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100327e8]
sub esi, 1
jne 0x1000a707
mov edi, dword [0x1003a568]
not edx
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x20], edx
cmp dword [edi + 0x3e50], edx
jne 0x1000a754
push ecx
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov edx, 4
call fcn.10015820
mov edi, dword [0x1003a568]
add esp, 8
mov edx, dword [ebp - 0x20]
cmp dword [edi + 0x3e68], edx
jne 0x1000a762
mov dword [edi + 0x3e6c], edx
cmp dword [edi + 0x3eac], edx
jne 0x1000a771
mov byte [edi + 0x3eb0], 1
push 0x40800
lea eax, [ebp - 0x25]
push eax
lea eax, [ebp - 0x26]
push eax
lea ecx, [ebp - 0x14]
call fcn.10029290
mov cl, byte [ebp - 0x26]
add esp, 0xc
test cl, cl
jne 0x1000a79b
mov al, byte [ebp - 0x25]
test al, al
je 0x1000aa28
mov edx, dword [ebp - 0x2c]
mov eax, edx
mov edi, dword [ebp - 0x44]
not eax
and eax, 1
add eax, 5
mov dword [edi + 0x4150], eax
mov al, byte [ebp - 0x25]
test al, al
je 0x1000aa2b
mov ecx, edi
cmp word [ecx + 0x367a], 2
jne 0x1000a810
test edx, edx
jne 0x1000a810
push dword [ebp - 0x58]
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x60]
call fcn.10009f50
add esp, 4
mov byte [ebp - 0x27], 1
movss xmm4, dword [eax]
movss xmm2, dword [eax + 4]
movss dword [ebp - 0x48], xmm4
movss dword [ebp - 0x34], xmm2
call fcn.10005b70
mov edx, dword [ebp - 0x2c]
cmp byte [ebp - 0x25], 0
je 0x1000aa4d
mov eax, 0x20
jmp 0x1000aa5a
mov edi, dword [ebp - 0x4c]
movss xmm0, dword [0x1003739c]
mov edx, dword [ebx + 0x14]
movss xmm3, dword [0x1003743c]
movss xmm2, dword [edi*8 + 0x1003265c]
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x1000a83f
movss xmm6, dword [edx + 4]
jmp 0x1000a842
movaps xmm6, xmm3
movss xmm1, dword [edi*8 + 0x10032658]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1000a85a
movss xmm5, dword [edx]
jmp 0x1000a85d
movaps xmm5, xmm3
xorps xmm0, xmm0
ucomiss xmm2, xmm0
movss xmm2, dword [0x10037424]
lahf
test ah, 0x44
jp 0x1000a878
movss xmm7, dword [edx + 0xc]
jmp 0x1000a87b
movaps xmm7, xmm2
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1000a890
movss xmm0, dword [edx + 8]
movss dword [ebp - 0x20], xmm0
jmp 0x1000a895
movss dword [ebp - 0x20], xmm2
movss xmm4, dword [edi*8 + 0x10032660]
xorps xmm3, xmm3
movss xmm2, dword [edi*8 + 0x10032664]
movaps xmm0, xmm4
mulss xmm0, dword [ebp - 0x30]
movaps xmm1, xmm2
mulss xmm1, dword [ebp - 0x30]
cvtsi2ss xmm3, esi
xorps xmm3, xmmword [0x10037740]
mulss xmm4, xmm3
mulss xmm2, xmm3
movss xmm3, dword [edi*8 + 0x1003265c]
subss xmm4, xmm0
subss xmm2, xmm1
mulss xmm4, dword [edi*8 + 0x10032658]
mulss xmm2, xmm3
addss xmm4, xmm0
movss xmm0, dword [ecx + 0xd50]
subss xmm0, dword [ecx + 0x3e98]
addss xmm2, xmm1
addss xmm4, xmm0
movss xmm0, dword [ecx + 0xd54]
subss xmm0, dword [ecx + 0x3e9c]
addss xmm0, xmm2
comiss xmm6, xmm0
ja 0x1000a927
movaps xmm6, xmm7
minss xmm6, xmm0
comiss xmm5, xmm4
ja 0x1000a935
movss xmm5, dword [ebp - 0x20]
minss xmm5, xmm4
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x1c]
movss xmm2, dword [edi*8 + 0x10032658]
lea ecx, [ebp - 0x54]
push eax
movss xmm0, dword [edx + 0x10]
movss xmm1, dword [edx + 0x14]
movaps xmm4, xmm0
addss xmm0, dword [edx + 0x18]
subss xmm4, xmm5
movaps xmm7, xmm1
addss xmm1, dword [edx + 0x1c]
subss xmm7, xmm6
mulss xmm4, xmm2
mulss xmm7, xmm3
addss xmm4, xmm5
subss xmm5, xmm0
addss xmm7, xmm6
subss xmm6, xmm1
movss dword [ebp - 0x3c], xmm4
mulss xmm5, xmm2
mulss xmm6, xmm3
addss xmm5, xmm0
movss dword [ebp - 0x40], xmm7
addss xmm6, xmm1
subss xmm5, xmm4
subss xmm6, xmm7
movss dword [ebp - 0x1c], xmm5
movss dword [ebp - 0x18], xmm6
call fcn.10009f50
movss xmm0, dword [edi*8 + 0x10032658]
add esp, 4
movss xmm4, dword [ebp - 0x54]
xorps xmm3, xmm3
ucomiss xmm0, xmm3
movss dword [ebp - 0x48], xmm4
lahf
test ah, 0x44
jp 0x1000a9eb
movss xmm1, dword [ebp - 0x3c]
movaps xmm0, xmm4
subss xmm0, dword [ebp - 0x1c]
subss xmm1, xmm0
movss dword [ebp - 0x3c], xmm1
movss xmm0, dword [edi*8 + 0x1003265c]
movss xmm2, dword [ebp - 0x50]
ucomiss xmm0, xmm3
movss dword [ebp - 0x34], xmm2
lahf
test ah, 0x44
jp 0x1000aa1d
movss xmm1, dword [ebp - 0x40]
movaps xmm0, xmm2
subss xmm0, dword [ebp - 0x18]
subss xmm1, xmm0
movss dword [ebp - 0x40], xmm1
mov edx, dword [ebp - 0x2c]
mov al, byte [ebp - 0x25]
mov cl, byte [ebp - 0x26]
jmp 0x1000aa2e
mov edx, dword [ebp - 0x2c]
xorps xmm3, xmm3
test edx, edx
je 0x1000a7fc
test al, al
jne 0x1000a806
test cl, cl
jne 0x1000aa50
mov edi, dword [0x1003a568]
jmp 0x1000ab2e
mov cl, byte [ebp - 0x26]
xor eax, eax
test cl, cl
setne al
add eax, 0x1e
mov edi, dword [0x1003a568]
add eax, eax
movss xmm4, dword [0x1003739c]
xorps xmm3, xmm3
movups xmm2, xmmword [edi + eax*8 + 0x3878]
comiss xmm3, xmm2
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [edi + 0x37b0]
movups xmmword [ebp - 0x84], xmm2
jbe 0x1000aa95
xorps xmm0, xmm0
jmp 0x1000aa9c
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm5, dword [0x10037404]
movss xmm6, dword [0x10037368]
movss xmm2, dword [ebp - 0x80]
comiss xmm3, xmm2
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1000aac7
xorps xmm0, xmm0
jmp 0x1000aace
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm2, dword [ebp - 0x7c]
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm3, xmm2
jbe 0x1000aaee
xorps xmm0, xmm0
jmp 0x1000aaf5
movaps xmm0, xmm4
minss xmm0, xmm2
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm3, xmm1
jbe 0x1000ab10
xorps xmm0, xmm0
jmp 0x1000ab17
movaps xmm0, xmm4
minss xmm0, xmm1
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + edx*4], eax
inc edx
mov dword [ebp - 0x2c], edx
cmp edx, dword [ebx + 0xc]
jl 0x1000a632
jmp 0x1000ab46
mov edi, dword [0x1003a568]
xorps xmm3, xmm3
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x68], eax
jbe 0x1000af90
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 2
mov dword [ebp - 0x4c], ecx
test eax, eax
je 0x1000abd4
cmp eax, 1
je 0x1000abd4
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x30], 1
movss xmm4, dword [edx + 0x10]
movss xmm3, dword [edx + 0x14]
movaps xmm1, xmm4
addss xmm1, dword [edx + 0x18]
movaps xmm2, xmm3
addss xmm2, dword [edx + 0x1c]
cmp eax, 2
jne 0x1000ac7b
movd xmm5, esi
movaps xmm0, xmm3
subss xmm0, dword [0x100373c8]
addss xmm3, dword [0x100373c8]
cvtdq2ps xmm5, xmm5
movss dword [ebp - 0x10], xmm0
addss xmm4, xmm5
movss dword [ebp - 8], xmm3
subss xmm1, xmm5
movss dword [ebp - 0x14], xmm4
movss dword [ebp - 0xc], xmm1
jmp 0x1000acbf
mov edx, dword [ebp - 0x38]
xor ecx, ecx
mov dword [ebp - 0x30], ecx
movss xmm4, dword [edx + 0x10]
movss xmm3, dword [edx + 0x14]
movaps xmm1, xmm4
movaps xmm2, xmm3
addss xmm1, dword [edx + 0x18]
addss xmm2, dword [edx + 0x1c]
test eax, eax
jne 0x1000ac35
movd xmm6, esi
movaps xmm0, xmm4
subss xmm0, dword [0x100373c8]
addss xmm4, dword [0x100373c8]
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x14], xmm0
addss xmm3, xmm6
movss dword [ebp - 0xc], xmm4
subss xmm2, xmm6
movss dword [ebp - 0x10], xmm3
movss dword [ebp - 8], xmm2
jmp 0x1000acbf
cmp eax, 1
jne 0x1000ab90
movd xmm5, esi
movaps xmm0, xmm1
subss xmm0, dword [0x100373c8]
addss xmm1, dword [0x100373c8]
cvtdq2ps xmm5, xmm5
xor ecx, ecx
mov dword [ebp - 0x30], ecx
movss dword [ebp - 0x14], xmm0
addss xmm3, xmm5
movss dword [ebp - 0xc], xmm1
subss xmm2, xmm5
movss dword [ebp - 0x10], xmm3
movss dword [ebp - 8], xmm2
jmp 0x1000acbf
cmp eax, 3
jne 0x1000acb8
movd xmm5, esi
movaps xmm0, xmm2
subss xmm0, dword [0x100373c8]
addss xmm2, dword [0x100373c8]
cvtdq2ps xmm5, xmm5
movss dword [ebp - 0x10], xmm0
addss xmm4, xmm5
movss dword [ebp - 8], xmm2
subss xmm1, xmm5
movss dword [ebp - 0x14], xmm4
movss dword [ebp - 0xc], xmm1
jmp 0x1000acbf
xorps xmm0, xmm0
movups xmmword [ebp - 0x14], xmm0
mov ecx, dword [edx + 0xc8]
lea esi, [ebp - 0x20]
add eax, 4
mov edi, 4
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 0xd0]
mov edx, dword [eax + ecx*4 - 4]
not edx
nop
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100327e8]
sub edi, 1
jne 0x1000ace0
mov edi, dword [0x1003a568]
not edx
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x24], edx
cmp dword [edi + 0x3e50], edx
jne 0x1000ad2d
push ecx
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 4
call fcn.10015820
mov edi, dword [0x1003a568]
add esp, 8
mov edx, dword [ebp - 0x24]
cmp dword [edi + 0x3e68], edx
jne 0x1000ad3b
mov dword [edi + 0x3e6c], edx
cmp dword [edi + 0x3eac], edx
jne 0x1000ad4a
mov byte [edi + 0x3eb0], 1
push 0x40800
lea eax, [ebp - 0x25]
push eax
lea eax, [ebp - 0x26]
push eax
lea ecx, [ebp - 0x14]
call fcn.10029290
mov dl, byte [ebp - 0x25]
add esp, 0xc
cmp byte [ebp - 0x26], 0
mov edi, dword [ebp - 0x44]
je 0x1000ad7f
movss xmm0, dword [edi + 0x3e60]
comiss xmm0, dword [0x10037340]
ja 0x1000ad87
test dl, dl
je 0x1000af77
mov ecx, dword [ebp - 0x30]
mov eax, ecx
xor eax, 1
add eax, 3
mov dword [edi + 0x4150], eax
test dl, dl
je 0x1000af77
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x2c]
mov dword [edx], eax
cmp eax, 3
jne 0x1000af29
mov eax, dword [ebx + 0x14]
movss xmm3, dword [0x1003743c]
movss xmm4, dword [eax + 4]
movss xmm1, dword [0x10037424]
movss xmm2, dword [0x10037424]
mov eax, dword [ebp - 0x38]
movss xmm0, dword [eax + 0x10]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [eax + 0x14]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [edi + ecx*4 + 0xd50]
subss xmm0, dword [edi + ecx*4 + 0x3e98]
addss xmm0, dword [0x100373c8]
movss dword [ebp + ecx*4 - 0x1c], xmm0
movss xmm0, dword [ebp - 0x18]
comiss xmm4, xmm0
ja 0x1000ae19
movaps xmm4, xmm1
minss xmm4, xmm0
movss xmm0, dword [ebp - 0x1c]
comiss xmm3, xmm0
ja 0x1000ae2a
movaps xmm3, xmm2
minss xmm3, xmm0
mov ecx, dword [ebp - 0x4c]
mov edx, eax
movss xmm0, dword [eax + 0x10]
movss xmm1, dword [eax + 0x14]
movaps xmm6, xmm0
addss xmm0, dword [eax + 0x18]
movss xmm5, dword [ecx + 0x100325f4]
subss xmm6, xmm3
minss xmm5, dword [ecx + 0x100325fc]
movss xmm2, dword [ecx + 0x100325f0]
movaps xmm7, xmm1
minss xmm2, dword [ecx + 0x100325f8]
addss xmm1, dword [eax + 0x1c]
subss xmm7, xmm4
lea ecx, [ebp - 0x54]
movss dword [ebp - 0x58], xmm5
push ecx
mulss xmm6, xmm2
lea ecx, [ebp - 0x60]
mulss xmm7, xmm5
addss xmm6, xmm3
movss dword [ebp - 0x4c], xmm2
subss xmm3, xmm0
addss xmm7, xmm4
subss xmm4, xmm1
movss dword [ebp - 0x3c], xmm6
mulss xmm3, xmm2
mulss xmm4, xmm5
addss xmm3, xmm0
movss dword [ebp - 0x40], xmm7
addss xmm4, xmm1
subss xmm3, xmm6
subss xmm4, xmm7
movss dword [ebp - 0x54], xmm3
movss dword [ebp - 0x50], xmm4
call fcn.10009f50
movss xmm0, dword [ebp - 0x4c]
add esp, 4
xorps xmm3, xmm3
ucomiss xmm0, xmm3
movss xmm0, dword [ebp - 0x60]
movss dword [ebp - 0x48], xmm0
lahf
test ah, 0x44
jp 0x1000aefc
subss xmm0, dword [ebp - 0x54]
movss xmm1, dword [ebp - 0x3c]
subss xmm1, xmm0
movss dword [ebp - 0x3c], xmm1
movss xmm0, dword [ebp - 0x58]
ucomiss xmm0, xmm3
movss xmm0, dword [ebp - 0x5c]
movss dword [ebp - 0x34], xmm0
lahf
test ah, 0x44
jp 0x1000af7a
subss xmm0, dword [ebp - 0x50]
movss xmm1, dword [ebp - 0x40]
subss xmm1, xmm0
movss dword [ebp - 0x40], xmm1
jmp 0x1000af7a
movss xmm0, dword [0x1003743c]
movaps xmm4, xmm0
cmp eax, 1
jne 0x1000af45
mov eax, dword [ebx + 0x14]
movss xmm3, dword [eax]
jmp 0x1000adc1
movaps xmm3, xmm0
cmp eax, 2
jne 0x1000af5a
mov eax, dword [ebx + 0x14]
movss xmm1, dword [eax + 0xc]
jmp 0x1000adc9
movss xmm1, dword [0x10037424]
test eax, eax
jne 0x1000adc9
mov eax, dword [ebx + 0x14]
movss xmm2, dword [eax + 8]
jmp 0x1000add1
xorps xmm3, xmm3
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, dword [ebp - 0x68]
jl 0x1000ab54
mov edi, dword [0x1003a568]
mov eax, dword [edi + 0x3e30]
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x44]
dec dword [eax + 0xc8]
mov dword [esi + 0x12c], 0
mov eax, dword [ecx + 0x4134]
test eax, eax
je 0x1000b19b
cmp dword [eax + 0x2e8], esi
jne 0x1000b19b
mov eax, dword [ecx + 0x4018]
cmp eax, 2
jne 0x1000afe6
cmp byte [ecx + 0xd69], 0
je 0x1000b19b
lea edx, [eax - 1]
lea ecx, [ebp - 0x54]
jmp 0x1000aff5
cmp eax, 3
jne 0x1000b19b
lea edx, [eax + 1]
lea ecx, [ebp - 0x1c]
sub esp, 8
mov dword [esp + 4], 0
call fcn.10012100
add esp, 8
xorps xmm2, xmm2
movss xmm3, dword [eax]
movss xmm4, dword [eax + 4]
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jp 0x1000b02a
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jnp 0x1000b19e
mov ecx, dword [ebp - 0x44]
movss xmm6, dword [0x1003739c]
movss xmm1, dword [ecx + 0x50]
minss xmm1, dword [ecx + 0x54]
movss xmm0, dword [ecx + 0x18]
mulss xmm0, dword [0x10037408]
mulss xmm1, xmm0
cvttss2si eax, xmm1
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mov eax, dword [ebx + 0x14]
movss xmm0, dword [eax]
subss xmm0, dword [esi + 0x10]
mulss xmm3, xmm1
mulss xmm4, xmm1
subss xmm0, dword [esi + 0x18]
maxss xmm3, xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 0x14]
subss xmm0, dword [esi + 0x1c]
mov byte [ecx + 0x4148], 0
mov byte [ecx + 0x4023], 1
movups xmm5, xmmword [edi + 0x3a78]
maxss xmm4, xmm0
comiss xmm2, xmm5
movaps xmm1, xmm5
shufps xmm1, xmm5, 0xff
mulss xmm1, dword [edi + 0x37b0]
movups xmmword [ebp - 0x84], xmm5
jbe 0x1000b0c0
xorps xmm0, xmm0
jmp 0x1000b0c7
movaps xmm0, xmm6
minss xmm0, xmm5
movss xmm7, dword [0x10037404]
movss xmm5, dword [ebp - 0x80]
comiss xmm2, xmm5
mulss xmm0, xmm7
addss xmm0, dword [0x10037368]
cvttss2si ecx, xmm0
jbe 0x1000b0ee
xorps xmm0, xmm0
jmp 0x1000b0f5
movaps xmm0, xmm6
minss xmm0, xmm5
movss xmm5, dword [ebp - 0x7c]
mulss xmm0, xmm7
addss xmm0, dword [0x10037368]
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm2, xmm5
jbe 0x1000b119
xorps xmm0, xmm0
jmp 0x1000b120
movaps xmm0, xmm6
minss xmm0, xmm5
movss xmm5, dword [0x10037368]
mulss xmm0, xmm7
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm2, xmm1
jbe 0x1000b143
xorps xmm6, xmm6
jmp 0x1000b147
minss xmm6, xmm1
mulss xmm6, xmm7
mov edx, esi
addss xmm6, xmm5
cvttss2si eax, xmm6
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebp - 0x6c]
mov dword [ecx], eax
lea eax, [ebp - 0x60]
addss xmm3, dword [esi + 0x20]
addss xmm4, dword [esi + 0x24]
push eax
lea ecx, [ebp - 0x74]
movss dword [ebp - 0x60], xmm3
movss dword [ebp - 0x5c], xmm4
call fcn.10009f50
mov edi, dword [0x1003a568]
add esp, 4
xorps xmm2, xmm2
movss xmm0, dword [eax]
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [eax + 4]
jmp 0x1000b1a3
xorps xmm2, xmm2
movss xmm0, dword [ebp - 0x34]
movss xmm1, dword [ebp - 0x48]
movss xmm3, dword [0x10037424]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jnp 0x1000b1de
test dword [esi + 8], 0x100
movss dword [esi + 0x20], xmm1
movss dword [esi + 0x24], xmm0
jne 0x1000b1de
comiss xmm2, dword [edi + 0x5200]
jb 0x1000b1de
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x5200], eax
movss xmm0, dword [ebp - 0x3c]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x1000b228
test dword [esi + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x40]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
jne 0x1000b228
comiss xmm2, dword [edi + 0x5200]
jb 0x1000b228
mov ecx, dword [edi + 0x1c]
mov dword [edi + 0x5200], ecx
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov al, byte [ebp - 0x27]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002ebc0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.1002ebc0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret