Function at 0x10036a20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x10160380]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, edx
mov dword [esp + 0x40], ecx
push edi
mov ecx, 0x101a157a
mov dword [esp + 0x1c], esi
mov dword [esp + 0x5c], eax
call fcn.10137ff6
mov ecx, dword [0x1018ff68]
mov dword [esp + 0x10], ecx
mov eax, dword [ecx + 0x19b0]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x19b0]
mov dword [esp + 0xac], eax
cmp byte [eax + 0x8f], 0
je 0x10036a9a
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.100dfbc8
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x1a8c], 1
mov edi, dword [eax + 0x284]
mov dword [esp + 0x64], edi
je 0x10036ab7
movss xmm1, dword [ecx + 0x1a90]
jmp 0x10036abf
movss xmm1, dword [eax + 0x180]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10036af4
cmp dword [eax + 0x1d0], 0
movss xmm0, dword [eax + 0x22c]
je 0x10036ae0
movss xmm0, dword [eax + 0x20c]
subss xmm0, dword [eax + 0xd8]
addss xmm1, xmm0
maxss xmm1, dword [0x1015bd20]
cvttss2si eax, xmm1
mov dword [ecx + 0x1a8c], 0
mov ecx, dword [esp + 0x44]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x24], xmm0
call fcn.100155b0
call fcn.10015720
mov edx, dword [ebp + 8]
mov ecx, edx
or ecx, 0x10
test edx, 0x100
cmovne ecx, edx
mov dword [esp + 0xc4], ecx
test cl, 8
jne 0x10036b4a
mov edx, ecx
mov ecx, esi
call fcn.10039de0
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0x10]
mov esi, 0xa900000
test ecx, 0x6000000
jne 0x10036b78
mov eax, dword [edx + 0x2cdc]
mov ecx, esi
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, dword [esp + 0xc4]
mov dword [esp + 0x14], ecx
test ecx, 0x18000000
jne 0x10036b9e
mov eax, dword [edx + 0x2cdc]
test eax, 0x18000000
cmovne esi, eax
and esi, 0x18000000
or ecx, esi
mov dword [esp + 0x14], ecx
test cl, 8
jne 0x10036bb4
mov eax, dword [edx + 0x2cdc]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x14], ecx
mov eax, ecx
movss xmm4, dword [edx + 0x1560]
and eax, 2
and ecx, 0x10002
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0xec], ecx
movss xmm0, dword [eax + 0xdc]
movss xmm2, dword [eax + 0xd8]
mov eax, dword [0x1018ff68]
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x4c], xmm0
movaps xmm0, xmm4
movss dword [esp + 0x48], xmm2
movss xmm3, dword [eax + 0x154c]
addss xmm3, xmm3
addss xmm3, dword [eax + 0x18c4]
xor eax, eax
cmp ecx, 0x10000
sete al
inc eax
addss xmm0, xmm3
movss dword [esp + 0x60], xmm3
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0xc4], eax
sete al
mulss xmm1, xmm0
lea eax, [eax*4 + 0xc]
movss xmm0, dword [esp + 0x24]
push eax
subss xmm0, xmm1
mov eax, dword [esp + 0x20]
movaps xmm1, xmm2
push eax
lea eax, [esp + 0x134]
push eax
maxss xmm0, xmm3
addss xmm1, xmm0
movss dword [esp + 0x30], xmm0
addss xmm1, xmm4
movaps xmm0, xmm1
movss dword [esp + 0xb0], xmm1
addss xmm0, xmm3
addss xmm4, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x1015bc78]
cvttss2si esi, xmm0
movss dword [esp + 0xf0], xmm4
mov dword [esp + 0xb8], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm0, dword [esp + 0x30]
add esp, 0xc
movaps xmm4, xmm0
mov dword [esp + 0x2c], 0
mulss xmm4, dword [0x1015bcc4]
movaps xmm1, xmm0
mulss xmm1, dword [0x1015bc44]
mulss xmm0, dword [0x1015bc24]
movaps xmm3, xmm4
subss xmm3, xmm1
movss dword [esp + 0xb0], xmm1
movss xmm1, dword [esp + 0x60]
mulss xmm1, dword [0x1015bcc4]
cvttss2si eax, xmm0
addss xmm1, xmm4
movss dword [esp + 0xc0], xmm4
movss dword [esp + 0x68], xmm3
movd xmm0, eax
addss xmm1, dword [esp + 0x48]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xe0], xmm1
movss dword [esp + 0xcc], xmm1
movaps xmm1, xmm4
addss xmm1, dword [esp + 0x34]
movss dword [esp + 0xa8], xmm1
movss dword [esp + 0xd0], xmm1
movaps xmm1, xmm3
subss xmm1, xmm0
movss dword [esp + 0x28], xmm1
mov ecx, dword [esp + 0x1c]
movaps xmm0, xmm1
mulss xmm0, dword [0x1015c03c]
movaps xmm2, xmm1
mov eax, dword [esp + 0x14]
mulss xmm2, dword [0x1015c048]
movss xmm3, dword [ecx + 4]
movss dword [esp + 0xc8], xmm0
movss dword [esp + 0x84], xmm0
movss dword [esp + 0xf0], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x1015bd04]
movss dword [esp + 0xb8], xmm2
movss dword [esp + 0x88], xmm2
movss xmm2, dword [ecx + 8]
movss dword [esp + 0xbc], xmm0
movss dword [esp + 0xf4], xmm0
movss xmm0, dword [ecx]
movss dword [esp + 0x20], xmm0
movaps xmm1, xmm0
movss dword [esp + 0x7c], xmm1
movss dword [esp + 0xb4], xmm1
movaps xmm1, xmm3
movss dword [esp + 0x70], xmm1
movss dword [esp + 0xa0], xmm1
movaps xmm1, xmm2
movss dword [esp + 0x6c], xmm1
movss dword [esp + 0x74], xmm1
movss xmm1, dword [0x1015bdcc]
movss dword [esp + 0x50], xmm3
movss dword [esp + 0x54], xmm2
movss dword [esp + 0xe8], xmm1
test eax, 0x8000000
je 0x10036f10
comiss xmm2, xmm3
xorps xmm1, xmm1
xorps xmm6, xmm6
movaps xmm5, xmm3
movaps xmm7, xmm2
jbe 0x10036e54
movss xmm6, dword [0x1015c04c]
movaps xmm5, xmm2
movaps xmm7, xmm3
comiss xmm5, xmm0
movaps xmm4, xmm0
movss dword [esp + 0x54], xmm4
jbe 0x10036e7d
movaps xmm4, xmm5
movaps xmm5, xmm0
movss xmm0, dword [0x1015c034]
subss xmm0, xmm6
movss dword [esp + 0x54], xmm4
movaps xmm6, xmm0
movaps xmm0, xmm5
movaps xmm3, xmm4
minss xmm0, xmm7
movaps xmm2, xmm5
subss xmm2, xmm7
subss xmm3, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x1015bdcc]
addss xmm0, dword [0x1015bbdc]
divss xmm2, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x1015bbdc]
addss xmm2, xmm6
divss xmm3, xmm0
andps xmm2, xmmword [0x1015c4b0]
ucomiss xmm3, xmm1
movss dword [esp + 0x20], xmm2
movss dword [esp + 0x50], xmm3
lahf
test ah, 0x44
jp 0x10036f5f
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x2ce4]
cmp eax, dword [ecx]
jne 0x10036f5f
mov eax, dword [edx + 0x2ce8]
cmp eax, dword [ecx + 4]
jne 0x10036f5f
mov eax, dword [edx + 0x2cec]
cmp eax, dword [ecx + 8]
jne 0x10036f5f
movss xmm0, dword [edx + 0x2ce0]
movss dword [esp + 0x20], xmm0
jmp 0x10036f5f
test eax, 0x10000000
je 0x10036f5f
lea eax, [esp + 0x74]
movaps xmm1, xmm3
push eax
lea edx, [esp + 0xa4]
lea ecx, [esp + 0xb8]
call fcn.1000b420
movss xmm0, dword [esp + 0xb8]
add esp, 4
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0xa0]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x6c], xmm0
mov ecx, 8
mov byte [esp + 0xd], 0
mov byte [esp + 0x1b], 0
mov byte [esp + 0xf], 0
call fcn.10014fb0
mov eax, dword [esp + 0x14]
test eax, 0x4000000
je 0x100374d4
movss xmm1, dword [esp + 0x24]
lea edx, [esp + 0x38]
mov eax, dword [esp + 0x10]
movaps xmm0, xmm1
mov ecx, 0x1015a568
movss dword [esp + 0x3c], xmm1
addss xmm0, dword [eax + 0x1560]
addss xmm0, dword [esp + 0x60]
movss dword [esp + 0x38], xmm0
call fcn.1002f950
mov eax, dword [0x1018ff68]
mov ecx, dword [eax + 0x19ec]
test ecx, ecx
je 0x100373c8
mov eax, dword [eax + 0x19b0]
cmp ecx, dword [eax + 0x118]
jne 0x100373c8
mov eax, dword [esp + 0x10]
movss xmm0, dword [eax + 0xe8]
subss xmm0, dword [esp + 0xe0]
movss xmm2, dword [eax + 0x388]
subss xmm2, dword [esp + 0xe0]
movss xmm1, dword [eax + 0x38c]
subss xmm1, dword [esp + 0xa8]
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x58], xmm0
movss xmm0, dword [eax + 0xec]
subss xmm0, dword [esp + 0xa8]
movaps xmm3, xmm1
movss dword [esp + 0xdc], xmm2
mulss xmm3, xmm1
movss dword [esp + 0x9c], xmm1
movss dword [esp + 0x94], xmm0
movss dword [esp + 0x80], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
movss xmm2, dword [0x1015bd20]
addss xmm3, xmm0
movss xmm0, dword [esp + 0x68]
subss xmm0, xmm2
mulss xmm0, xmm0
comiss xmm3, xmm0
jb 0x100370e1
movss xmm0, dword [esp + 0xc0]
addss xmm0, xmm2
mulss xmm0, xmm0
comiss xmm0, xmm3
jb 0x100370e1
fld dword [esp + 0x80]
xorps xmm0, xmm0
fld dword [esp + 0x58]
fpatan
fstp dword [esp + 0x80]
movss xmm1, dword [esp + 0x80]
mulss xmm1, dword [0x1015bc64]
comiss xmm0, xmm1
movss dword [esp + 0x20], xmm1
jbe 0x100370d9
addss xmm1, xmm2
movss dword [esp + 0x20], xmm1
mov al, 1
mov byte [esp + 0xd], al
jmp 0x100370eb
mov al, byte [esp + 0xd]
movss xmm1, dword [esp + 0x20]
mulss xmm1, dword [0x1015c050]
mov byte [esp + 0x1b], al
movaps xmm0, xmm1
call fcn.10138050
movss xmm2, dword [esp + 0xdc]
movaps xmm7, xmm0
movss xmm5, dword [esp + 0x9c]
movaps xmm4, xmm2
movss xmm0, dword [esp + 0xb8]
movaps xmm1, xmm5
subss xmm0, dword [esp + 0xbc]
mulss xmm1, xmm7
movaps xmm6, xmm7
shufps xmm6, xmm7, 1
xorps xmm3, xmm3
mulss xmm4, xmm6
mulss xmm2, xmm7
subss xmm4, xmm1
mulss xmm5, xmm6
movss xmm1, dword [esp + 0x28]
subss xmm1, dword [esp + 0xc8]
addss xmm5, xmm2
movss dword [esp + 0xdc], xmm0
movaps xmm2, xmm4
subss xmm2, dword [esp + 0xc8]
movups xmmword [esp + 0x100], xmm6
movss dword [esp + 0x9c], xmm1
mulss xmm0, xmm2
comiss xmm3, xmm0
movss xmm0, dword [esp + 0xb8]
xorps xmm0, xmmword [0x1015c4d0]
movaps xmm1, xmm0
movss dword [esp + 0x80], xmm0
movaps xmm0, xmm5
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0xb8]
movss xmm2, dword [esp + 0x9c]
mulss xmm0, xmm2
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x100373c0
movss xmm0, dword [esp + 0xc8]
subss xmm4, dword [esp + 0x28]
subss xmm0, dword [esp + 0x28]
mulss xmm4, dword [esp + 0xbc]
mulss xmm0, xmm5
subss xmm4, xmm0
comiss xmm3, xmm4
seta al
cmp cl, al
jne 0x100373c0
movss xmm1, dword [esp + 0x78]
movss xmm4, dword [esp + 0xc8]
movaps xmm5, xmm1
mulss xmm5, xmm6
movss xmm6, dword [esp + 0x94]
movaps xmm0, xmm6
mulss xmm1, xmm7
mulss xmm6, dword [esp + 0x100]
mulss xmm0, xmm7
movss xmm7, dword [esp + 0xb8]
addss xmm6, xmm1
subss xmm5, xmm0
movss dword [esp + 0x3c], xmm6
movaps xmm0, xmm5
movss dword [esp + 0x38], xmm5
subss xmm0, xmm4
movaps xmm1, xmm5
subss xmm1, xmm4
mulss xmm0, dword [esp + 0xdc]
mulss xmm1, dword [esp + 0x80]
comiss xmm3, xmm0
movaps xmm0, xmm6
subss xmm0, xmm7
seta cl
mulss xmm0, xmm2
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x100372ca
movss xmm2, dword [esp + 0x28]
movaps xmm1, xmm5
movaps xmm0, xmm4
subss xmm1, xmm2
subss xmm0, xmm2
mulss xmm1, dword [esp + 0xbc]
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp cl, al
je 0x10037313
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0x8c]
push eax
lea edx, [esp + 0x34]
lea ecx, [esp + 0xa0]
call fcn.1000a8c0
movss xmm2, dword [esp + 0x34]
add esp, 0xc
movss xmm4, dword [esp + 0xc8]
movss xmm7, dword [esp + 0xb8]
movss xmm5, dword [eax]
movss xmm6, dword [eax + 4]
movaps xmm3, xmm4
subss xmm5, xmm2
movss xmm4, dword [0x1015bd20]
subss xmm3, xmm2
movaps xmm2, xmm4
movaps xmm1, xmm3
movaps xmm0, xmm3
mulss xmm1, dword [esp + 0xbc]
mulss xmm0, xmm7
mulss xmm3, xmm6
subss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xbc]
mulss xmm5, xmm7
divss xmm2, xmm1
subss xmm0, xmm3
movaps xmm1, xmm4
subss xmm3, xmm5
mulss xmm0, xmm2
mulss xmm3, xmm2
subss xmm1, xmm0
movss xmm0, dword [0x1015bbf8]
movss dword [esp + 0x50], xmm0
comiss xmm0, xmm1
movaps xmm2, xmm1
subss xmm2, xmm3
jbe 0x10037394
movaps xmm1, xmm0
movss dword [esp + 0x54], xmm0
jmp 0x1003739e
minss xmm1, xmm4
movss dword [esp + 0x54], xmm1
divss xmm2, xmm1
comiss xmm0, xmm2
ja 0x100373b4
movaps xmm0, xmm2
minss xmm0, xmm4
movss dword [esp + 0x50], xmm0
mov byte [esp + 0xf], 1
mov byte [esp + 0xd], 1
jmp 0x100373c8
mov al, byte [esp + 0xd]
mov byte [esp + 0x1b], al
test byte [esp + 0x14], 8
jne 0x100373d4
call fcn.100168b0
movss xmm4, dword [esp + 0x24]
movss xmm3, dword [esp + 0x34]
cmp dword [esp + 0xec], 0x10000
jne 0x1003770a
mov ecx, dword [0x1018ff68]
lea edx, [esp + 0x84]
movss xmm0, dword [esp + 0xe4]
movaps xmm1, xmm0
movss dword [esp + 0x88], xmm4
mov eax, dword [ecx + 0x19b0]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x19b0]
mov ecx, str.alpha
movss dword [eax + 0xd8], xmm0
movss dword [eax + 0xdc], xmm3
movss xmm0, dword [eax + 0xf4]
maxss xmm1, dword [eax + 0xf0]
maxss xmm0, xmm3
movss dword [eax + 0xf0], xmm1
movss dword [eax + 0xf4], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0x84], xmm0
call fcn.1002f950
mov eax, dword [0x1018ff68]
mov ecx, dword [eax + 0x19ec]
test ecx, ecx
je 0x1003770a
mov eax, dword [eax + 0x19b0]
cmp ecx, dword [eax + 0x118]
jne 0x1003770a
mov eax, dword [esp + 0x10]
movss xmm0, dword [esp + 0x24]
movss xmm1, dword [0x1015bd20]
subss xmm0, xmm1
movss xmm2, dword [eax + 0xec]
subss xmm2, dword [esp + 0x34]
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x100376f1
xorps xmm2, xmm2
jmp 0x100376f5
test eax, 0x2000000
je 0x100373d4
movss xmm0, dword [esp + 0x24]
lea edx, [esp + 0x84]
mov ecx, 0x1015a56c
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x88], xmm0
call fcn.1002f950
mov ecx, dword [0x1018ff68]
mov edx, dword [ecx + 0x19ec]
test edx, edx
je 0x100375a8
mov eax, dword [ecx + 0x19b0]
cmp edx, dword [eax + 0x118]
jne 0x100375a8
movss xmm0, dword [esp + 0x24]
movss xmm1, dword [0x1015bd20]
mov eax, dword [esp + 0x10]
subss xmm0, xmm1
movaps xmm3, xmm1
movss xmm2, dword [eax + 0xe8]
subss xmm2, dword [esp + 0x48]
divss xmm3, xmm0
xorps xmm0, xmm0
mulss xmm2, xmm3
comiss xmm0, xmm2
jbe 0x10037569
movss dword [esp + 0x50], xmm0
jmp 0x10037573
minss xmm2, xmm1
movss dword [esp + 0x50], xmm2
movss xmm2, dword [eax + 0xec]
subss xmm2, dword [esp + 0x34]
mulss xmm2, xmm3
comiss xmm0, xmm2
jbe 0x1003758f
xorps xmm2, xmm2
jmp 0x10037593
minss xmm2, xmm1
movaps xmm0, xmm1
mov al, 1
subss xmm0, xmm2
mov byte [esp + 0xd], al
movss dword [esp + 0x54], xmm0
jmp 0x100375ac
mov al, byte [esp + 0xd]
test byte [esp + 0x14], 8
mov byte [esp + 0xf], al
mov byte [esp + 0xe], al
jne 0x100375c6
call fcn.100168b0
mov ecx, dword [0x1018ff68]
mov eax, dword [ecx + 0x19b0]
lea edx, [esp + 0x84]
movss xmm0, dword [esp + 0xa4]
movss xmm2, dword [esp + 0x34]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x19b0]
mov ecx, 0x1015a570
movss dword [eax + 0xd8], xmm0
movss dword [eax + 0xdc], xmm2
movss xmm1, dword [eax + 0xf0]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xf4]
maxss xmm0, xmm2
movss dword [eax + 0xf0], xmm1
movss dword [eax + 0xf4], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x88], xmm0
call fcn.1002f950
mov eax, dword [0x1018ff68]
mov ecx, dword [eax + 0x19ec]
test ecx, ecx
je 0x100373d4
mov eax, dword [eax + 0x19b0]
mov dl, byte [esp + 0xd]
movss xmm3, dword [esp + 0x34]
movss xmm4, dword [esp + 0x24]
mov byte [esp + 0xf], dl
cmp ecx, dword [eax + 0x118]
jne 0x100373e0
mov eax, dword [esp + 0x10]
movaps xmm0, xmm4
movss xmm2, dword [0x1015bd20]
subss xmm0, xmm2
movss xmm1, dword [eax + 0xec]
subss xmm1, xmm3
divss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x100376d0
mov al, byte [esp + 0xe]
movss dword [esp + 0x20], xmm0
mov byte [esp + 0x1b], 1
mov byte [esp + 0xd], 1
mov byte [esp + 0xf], al
jmp 0x100373e0
mov al, byte [esp + 0xe]
minss xmm1, xmm2
mov byte [esp + 0x1b], 1
mov byte [esp + 0xd], 1
mov byte [esp + 0xf], al
movss dword [esp + 0x20], xmm1
jmp 0x100373e0
minss xmm2, xmm1
mov eax, dword [esp + 0x1c]
movaps xmm0, xmm1
subss xmm0, xmm2
mov byte [esp + 0xd], 1
movss dword [eax + 0xc], xmm0
call fcn.10015030
mov eax, dword [esp + 0x14]
test eax, 0x100
jne 0x10037737
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1560]
call fcn.10015aa0
call fcn.10015720
mov eax, dword [esp + 0x14]
test al, al
js 0x10037799
mov edx, dword [esp + 0x44]
cmp edx, 0xffffffff
jae 0x10037799
mov cl, byte [edx]
mov byte [esp + 0xe], cl
test cl, cl
je 0x1003775e
cmp cl, 0x23
jne 0x10037758
cmp byte [edx + 1], cl
je 0x1003775e
inc edx
cmp edx, 0xffffffff
jb 0x10037744
mov dword [esp + 0x58], edx
cmp dword [esp + 0x44], edx
je 0x10037799
test eax, 0x100
je 0x10037787
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1560]
call fcn.10015aa0
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x44]
push 0
call fcn.1002e850
mov eax, dword [esp + 0x18]
add esp, 4
test eax, 0x100
jne 0x1003794c
mov ecx, 0x10
call fcn.10014fb0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
test cl, 2
je 0x100377c5
movss xmm1, dword [0x1015bd20]
jmp 0x100377ca
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x8c], xmm0
movss dword [esp + 0x90], xmm1
test cl, cl
jns 0x10037811
push str.Current
call fcn.1002ef00
mov ecx, dword [esp + 0x18]
add esp, 4
movss xmm1, dword [esp + 0x60]
lea edx, [esp + 0x84]
movaps xmm0, xmm1
and ecx, 0x180e0040
mulss xmm0, dword [0x1015bda0]
mov dword [esp + 0x9c], ecx
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x94], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x3c], xmm0
push dword [esp + 0x3c]
movss dword [esp + 0x7c], xmm0
push dword [esp + 0x3c]
push ecx
mov ecx, str.current
call fcn.10038f80
add esp, 0xc
cmp dword [esp + 0x5c], 0
je 0x1003793e
push str.Original
call fcn.1002ef00
mov eax, dword [esp + 0x60]
add esp, 4
test byte [esp + 0x14], 2
je 0x1003789b
movss xmm1, dword [0x1015bd20]
jmp 0x100378a0
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0xf0]
movss dword [esp + 0xf0], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0xf4], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0xf8], xmm0
movss xmm0, dword [esp + 0x94]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x3c], xmm0
push dword [esp + 0x3c]
movss dword [esp + 0x100], xmm1
push dword [esp + 0x3c]
push dword [esp + 0xa4]
call fcn.10038f80
add esp, 0xc
test al, al
je 0x1003793e
xor eax, eax
cmp dword [esp + 0xc4], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x60]
mov eax, dword [esp + 0x24]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xd], 1
call fcn.10015030
call fcn.10015860
mov eax, dword [esp + 0x14]
cmp byte [esp + 0x1b], 0
jne 0x1003795e
cmp byte [esp + 0xf], 0
je 0x10037a1d
test eax, 0x8000000
je 0x100379f2
mov eax, dword [esp + 0x1c]
xorps xmm0, xmm0
movss xmm1, dword [esp + 0x54]
comiss xmm1, xmm0
lea ecx, [eax + 8]
lea edx, [eax + 4]
jbe 0x10037986
movaps xmm3, xmm1
jmp 0x1003798e
movss xmm3, dword [0x1015bbe4]
movss xmm1, dword [esp + 0x50]
comiss xmm1, xmm0
movss xmm2, dword [0x1015bbe8]
ja 0x100379a4
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x20]
comiss xmm0, dword [0x1015bd20]
jb 0x100379b7
subss xmm0, xmm2
push ecx
mov ecx, eax
movaps xmm2, xmm3
call fcn.1000b420
mov ecx, dword [esp + 0x14]
add esp, 4
mov eax, dword [esp + 0x1c]
movss xmm0, dword [esp + 0x20]
movss dword [ecx + 0x2ce0], xmm0
movq xmm0, qword [eax]
movq qword [ecx + 0x2ce4], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + 0x2cec], eax
jmp 0x10037a1d
test eax, 0x10000000
je 0x10037a1d
mov ecx, dword [esp + 0x1c]
movss xmm0, dword [esp + 0x20]
movss dword [ecx], xmm0
movss xmm0, dword [esp + 0x50]
movss dword [ecx + 4], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [ecx + 8], xmm0
mov edx, dword [esp + 0x14]
mov byte [esp + 0xe], 0
test dl, 0x20
jne 0x10037c79
cmp dword [esp + 0xec], 0x10000
jne 0x10037a47
movss xmm0, dword [esp + 0xe4]
jmp 0x10037a50
movss xmm0, dword [esp + 0xa4]
addss xmm0, dword [esp + 0x60]
subss xmm0, dword [esp + 0x48]
call fcn.10014d50
mov edx, dword [esp + 0x14]
mov eax, edx
and eax, 0x198e001a
mov dword [esp + 0x44], eax
test edx, 0x100000
jne 0x10037a80
test edx, 0x700000
jne 0x10037ac8
mov edx, dword [esp + 0x1c]
or eax, 0x100004
push eax
mov ecx, str.rgb
call fcn.100354f0
add esp, 4
test al, al
je 0x10037ac0
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x19ec], 0
je 0x10037ab6
cmp byte [eax + 0x19f9], 0
mov byte [esp + 0xe], 1
je 0x10037abb
mov byte [esp + 0xe], 0
mov byte [esp + 0xd], 1
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
test edx, 0x200000
jne 0x10037ad8
test edx, 0x700000
jne 0x10037af7
mov edx, dword [esp + 0x1c]
or eax, 0x200004
push eax
mov ecx, str.hsv
call fcn.100354f0
mov edx, dword [esp + 0x18]
add esp, 4
or byte [esp + 0xd], al
test edx, 0x400000
jne 0x10037b07
test edx, 0x700000
jne 0x10037b2a
mov eax, dword [esp + 0x44]
mov ecx, str.hex
mov edx, dword [esp + 0x1c]
or eax, 0x400004
push eax
call fcn.100354f0
mov edx, dword [esp + 0x18]
add esp, 4
or byte [esp + 0xd], al
mov ecx, dword [0x1018ff68]
mov eax, dword [ecx + 0x19b0]
mov byte [eax + 0x8c], 1
mov ecx, dword [ecx + 0x19b0]
mov eax, dword [ecx + 0x194]
add eax, 0xffffffff
mov dword [esp + 0x94], eax
mov dword [ecx + 0x194], eax
jne 0x10037b65
movss xmm0, dword [ecx + 0x23c]
jmp 0x10037b7c
mov edi, dword [esp + 0x94]
mov eax, dword [ecx + 0x19c]
movss xmm0, dword [eax + edi*4 - 4]
mov edi, dword [esp + 0x64]
cmp byte [esp + 0xe], 0
xorps xmm2, xmm2
movss dword [ecx + 0x180], xmm0
mov ecx, dword [esp + 0x1c]
je 0x10037c80
test edx, 0x8000000
je 0x10037c80
movss xmm3, dword [ecx + 4]
xorps xmm6, xmm6
movss xmm5, dword [ecx + 8]
comiss xmm5, xmm3
movss xmm4, dword [ecx]
jbe 0x10037bc9
movss xmm6, dword [0x1015c04c]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x10037be6
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x1015c034]
subss xmm0, xmm6
movaps xmm6, xmm0
movaps xmm0, xmm3
movaps xmm1, xmm4
minss xmm0, xmm5
subss xmm3, xmm5
subss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x1015bbdc]
movaps xmm7, xmm1
mulss xmm1, dword [0x1015bdcc]
divss xmm7, xmm0
addss xmm1, dword [0x1015bbdc]
divss xmm3, xmm1
addss xmm3, xmm6
andps xmm3, xmmword [0x1015c4b0]
comiss xmm2, xmm3
jb 0x10037c80
movss xmm0, dword [esp + 0x20]
comiss xmm0, xmm2
jbe 0x10037c80
comiss xmm2, xmm4
jb 0x10037da7
movss xmm1, dword [esp + 0x54]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10037da7
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x50]
mulss xmm2, dword [0x1015bcc4]
lea eax, [ecx + 8]
push eax
lea edx, [ecx + 4]
call fcn.1000b420
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, dword [esp + 0x1c]
xorps xmm2, xmm2
cmp byte [esp + 0xd], 0
je 0x10037e33
test edx, 0x8000000
je 0x10037dc6
movss xmm0, dword [ecx + 4]
xorps xmm5, xmm5
movss xmm1, dword [ecx + 8]
movaps xmm3, xmm0
comiss xmm1, xmm0
movss xmm7, dword [ecx]
movaps xmm6, xmm1
movss dword [esp + 0x7c], xmm7
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x6c], xmm1
jbe 0x10037cd3
movss xmm5, dword [0x1015c04c]
movaps xmm3, xmm1
movaps xmm6, xmm0
comiss xmm3, xmm7
movaps xmm4, xmm7
movss dword [esp + 0x54], xmm4
jbe 0x10037cfc
movss xmm0, dword [0x1015c034]
movaps xmm4, xmm3
subss xmm0, xmm5
movss dword [esp + 0x54], xmm4
movaps xmm3, xmm7
movaps xmm5, xmm0
movaps xmm0, xmm3
movaps xmm1, xmm4
minss xmm0, xmm6
subss xmm3, xmm6
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x1015bdcc]
addss xmm0, dword [0x1015bbdc]
divss xmm3, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x1015bbdc]
addss xmm3, xmm5
divss xmm1, xmm0
andps xmm3, xmmword [0x1015c4b0]
ucomiss xmm1, xmm2
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x50], xmm1
lahf
test ah, 0x44
mov eax, dword [esp + 0x10]
jp 0x10037e3d
mov eax, dword [eax + 0x2ce4]
cmp eax, dword [ecx]
mov eax, dword [esp + 0x10]
jne 0x10037e3d
mov eax, dword [eax + 0x2ce8]
cmp eax, dword [ecx + 4]
mov eax, dword [esp + 0x10]
jne 0x10037e3d
mov eax, dword [eax + 0x2cec]
cmp eax, dword [ecx + 8]
mov eax, dword [esp + 0x10]
jne 0x10037e3d
movss xmm3, dword [eax + 0x2ce0]
movss dword [esp + 0x20], xmm3
jmp 0x10037e3d
comiss xmm2, xmm7
jb 0x10037c80
movss xmm1, dword [esp + 0x50]
movaps xmm2, xmm4
mulss xmm1, dword [0x1015bcc4]
jmp 0x10037c66
test edx, 0x10000000
je 0x10037e33
movss xmm0, dword [ecx]
lea eax, [esp + 0x74]
movss xmm1, dword [ecx + 4]
lea edx, [esp + 0xa0]
movss xmm2, dword [ecx + 8]
lea ecx, [esp + 0xb4]
push eax
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x54], xmm1
movss dword [esp + 0x58], xmm2
call fcn.1000b420
movss xmm0, dword [esp + 0xb8]
add esp, 4
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0xa0]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x6c], xmm0
mov eax, dword [esp + 0x10]
movss xmm3, dword [esp + 0x20]
movss xmm2, dword [eax + 0x1510]
xorps xmm0, xmm0
comiss xmm0, xmm2
movss xmm0, dword [0x1015bd20]
jbe 0x10037e5a
xorps xmm1, xmm1
jmp 0x10037e61
movaps xmm1, xmm2
minss xmm1, xmm0
mulss xmm1, dword [0x1015bf74]
mov dword [esp + 0x84], 0x3f800000
movss dword [esp + 0x90], xmm2
movaps xmm2, xmm0
mov dword [esp + 0x88], 0x3f800000
addss xmm1, dword [0x1015bcc4]
mov dword [esp + 0x8c], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x80], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x5c], eax
or ecx, 0xff0000
mov eax, edx
mov dword [esp + 0x100], ecx
or eax, 0x808080
mov dword [esp + 0x118], ecx
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x84]
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x104], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x108], eax
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x10c], eax
mov eax, edx
or eax, 0xff
mov dword [esp + 0x110], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0x88]
mov dword [esp + 0x114], eax
lea eax, [esp + 0x8c]
push eax
call fcn.1000b420
add esp, 4
lea ecx, [esp + 0x84]
call fcn.1000b360
movss xmm0, dword [esp + 0x7c]
lea ecx, [esp + 0x84]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0x70]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x10]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [eax + 0x1510]
movss dword [esp + 0x90], xmm0
call fcn.1000b360
mov ecx, eax
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x38], 0
test eax, 0x4000000
je 0x100388a6
movss xmm1, dword [esp + 0xc0]
mov eax, 0x2aaaaaab
movss xmm3, dword [0x1015bcc4]
movaps xmm2, xmm1
addss xmm2, dword [esp + 0x68]
divss xmm3, xmm1
mov esi, dword [esp + 0x64]
mulss xmm2, dword [0x1015bcc4]
movss xmm4, dword [0x1015bd24]
cvttss2si ecx, xmm1
movss dword [esp + 0x14], xmm3
imul ecx
movss dword [esp + 0xa4], xmm2
mov ecx, 4
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
cmovle eax, ecx
xor edx, edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x7c], edx
nop
mov edi, dword [esi + 0x18]
movd xmm1, edx
cvtdq2ps xmm1, xmm1
push eax
push ecx
lea eax, [esp + 0xd4]
mov ecx, esi
mulss xmm1, xmm4
movaps xmm0, xmm1
addss xmm1, xmm4
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x9c], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x84], xmm1
call fcn.10025460
movss xmm0, dword [esp + 0xb0]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0x64]
push dword [esi + 0x58]
push dword [esi + 0x60]
call fcn.10023f00
movss xmm0, dword [esp + 0x94]
movss xmm1, dword [esp + 0x78]
mov dword [esi + 0x58], 0
call fcn.101380a0
mov edx, dword [esp + 0x7c]
movaps xmm5, xmm0
movss xmm0, dword [esp + 0x68]
movaps xmm3, xmm5
mov ecx, dword [esi + 0x20]
movaps xmm6, xmm5
shufps xmm3, xmm5, 0xe
mov eax, dword [esp + edx*4 + 0x104]
movaps xmm4, xmm3
shufps xmm4, xmm3, 1
movss xmm2, dword [0x1015bd20]
shufps xmm6, xmm5, 1
movaps xmm7, xmm2
mulss xmm3, xmm0
mov dword [esp + 0xa0], eax
mov eax, dword [esp + edx*4 + 0x100]
mulss xmm4, xmm0
mov dword [esp + 0x58], eax
addss xmm3, dword [esp + 0xa8]
mov eax, dword [esi + 0x18]
addss xmm4, dword [esp + 0xe0]
mulss xmm6, xmm0
mulss xmm5, xmm0
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
addss xmm6, dword [esp + 0xe0]
mov dword [esp + 0xb4], eax
lea eax, [edi + edi*4]
addss xmm5, dword [esp + 0xa8]
lea eax, [ecx + eax*4]
mov dword [esp + 0x6c], eax
subss xmm4, xmm6
subss xmm3, xmm5
movaps xmm0, xmm4
mulss xmm0, xmm4
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm1, xmm0
divss xmm7, xmm1
cmp eax, dword [esp + 0xb4]
jae 0x100382b2
mov eax, dword [esp + 0x58]
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0x58]
shr eax, 8
movzx edx, al
mov eax, dword [esp + 0x58]
movzx edi, al
mov eax, dword [esp + 0xa0]
shr eax, 0x10
movzx eax, al
sub eax, ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x94], xmm0
movd xmm0, ecx
mov ecx, dword [esp + 0xa0]
mov eax, ecx
cvtdq2ps xmm0, xmm0
shr eax, 8
movzx eax, al
sub eax, edx
movzx ecx, cl
sub ecx, edi
movss dword [esp + 0x78], xmm0
movd xmm0, eax
mov eax, dword [esp + 0x6c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x9c], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xdc], xmm0
nop dword [eax + eax]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
subss xmm0, xmm6
subss xmm1, xmm5
mulss xmm0, xmm4
mulss xmm1, xmm3
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, xmm7
comiss xmm0, xmm1
jbe 0x1003822e
xorps xmm1, xmm1
jmp 0x10038232
minss xmm1, xmm2
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x94]
addss xmm0, dword [esp + 0x78]
cvttss2si edx, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x9c]
shl edx, 8
addss xmm0, dword [esp + 0xdc]
cvttss2si eax, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
or edx, eax
shl edx, 8
mulss xmm1, xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
cvttss2si eax, xmm1
or edx, eax
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0x10]
and eax, 0xff000000
or edx, eax
mov eax, dword [esp + 0x6c]
mov dword [eax + 0x10], edx
add eax, 0x14
mov dword [esp + 0x6c], eax
cmp eax, dword [esp + 0xb4]
jb 0x10038200
mov edx, dword [esp + 0x7c]
movss xmm2, dword [esp + 0xa4]
inc edx
movss xmm3, dword [esp + 0x14]
movss xmm4, dword [0x1015bd24]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x7c], edx
cmp edx, 6
jl 0x10038030
movss xmm1, dword [esp + 0x20]
mulss xmm1, dword [0x1015bdd0]
movaps xmm0, xmm1
call fcn.10138050
cmp byte [esp + 0x1b], 0
movaps xmm1, xmm0
movss xmm2, dword [esp + 0x68]
addss xmm2, dword [esp + 0xc0]
movss xmm3, dword [0x1015bcc4]
shufps xmm0, xmm1, 1
movaps xmmword [esp + 0xf0], xmm0
movups xmmword [esp + 0x100], xmm1
mulss xmm0, xmm2
mulss xmm0, xmm3
addss xmm0, dword [esp + 0xe0]
movss dword [esp + 0x48], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm2
movss xmm2, dword [esp + 0xb0]
mulss xmm0, xmm3
addss xmm0, dword [esp + 0xa8]
movss dword [esp + 0x4c], xmm0
je 0x1003836a
mulss xmm2, dword [0x1015bcdc]
jmp 0x10038372
mulss xmm2, dword [0x1015bccc]
movaps xmm0, xmm2
movss dword [esp + 0xb0], xmm2
mulss xmm0, dword [0x1015bcec]
cvttss2si eax, xmm0
cmp eax, 9
jge 0x10038396
mov eax, 9
jmp 0x100383a0
mov ecx, 0x20
cmp eax, ecx
cmovg eax, ecx
test dword [esp + 0x74], 0xff000000
mov esi, dword [esp + 0xac]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x68], eax
je 0x1003841c
cmp eax, 2
jle 0x1003841c
movd xmm1, eax
xorps xmm3, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
push ecx
lea eax, [esp + 0x50]
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, dword [0x1015bd20]
mulss xmm0, dword [0x1015bdd0]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.10025460
push dword [esp + 0x74]
mov ecx, edi
push dword [edi + 0x58]
push dword [edi + 0x60]
call fcn.100249f0
movss xmm2, dword [esp + 0xb0]
movss xmm3, dword [0x1015bcc4]
mov dword [edi + 0x58], 0
mov eax, dword [esp + 0x44]
and eax, 0xff000000
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x68]
je 0x10038493
cmp eax, 2
jle 0x10038493
movd xmm1, eax
addss xmm2, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
lea eax, [esp + 0x4c]
push ecx
xorps xmm3, xmm3
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, dword [0x1015bd20]
mulss xmm0, dword [0x1015bdd0]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.10025460
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x4c]
push dword [edi + 0x58]
push dword [edi + 0x60]
call fcn.10023f00
mov eax, dword [esp + 0x68]
mov dword [edi + 0x58], 0
test dword [esp + 0x5c], 0xff000000
je 0x1003850a
cmp eax, 2
jle 0x1003850a
movd xmm1, eax
xorps xmm3, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
lea eax, [esp + 0x4c]
push ecx
movss xmm2, dword [esp + 0xb8]
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, dword [0x1015bd20]
subss xmm2, dword [0x1015bcc4]
mulss xmm0, dword [0x1015bdd0]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.10025460
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x64]
push dword [edi + 0x58]
push dword [edi + 0x60]
call fcn.10023f00
mov dword [edi + 0x58], 0
movaps xmm3, xmmword [esp + 0xf0]
mov ecx, edi
movss xmm6, dword [esp + 0xe0]
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x28]
movaps xmm5, xmm3
mov eax, dword [0x1018ff68]
movups xmm4, xmmword [esp + 0x100]
push 6
movss xmm7, dword [esp + 0xac]
addss xmm0, xmm6
mulss xmm5, dword [esp + 0xcc]
movaps xmm1, xmm4
push 6
mulss xmm1, dword [esp + 0xd0]
movss dword [esp + 0x60], xmm0
movaps xmm2, xmm5
movss dword [esp + 0xd4], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0x30]
addss xmm0, xmm7
movss dword [esp + 0xc8], xmm0
movss dword [esp + 0xd8], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0xc0]
mulss xmm4, dword [esp + 0xc4]
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xc0]
mulss xmm3, dword [esp + 0xc4]
subss xmm5, xmm4
addss xmm0, xmm1
addss xmm2, xmm6
addss xmm3, xmm1
addss xmm5, xmm6
addss xmm0, xmm7
movss dword [esp + 0x30], xmm2
addss xmm3, xmm7
movss dword [esp + 0xb0], xmm5
movss dword [esp + 0x8c], xmm5
movss dword [esp + 0x34], xmm0
movss xmm0, dword [eax + 0x18cc]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [eax + 0x18d0]
movaps xmmword [esp + 0xf8], xmm3
movss dword [esp + 0x90], xmm3
movss dword [esp + 0x9c], xmm0
call fcn.10023ce0
mov ecx, dword [edi + 0x3c]
mov ax, word [edi + 0x34]
movss xmm4, dword [esp + 0x58]
movss xmm5, dword [esp + 0xc0]
mov word [ecx], ax
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
movss xmm0, dword [esp + 0x48]
movss xmm1, dword [esp + 0x94]
mov edx, dword [esp + 0x74]
movss dword [eax], xmm4
movss dword [eax + 4], xmm5
mov eax, dword [edi + 0x38]
movss xmm7, dword [esp + 0x28]
movss xmm6, dword [esp + 0x2c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], edx
mov eax, dword [edi + 0x3c]
add dword [edi + 0x38], 0x14
inc dword [edi + 0x34]
mov ecx, dword [edi + 0x34]
mov word [eax], cx
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x38]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], edx
add dword [edi + 0x38], 0x14
inc dword [edi + 0x34]
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x34]
movss xmm3, dword [esp + 0xa8]
movaps xmm2, xmmword [esp + 0xf0]
mov word [eax], cx
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
mov ecx, dword [esp + 0x5c]
movss dword [eax], xmm3
movss dword [eax + 4], xmm2
mov eax, dword [edi + 0x38]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], ecx
add dword [edi + 0x38], 0x14
inc dword [edi + 0x34]
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x34]
mov word [eax], cx
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
movss dword [eax], xmm4
movss dword [eax + 4], xmm5
mov eax, dword [edi + 0x38]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], 0
add dword [edi + 0x38], 0x14
mov eax, dword [edi + 0x3c]
inc dword [edi + 0x34]
mov ecx, dword [edi + 0x34]
mov word [eax], cx
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
mov ecx, dword [esp + 0x80]
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x38]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], ecx
mov eax, dword [edi + 0x3c]
add dword [edi + 0x38], 0x14
inc dword [edi + 0x34]
mov ecx, dword [edi + 0x34]
mov word [eax], cx
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
movss dword [eax], xmm3
movss dword [eax + 4], xmm2
mov eax, dword [edi + 0x38]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], 0
add dword [edi + 0x38], 0x14
inc dword [edi + 0x34]
cmp dword [esp + 0x78], 0
je 0x1003881d
lea eax, [esp + 0xcc]
mov ecx, edi
push eax
call fcn.100090d0
lea eax, [esp + 0x28]
mov ecx, edi
push eax
call fcn.100090d0
lea eax, [esp + 0x84]
mov ecx, edi
push eax
call fcn.100090d0
push ecx
mov dword [esp], 0x3fc00000
mov ecx, edi
push 1
push dword [esp + 0x4c]
push dword [edi + 0x58]
push dword [edi + 0x60]
call fcn.10023f00
movss xmm4, dword [esp + 0x58]
movss xmm5, dword [esp + 0xc0]
movss xmm6, dword [esp + 0x2c]
movss xmm7, dword [esp + 0x28]
mov dword [edi + 0x58], 0
movss xmm0, dword [0x1015bd20]
xorps xmm1, xmm1
movaps xmm3, xmm0
subss xmm3, dword [esp + 0x54]
comiss xmm1, xmm3
jbe 0x1003883b
xorps xmm3, xmm3
jmp 0x1003883f
minss xmm3, xmm0
movss xmm2, dword [esp + 0x50]
comiss xmm1, xmm2
jbe 0x1003884f
xorps xmm2, xmm2
jmp 0x10038853
minss xmm2, xmm0
movaps xmm0, xmmword [esp + 0xf0]
subss xmm4, dword [esp + 0xa8]
subss xmm5, xmm0
mulss xmm4, xmm2
mulss xmm5, xmm2
addss xmm4, dword [esp + 0xa8]
addss xmm5, xmm0
subss xmm7, xmm4
subss xmm6, xmm5
mulss xmm7, xmm3
mulss xmm6, xmm3
addss xmm7, xmm4
addss xmm6, xmm5
movss dword [esp + 0x38], xmm7
movss dword [esp + 0x3c], xmm6
jmp 0x10038bff
test eax, 0x2000000
je 0x10038c03
movss xmm1, dword [esp + 0x48]
movss xmm2, dword [esp + 0x24]
movaps xmm0, xmm1
mov eax, dword [esp + 0x5c]
addss xmm0, xmm2
mov ecx, dword [esp + 0x74]
addss xmm1, xmm2
push eax
push ecx
push ecx
movss dword [esp + 0x34], xmm0
mov ecx, edi
movss xmm0, dword [esp + 0x40]
push eax
addss xmm0, xmm2
movss dword [esp + 0x68], xmm1
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x5c]
push eax
movss dword [esp + 0x44], xmm0
call fcn.10025c30
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0xcc]
movss xmm0, dword [esp + 0x58]
push ecx
push ecx
push 0
push 0
push eax
movss dword [esp + 0xe0], xmm0
lea eax, [esp + 0x5c]
movss xmm0, dword [esp + 0x40]
mov ecx, edi
push eax
movss dword [esp + 0xe8], xmm0
call fcn.10025c30
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x98], xmm0
xorps xmm0, xmm0
push dword [esp + 0x98]
push dword [esp + 0x98]
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.1000c0f0
movss xmm2, dword [esp + 0x60]
xorps xmm0, xmm0
movss xmm1, dword [0x1015bd20]
add esp, 0x10
comiss xmm0, xmm2
jbe 0x1003899a
xorps xmm2, xmm2
jmp 0x1003899e
minss xmm2, xmm1
movss xmm5, dword [esp + 0x24]
movss xmm4, dword [esp + 0x48]
movss xmm7, dword [0x1015bcc4]
mulss xmm2, xmm5
movss xmm6, dword [0x1015bd64]
addss xmm2, xmm4
addss xmm2, xmm7
cvttss2si eax, xmm2
movaps xmm2, xmm4
addss xmm4, xmm5
addss xmm2, xmm6
movd xmm3, eax
cvtdq2ps xmm3, xmm3
subss xmm4, xmm6
comiss xmm2, xmm3
jbe 0x100389ed
movss dword [esp + 0x38], xmm2
jmp 0x10038a00
comiss xmm3, xmm4
jbe 0x100389fa
movss dword [esp + 0x38], xmm4
jmp 0x10038a00
movss dword [esp + 0x38], xmm3
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x54]
comiss xmm0, xmm2
jbe 0x10038a13
xorps xmm2, xmm2
jmp 0x10038a17
minss xmm2, xmm1
movss xmm3, dword [esp + 0x34]
mulss xmm2, xmm5
movaps xmm1, xmm3
movss xmm0, dword [esp + 0x2c]
addss xmm1, xmm6
subss xmm0, xmm6
addss xmm2, xmm3
addss xmm2, xmm7
cvttss2si eax, xmm2
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x10038a52
movss dword [esp + 0x3c], xmm1
jmp 0x10038a65
comiss xmm2, xmm0
jbe 0x10038a5f
movss dword [esp + 0x3c], xmm0
jmp 0x10038a65
movss dword [esp + 0x3c], xmm2
movss xmm2, dword [esp + 0xa4]
movaps xmm1, xmm5
mulss xmm1, dword [0x1015bc6c]
movaps xmm0, xmm2
mov esi, dword [esp + 0x64]
xor ecx, ecx
addss xmm0, dword [esp + 0x60]
movss dword [esp + 0x84], xmm2
movss dword [esp + 0x48], xmm1
movss dword [esp + 0xcc], xmm0
mov eax, dword [esp + ecx*4 + 0x104]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0xd4]
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0xd8], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x108]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x98]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0xa0], xmm0
call fcn.10025c30
movss xmm1, dword [esp + 0x48]
mov ecx, edi
movss xmm3, dword [esp + 0x34]
cmp ecx, 6
jl 0x10038aa0
movss xmm2, dword [esp + 0x34]
movss xmm3, dword [esp + 0xa4]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x24]
movaps xmm1, xmm3
movss dword [esp + 0x4c], xmm2
addss xmm1, dword [esp + 0x60]
movss dword [esp + 0x48], xmm3
movss dword [esp + 0x2c], xmm0
xorps xmm0, xmm0
push dword [esp + 0x2c]
movss dword [esp + 0x2c], xmm1
push dword [esp + 0x2c]
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.1000c0f0
mov esi, dword [esp + 0xbc]
movss xmm1, dword [esp + 0x70]
addss xmm1, dword [0x1015bd64]
mov edi, dword [esp + 0x74]
mov ecx, edi
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x3c], xmm2
addss xmm0, dword [0x1015bd20]
movss xmm2, dword [esp + 0xb4]
push dword [esp + 0x3c]
subss xmm2, dword [0x1015bd20]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x34]
mulss xmm0, dword [esp + 0x38]
push dword [esp + 0x3c]
movss dword [esp + 0x60], xmm2
addss xmm0, dword [esp + 0x4c]
addss xmm0, dword [0x1015bcc4]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x28]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x1510]
movss dword [esp + 0x64], xmm0
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.10036710
add esp, 0x20
mov ecx, dword [esp + 0x70]
cmp byte [esp + 0xf], 0
je 0x10038c1d
movss xmm2, dword [0x1015bdec]
movss dword [esp + 0xe8], xmm2
jmp 0x10038c25
movss xmm2, dword [0x1015bdcc]
test ecx, 0xff000000
je 0x10038c5e
push 0xb
push ecx
lea eax, [esp + 0x40]
mov dword [esp], 0x40b84e8a
push eax
xorps xmm3, xmm3
mov ecx, edi
call fcn.10025460
push dword [esp + 0x70]
mov ecx, edi
push dword [edi + 0x58]
push dword [edi + 0x60]
call fcn.100249f0
mov dword [edi + 0x58], 0
test dword [esp + 0x44], 0xff000000
je 0x10038cb4
movss xmm2, dword [esp + 0xe8]
lea eax, [esp + 0x38]
addss xmm2, dword [0x1015bcc4]
push 0xb
push ecx
mov dword [esp], 0x40b84e8a
xorps xmm3, xmm3
push eax
mov ecx, edi
call fcn.10025460
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x4c]
push dword [edi + 0x58]
push dword [edi + 0x60]
call fcn.10023f00
mov dword [edi + 0x58], 0
test dword [esp + 0x5c], 0xff000000
je 0x10038d0a
movss xmm2, dword [esp + 0xe8]
lea eax, [esp + 0x38]
subss xmm2, dword [0x1015bcc4]
push 0xb
push ecx
mov dword [esp], 0x40b84e8a
xorps xmm3, xmm3
push eax
mov ecx, edi
call fcn.10025460
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x64]
push dword [edi + 0x58]
push dword [edi + 0x60]
call fcn.10023f00
mov dword [edi + 0x58], 0
cmp dword [esp + 0xec], 0x10000
jne 0x10038ebb
mov eax, dword [esp + 0x1c]
xorps xmm2, xmm2
movss xmm0, dword [eax + 0xc]
comiss xmm2, xmm0
jbe 0x10038d37
movss dword [esp + 0xac], xmm2
jmp 0x10038d48
minss xmm0, dword [0x1015bd20]
movss dword [esp + 0xac], xmm0
movss xmm0, dword [esp + 0x34]
or edx, 0xffffffff
movss xmm3, dword [esp + 0xe4]
movss dword [esp + 0xd0], xmm0
movaps xmm1, xmm3
addss xmm0, dword [esp + 0x24]
addss xmm1, dword [esp + 0x60]
mov dword [esp + 0x2c], 0
push dword [esp + 0x2c]
mov dword [esp + 0x2c], 0
push dword [esp + 0x2c]
movss dword [esp + 0xe0], xmm0
push dword [esp + 0xe0]
movss dword [esp + 0xe0], xmm1
subss xmm1, xmm3
push dword [esp + 0xe0]
movss dword [esp + 0xdc], xmm3
push dword [esp + 0xe0]
mov edi, dword [esp + 0xe0]
mulss xmm1, dword [0x1015bcc4]
push edi
push ecx
xor ecx, ecx
call fcn.10036430
mov ecx, dword [esp + 0x8c]
add esp, 0x1c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.10025c30
push dword [esp + 0xd8]
xorps xmm0, xmm0
push dword [esp + 0xd8]
push dword [esp + 0xd8]
push edi
call fcn.1000c0f0
movss xmm1, dword [0x1015bd20]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x74]
movaps xmm0, xmm2
movss dword [esp + 0x3c], xmm2
movss xmm2, dword [esp + 0xf4]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0xbc]
push dword [esp + 0x3c]
movss dword [esp + 0x3c], xmm0
push dword [esp + 0x3c]
mulss xmm1, dword [esp + 0x3c]
movss dword [esp + 0x50], xmm2
addss xmm1, dword [esp + 0x4c]
addss xmm1, dword [0x1015bcc4]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x78]
addss xmm1, dword [0x1015bd64]
movd xmm0, eax
mov eax, dword [esp + 0x28]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x1510]
movss dword [esp + 0x54], xmm0
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.10036710
add esp, 0x20
call fcn.10015860
cmp byte [esp + 0xd], 0
mov edi, dword [0x1018ff68]
je 0x10038f54
mov ecx, dword [esp + 0x1c]
lea esi, [esp + 0x12c]
xor edx, edx
cmp dword [esp + 0xc4], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x10038f05
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x10038f0a
add esi, 4
add ecx, 4
sub edx, 4
jae 0x10038ef4
cmp edx, 0xfffffffc
je 0x10038f4f
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x10038f37
cmp edx, 0xfffffffd
je 0x10038f4f
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x10038f37
cmp edx, 0xfffffffe
je 0x10038f4f
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x10038f37
cmp edx, 0xffffffff
je 0x10038f4f
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x10038f4f
mov eax, dword [edi + 0x19b0]
mov word [edi + 0x19fb], 0x101
or dword [eax + 0x11c], 4
jmp 0x10038f54
mov byte [esp + 0xd], 0
mov ecx, dword [edi + 0x19b0]
mov al, byte [esp + 0xd]
pop edi
pop esi
dec dword [ecx + 0xcc]
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.100dfbc8
mov esp, ebp
pop ebp
ret