Function at 0x1000b120
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 [0x10050040]
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 [0x100508f0]
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 0x1000bf89
cmp byte [edx + 0xa8], 0
jg 0x1000bf89
cmp byte [edx + 0xa9], 0
jg 0x1000bf89
cmp byte [edx + 0x8f], 0
je 0x1000bf89
movss xmm2, dword [edi + 0x3bb4]
xor eax, eax
movss xmm0, dword [edx + 0x48]
movaps xmm1, xmm2
addss xmm0, dword [0x1004d8f0]
mulss xmm2, dword [0x1004d8a0]
mov esi, 4
mov cl, byte [edi + 0x66]
mulss xmm1, dword [0x1004d8f8]
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 [0x1004d8d4]
cvttss2si esi, xmm0
mov dword [ebp - 0x64], esi
je 0x1000b202
movss xmm2, dword [0x1004d948]
jmp 0x1000b205
xorps xmm2, xmm2
movss xmm1, dword [0x1004d9a4]
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.100038d0
mov edi, eax
add esp, 4
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x3e38], edi
jne 0x1000b27b
push ecx
push str.RESIZE
mov edx, 0xb
mov ecx, edi
call fcn.10017680
add esp, 8
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], edi
call fcn.10017cb0
xor edx, edx
mov dword [ebp - 0x2c], edx
cmp dword [ebx + 0xc], edx
jle 0x1000b7b5
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 + 0x10048208]
mulss xmm2, dword [ecx*8 + 0x1004820c]
addss xmm3, xmm0
movss xmm0, dword [ecx*8 + 0x10048210]
movaps xmm5, xmm0
mulss xmm0, dword [ebp - 0x48]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x10048214]
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 0x1000b349
movss dword [ebp - 0x14], xmm5
movss dword [ebp - 0xc], xmm3
comiss xmm2, xmm4
jbe 0x1000b358
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 + 0x10048268]
sub edi, 1
jne 0x1000b375
mov edi, dword [0x100508f0]
not edx
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x20], edx
cmp dword [edi + 0x3e38], edx
jne 0x1000b3c2
push ecx
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov edx, 4
call fcn.10017680
mov edx, dword [ebp - 0x20]
add esp, 8
mov edi, dword [0x100508f0]
cmp dword [edi + 0x3e50], edx
jne 0x1000b3d0
mov dword [edi + 0x3e54], edx
cmp dword [edi + 0x3e78], edx
jne 0x1000b3df
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.1002b280
mov cl, byte [ebp - 0x26]
add esp, 0xc
test cl, cl
jne 0x1000b409
mov al, byte [ebp - 0x25]
test al, al
je 0x1000b6a1
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 0x1000b6a9
cmp word [ecx + 0x3702], 2
jne 0x1000b47c
test edx, edx
jne 0x1000b47c
push dword [ebp - 0x58]
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x60]
call fcn.1000ab60
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.10005f20
mov edx, dword [ebp - 0x2c]
cmp byte [ebp - 0x25], 0
je 0x1000b6c8
mov eax, 0x20
jmp 0x1000b6d5
mov edi, dword [ebp - 0x4c]
movss xmm0, dword [0x1004d8f0]
mov edx, dword [ebx + 0x14]
movss xmm3, dword [0x1004d9cc]
movss xmm1, dword [edi*8 + 0x1004820c]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1000b4ab
movss xmm7, dword [edx + 4]
jmp 0x1000b4ae
movaps xmm7, xmm3
movss xmm2, dword [edi*8 + 0x10048208]
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x1000b4c6
movss xmm5, dword [edx]
jmp 0x1000b4c9
movaps xmm5, xmm3
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1000b4e9
movss xmm1, dword [edx + 0xc]
movss dword [ebp - 0x20], xmm1
movss xmm1, dword [0x1004d9a4]
jmp 0x1000b4f6
movss xmm1, dword [0x1004d9a4]
movss dword [ebp - 0x20], xmm1
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x1000b50b
movss xmm0, dword [edx + 8]
movss dword [ebp - 0x38], xmm0
jmp 0x1000b510
movss dword [ebp - 0x38], xmm1
movss xmm1, dword [edi*8 + 0x10048210]
xorps xmm4, xmm4
movss xmm3, dword [edi*8 + 0x10048214]
movaps xmm0, xmm1
mulss xmm0, dword [ebp - 0x48]
movaps xmm2, xmm3
mulss xmm2, dword [ebp - 0x48]
cvtsi2ss xmm4, esi
xorps xmm4, xmmword [0x1004dd80]
movaps xmm6, xmm4
mulss xmm4, xmm3
movss xmm3, dword [edi*8 + 0x1004820c]
mulss xmm6, xmm1
movss xmm1, dword [edi*8 + 0x10048208]
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 0x1000b5ab
movss xmm7, dword [ebp - 0x20]
minss xmm7, xmm0
comiss xmm5, xmm6
ja 0x1000b5b9
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 + 0x10048208]
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.1000ab60
movss xmm0, dword [edi*8 + 0x10048208]
add esp, 4
xorps xmm3, xmm3
ucomiss xmm0, xmm3
movss xmm0, dword [ebp - 0x54]
movss dword [ebp - 0x38], xmm0
lahf
test ah, 0x44
jp 0x1000b66a
subss xmm0, dword [ebp - 0x1c]
movss xmm1, dword [ebp - 0x40]
subss xmm1, xmm0
movss dword [ebp - 0x40], xmm1
movss xmm0, dword [edi*8 + 0x1004820c]
ucomiss xmm0, xmm3
movss xmm0, dword [ebp - 0x50]
movss dword [ebp - 0x34], xmm0
lahf
test ah, 0x44
jp 0x1000b699
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 0x1000b6ac
mov edx, dword [ebp - 0x2c]
xorps xmm3, xmm3
jmp 0x1000b6af
xorps xmm3, xmm3
mov cl, byte [ebp - 0x26]
test edx, edx
je 0x1000b468
test al, al
jne 0x1000b472
test cl, cl
jne 0x1000b6cb
jmp 0x1000b7a6
mov cl, byte [ebp - 0x26]
xor eax, eax
test cl, cl
setne al
add eax, 0x1e
mov edi, dword [0x100508f0]
add eax, eax
movss xmm4, dword [0x1004d8f0]
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 0x1000b70d
xorps xmm0, xmm0
jmp 0x1000b714
movaps xmm0, xmm4
minss xmm0, xmm1
movss xmm5, dword [0x1004d984]
movss xmm6, dword [0x1004d8b8]
movss xmm1, dword [ebp - 0x7c]
comiss xmm3, xmm1
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1000b73f
xorps xmm0, xmm0
jmp 0x1000b746
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 0x1000b766
xorps xmm0, xmm0
jmp 0x1000b76d
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 0x1000b788
xorps xmm0, xmm0
jmp 0x1000b78f
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 0x1000b2a0
jmp 0x1000b7b8
xorps xmm3, xmm3
xor eax, eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x68], eax
jbe 0x1000bc10
nop word [eax + eax]
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 2
mov dword [ebp - 0x4c], ecx
test eax, eax
je 0x1000b850
cmp eax, 1
je 0x1000b850
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 0x1000b8f7
movd xmm5, esi
movaps xmm0, xmm3
subss xmm0, dword [0x1004d948]
addss xmm3, dword [0x1004d948]
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 0x1000b93b
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 0x1000b8b1
movd xmm6, esi
movaps xmm0, xmm4
subss xmm0, dword [0x1004d948]
addss xmm4, dword [0x1004d948]
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 0x1000b93b
cmp eax, 1
jne 0x1000b80c
movd xmm5, esi
movaps xmm0, xmm1
subss xmm0, dword [0x1004d948]
addss xmm1, dword [0x1004d948]
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 0x1000b93b
cmp eax, 3
jne 0x1000b934
movd xmm5, esi
movaps xmm0, xmm2
subss xmm0, dword [0x1004d948]
addss xmm2, dword [0x1004d948]
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 0x1000b93b
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 + 0x10048268]
sub esi, 1
jne 0x1000b960
mov edi, dword [0x100508f0]
not edx
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x24], edx
cmp dword [edi + 0x3e38], edx
jne 0x1000b9ad
push ecx
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 4
call fcn.10017680
mov edx, dword [ebp - 0x24]
add esp, 8
mov edi, dword [0x100508f0]
cmp dword [edi + 0x3e50], edx
jne 0x1000b9bb
mov dword [edi + 0x3e54], edx
cmp dword [edi + 0x3e78], edx
jne 0x1000b9ca
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.1002b280
mov dl, byte [ebp - 0x25]
add esp, 0xc
cmp byte [ebp - 0x26], 0
mov edi, dword [ebp - 0x3c]
je 0x1000b9ff
movss xmm0, dword [edi + 0x3e48]
comiss xmm0, dword [0x1004d890]
ja 0x1000ba07
test dl, dl
je 0x1000bbfd
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
xor eax, 1
add eax, 3
mov dword [edi + 0x4148], eax
test dl, dl
je 0x1000bbfd
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x48]
mov dword [edx], eax
cmp eax, 3
jne 0x1000bba9
mov eax, dword [ebx + 0x14]
movss xmm4, dword [0x1004d9cc]
movss xmm3, dword [eax + 4]
movss xmm1, dword [0x1004d9a4]
movss xmm5, dword [0x1004d9a4]
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 [0x1004d948]
movss dword [ebp + ecx*4 - 0x1c], xmm0
movss xmm0, dword [ebp - 0x18]
comiss xmm3, xmm0
ja 0x1000ba99
movaps xmm3, xmm1
minss xmm3, xmm0
movss xmm0, dword [ebp - 0x1c]
comiss xmm4, xmm0
ja 0x1000baaa
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 + 0x10048074]
subss xmm6, xmm4
minss xmm5, dword [ecx + 0x1004807c]
movss xmm2, dword [ecx + 0x10048070]
movaps xmm7, xmm1
minss xmm2, dword [ecx + 0x10048078]
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.1000ab60
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 0x1000bb7c
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 0x1000bc00
subss xmm0, dword [ebp - 0x50]
movss xmm1, dword [ebp - 0x44]
subss xmm1, xmm0
movss dword [ebp - 0x44], xmm1
jmp 0x1000bc00
movss xmm1, dword [0x1004d9cc]
movaps xmm3, xmm1
movaps xmm0, xmm3
cmp eax, 1
jne 0x1000bbc8
mov eax, dword [ebx + 0x14]
movss xmm4, dword [eax]
jmp 0x1000ba41
movaps xmm4, xmm1
movaps xmm2, xmm4
cmp eax, 2
jne 0x1000bbe0
mov eax, dword [ebx + 0x14]
movss xmm1, dword [eax + 0xc]
jmp 0x1000ba49
movss xmm1, dword [0x1004d9a4]
test eax, eax
jne 0x1000ba49
mov eax, dword [ebx + 0x14]
movss xmm5, dword [eax + 8]
jmp 0x1000ba51
xorps xmm3, xmm3
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp eax, dword [ebp - 0x68]
jl 0x1000b7d0
mov edx, dword [0x100508f0]
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 0x1000becb
cmp dword [eax + 0x2e8], esi
jne 0x1000becb
mov eax, dword [ecx + 0x4000]
cmp eax, 2
jne 0x1000bc8a
cmp byte [ecx + 0xdd1], 0
je 0x1000becb
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 0x1000bcb7
cmp eax, 3
jne 0x1000becb
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 0x1000bccf
ucomiss xmm4, xmm3
mov ecx, edi
lahf
test ah, 0x44
jnp 0x1000becb
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 [0x1004d988]
mulss xmm2, xmm0
movaps xmm1, xmm2
mulss xmm2, xmm4
mulss xmm1, xmm5
addss xmm2, dword [edi + 0x4140]
movss xmm4, dword [0x1004d8f0]
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 0x1000bd8a
xorps xmm0, xmm0
jmp 0x1000bd91
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm5, dword [0x1004d984]
movss xmm6, dword [0x1004d8b8]
movss xmm2, dword [ebp - 0x7c]
comiss xmm3, xmm2
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1000bdbc
xorps xmm0, xmm0
jmp 0x1000bdc3
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 0x1000bde3
xorps xmm0, xmm0
jmp 0x1000bdea
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 0x1000be05
xorps xmm4, xmm4
jmp 0x1000be09
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 0x1000be53
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jnp 0x1000bed2
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.1000ab60
mov edx, dword [0x100508f0]
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 0x1000bed7
movss xmm2, dword [ebp - 0x34]
jmp 0x1000beda
movss xmm2, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
movss xmm0, dword [ebp - 0x38]
movss xmm1, dword [0x1004d9a4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000bf1a
test dword [esi + 8], 0x100
movss dword [esi + 0x24], xmm2
xorps xmm2, xmm2
movss dword [esi + 0x20], xmm0
jne 0x1000bf1d
comiss xmm2, dword [edx + 0x5208]
jb 0x1000bf1d
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x5208], eax
jmp 0x1000bf1d
xorps xmm2, xmm2
movss xmm0, dword [ebp - 0x40]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000bf67
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 0x1000bf67
comiss xmm2, dword [edx + 0x5208]
jb 0x1000bf67
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.10043d30
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.10043d30
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret