Function at 0x1000bf80
Capabilities:
Encode data using xor

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 [0x1004900c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x74], edx
mov edx, ecx
push esi
push edi
mov edi, dword [0x10049850]
test byte [edx + 8], 0x42
mov dword [ebp - 0x78], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x48], edi
jne 0x1000cd09
cmp byte [edx + 0x90], 0
jg 0x1000cd09
cmp byte [edx + 0x91], 0
jg 0x1000cd09
cmp byte [edx + 0x7b], 0
je 0x1000cd09
movss xmm2, dword [edi + 0x18dc]
xor eax, eax
movss xmm0, dword [edx + 0x3c]
movaps xmm1, xmm2
addss xmm0, dword [str.Save_config]
mulss xmm2, dword [0x10046534]
mov esi, 4
mov cl, byte [edi + 0xb3]
mulss xmm1, dword [str.Remove_config]
test cl, cl
mov byte [ebp - 0x29], 0
addss xmm0, xmm2
cmovne eax, esi
mov dword [ebp - 0x54], eax
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10046588]
cvttss2si esi, xmm0
mov dword [ebp - 0x50], esi
je 0x1000c062
movss xmm2, dword [0x10046618]
jmp 0x1000c065
xorps xmm2, xmm2
movss xmm0, dword [0x10046698]
mov ecx, 0x10041760
mov dword [edx + 0x134], 1
mov dword [edx + 0x138], 2
mov edi, dword [edi + 0x1a10]
movss dword [ebp - 0x34], xmm2
movss dword [ebp - 0x38], xmm0
movss dword [ebp - 0x3c], xmm0
mov edx, dword [edi + 0xbc]
mov eax, dword [edi + 0xc4]
movss dword [ebp - 0x4c], xmm0
movss dword [ebp - 0x24], xmm0
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.10005580
add esp, 4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
lea ecx, [edi + 0xbc]
push eax
call fcn.10016a70
xor edx, edx
mov dword [ebp - 0x28], edx
cmp dword [ebx + 0xc], edx
jle 0x1000c5c2
nop
mov eax, dword [ebp - 0x30]
lea ecx, [edx + edx*2]
xorps xmm6, xmm6
mov dword [ebp - 8], ecx
cvtsi2ss xmm6, esi
movss xmm0, dword [eax + 0xc]
movss xmm1, dword [eax + 0x10]
movss xmm3, dword [eax + 0x14]
movss xmm2, dword [eax + 0x18]
addss xmm3, xmm0
addss xmm2, xmm1
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [ecx*8 + 0x10049238]
mulss xmm2, dword [ecx*8 + 0x1004923c]
addss xmm3, xmm0
movss xmm0, dword [ecx*8 + 0x10049240]
movaps xmm5, xmm0
mulss xmm0, dword [ebp - 0x34]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x10049244]
movaps xmm4, xmm1
mulss xmm1, dword [ebp - 0x34]
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [ebp - 0x68], xmm5
comiss xmm3, xmm5
movss dword [ebp - 0x70], xmm3
movss dword [ebp - 0x6c], xmm2
movss dword [ebp - 0x64], xmm4
jbe 0x1000c18b
movss dword [ebp - 0x70], xmm5
movss dword [ebp - 0x68], xmm3
comiss xmm2, xmm4
jbe 0x1000c19a
movss dword [ebp - 0x6c], xmm4
movss dword [ebp - 0x64], xmm2
mov ecx, dword [eax + 0xbc]
lea esi, [ebp - 0x1c]
mov eax, dword [eax + 0xc4]
mov edi, 4
mov dword [ebp - 0x1c], 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 + 0x10041988]
sub edi, 1
jne 0x1000c1b7
mov edi, dword [0x10049850]
not edx
mov esi, dword [ebp - 0x50]
cmp dword [edi + 0x1a44], edx
jne 0x1000c1ea
mov dword [edi + 0x1a48], edx
cmp dword [edi + 0x1a7c], edx
jne 0x1000c1f9
mov byte [edi + 0x1a80], 1
push 0x4080
lea eax, [ebp - 0x1e]
push eax
lea eax, [ebp - 0x1d]
push eax
lea ecx, [ebp - 0x70]
call fcn.10027c00
mov cl, byte [ebp - 0x1d]
add esp, 0xc
test cl, cl
jne 0x1000c223
mov al, byte [ebp - 0x1e]
test al, al
je 0x1000c4a2
mov edx, dword [ebp - 0x28]
mov eax, edx
mov ecx, dword [ebp - 0x48]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x1dfc], eax
mov al, byte [ebp - 0x1e]
test al, al
je 0x1000c4aa
cmp byte [ecx + 0x3e5], 0
je 0x1000c29a
test edx, edx
jne 0x1000c29a
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0x30]
push dword [eax + 4]
push dword [eax]
call fcn.1000ba50
add esp, 8
mov byte [ebp - 0x29], 1
movss xmm3, dword [eax]
movss xmm2, dword [eax + 4]
movss dword [ebp - 0x4c], xmm3
movss dword [ebp - 0x24], xmm2
call fcn.10007f40
mov edx, dword [ebp - 0x28]
cmp byte [ebp - 0x1e], 0
je 0x1000c4cf
mov eax, 0x20
jmp 0x1000c4dc
mov edi, dword [ebp - 8]
xorps xmm4, xmm4
cvtsi2ss xmm4, esi
movss xmm1, dword [edi*8 + 0x10049240]
xorps xmm4, xmmword [0x10046af0]
movaps xmm0, xmm1
mulss xmm0, dword [ebp - 0x34]
movaps xmm5, xmm4
movss xmm7, dword [edi*8 + 0x10049238]
movss xmm3, dword [edi*8 + 0x10049244]
movss xmm6, dword [edi*8 + 0x1004923c]
movaps xmm2, xmm3
mulss xmm2, dword [ebp - 0x34]
mulss xmm5, xmm1
movss xmm1, dword [ecx + 0xec]
subss xmm1, dword [ecx + 0x1a6c]
subss xmm5, xmm0
mulss xmm4, xmm3
subss xmm4, xmm2
mulss xmm5, xmm7
addss xmm5, xmm0
mulss xmm4, xmm6
movss xmm0, dword [ecx + 0xe8]
subss xmm0, dword [ecx + 0x1a68]
mov ecx, dword [ebx + 0x14]
addss xmm4, xmm2
movss xmm2, dword [str.V:_0.3f]
addss xmm5, xmm0
movss xmm0, dword [str.Save_config]
ucomiss xmm6, xmm0
addss xmm1, xmm4
lahf
test ah, 0x44
jp 0x1000c34d
movss xmm4, dword [ecx + 4]
jmp 0x1000c350
movaps xmm4, xmm2
ucomiss xmm7, xmm0
lahf
test ah, 0x44
jp 0x1000c35f
movss xmm3, dword [ecx]
jmp 0x1000c362
movaps xmm3, xmm2
xorps xmm0, xmm0
ucomiss xmm6, xmm0
movss xmm6, dword [0x10046698]
lahf
test ah, 0x44
jp 0x1000c37d
movss xmm2, dword [ecx + 0xc]
jmp 0x1000c380
movaps xmm2, xmm6
ucomiss xmm7, xmm0
lahf
test ah, 0x44
jp 0x1000c390
movss xmm0, dword [ecx + 8]
jmp 0x1000c393
movaps xmm0, xmm6
comiss xmm4, xmm1
ja 0x1000c39f
movaps xmm4, xmm2
minss xmm4, xmm1
comiss xmm3, xmm5
ja 0x1000c3ab
movaps xmm3, xmm0
minss xmm3, xmm5
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x60]
movss xmm6, dword [edx + 0x10]
movss xmm5, dword [edx + 0xc]
subss xmm6, xmm4
movss xmm2, dword [edx + 0x18]
subss xmm5, xmm3
addss xmm2, dword [edx + 0x10]
movss xmm0, dword [edx + 0x14]
addss xmm0, dword [edx + 0xc]
mulss xmm6, dword [edi*8 + 0x1004923c]
mulss xmm5, xmm7
addss xmm6, xmm4
subss xmm4, xmm2
addss xmm5, xmm3
subss xmm3, xmm0
movss dword [ebp - 0x3c], xmm6
mulss xmm4, dword [edi*8 + 0x1004923c]
mulss xmm3, xmm7
addss xmm4, xmm2
movss dword [ebp - 0x38], xmm5
addss xmm3, xmm0
subss xmm4, xmm6
subss xmm3, xmm5
movss dword [ebp - 0x40], xmm4
push dword [ebp - 0x40]
movss dword [ebp - 0x44], xmm3
push dword [ebp - 0x44]
call fcn.1000ba50
movss xmm0, dword [edi*8 + 0x10049238]
add esp, 8
movss xmm3, dword [ebp - 0x60]
xorps xmm5, xmm5
ucomiss xmm0, xmm5
movss dword [ebp - 0x4c], xmm3
lahf
test ah, 0x44
jp 0x1000c468
movss xmm1, dword [ebp - 0x38]
movaps xmm0, xmm3
subss xmm0, dword [ebp - 0x44]
subss xmm1, xmm0
movss dword [ebp - 0x38], xmm1
movss xmm0, dword [edi*8 + 0x1004923c]
movss xmm2, dword [ebp - 0x5c]
ucomiss xmm0, xmm5
movss dword [ebp - 0x24], xmm2
lahf
test ah, 0x44
jp 0x1000c49a
movss xmm1, dword [ebp - 0x3c]
movaps xmm0, xmm2
subss xmm0, dword [ebp - 0x40]
subss xmm1, xmm0
movss dword [ebp - 0x3c], xmm1
mov edx, dword [ebp - 0x28]
mov al, byte [ebp - 0x1e]
jmp 0x1000c4ad
mov edx, dword [ebp - 0x28]
xorps xmm5, xmm5
jmp 0x1000c4b0
xorps xmm5, xmm5
mov cl, byte [ebp - 0x1d]
test edx, edx
je 0x1000c286
test al, al
jne 0x1000c290
test cl, cl
jne 0x1000c4d2
mov edi, dword [0x10049850]
jmp 0x1000c5b3
mov cl, byte [ebp - 0x1d]
xor eax, eax
test cl, cl
setne al
add eax, 0x1e
mov edi, dword [0x10049850]
add eax, eax
movss xmm3, dword [str.Save_config]
xorps xmm5, xmm5
movups xmm2, xmmword [edi + eax*8 + 0x15d8]
comiss xmm5, xmm2
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [edi + 0x1520]
movups xmmword [ebp - 0x88], xmm2
jbe 0x1000c517
xorps xmm0, xmm0
jmp 0x1000c51e
movaps xmm0, xmm3
minss xmm0, xmm2
movss xmm4, dword [str.R:_3d]
movss xmm6, dword [0x1004655c]
movss xmm2, dword [ebp - 0x84]
comiss xmm5, xmm2
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1000c54c
xorps xmm0, xmm0
jmp 0x1000c553
movaps xmm0, xmm3
minss xmm0, xmm2
movss xmm2, dword [ebp - 0x80]
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm5, xmm2
jbe 0x1000c573
xorps xmm0, xmm0
jmp 0x1000c57a
movaps xmm0, xmm3
minss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm5, xmm1
jbe 0x1000c595
xorps xmm0, xmm0
jmp 0x1000c59c
movaps xmm0, xmm3
minss xmm0, xmm1
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebp - 0x58]
mov dword [ecx + edx*4], eax
inc edx
mov dword [ebp - 0x28], edx
cmp edx, dword [ebx + 0xc]
jl 0x1000c0e0
jmp 0x1000c5cb
mov edi, dword [0x10049850]
xorps xmm5, xmm5
xor ecx, ecx
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x54], ecx
jbe 0x1000ca00
mov edi, dword [ebp - 0x30]
nop dword [eax]
movss xmm4, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movss xmm1, dword [edi + 0x14]
movss xmm2, dword [edi + 0x18]
addss xmm1, xmm4
addss xmm2, xmm3
test ecx, ecx
jne 0x1000c63b
movd xmm6, esi
movaps xmm0, xmm3
subss xmm0, dword [0x10046618]
addss xmm3, dword [0x10046618]
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x14], xmm0
addss xmm4, xmm6
movss dword [ebp - 0xc], xmm3
subss xmm1, xmm6
movss dword [ebp - 0x18], xmm4
movss dword [ebp - 0x10], xmm1
jmp 0x1000c6fc
cmp ecx, 1
jne 0x1000c67b
movd xmm6, esi
movaps xmm0, xmm1
subss xmm0, dword [0x10046618]
addss xmm1, dword [0x10046618]
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x18], xmm0
addss xmm3, xmm6
movss dword [ebp - 0x10], xmm1
subss xmm2, xmm6
movss dword [ebp - 0x14], xmm3
movss dword [ebp - 0xc], xmm2
jmp 0x1000c6fc
cmp ecx, 2
jne 0x1000c6b8
movd xmm6, esi
movaps xmm0, xmm2
subss xmm0, dword [0x10046618]
addss xmm2, dword [0x10046618]
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x14], xmm0
addss xmm4, xmm6
movss dword [ebp - 0xc], xmm2
subss xmm1, xmm6
movss dword [ebp - 0x18], xmm4
movss dword [ebp - 0x10], xmm1
jmp 0x1000c6fc
cmp ecx, 3
jne 0x1000c6f5
movaps xmm0, xmm4
subss xmm0, dword [0x10046618]
addss xmm4, dword [0x10046618]
movss dword [ebp - 0x18], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x10], xmm4
addss xmm3, xmm0
subss xmm2, xmm0
movss dword [ebp - 0x14], xmm3
movss dword [ebp - 0xc], xmm2
jmp 0x1000c6fc
xorps xmm0, xmm0
movups xmmword [ebp - 0x18], xmm0
lea eax, [ecx + 4]
mov esi, 4
mov ecx, dword [edi + 0xbc]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0xc4]
lea edi, [ebp - 8]
mov edx, dword [eax + ecx*4 - 4]
not edx
nop dword [eax]
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10041988]
sub esi, 1
jne 0x1000c720
mov eax, dword [0x10049850]
not edx
mov esi, dword [ebp - 0x50]
cmp dword [eax + 0x1a44], edx
jne 0x1000c752
mov dword [eax + 0x1a48], edx
cmp dword [eax + 0x1a7c], edx
jne 0x1000c761
mov byte [eax + 0x1a80], 1
push 0x80
lea eax, [ebp - 0x1d]
push eax
lea eax, [ebp - 0x1e]
push eax
lea ecx, [ebp - 0x18]
call fcn.10027c00
mov edx, dword [ebp - 0x48]
add esp, 0xc
cmp byte [ebp - 0x1e], 0
je 0x1000c793
movss xmm0, dword [edx + 0x1a3c]
comiss xmm0, dword [0x1004651c]
ja 0x1000c79d
cmp byte [ebp - 0x1d], 0
je 0x1000c9e4
mov ecx, dword [ebp - 0x34]
mov eax, ecx
mov edi, dword [ebp - 0x30]
and eax, 1
add eax, 3
cmp byte [ebp - 0x1d], 0
mov dword [edx + 0x1dfc], eax
je 0x1000c9ea
mov eax, dword [ebp - 0x78]
xorps xmm7, xmm7
movss dword [ebp - 0x28], xmm7
mov dword [eax], ecx
movss xmm2, dword [edi + 0xc]
movss xmm0, dword [edi + 0x10]
test ecx, ecx
jne 0x1000c80b
movss xmm0, dword [edx + 0xec]
subss xmm0, dword [edx + 0x1a6c]
mov eax, dword [ebx + 0x14]
movss xmm4, dword [str.V:_0.3f]
movaps xmm3, xmm4
movss dword [ebp - 0x28], xmm7
movss xmm5, dword [eax + 0xc]
addss xmm0, dword [0x10046618]
jmp 0x1000c8e1
cmp ecx, 1
jne 0x1000c849
movss xmm2, dword [edx + 0xe8]
subss xmm2, dword [edx + 0x1a68]
mov eax, dword [ebx + 0x14]
movss xmm7, dword [str.Save_config]
movss xmm4, dword [str.V:_0.3f]
movss dword [ebp - 0x28], xmm7
movss xmm3, dword [eax]
addss xmm2, dword [0x10046618]
jmp 0x1000c8d9
movss xmm3, dword [str.V:_0.3f]
cmp ecx, 2
jne 0x1000c88d
movss xmm0, dword [edx + 0xec]
subss xmm0, dword [edx + 0x1a6c]
mov eax, dword [ebx + 0x14]
movss xmm6, dword [str.Save_config]
movss xmm5, dword [0x10046698]
movss dword [ebp - 0x28], xmm7
addss xmm0, dword [0x10046618]
movss xmm4, dword [eax + 4]
jmp 0x1000c8e4
cmp ecx, 3
jne 0x1000c8d6
mov eax, dword [ebx + 0x14]
xorps xmm6, xmm6
movss xmm4, dword [str.V:_0.3f]
movss xmm5, dword [0x10046698]
movss dword [ebp - 0x28], xmm7
movss xmm2, dword [eax + 8]
movss dword [ebp - 8], xmm2
movss xmm2, dword [edx + 0xe8]
subss xmm2, dword [edx + 0x1a68]
movss xmm1, dword [ebp - 8]
addss xmm2, dword [0x10046618]
jmp 0x1000c8ec
movaps xmm4, xmm3
movss xmm5, dword [0x10046698]
xorps xmm6, xmm6
movss xmm1, dword [0x10046698]
comiss xmm4, xmm0
movss dword [ebp - 0x24], xmm6
ja 0x1000c8fd
movaps xmm4, xmm5
minss xmm4, xmm0
comiss xmm3, xmm2
ja 0x1000c909
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm5, dword [edi + 0x10]
lea ecx, [ebp - 0x60]
movss xmm2, dword [edi + 0xc]
subss xmm5, xmm4
movss xmm1, dword [edi + 0x18]
subss xmm2, xmm3
addss xmm1, dword [edi + 0x10]
movss xmm0, dword [edi + 0x14]
mov edx, edi
addss xmm0, dword [edi + 0xc]
mulss xmm5, xmm6
mulss xmm2, xmm7
addss xmm5, xmm4
subss xmm4, xmm1
addss xmm2, xmm3
subss xmm3, xmm0
movss dword [ebp - 0x3c], xmm5
mulss xmm4, xmm6
mulss xmm3, xmm7
addss xmm4, xmm1
movss dword [ebp - 0x38], xmm2
addss xmm3, xmm0
subss xmm4, xmm5
subss xmm3, xmm2
movss dword [ebp - 0x40], xmm4
push dword [ebp - 0x40]
movss dword [ebp - 0x44], xmm3
push dword [ebp - 0x44]
call fcn.1000ba50
movss xmm0, dword [ebp - 0x28]
add esp, 8
xorps xmm5, xmm5
ucomiss xmm0, xmm5
movss xmm0, dword [ebp - 0x60]
movss dword [ebp - 0x4c], xmm0
lahf
test ah, 0x44
jp 0x1000c9b4
subss xmm0, dword [ebp - 0x44]
movss xmm1, dword [ebp - 0x38]
subss xmm1, xmm0
movss dword [ebp - 0x38], xmm1
movss xmm0, dword [ebp - 0x24]
ucomiss xmm0, xmm5
movss xmm0, dword [ebp - 0x5c]
movss dword [ebp - 0x24], xmm0
lahf
test ah, 0x44
jp 0x1000c9df
subss xmm0, dword [ebp - 0x40]
movss xmm1, dword [ebp - 0x3c]
subss xmm1, xmm0
movss dword [ebp - 0x3c], xmm1
mov ecx, dword [ebp - 0x34]
jmp 0x1000c9ed
mov ecx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x30]
xorps xmm5, xmm5
inc ecx
mov dword [ebp - 0x34], ecx
cmp ecx, dword [ebp - 0x54]
jl 0x1000c5e0
mov edi, dword [0x10049850]
mov eax, dword [edi + 0x1a10]
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x48]
dec dword [eax + 0xbc]
mov dword [esi + 0x134], 0
mov dword [esi + 0x138], 1
mov eax, dword [ecx + 0x1c48]
test eax, eax
je 0x1000cc5a
cmp dword [eax + 0x31c], esi
jne 0x1000cc5a
mov eax, dword [ecx + 0x1b70]
cmp eax, 3
jne 0x1000ca82
cmp byte [ecx + 0x101], 0
je 0x1000cc5a
xor edx, edx
lea ecx, [eax + 0xf]
call fcn.10013180
lea ecx, [edx + 0x11]
movaps xmm6, xmm0
call fcn.10013180
subss xmm6, xmm0
lea ecx, [edx + 0x14]
addss xmm6, xmm5
call fcn.10013180
lea ecx, [edx + 0x13]
jmp 0x1000cab5
xorps xmm7, xmm7
xorps xmm6, xmm6
cmp eax, 4
jne 0x1000caca
xor edx, edx
lea ecx, [eax + 1]
call fcn.10013180
lea ecx, [edx + 4]
movaps xmm6, xmm0
call fcn.10013180
subss xmm6, xmm0
lea ecx, [edx + 7]
addss xmm6, xmm5
call fcn.10013180
lea ecx, [edx + 6]
xor edx, edx
movaps xmm7, xmm0
call fcn.10013180
mov ecx, dword [ebp - 0x48]
subss xmm7, xmm0
addss xmm7, xmm5
ucomiss xmm6, xmm5
lahf
test ah, 0x44
jp 0x1000cae0
ucomiss xmm7, xmm5
lahf
test ah, 0x44
jnp 0x1000cc5a
movss xmm1, dword [ecx + 0xa8]
minss xmm1, dword [ecx + 0xac]
movss xmm0, dword [ecx + 0x18]
mulss xmm0, dword [0x10046670]
movss xmm3, dword [str.Save_config]
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 + 0xc]
mulss xmm6, xmm1
mulss xmm7, xmm1
subss xmm0, dword [esi + 0x14]
maxss xmm6, xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 0x10]
subss xmm0, dword [esi + 0x18]
mov byte [ecx + 0x1c5c], 0
mov byte [ecx + 0x1b93], 1
movups xmm2, xmmword [edi + 0x17d8]
maxss xmm7, xmm0
comiss xmm5, xmm2
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [edi + 0x1520]
movups xmmword [ebp - 0x88], xmm2
jbe 0x1000cb79
xorps xmm0, xmm0
jmp 0x1000cb80
movaps xmm0, xmm3
minss xmm0, xmm2
movss xmm4, dword [str.R:_3d]
movss xmm2, dword [ebp - 0x84]
comiss xmm5, xmm2
mulss xmm0, xmm4
addss xmm0, dword [0x1004655c]
cvttss2si ecx, xmm0
jbe 0x1000cbaa
xorps xmm0, xmm0
jmp 0x1000cbb1
movaps xmm0, xmm3
minss xmm0, xmm2
movss xmm2, dword [ebp - 0x80]
mulss xmm0, xmm4
addss xmm0, dword [0x1004655c]
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm5, xmm2
jbe 0x1000cbd5
xorps xmm0, xmm0
jmp 0x1000cbdc
movaps xmm0, xmm3
minss xmm0, xmm2
movss xmm2, dword [0x1004655c]
mulss xmm0, xmm4
addss xmm0, xmm2
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm5, xmm1
jbe 0x1000cbff
xorps xmm3, xmm3
jmp 0x1000cc03
minss xmm3, xmm1
mulss xmm3, xmm4
mov edx, esi
addss xmm3, xmm2
cvttss2si eax, xmm3
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebp - 0x58]
mov dword [ecx], eax
lea ecx, [ebp - 0x10]
movss xmm0, dword [esi + 0x20]
addss xmm6, dword [esi + 0x1c]
addss xmm0, xmm7
movss dword [ebp - 0x44], xmm6
movss dword [ebp - 0x40], xmm0
push dword [ebp - 0x40]
push dword [ebp - 0x44]
call fcn.1000ba50
mov edi, dword [0x10049850]
add esp, 8
movss xmm0, dword [eax]
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [eax + 4]
jmp 0x1000cc5f
movss xmm0, dword [ebp - 0x24]
movss xmm1, dword [ebp - 0x4c]
xorps xmm2, xmm2
movss xmm3, dword [0x10046698]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jnp 0x1000cc9d
test dword [esi + 8], 0x100
movss dword [esi + 0x1c], xmm1
movss dword [esi + 0x20], xmm0
jne 0x1000cc9d
comiss xmm2, dword [edi + 0x2e28]
jb 0x1000cc9d
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x2e28], eax
movss xmm0, dword [ebp - 0x38]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x1000cce7
test dword [esi + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x3c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0xc], xmm1
movss dword [esi + 0x10], xmm0
jne 0x1000cce7
comiss xmm2, dword [edi + 0x2e28]
jb 0x1000cce7
mov ecx, dword [edi + 0x1c]
mov dword [edi + 0x2e28], ecx
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
mov al, byte [ebp - 0x29]
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003f62c
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.1003f62c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret