Function at 0x1000bb70
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, 0x80
mov eax, dword [0x10054040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x58], edx
mov edx, ecx
push esi
push edi
mov edi, dword [0x10055178]
test byte [edx + 8], 0x42
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x3c], edi
jne 0x1000c9d9
cmp byte [edx + 0xa8], 0
jg 0x1000c9d9
cmp byte [edx + 0xa9], 0
jg 0x1000c9d9
cmp byte [edx + 0x8f], 0
je 0x1000c9d9
movss xmm2, dword [edi + 0x3bb4]
xor eax, eax
movss xmm0, dword [edx + 0x48]
movaps xmm1, xmm2
addss xmm0, dword [0x10051658]
mulss xmm2, dword [0x10051608]
mov esi, 4
mov cl, byte [edi + 0x66]
mulss xmm1, dword [0x10051660]
test cl, cl
mov byte [ebp - 0x27], 0
addss xmm0, xmm2
cmovne eax, esi
mov dword [ebp - 0x68], eax
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1005163c]
cvttss2si esi, xmm0
mov dword [ebp - 0x64], esi
je 0x1000bc52
movss xmm2, dword [0x10051694]
jmp 0x1000bc55
xorps xmm2, xmm2
movss xmm1, dword [0x10051700]
mov dword [edx + 0x12c], 1
movaps xmm0, xmm1
mov eax, dword [edi + 0x3e18]
xor edx, edx
add eax, 0xc8
movss dword [ebp - 0x48], xmm2
mov dword [ebp - 0x20], eax
movss dword [ebp - 0x40], xmm1
movss dword [ebp - 0x44], xmm1
mov ecx, dword [eax]
mov eax, dword [eax + 8]
movss dword [ebp - 0x38], xmm0
movss dword [ebp - 0x34], xmm1
push dword [eax + ecx*4 - 4]
mov ecx, str.RESIZE
call fcn.10002db0
mov edi, eax
add esp, 4
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x3e38], edi
jne 0x1000bccb
push ecx
push str.RESIZE
mov edx, 0xb
mov ecx, edi
call fcn.10018010
add esp, 8
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], edi
call fcn.10018650
xor edx, edx
mov dword [ebp - 0x2c], edx
cmp dword [ebx + 0xc], edx
jle 0x1000c205
nop dword [eax + eax]
mov eax, dword [ebp - 0x30]
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 + 0x1004a038]
mulss xmm2, dword [ecx*8 + 0x1004a03c]
addss xmm3, xmm0
movss xmm0, dword [ecx*8 + 0x1004a040]
movaps xmm5, xmm0
mulss xmm0, dword [ebp - 0x48]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x1004a044]
movaps xmm4, xmm1
mulss xmm1, dword [ebp - 0x48]
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 0x1000bd99
movss dword [ebp - 0x14], xmm5
movss dword [ebp - 0xc], xmm3
comiss xmm2, xmm4
jbe 0x1000bda8
movss dword [ebp - 0x10], xmm4
movss dword [ebp - 8], xmm2
mov ecx, dword [eax + 0xc8]
lea esi, [ebp - 0x24]
mov eax, dword [eax + 0xd0]
mov edi, 4
mov dword [ebp - 0x24], edx
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1004a098]
sub edi, 1
jne 0x1000bdc5
mov edi, dword [0x10055178]
not edx
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x20], edx
cmp dword [edi + 0x3e38], edx
jne 0x1000be12
push ecx
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov edx, 4
call fcn.10018010
mov edx, dword [ebp - 0x20]
add esp, 8
mov edi, dword [0x10055178]
cmp dword [edi + 0x3e50], edx
jne 0x1000be20
mov dword [edi + 0x3e54], edx
cmp dword [edi + 0x3e78], edx
jne 0x1000be2f
mov byte [edi + 0x3e7c], 1
push 0x40800
lea eax, [ebp - 0x25]
push eax
lea eax, [ebp - 0x26]
push eax
lea ecx, [ebp - 0x14]
call fcn.1002c5b0
mov cl, byte [ebp - 0x26]
add esp, 0xc
test cl, cl
jne 0x1000be59
mov al, byte [ebp - 0x25]
test al, al
je 0x1000c0f1
mov edx, dword [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebp - 0x3c]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x4148], eax
mov al, byte [ebp - 0x25]
test al, al
je 0x1000c0f9
cmp word [ecx + 0x3702], 2
jne 0x1000becc
test edx, edx
jne 0x1000becc
push dword [ebp - 0x58]
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x60]
call fcn.1000b5b0
add esp, 4
mov byte [ebp - 0x27], 1
movss xmm0, dword [eax]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x34], xmm0
call fcn.10005ec0
mov edx, dword [ebp - 0x2c]
cmp byte [ebp - 0x25], 0
je 0x1000c118
mov eax, 0x20
jmp 0x1000c125
mov edi, dword [ebp - 0x4c]
movss xmm0, dword [0x10051658]
mov edx, dword [ebx + 0x14]
movss xmm3, dword [0x10051720]
movss xmm1, dword [edi*8 + 0x1004a03c]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1000befb
movss xmm7, dword [edx + 4]
jmp 0x1000befe
movaps xmm7, xmm3
movss xmm2, dword [edi*8 + 0x1004a038]
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x1000bf16
movss xmm5, dword [edx]
jmp 0x1000bf19
movaps xmm5, xmm3
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1000bf39
movss xmm1, dword [edx + 0xc]
movss dword [ebp - 0x20], xmm1
movss xmm1, dword [0x10051700]
jmp 0x1000bf46
movss xmm1, dword [0x10051700]
movss dword [ebp - 0x20], xmm1
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x1000bf5b
movss xmm0, dword [edx + 8]
movss dword [ebp - 0x38], xmm0
jmp 0x1000bf60
movss dword [ebp - 0x38], xmm1
movss xmm1, dword [edi*8 + 0x1004a040]
xorps xmm4, xmm4
movss xmm3, dword [edi*8 + 0x1004a044]
movaps xmm0, xmm1
mulss xmm0, dword [ebp - 0x48]
movaps xmm2, xmm3
mulss xmm2, dword [ebp - 0x48]
cvtsi2ss xmm4, esi
xorps xmm4, xmmword [0x10051b10]
movaps xmm6, xmm4
mulss xmm4, xmm3
movss xmm3, dword [edi*8 + 0x1004a03c]
mulss xmm6, xmm1
movss xmm1, dword [edi*8 + 0x1004a038]
subss xmm4, xmm2
subss xmm6, xmm0
mulss xmm4, xmm3
mulss xmm6, xmm1
addss xmm4, xmm2
addss xmm6, xmm0
movss xmm0, dword [ecx + 0xdb8]
subss xmm0, dword [ecx + 0x3e64]
addss xmm6, xmm0
movss xmm0, dword [ecx + 0xdbc]
subss xmm0, dword [ecx + 0x3e68]
addss xmm0, xmm4
comiss xmm7, xmm0
ja 0x1000bffb
movss xmm7, dword [ebp - 0x20]
minss xmm7, xmm0
comiss xmm5, xmm6
ja 0x1000c009
movss xmm5, dword [ebp - 0x38]
minss xmm5, xmm6
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x1c]
push ecx
mov edx, eax
lea ecx, [ebp - 0x54]
movss xmm0, dword [eax + 0x10]
movaps xmm2, xmm0
addss xmm0, dword [eax + 0x18]
subss xmm2, xmm5
mulss xmm2, xmm1
movss xmm1, dword [eax + 0x14]
movaps xmm4, xmm1
addss xmm1, dword [eax + 0x1c]
subss xmm4, xmm7
addss xmm2, xmm5
subss xmm5, xmm0
mulss xmm4, xmm3
mulss xmm5, dword [edi*8 + 0x1004a038]
addss xmm4, xmm7
movss dword [ebp - 0x40], xmm2
subss xmm7, xmm1
addss xmm5, xmm0
movss dword [ebp - 0x44], xmm4
mulss xmm7, xmm3
subss xmm5, xmm2
addss xmm7, xmm1
movss dword [ebp - 0x1c], xmm5
subss xmm7, xmm4
movss dword [ebp - 0x18], xmm7
call fcn.1000b5b0
movss xmm0, dword [edi*8 + 0x1004a038]
add esp, 4
xorps xmm3, xmm3
ucomiss xmm0, xmm3
movss xmm0, dword [ebp - 0x54]
movss dword [ebp - 0x38], xmm0
lahf
test ah, 0x44
jp 0x1000c0ba
subss xmm0, dword [ebp - 0x1c]
movss xmm1, dword [ebp - 0x40]
subss xmm1, xmm0
movss dword [ebp - 0x40], xmm1
movss xmm0, dword [edi*8 + 0x1004a03c]
ucomiss xmm0, xmm3
movss xmm0, dword [ebp - 0x50]
movss dword [ebp - 0x34], xmm0
lahf
test ah, 0x44
jp 0x1000c0e9
subss xmm0, dword [ebp - 0x18]
movss xmm1, dword [ebp - 0x44]
subss xmm1, xmm0
movss dword [ebp - 0x44], xmm1
mov edx, dword [ebp - 0x2c]
mov al, byte [ebp - 0x25]
jmp 0x1000c0fc
mov edx, dword [ebp - 0x2c]
xorps xmm3, xmm3
jmp 0x1000c0ff
xorps xmm3, xmm3
mov cl, byte [ebp - 0x26]
test edx, edx
je 0x1000beb8
test al, al
jne 0x1000bec2
test cl, cl
jne 0x1000c11b
jmp 0x1000c1f6
mov cl, byte [ebp - 0x26]
xor eax, eax
test cl, cl
setne al
add eax, 0x1e
mov edi, dword [0x10055178]
add eax, eax
movss xmm4, dword [0x10051658]
xorps xmm3, xmm3
movups xmm1, xmmword [edi + eax*8 + 0x3860]
comiss xmm3, xmm1
movaps xmm2, xmm1
shufps xmm2, xmm1, 0xff
mulss xmm2, dword [edi + 0x3798]
movups xmmword [ebp - 0x80], xmm1
jbe 0x1000c15d
xorps xmm0, xmm0
jmp 0x1000c164
movaps xmm0, xmm4
minss xmm0, xmm1
movss xmm5, dword [0x100516e0]
movss xmm6, dword [0x10051620]
movss xmm1, dword [ebp - 0x7c]
comiss xmm3, xmm1
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1000c18f
xorps xmm0, xmm0
jmp 0x1000c196
movaps xmm0, xmm4
minss xmm0, xmm1
movss xmm1, dword [ebp - 0x78]
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm3, xmm1
jbe 0x1000c1b6
xorps xmm0, xmm0
jmp 0x1000c1bd
movaps xmm0, xmm4
minss xmm0, xmm1
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm3, xmm2
jbe 0x1000c1d8
xorps xmm0, xmm0
jmp 0x1000c1df
movaps xmm0, xmm4
minss xmm0, xmm2
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 0x1000bcf0
jmp 0x1000c208
xorps xmm3, xmm3
xor eax, eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x68], eax
jbe 0x1000c660
nop word [eax + eax]
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 2
mov dword [ebp - 0x4c], ecx
test eax, eax
je 0x1000c2a0
cmp eax, 1
je 0x1000c2a0
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], 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 0x1000c347
movd xmm5, esi
movaps xmm0, xmm3
subss xmm0, dword [0x10051694]
addss xmm3, dword [0x10051694]
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 0x1000c38b
mov edx, dword [ebp - 0x30]
xor ecx, ecx
mov dword [ebp - 0x2c], 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 0x1000c301
movd xmm6, esi
movaps xmm0, xmm4
subss xmm0, dword [0x10051694]
addss xmm4, dword [0x10051694]
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 0x1000c38b
cmp eax, 1
jne 0x1000c25c
movd xmm5, esi
movaps xmm0, xmm1
subss xmm0, dword [0x10051694]
addss xmm1, dword [0x10051694]
cvtdq2ps xmm5, xmm5
xor ecx, ecx
mov dword [ebp - 0x2c], 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 0x1000c38b
cmp eax, 3
jne 0x1000c384
movd xmm5, esi
movaps xmm0, xmm2
subss xmm0, dword [0x10051694]
addss xmm2, dword [0x10051694]
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 0x1000c38b
xorps xmm0, xmm0
movups xmmword [ebp - 0x14], xmm0
mov ecx, dword [edx + 0xc8]
lea edi, [ebp - 0x20]
add eax, 4
mov esi, 4
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 0xd0]
mov edx, dword [eax + ecx*4 - 4]
not edx
nop dword [eax + eax]
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1004a098]
sub esi, 1
jne 0x1000c3b0
mov edi, dword [0x10055178]
not edx
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x24], edx
cmp dword [edi + 0x3e38], edx
jne 0x1000c3fd
push ecx
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 4
call fcn.10018010
mov edx, dword [ebp - 0x24]
add esp, 8
mov edi, dword [0x10055178]
cmp dword [edi + 0x3e50], edx
jne 0x1000c40b
mov dword [edi + 0x3e54], edx
cmp dword [edi + 0x3e78], edx
jne 0x1000c41a
mov byte [edi + 0x3e7c], 1
push 0x40800
lea eax, [ebp - 0x25]
push eax
lea eax, [ebp - 0x26]
push eax
lea ecx, [ebp - 0x14]
call fcn.1002c5b0
mov dl, byte [ebp - 0x25]
add esp, 0xc
cmp byte [ebp - 0x26], 0
mov edi, dword [ebp - 0x3c]
je 0x1000c44f
movss xmm0, dword [edi + 0x3e48]
comiss xmm0, dword [0x100515f8]
ja 0x1000c457
test dl, dl
je 0x1000c64d
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
xor eax, 1
add eax, 3
mov dword [edi + 0x4148], eax
test dl, dl
je 0x1000c64d
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x48]
mov dword [edx], eax
cmp eax, 3
jne 0x1000c5f9
mov eax, dword [ebx + 0x14]
movss xmm4, dword [0x10051720]
movss xmm3, dword [eax + 4]
movss xmm1, dword [0x10051700]
movss xmm5, dword [0x10051700]
mov eax, dword [ebp - 0x30]
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 + 0xdb8]
subss xmm0, dword [edi + ecx*4 + 0x3e64]
addss xmm0, dword [0x10051694]
movss dword [ebp + ecx*4 - 0x1c], xmm0
movss xmm0, dword [ebp - 0x18]
comiss xmm3, xmm0
ja 0x1000c4e9
movaps xmm3, xmm1
minss xmm3, xmm0
movss xmm0, dword [ebp - 0x1c]
comiss xmm4, xmm0
ja 0x1000c4fa
movaps xmm4, xmm5
minss xmm4, 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 + 0x10049ea4]
subss xmm6, xmm4
minss xmm5, dword [ecx + 0x10049eac]
movss xmm2, dword [ecx + 0x10049ea0]
movaps xmm7, xmm1
minss xmm2, dword [ecx + 0x10049ea8]
addss xmm1, dword [eax + 0x1c]
subss xmm7, xmm3
lea ecx, [ebp - 0x54]
movss dword [ebp - 0x58], xmm5
push ecx
mulss xmm6, xmm2
lea ecx, [ebp - 0x60]
mulss xmm7, xmm5
addss xmm6, xmm4
movss dword [ebp - 0x4c], xmm2
subss xmm4, xmm0
addss xmm7, xmm3
subss xmm3, xmm1
movss dword [ebp - 0x40], xmm6
mulss xmm4, xmm2
mulss xmm3, xmm5
addss xmm4, xmm0
movss dword [ebp - 0x44], xmm7
addss xmm3, xmm1
subss xmm4, xmm6
subss xmm3, xmm7
movss dword [ebp - 0x54], xmm4
movss dword [ebp - 0x50], xmm3
call fcn.1000b5b0
movss xmm0, dword [ebp - 0x4c]
add esp, 4
xorps xmm3, xmm3
ucomiss xmm0, xmm3
movss xmm0, dword [ebp - 0x60]
movss dword [ebp - 0x38], xmm0
lahf
test ah, 0x44
jp 0x1000c5cc
subss xmm0, dword [ebp - 0x54]
movss xmm1, dword [ebp - 0x40]
subss xmm1, xmm0
movss dword [ebp - 0x40], xmm1
movss xmm0, dword [ebp - 0x58]
ucomiss xmm0, xmm3
movss xmm0, dword [ebp - 0x5c]
movss dword [ebp - 0x34], xmm0
lahf
test ah, 0x44
jp 0x1000c650
subss xmm0, dword [ebp - 0x50]
movss xmm1, dword [ebp - 0x44]
subss xmm1, xmm0
movss dword [ebp - 0x44], xmm1
jmp 0x1000c650
movss xmm1, dword [0x10051720]
movaps xmm3, xmm1
movaps xmm0, xmm3
cmp eax, 1
jne 0x1000c618
mov eax, dword [ebx + 0x14]
movss xmm4, dword [eax]
jmp 0x1000c491
movaps xmm4, xmm1
movaps xmm2, xmm4
cmp eax, 2
jne 0x1000c630
mov eax, dword [ebx + 0x14]
movss xmm1, dword [eax + 0xc]
jmp 0x1000c499
movss xmm1, dword [0x10051700]
test eax, eax
jne 0x1000c499
mov eax, dword [ebx + 0x14]
movss xmm5, dword [eax + 8]
jmp 0x1000c4a1
xorps xmm3, xmm3
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp eax, dword [ebp - 0x68]
jl 0x1000c220
mov edx, dword [0x10055178]
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x3e18]
dec dword [eax + 0xc8]
mov dword [esi + 0x12c], 0
mov eax, dword [ecx + 0x411c]
test eax, eax
je 0x1000c91b
cmp dword [eax + 0x2e8], esi
jne 0x1000c91b
mov eax, dword [ecx + 0x4000]
cmp eax, 2
jne 0x1000c6da
cmp byte [ecx + 0xdd1], 0
je 0x1000c91b
movss xmm4, dword [edx + 0x2e24]
mov ecx, edx
movss xmm5, dword [edx + 0x2e04]
mov edi, edx
subss xmm4, dword [edx + 0x2e14]
subss xmm5, dword [edx + 0x2df4]
jmp 0x1000c707
cmp eax, 3
jne 0x1000c91b
mov ecx, edx
mov edi, ecx
movss xmm4, dword [ecx + 0x3504]
movss xmm5, dword [ecx + 0x34e4]
subss xmm4, dword [ecx + 0x34f4]
subss xmm5, dword [ecx + 0x34d4]
ucomiss xmm5, xmm3
lahf
test ah, 0x44
jp 0x1000c71f
ucomiss xmm4, xmm3
mov ecx, edi
lahf
test ah, 0x44
jnp 0x1000c91b
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebx + 0x14]
movss xmm2, dword [edi + 0x58]
minss xmm2, dword [edi + 0x5c]
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x100516e4]
mulss xmm2, xmm0
movaps xmm1, xmm2
mulss xmm2, xmm4
mulss xmm1, xmm5
addss xmm2, dword [edi + 0x4140]
movss xmm4, dword [0x10051658]
addss xmm1, dword [edi + 0x413c]
movss dword [edi + 0x4140], xmm2
movss dword [edi + 0x413c], xmm1
movss xmm0, dword [eax]
subss xmm0, dword [esi + 0x10]
subss xmm0, dword [esi + 0x18]
maxss xmm1, xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 0x14]
subss xmm0, dword [esi + 0x1c]
movss dword [edi + 0x413c], xmm1
mov byte [edi + 0x4130], 0
mov byte [edi + 0x400b], 1
maxss xmm2, xmm0
movss dword [edi + 0x4140], xmm2
movups xmm2, xmmword [ecx + 0x3a60]
comiss xmm3, xmm2
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [ecx + 0x3798]
movups xmmword [ebp - 0x80], xmm2
jbe 0x1000c7da
xorps xmm0, xmm0
jmp 0x1000c7e1
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm5, dword [0x100516e0]
movss xmm6, dword [0x10051620]
movss xmm2, dword [ebp - 0x7c]
comiss xmm3, xmm2
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1000c80c
xorps xmm0, xmm0
jmp 0x1000c813
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm2, dword [ebp - 0x78]
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm3, xmm2
jbe 0x1000c833
xorps xmm0, xmm0
jmp 0x1000c83a
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 0x1000c855
xorps xmm4, xmm4
jmp 0x1000c859
minss xmm4, xmm1
mulss xmm4, xmm5
addss xmm4, xmm6
cvttss2si eax, xmm4
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebp - 0x6c]
mov dword [ecx], eax
cvttss2si esi, dword [edi + 0x413c]
cvttss2si edi, dword [edi + 0x4140]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movd xmm1, edi
ucomiss xmm0, xmm3
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x1000c8a3
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jnp 0x1000c922
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x54]
addss xmm0, dword [edx + 0x20]
movss dword [ebp - 0x60], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edx + 0x24]
movss dword [ebp - 0x5c], xmm0
call fcn.1000b5b0
mov edx, dword [0x10055178]
add esp, 4
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax]
movss xmm2, dword [eax + 4]
mov eax, dword [ebp - 0x3c]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [eax + 0x413c]
subss xmm0, xmm1
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movss dword [eax + 0x413c], xmm0
movss xmm0, dword [eax + 0x4140]
subss xmm0, xmm1
movss dword [eax + 0x4140], xmm0
jmp 0x1000c927
movss xmm2, dword [ebp - 0x34]
jmp 0x1000c92a
movss xmm2, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
movss xmm0, dword [ebp - 0x38]
movss xmm1, dword [0x10051700]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000c96a
test dword [esi + 8], 0x100
movss dword [esi + 0x24], xmm2
xorps xmm2, xmm2
movss dword [esi + 0x20], xmm0
jne 0x1000c96d
comiss xmm2, dword [edx + 0x5208]
jb 0x1000c96d
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x5208], eax
jmp 0x1000c96d
xorps xmm2, xmm2
movss xmm0, dword [ebp - 0x40]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000c9b7
test dword [esi + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x44]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
jne 0x1000c9b7
comiss xmm2, dword [edx + 0x5208]
jb 0x1000c9b7
mov ecx, dword [edx + 0x1c]
mov dword [edx + 0x5208], 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.100462db
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.100462db
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret