Function at 0x1000b550
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, 0x70
mov eax, dword [0x100a23c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x48], edx
mov edx, dword [0x100a28d8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x10]
test byte [edi + 8], 0x42
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x38], edx
jne 0x1000c22a
cmp byte [edi + 0xdc], 0
jg 0x1000c22a
cmp byte [edi + 0xdd], 0
jg 0x1000c22a
cmp byte [edi + 0xc4], 0
je 0x1000c22a
movss xmm2, dword [edx + 0x3c98]
xor eax, eax
movss xmm0, dword [edi + 0x78]
movaps xmm1, xmm2
addss xmm0, dword [0x1009ef88]
mulss xmm2, dword [0x1009ef2c]
mov esi, 4
mov cl, byte [edx + 0x65]
mulss xmm1, dword [0x1009ef98]
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 [0x1009ef64]
cvttss2si esi, xmm0
mov dword [ebp - 0x54], esi
je 0x1000b62f
movss xmm0, dword [0x1009efd0]
jmp 0x1000b632
xorps xmm0, xmm0
test dword [edx + 0xc], 0x800
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [0x1009f038]
movss dword [ebp - 0x3c], xmm0
movss dword [ebp - 0x40], xmm0
movss dword [ebp - 0x34], xmm0
movss dword [ebp - 0x30], xmm0
je 0x1000b670
mov eax, dword [edx + 0xd70]
cmp eax, dword [edi + 0x30]
jne 0x1000b670
mov eax, dword [edi + 0x2c]
test byte [eax + 4], 8
jne 0x1000b6a6
mov eax, dword [edi + 0x2c]
movss xmm0, dword [eax + 0xc]
movss xmm1, dword [eax + 8]
movss dword [ebp - 0x14], xmm1
addss xmm1, dword [eax + 0x10]
movss dword [ebp - 0x10], xmm0
addss xmm0, dword [eax + 0x14]
movss dword [ebp - 0xc], xmm1
movss dword [ebp - 8], xmm0
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [edi + 0x22c], xmm0
mov dword [edi + 0x160], 1
mov eax, dword [edx + 0x3f04]
xor edx, edx
add eax, 0xfc
mov dword [ebp - 0x20], eax
mov ecx, dword [eax]
mov eax, dword [eax + 8]
push dword [eax + ecx*4 - 4]
mov ecx, str.RESIZE
call fcn.100033e0
mov ecx, dword [ebp - 0x38]
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ecx + 0x3f28], eax
jne 0x1000b6fc
push ecx
push str.RESIZE
mov edx, 0xb
mov ecx, eax
call fcn.10021c00
mov eax, dword [ebp - 0x24]
add esp, 8
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.10021e00
xor edx, edx
mov dword [ebp - 0x2c], edx
cmp dword [ebx + 0xc], edx
jle 0x1000bb6b
nop dword [eax]
movss xmm0, dword [edi + 0x40]
lea ecx, [edx + edx*2]
movss xmm1, dword [edi + 0x44]
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x48]
movaps xmm2, xmm1
mov dword [ebp - 0x24], ecx
addss xmm2, dword [edi + 0x4c]
xorps xmm6, xmm6
cvtsi2ss xmm6, esi
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [ecx*8 + 0x1009a3f8]
mulss xmm2, dword [ecx*8 + 0x1009a3fc]
addss xmm3, xmm0
movss xmm0, dword [ecx*8 + 0x1009a400]
movaps xmm5, xmm0
mulss xmm0, dword [ebp - 0x44]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x1009a404]
movaps xmm4, xmm1
mulss xmm1, dword [ebp - 0x44]
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 0x1000b7c6
movss dword [ebp - 0x14], xmm5
movss dword [ebp - 0xc], xmm3
comiss xmm2, xmm4
jbe 0x1000b7d5
movss dword [ebp - 0x10], xmm4
movss dword [ebp - 8], xmm2
mov ecx, dword [edi + 0xfc]
lea esi, [ebp - 0x20]
mov eax, dword [edi + 0x104]
mov edi, 4
mov dword [ebp - 0x20], 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 + 0x1009a458]
sub edi, 1
jne 0x1000b7f2
mov eax, dword [0x100a28d8]
not edx
mov esi, dword [ebp - 0x54]
mov edi, dword [ebp - 0x64]
mov dword [ebp - 0x20], edx
cmp dword [eax + 0x3f28], edx
jne 0x1000b840
push ecx
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov edx, 4
call fcn.10021c00
mov eax, dword [0x100a28d8]
add esp, 8
mov edx, dword [ebp - 0x20]
cmp dword [eax + 0x3f40], edx
jne 0x1000b84e
mov dword [eax + 0x3f44], edx
cmp dword [eax + 0x3f84], edx
jne 0x1000b85d
mov byte [eax + 0x3f88], 1
push 0x40800
lea eax, [ebp - 0x25]
push eax
lea eax, [ebp - 0x26]
push eax
lea ecx, [ebp - 0x14]
call fcn.10037ce0
mov cl, byte [ebp - 0x26]
add esp, 0xc
test cl, cl
jne 0x1000b887
mov al, byte [ebp - 0x25]
test al, al
je 0x1000bbfd
mov edx, dword [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebp - 0x38]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x428c], eax
mov al, byte [ebp - 0x25]
test al, al
je 0x1000bb29
cmp word [ecx + 0x3682], 2
jne 0x1000b8f9
test edx, edx
jne 0x1000b8f9
push dword [ebp - 0x48]
mov edx, edi
lea ecx, [ebp - 0x60]
call fcn.1000af10
add esp, 4
mov byte [ebp - 0x27], 1
movss xmm3, dword [eax]
movss xmm2, dword [eax + 4]
movss dword [ebp - 0x34], xmm3
movss dword [ebp - 0x30], xmm2
call fcn.10005a80
mov edx, dword [ebp - 0x2c]
cmp byte [ebp - 0x25], 0
je 0x1000bb40
mov ecx, 0x20
jmp 0x1000bb4b
mov edx, dword [ebp - 0x24]
movss xmm3, dword [0x1009ef88]
movss xmm2, dword [0x1009f058]
movss xmm0, dword [edx*8 + 0x1009a3fc]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x1000b928
mov eax, dword [ebx + 0x14]
movss xmm7, dword [eax + 4]
jmp 0x1000b92b
movaps xmm7, xmm2
movss xmm1, dword [edx*8 + 0x1009a3f8]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jp 0x1000b946
mov eax, dword [ebx + 0x14]
movss xmm5, dword [eax]
jmp 0x1000b949
movaps xmm5, xmm2
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x1000b96c
mov eax, dword [ebx + 0x14]
movss xmm0, dword [eax + 0xc]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [0x1009f038]
jmp 0x1000b979
movss xmm0, dword [0x1009f038]
movss dword [ebp - 0x20], xmm0
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jp 0x1000b98a
mov eax, dword [ebx + 0x14]
movss xmm0, dword [eax + 8]
movss xmm1, dword [edx*8 + 0x1009a400]
xorps xmm4, xmm4
movss xmm3, dword [edx*8 + 0x1009a404]
cvtsi2ss xmm4, esi
movss dword [ebp - 0x34], xmm0
movaps xmm2, xmm3
xorps xmm4, xmmword [0x1009f3d0]
movaps xmm0, xmm1
mulss xmm0, dword [ebp - 0x44]
movaps xmm6, xmm4
mulss xmm2, dword [ebp - 0x44]
mulss xmm6, xmm1
movss xmm1, dword [edx*8 + 0x1009a3f8]
mulss xmm4, xmm3
subss xmm6, xmm0
subss xmm4, xmm2
mulss xmm6, xmm1
mulss xmm4, dword [edx*8 + 0x1009a3fc]
addss xmm6, xmm0
movss xmm0, dword [ecx + 0xd58]
subss xmm0, dword [ecx + 0x3f70]
addss xmm4, xmm2
addss xmm6, xmm0
movss xmm0, dword [ecx + 0xd5c]
subss xmm0, dword [ecx + 0x3f74]
addss xmm0, xmm4
comiss xmm7, xmm0
ja 0x1000ba26
movss xmm7, dword [ebp - 0x20]
minss xmm7, xmm0
comiss xmm5, xmm6
ja 0x1000ba34
movss xmm5, dword [ebp - 0x34]
minss xmm5, xmm6
movss xmm0, dword [edi + 0x40]
lea eax, [ebp - 0x1c]
movss xmm4, dword [edx*8 + 0x1009a3fc]
lea ecx, [ebp - 0x50]
movaps xmm2, xmm0
addss xmm0, dword [edi + 0x48]
subss xmm2, xmm5
push eax
mulss xmm2, xmm1
movss xmm1, dword [edi + 0x44]
movaps xmm3, xmm1
addss xmm1, dword [edi + 0x4c]
subss xmm3, xmm7
addss xmm2, xmm5
subss xmm5, xmm0
mulss xmm3, xmm4
mulss xmm5, dword [edx*8 + 0x1009a3f8]
mov edx, edi
addss xmm3, xmm7
movss dword [ebp - 0x3c], xmm2
subss xmm7, xmm1
addss xmm5, xmm0
movss dword [ebp - 0x40], xmm3
mulss xmm7, xmm4
subss xmm5, xmm2
addss xmm7, xmm1
movss dword [ebp - 0x1c], xmm5
subss xmm7, xmm3
movss dword [ebp - 0x18], xmm7
call fcn.1000af10
mov ecx, dword [ebp - 0x24]
add esp, 4
movss xmm3, dword [ebp - 0x50]
xorps xmm2, xmm2
movss dword [ebp - 0x34], xmm3
movss xmm0, dword [ecx*8 + 0x1009a3f8]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x1000baf1
movss xmm1, dword [ebp - 0x3c]
movaps xmm0, xmm3
subss xmm0, dword [ebp - 0x1c]
subss xmm1, xmm0
movss dword [ebp - 0x3c], xmm1
movss xmm0, dword [ecx*8 + 0x1009a3fc]
ucomiss xmm0, xmm2
movss xmm2, dword [ebp - 0x4c]
movss dword [ebp - 0x30], xmm2
lahf
test ah, 0x44
jp 0x1000bb23
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]
test edx, edx
je 0x1000b8e5
test al, al
jne 0x1000b8ef
test cl, cl
je 0x1000bb5e
xor ecx, ecx
cmp byte [ebp - 0x26], cl
setne cl
add ecx, 0x1e
movss xmm1, dword [0x1009ef88]
call fcn.10003a80
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + edx*4], eax
inc edx
mov dword [ebp - 0x2c], edx
cmp edx, dword [ebx + 0xc]
jl 0x1000b720
xor eax, eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x68], eax
jbe 0x1000bf6e
nop dword [eax]
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 2
mov dword [ebp - 0x48], ecx
test eax, eax
je 0x1000bc05
cmp eax, 1
je 0x1000bc05
movss xmm4, dword [edi + 0x40]
movss xmm3, dword [edi + 0x44]
movaps xmm1, xmm4
addss xmm1, dword [edi + 0x48]
movaps xmm2, xmm3
mov dword [ebp - 0x2c], 1
addss xmm2, dword [edi + 0x4c]
cmp eax, 2
jne 0x1000bca9
movd xmm5, esi
movaps xmm0, xmm3
subss xmm0, dword [0x1009efd0]
addss xmm3, dword [0x1009efd0]
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 0x1000bced
mov edx, dword [ebp - 0x2c]
jmp 0x1000bb2c
movss xmm4, dword [edi + 0x40]
xor ecx, ecx
movss xmm3, dword [edi + 0x44]
movaps xmm1, xmm4
mov dword [ebp - 0x2c], ecx
movaps xmm2, xmm3
addss xmm1, dword [edi + 0x48]
addss xmm2, dword [edi + 0x4c]
test eax, eax
jne 0x1000bc63
movd xmm6, esi
movaps xmm0, xmm4
subss xmm0, dword [0x1009efd0]
addss xmm4, dword [0x1009efd0]
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 0x1000bced
cmp eax, 1
jne 0x1000bbb9
movd xmm5, esi
movaps xmm0, xmm1
subss xmm0, dword [0x1009efd0]
addss xmm1, dword [0x1009efd0]
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 0x1000bced
cmp eax, 3
jne 0x1000bce6
movd xmm5, esi
movaps xmm0, xmm2
subss xmm0, dword [0x1009efd0]
addss xmm2, dword [0x1009efd0]
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 0x1000bced
xorps xmm0, xmm0
movups xmmword [ebp - 0x14], xmm0
mov ecx, dword [edi + 0xfc]
lea esi, [ebp - 0x24]
add eax, 4
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x104]
mov edi, 4
mov edx, dword [eax + ecx*4 - 4]
not edx
nop dword [eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1009a458]
sub edi, 1
jne 0x1000bd10
mov eax, dword [0x100a28d8]
not edx
mov esi, dword [ebp - 0x54]
mov edi, dword [ebp - 0x64]
mov dword [ebp - 0x20], edx
cmp dword [eax + 0x3f28], edx
jne 0x1000bd5e
push ecx
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 4
call fcn.10021c00
mov eax, dword [0x100a28d8]
add esp, 8
mov edx, dword [ebp - 0x20]
cmp dword [eax + 0x3f40], edx
jne 0x1000bd6c
mov dword [eax + 0x3f44], edx
cmp dword [eax + 0x3f84], edx
jne 0x1000bd7b
mov byte [eax + 0x3f88], 1
push 0x40800
lea eax, [ebp - 0x25]
push eax
lea eax, [ebp - 0x26]
push eax
lea ecx, [ebp - 0x14]
call fcn.10037ce0
mov dl, byte [ebp - 0x25]
add esp, 0xc
cmp byte [ebp - 0x26], 0
je 0x1000bdb0
mov eax, dword [ebp - 0x38]
movss xmm0, dword [eax + 0x3f38]
comiss xmm0, dword [0x1009ef14]
ja 0x1000bdb8
test dl, dl
je 0x1000bf5e
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
mov esi, dword [ebp - 0x38]
xor eax, 1
add eax, 3
mov dword [esi + 0x428c], eax
mov esi, dword [ebp - 0x54]
test dl, dl
je 0x1000bf5e
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x44]
mov dword [edx], eax
cmp eax, 3
jne 0x1000c004
mov eax, dword [ebx + 0x14]
movss xmm4, dword [0x1009f058]
movss xmm3, dword [eax + 4]
movss xmm1, dword [0x1009f038]
movss xmm5, dword [0x1009f038]
movss xmm0, dword [edi + 0x40]
mov eax, dword [ebp - 0x38]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [edi + 0x44]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [eax + ecx*4 + 0xd58]
subss xmm0, dword [eax + ecx*4 + 0x3f70]
addss xmm0, dword [0x1009efd0]
movss dword [ebp + ecx*4 - 0x1c], xmm0
movss xmm0, dword [ebp - 0x18]
comiss xmm3, xmm0
ja 0x1000be50
movaps xmm3, xmm1
minss xmm3, xmm0
movss xmm0, dword [ebp - 0x1c]
comiss xmm4, xmm0
ja 0x1000be61
movaps xmm4, xmm5
minss xmm4, xmm0
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x60]
movss xmm0, dword [edi + 0x40]
mov edx, edi
movss xmm1, dword [edi + 0x44]
movaps xmm5, xmm0
addss xmm0, dword [edi + 0x48]
movss xmm7, dword [eax + 0x1009a264]
subss xmm5, xmm4
minss xmm7, dword [eax + 0x1009a26c]
movss xmm2, dword [eax + 0x1009a260]
movaps xmm6, xmm1
minss xmm2, dword [eax + 0x1009a268]
addss xmm1, dword [edi + 0x4c]
subss xmm6, xmm3
lea eax, [ebp - 0x50]
movss dword [ebp - 0x24], xmm7
push eax
mulss xmm5, xmm2
mulss xmm6, xmm7
addss xmm5, xmm4
movss dword [ebp - 0x48], xmm2
subss xmm4, xmm0
addss xmm6, xmm3
subss xmm3, xmm1
movss dword [ebp - 0x3c], xmm5
mulss xmm4, xmm2
mulss xmm3, xmm7
addss xmm4, xmm0
movss dword [ebp - 0x40], xmm6
addss xmm3, xmm1
subss xmm4, xmm5
subss xmm3, xmm6
movss dword [ebp - 0x50], xmm4
movss dword [ebp - 0x4c], xmm3
call fcn.1000af10
movss xmm0, dword [ebp - 0x48]
add esp, 4
xorps xmm2, xmm2
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x60]
movss dword [ebp - 0x34], xmm0
lahf
test ah, 0x44
jp 0x1000bf33
subss xmm0, dword [ebp - 0x50]
movss xmm1, dword [ebp - 0x3c]
subss xmm1, xmm0
movss dword [ebp - 0x3c], xmm1
movss xmm0, dword [ebp - 0x24]
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x5c]
movss dword [ebp - 0x30], xmm0
lahf
test ah, 0x44
jp 0x1000bf5e
subss xmm0, dword [ebp - 0x4c]
movss xmm1, dword [ebp - 0x40]
subss xmm1, xmm0
movss dword [ebp - 0x40], xmm1
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp eax, dword [ebp - 0x68]
jl 0x1000bb80
mov esi, dword [0x100a28d8]
mov edx, dword [ebp - 0x38]
mov eax, dword [esi + 0x3f04]
dec dword [eax + 0xfc]
mov dword [edi + 0x160], 0
mov eax, dword [edx + 0x4270]
test eax, eax
je 0x1000c17b
cmp dword [eax + 0x32c], edi
jne 0x1000c17b
mov eax, dword [edx + 0x4154]
cmp eax, 2
jne 0x1000c058
cmp byte [edx + 0xd75], 0
je 0x1000c17b
movzx eax, byte [esi + 0x2dec]
movd xmm6, eax
movzx eax, byte [esi + 0x2ddc]
cvtdq2ps xmm6, xmm6
movd xmm0, eax
movzx eax, byte [esi + 0x2e0c]
cvtdq2ps xmm0, xmm0
movd xmm5, eax
movzx eax, byte [esi + 0x2dfc]
subss xmm6, xmm0
cvtdq2ps xmm5, xmm5
movd xmm0, eax
cvtdq2ps xmm0, xmm0
jmp 0x1000c090
movss xmm1, dword [0x1009f058]
movaps xmm3, xmm1
movaps xmm0, xmm3
cmp eax, 1
jne 0x1000c023
mov eax, dword [ebx + 0x14]
movss xmm4, dword [eax]
jmp 0x1000bdf8
movaps xmm4, xmm1
movaps xmm2, xmm4
cmp eax, 2
jne 0x1000c03b
mov eax, dword [ebx + 0x14]
movss xmm1, dword [eax + 0xc]
jmp 0x1000be00
movss xmm1, dword [0x1009f038]
test eax, eax
jne 0x1000be00
mov eax, dword [ebx + 0x14]
movss xmm5, dword [eax + 8]
jmp 0x1000be08
cmp eax, 3
jne 0x1000c17b
xor edx, edx
lea ecx, [eax + 2]
call fcn.10013c70
lea ecx, [edx + 4]
movaps xmm6, xmm0
call fcn.10013c70
lea ecx, [edx + 7]
subss xmm6, xmm0
call fcn.10013c70
lea ecx, [edx + 6]
movaps xmm5, xmm0
call fcn.10013c70
mov edx, dword [ebp - 0x38]
xorps xmm3, xmm3
subss xmm5, xmm0
addss xmm6, xmm3
addss xmm5, xmm3
ucomiss xmm6, xmm3
lahf
test ah, 0x44
jp 0x1000c0b5
ucomiss xmm5, xmm3
lahf
test ah, 0x44
jnp 0x1000c17e
movss xmm1, dword [edx + 0x50]
mov ecx, 0x20
movss xmm0, dword [edx + 0x18]
mulss xmm0, dword [0x1009f01c]
minss xmm1, dword [edx + 0x54]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x1009ef88]
movd xmm2, eax
mov eax, dword [ebx + 0x14]
cvtdq2ps xmm2, xmm2
movss xmm0, dword [eax]
subss xmm0, dword [edi + 0x40]
movaps xmm7, xmm2
mulss xmm5, xmm2
mulss xmm7, xmm6
subss xmm0, dword [edi + 0x48]
maxss xmm7, xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [edi + 0x44]
subss xmm0, dword [edi + 0x4c]
mov byte [edx + 0x4284], 0
mov byte [edx + 0x415f], 1
maxss xmm5, xmm0
movss dword [ebp - 0x58], xmm5
call fcn.10003a80
mov ecx, dword [ebp - 0x6c]
mov edx, edi
movss xmm0, dword [ebp - 0x58]
mov dword [ecx], eax
lea eax, [ebp - 0x60]
addss xmm7, dword [edi + 0x50]
addss xmm0, dword [edi + 0x54]
push eax
lea ecx, [ebp - 0x50]
movss dword [ebp - 0x60], xmm7
movss dword [ebp - 0x5c], xmm0
call fcn.1000af10
mov esi, dword [0x100a28d8]
add esp, 4
xorps xmm3, xmm3
movss xmm0, dword [eax]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [eax + 4]
jmp 0x1000c183
xorps xmm3, xmm3
movss xmm0, dword [ebp - 0x30]
movss xmm1, dword [ebp - 0x34]
movss xmm2, dword [0x1009f038]
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x1000c1be
test dword [edi + 8], 0x100
movss dword [edi + 0x50], xmm1
movss dword [edi + 0x54], xmm0
jne 0x1000c1be
comiss xmm3, dword [esi + 0x536c]
jb 0x1000c1be
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x536c], eax
movss xmm0, dword [ebp - 0x3c]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1000c208
test dword [edi + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x40]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x40], xmm1
movss dword [edi + 0x44], xmm0
jne 0x1000c208
comiss xmm3, dword [esi + 0x536c]
jb 0x1000c208
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x536c], ecx
mov ecx, dword [edi + 0x50]
mov edx, dword [edi + 0x54]
mov al, byte [ebp - 0x27]
mov dword [edi + 0x48], ecx
mov dword [edi + 0x4c], edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008ad82
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.1008ad82
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret