Function at 0x1000b160
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 [0x10052040]
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 [0x100528f0]
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 0x1000bfc9
cmp byte [edx + 0xa8], 0
jg 0x1000bfc9
cmp byte [edx + 0xa9], 0
jg 0x1000bfc9
cmp byte [edx + 0x8f], 0
je 0x1000bfc9
movss xmm2, dword [edi + 0x3bb4]
xor eax, eax
movss xmm0, dword [edx + 0x48]
movaps xmm1, xmm2
addss xmm0, dword [0x1004e920]
mulss xmm2, dword [0x1004e8d0]
mov esi, 4
mov cl, byte [edi + 0x66]
mulss xmm1, dword [0x1004e928]
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 [0x1004e904]
cvttss2si esi, xmm0
mov dword [ebp - 0x64], esi
je 0x1000b242
movss xmm2, dword [0x1004e978]
jmp 0x1000b245
xorps xmm2, xmm2
movss xmm1, dword [0x1004e9d4]
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.10003910
mov edi, eax
add esp, 4
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x3e38], edi
jne 0x1000b2bb
push ecx
push str.RESIZE
mov edx, 0xb
mov ecx, edi
call fcn.100176b0
add esp, 8
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], edi
call fcn.10017ce0
xor edx, edx
mov dword [ebp - 0x2c], edx
cmp dword [ebx + 0xc], edx
jle 0x1000b7f5
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 + 0x10049228]
mulss xmm2, dword [ecx*8 + 0x1004922c]
addss xmm3, xmm0
movss xmm0, dword [ecx*8 + 0x10049230]
movaps xmm5, xmm0
mulss xmm0, dword [ebp - 0x48]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x10049234]
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 0x1000b389
movss dword [ebp - 0x14], xmm5
movss dword [ebp - 0xc], xmm3
comiss xmm2, xmm4
jbe 0x1000b398
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 + 0x10049288]
sub edi, 1
jne 0x1000b3b5
mov edi, dword [0x100528f0]
not edx
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x20], edx
cmp dword [edi + 0x3e38], edx
jne 0x1000b402
push ecx
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov edx, 4
call fcn.100176b0
mov edx, dword [ebp - 0x20]
add esp, 8
mov edi, dword [0x100528f0]
cmp dword [edi + 0x3e50], edx
jne 0x1000b410
mov dword [edi + 0x3e54], edx
cmp dword [edi + 0x3e78], edx
jne 0x1000b41f
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.1002b290
mov cl, byte [ebp - 0x26]
add esp, 0xc
test cl, cl
jne 0x1000b449
mov al, byte [ebp - 0x25]
test al, al
je 0x1000b6e1
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 0x1000b6e9
cmp word [ecx + 0x3702], 2
jne 0x1000b4bc
test edx, edx
jne 0x1000b4bc
push dword [ebp - 0x58]
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x60]
call fcn.1000aba0
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.10005f60
mov edx, dword [ebp - 0x2c]
cmp byte [ebp - 0x25], 0
je 0x1000b708
mov eax, 0x20
jmp 0x1000b715
mov edi, dword [ebp - 0x4c]
movss xmm0, dword [0x1004e920]
mov edx, dword [ebx + 0x14]
movss xmm3, dword [0x1004e9fc]
movss xmm1, dword [edi*8 + 0x1004922c]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1000b4eb
movss xmm7, dword [edx + 4]
jmp 0x1000b4ee
movaps xmm7, xmm3
movss xmm2, dword [edi*8 + 0x10049228]
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x1000b506
movss xmm5, dword [edx]
jmp 0x1000b509
movaps xmm5, xmm3
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1000b529
movss xmm1, dword [edx + 0xc]
movss dword [ebp - 0x20], xmm1
movss xmm1, dword [0x1004e9d4]
jmp 0x1000b536
movss xmm1, dword [0x1004e9d4]
movss dword [ebp - 0x20], xmm1
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x1000b54b
movss xmm0, dword [edx + 8]
movss dword [ebp - 0x38], xmm0
jmp 0x1000b550
movss dword [ebp - 0x38], xmm1
movss xmm1, dword [edi*8 + 0x10049230]
xorps xmm4, xmm4
movss xmm3, dword [edi*8 + 0x10049234]
movaps xmm0, xmm1
mulss xmm0, dword [ebp - 0x48]
movaps xmm2, xmm3
mulss xmm2, dword [ebp - 0x48]
cvtsi2ss xmm4, esi
xorps xmm4, xmmword [0x1004edb0]
movaps xmm6, xmm4
mulss xmm4, xmm3
movss xmm3, dword [edi*8 + 0x1004922c]
mulss xmm6, xmm1
movss xmm1, dword [edi*8 + 0x10049228]
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 0x1000b5eb
movss xmm7, dword [ebp - 0x20]
minss xmm7, xmm0
comiss xmm5, xmm6
ja 0x1000b5f9
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 + 0x10049228]
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.1000aba0
movss xmm0, dword [edi*8 + 0x10049228]
add esp, 4
xorps xmm3, xmm3
ucomiss xmm0, xmm3
movss xmm0, dword [ebp - 0x54]
movss dword [ebp - 0x38], xmm0
lahf
test ah, 0x44
jp 0x1000b6aa
subss xmm0, dword [ebp - 0x1c]
movss xmm1, dword [ebp - 0x40]
subss xmm1, xmm0
movss dword [ebp - 0x40], xmm1
movss xmm0, dword [edi*8 + 0x1004922c]
ucomiss xmm0, xmm3
movss xmm0, dword [ebp - 0x50]
movss dword [ebp - 0x34], xmm0
lahf
test ah, 0x44
jp 0x1000b6d9
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 0x1000b6ec
mov edx, dword [ebp - 0x2c]
xorps xmm3, xmm3
jmp 0x1000b6ef
xorps xmm3, xmm3
mov cl, byte [ebp - 0x26]
test edx, edx
je 0x1000b4a8
test al, al
jne 0x1000b4b2
test cl, cl
jne 0x1000b70b
jmp 0x1000b7e6
mov cl, byte [ebp - 0x26]
xor eax, eax
test cl, cl
setne al
add eax, 0x1e
mov edi, dword [0x100528f0]
add eax, eax
movss xmm4, dword [0x1004e920]
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 0x1000b74d
xorps xmm0, xmm0
jmp 0x1000b754
movaps xmm0, xmm4
minss xmm0, xmm1
movss xmm5, dword [0x1004e9b4]
movss xmm6, dword [0x1004e8e8]
movss xmm1, dword [ebp - 0x7c]
comiss xmm3, xmm1
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1000b77f
xorps xmm0, xmm0
jmp 0x1000b786
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 0x1000b7a6
xorps xmm0, xmm0
jmp 0x1000b7ad
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 0x1000b7c8
xorps xmm0, xmm0
jmp 0x1000b7cf
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 0x1000b2e0
jmp 0x1000b7f8
xorps xmm3, xmm3
xor eax, eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x68], eax
jbe 0x1000bc50
nop word [eax + eax]
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 2
mov dword [ebp - 0x4c], ecx
test eax, eax
je 0x1000b890
cmp eax, 1
je 0x1000b890
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 0x1000b937
movd xmm5, esi
movaps xmm0, xmm3
subss xmm0, dword [0x1004e978]
addss xmm3, dword [0x1004e978]
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 0x1000b97b
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 0x1000b8f1
movd xmm6, esi
movaps xmm0, xmm4
subss xmm0, dword [0x1004e978]
addss xmm4, dword [0x1004e978]
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 0x1000b97b
cmp eax, 1
jne 0x1000b84c
movd xmm5, esi
movaps xmm0, xmm1
subss xmm0, dword [0x1004e978]
addss xmm1, dword [0x1004e978]
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 0x1000b97b
cmp eax, 3
jne 0x1000b974
movd xmm5, esi
movaps xmm0, xmm2
subss xmm0, dword [0x1004e978]
addss xmm2, dword [0x1004e978]
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 0x1000b97b
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 + 0x10049288]
sub esi, 1
jne 0x1000b9a0
mov edi, dword [0x100528f0]
not edx
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x24], edx
cmp dword [edi + 0x3e38], edx
jne 0x1000b9ed
push ecx
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 4
call fcn.100176b0
mov edx, dword [ebp - 0x24]
add esp, 8
mov edi, dword [0x100528f0]
cmp dword [edi + 0x3e50], edx
jne 0x1000b9fb
mov dword [edi + 0x3e54], edx
cmp dword [edi + 0x3e78], edx
jne 0x1000ba0a
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.1002b290
mov dl, byte [ebp - 0x25]
add esp, 0xc
cmp byte [ebp - 0x26], 0
mov edi, dword [ebp - 0x3c]
je 0x1000ba3f
movss xmm0, dword [edi + 0x3e48]
comiss xmm0, dword [0x1004e8c0]
ja 0x1000ba47
test dl, dl
je 0x1000bc3d
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
xor eax, 1
add eax, 3
mov dword [edi + 0x4148], eax
test dl, dl
je 0x1000bc3d
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x48]
mov dword [edx], eax
cmp eax, 3
jne 0x1000bbe9
mov eax, dword [ebx + 0x14]
movss xmm4, dword [0x1004e9fc]
movss xmm3, dword [eax + 4]
movss xmm1, dword [0x1004e9d4]
movss xmm5, dword [0x1004e9d4]
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 [0x1004e978]
movss dword [ebp + ecx*4 - 0x1c], xmm0
movss xmm0, dword [ebp - 0x18]
comiss xmm3, xmm0
ja 0x1000bad9
movaps xmm3, xmm1
minss xmm3, xmm0
movss xmm0, dword [ebp - 0x1c]
comiss xmm4, xmm0
ja 0x1000baea
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 + 0x10049094]
subss xmm6, xmm4
minss xmm5, dword [ecx + 0x1004909c]
movss xmm2, dword [ecx + 0x10049090]
movaps xmm7, xmm1
minss xmm2, dword [ecx + 0x10049098]
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.1000aba0
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 0x1000bbbc
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 0x1000bc40
subss xmm0, dword [ebp - 0x50]
movss xmm1, dword [ebp - 0x44]
subss xmm1, xmm0
movss dword [ebp - 0x44], xmm1
jmp 0x1000bc40
movss xmm1, dword [0x1004e9fc]
movaps xmm3, xmm1
movaps xmm0, xmm3
cmp eax, 1
jne 0x1000bc08
mov eax, dword [ebx + 0x14]
movss xmm4, dword [eax]
jmp 0x1000ba81
movaps xmm4, xmm1
movaps xmm2, xmm4
cmp eax, 2
jne 0x1000bc20
mov eax, dword [ebx + 0x14]
movss xmm1, dword [eax + 0xc]
jmp 0x1000ba89
movss xmm1, dword [0x1004e9d4]
test eax, eax
jne 0x1000ba89
mov eax, dword [ebx + 0x14]
movss xmm5, dword [eax + 8]
jmp 0x1000ba91
xorps xmm3, xmm3
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp eax, dword [ebp - 0x68]
jl 0x1000b810
mov edx, dword [0x100528f0]
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 0x1000bf0b
cmp dword [eax + 0x2e8], esi
jne 0x1000bf0b
mov eax, dword [ecx + 0x4000]
cmp eax, 2
jne 0x1000bcca
cmp byte [ecx + 0xdd1], 0
je 0x1000bf0b
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 0x1000bcf7
cmp eax, 3
jne 0x1000bf0b
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 0x1000bd0f
ucomiss xmm4, xmm3
mov ecx, edi
lahf
test ah, 0x44
jnp 0x1000bf0b
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 [0x1004e9b8]
mulss xmm2, xmm0
movaps xmm1, xmm2
mulss xmm2, xmm4
mulss xmm1, xmm5
addss xmm2, dword [edi + 0x4140]
movss xmm4, dword [0x1004e920]
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 0x1000bdca
xorps xmm0, xmm0
jmp 0x1000bdd1
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm5, dword [0x1004e9b4]
movss xmm6, dword [0x1004e8e8]
movss xmm2, dword [ebp - 0x7c]
comiss xmm3, xmm2
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1000bdfc
xorps xmm0, xmm0
jmp 0x1000be03
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 0x1000be23
xorps xmm0, xmm0
jmp 0x1000be2a
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 0x1000be45
xorps xmm4, xmm4
jmp 0x1000be49
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 0x1000be93
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jnp 0x1000bf12
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.1000aba0
mov edx, dword [0x100528f0]
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 0x1000bf17
movss xmm2, dword [ebp - 0x34]
jmp 0x1000bf1a
movss xmm2, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
movss xmm0, dword [ebp - 0x38]
movss xmm1, dword [0x1004e9d4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000bf5a
test dword [esi + 8], 0x100
movss dword [esi + 0x24], xmm2
xorps xmm2, xmm2
movss dword [esi + 0x20], xmm0
jne 0x1000bf5d
comiss xmm2, dword [edx + 0x5208]
jb 0x1000bf5d
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x5208], eax
jmp 0x1000bf5d
xorps xmm2, xmm2
movss xmm0, dword [ebp - 0x40]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000bfa7
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 0x1000bfa7
comiss xmm2, dword [edx + 0x5208]
jb 0x1000bfa7
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.100446c0
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.100446c0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret