Function at 0x100369d0
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, 0x101a157e
mov dword [esp + 0x1c], esi
mov dword [esp + 0x5c], eax
call fcn.10138266
mov ecx, dword [0x10190058]
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 0x10036a4a
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.100dfe28
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x1a8c], 1
mov edi, dword [eax + 0x284]
mov dword [esp + 0x64], edi
je 0x10036a67
movss xmm1, dword [ecx + 0x1a90]
jmp 0x10036a6f
movss xmm1, dword [eax + 0x180]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10036aa4
cmp dword [eax + 0x1d0], 0
movss xmm0, dword [eax + 0x22c]
je 0x10036a90
movss xmm0, dword [eax + 0x20c]
subss xmm0, dword [eax + 0xd8]
addss xmm1, xmm0
maxss xmm1, dword [0x1015bd40]
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 0x10036afa
mov edx, ecx
mov ecx, esi
call fcn.10039d90
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0x10]
mov esi, 0xa900000
test ecx, 0x6000000
jne 0x10036b28
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 0x10036b4e
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 0x10036b64
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 [0x10190058]
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 [0x1015bc98]
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 [0x1015bce4]
movaps xmm1, xmm0
mulss xmm1, dword [0x1015bc60]
mulss xmm0, dword [0x1015bc44]
movaps xmm3, xmm4
subss xmm3, xmm1
movss dword [esp + 0xb0], xmm1
movss xmm1, dword [esp + 0x60]
mulss xmm1, dword [0x1015bce4]
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 [0x1015c054]
movaps xmm2, xmm1
mov eax, dword [esp + 0x14]
mulss xmm2, dword [0x1015c060]
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 [0x1015bd24]
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 [0x1015bdec]
movss dword [esp + 0x50], xmm3
movss dword [esp + 0x54], xmm2
movss dword [esp + 0xe8], xmm1
test eax, 0x8000000
je 0x10036ec0
comiss xmm2, xmm3
xorps xmm1, xmm1
xorps xmm6, xmm6
movaps xmm5, xmm3
movaps xmm7, xmm2
jbe 0x10036e04
movss xmm6, dword [0x1015c064]
movaps xmm5, xmm2
movaps xmm7, xmm3
comiss xmm5, xmm0
movaps xmm4, xmm0
movss dword [esp + 0x54], xmm4
jbe 0x10036e2d
movaps xmm4, xmm5
movaps xmm5, xmm0
movss xmm0, dword [0x1015c04c]
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 [0x1015bdec]
addss xmm0, dword [0x1015bbfc]
divss xmm2, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x1015bbfc]
addss xmm2, xmm6
divss xmm3, xmm0
andps xmm2, xmmword [0x1015c4c0]
ucomiss xmm3, xmm1
movss dword [esp + 0x20], xmm2
movss dword [esp + 0x50], xmm3
lahf
test ah, 0x44
jp 0x10036f0f
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x2ce4]
cmp eax, dword [ecx]
jne 0x10036f0f
mov eax, dword [edx + 0x2ce8]
cmp eax, dword [ecx + 4]
jne 0x10036f0f
mov eax, dword [edx + 0x2cec]
cmp eax, dword [ecx + 8]
jne 0x10036f0f
movss xmm0, dword [edx + 0x2ce0]
movss dword [esp + 0x20], xmm0
jmp 0x10036f0f
test eax, 0x10000000
je 0x10036f0f
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 0x10037484
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.1002f910
mov eax, dword [0x10190058]
mov ecx, dword [eax + 0x19ec]
test ecx, ecx
je 0x10037378
mov eax, dword [eax + 0x19b0]
cmp ecx, dword [eax + 0x118]
jne 0x10037378
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 [0x1015bd40]
addss xmm3, xmm0
movss xmm0, dword [esp + 0x68]
subss xmm0, xmm2
mulss xmm0, xmm0
comiss xmm3, xmm0
jb 0x10037091
movss xmm0, dword [esp + 0xc0]
addss xmm0, xmm2
mulss xmm0, xmm0
comiss xmm0, xmm3
jb 0x10037091
fld dword [esp + 0x80]
xorps xmm0, xmm0
fld dword [esp + 0x58]
fpatan
fstp dword [esp + 0x80]
movss xmm1, dword [esp + 0x80]
mulss xmm1, dword [0x1015bc80]
comiss xmm0, xmm1
movss dword [esp + 0x20], xmm1
jbe 0x10037089
addss xmm1, xmm2
movss dword [esp + 0x20], xmm1
mov al, 1
mov byte [esp + 0xd], al
jmp 0x1003709b
mov al, byte [esp + 0xd]
movss xmm1, dword [esp + 0x20]
mulss xmm1, dword [0x1015c068]
mov byte [esp + 0x1b], al
movaps xmm0, xmm1
call fcn.101382c0
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 [0x1015c4e0]
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 0x10037370
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 0x10037370
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 0x1003727a
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 0x100372c3
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 [0x1015bd40]
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 [0x1015bc18]
movss dword [esp + 0x50], xmm0
comiss xmm0, xmm1
movaps xmm2, xmm1
subss xmm2, xmm3
jbe 0x10037344
movaps xmm1, xmm0
movss dword [esp + 0x54], xmm0
jmp 0x1003734e
minss xmm1, xmm4
movss dword [esp + 0x54], xmm1
divss xmm2, xmm1
comiss xmm0, xmm2
ja 0x10037364
movaps xmm0, xmm2
minss xmm0, xmm4
movss dword [esp + 0x50], xmm0
mov byte [esp + 0xf], 1
mov byte [esp + 0xd], 1
jmp 0x10037378
mov al, byte [esp + 0xd]
mov byte [esp + 0x1b], al
test byte [esp + 0x14], 8
jne 0x10037384
call fcn.10016870
movss xmm4, dword [esp + 0x24]
movss xmm3, dword [esp + 0x34]
cmp dword [esp + 0xec], 0x10000
jne 0x100376ba
mov ecx, dword [0x10190058]
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.1002f910
mov eax, dword [0x10190058]
mov ecx, dword [eax + 0x19ec]
test ecx, ecx
je 0x100376ba
mov eax, dword [eax + 0x19b0]
cmp ecx, dword [eax + 0x118]
jne 0x100376ba
mov eax, dword [esp + 0x10]
movss xmm0, dword [esp + 0x24]
movss xmm1, dword [0x1015bd40]
subss xmm0, xmm1
movss xmm2, dword [eax + 0xec]
subss xmm2, dword [esp + 0x34]
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x100376a1
xorps xmm2, xmm2
jmp 0x100376a5
test eax, 0x2000000
je 0x10037384
movss xmm0, dword [esp + 0x24]
lea edx, [esp + 0x84]
mov ecx, 0x1015a56c
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x88], xmm0
call fcn.1002f910
mov ecx, dword [0x10190058]
mov edx, dword [ecx + 0x19ec]
test edx, edx
je 0x10037558
mov eax, dword [ecx + 0x19b0]
cmp edx, dword [eax + 0x118]
jne 0x10037558
movss xmm0, dword [esp + 0x24]
movss xmm1, dword [0x1015bd40]
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 0x10037519
movss dword [esp + 0x50], xmm0
jmp 0x10037523
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 0x1003753f
xorps xmm2, xmm2
jmp 0x10037543
minss xmm2, xmm1
movaps xmm0, xmm1
mov al, 1
subss xmm0, xmm2
mov byte [esp + 0xd], al
movss dword [esp + 0x54], xmm0
jmp 0x1003755c
mov al, byte [esp + 0xd]
test byte [esp + 0x14], 8
mov byte [esp + 0xf], al
mov byte [esp + 0xe], al
jne 0x10037576
call fcn.10016870
mov ecx, dword [0x10190058]
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.1002f910
mov eax, dword [0x10190058]
mov ecx, dword [eax + 0x19ec]
test ecx, ecx
je 0x10037384
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 0x10037390
mov eax, dword [esp + 0x10]
movaps xmm0, xmm4
movss xmm2, dword [0x1015bd40]
subss xmm0, xmm2
movss xmm1, dword [eax + 0xec]
subss xmm1, xmm3
divss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10037680
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 0x10037390
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 0x10037390
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 0x100376e7
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 0x10037749
mov edx, dword [esp + 0x44]
cmp edx, 0xffffffff
jae 0x10037749
mov cl, byte [edx]
mov byte [esp + 0xe], cl
test cl, cl
je 0x1003770e
cmp cl, 0x23
jne 0x10037708
cmp byte [edx + 1], cl
je 0x1003770e
inc edx
cmp edx, 0xffffffff
jb 0x100376f4
mov dword [esp + 0x58], edx
cmp dword [esp + 0x44], edx
je 0x10037749
test eax, 0x100
je 0x10037737
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.1002e810
mov eax, dword [esp + 0x18]
add esp, 4
test eax, 0x100
jne 0x100378fc
mov ecx, 0x10
call fcn.10014fb0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
test cl, 2
je 0x10037775
movss xmm1, dword [0x1015bd40]
jmp 0x1003777a
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 0x100377c1
push str.Current
call fcn.1002eec0
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 [0x1015bdc0]
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.10038f30
add esp, 0xc
cmp dword [esp + 0x5c], 0
je 0x100378ee
push str.Original
call fcn.1002eec0
mov eax, dword [esp + 0x60]
add esp, 4
test byte [esp + 0x14], 2
je 0x1003784b
movss xmm1, dword [0x1015bd40]
jmp 0x10037850
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.10038f30
add esp, 0xc
test al, al
je 0x100378ee
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 0x1003790e
cmp byte [esp + 0xf], 0
je 0x100379cd
test eax, 0x8000000
je 0x100379a2
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 0x10037936
movaps xmm3, xmm1
jmp 0x1003793e
movss xmm3, dword [0x1015bc04]
movss xmm1, dword [esp + 0x50]
comiss xmm1, xmm0
movss xmm2, dword [0x1015bc08]
ja 0x10037954
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x20]
comiss xmm0, dword [0x1015bd40]
jb 0x10037967
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 0x100379cd
test eax, 0x10000000
je 0x100379cd
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 0x10037c29
cmp dword [esp + 0xec], 0x10000
jne 0x100379f7
movss xmm0, dword [esp + 0xe4]
jmp 0x10037a00
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 0x10037a30
test edx, 0x700000
jne 0x10037a78
mov edx, dword [esp + 0x1c]
or eax, 0x100004
push eax
mov ecx, str.rgb
call fcn.100354b0
add esp, 4
test al, al
je 0x10037a70
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x19ec], 0
je 0x10037a66
cmp byte [eax + 0x19f9], 0
mov byte [esp + 0xe], 1
je 0x10037a6b
mov byte [esp + 0xe], 0
mov byte [esp + 0xd], 1
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
test edx, 0x200000
jne 0x10037a88
test edx, 0x700000
jne 0x10037aa7
mov edx, dword [esp + 0x1c]
or eax, 0x200004
push eax
mov ecx, str.hsv
call fcn.100354b0
mov edx, dword [esp + 0x18]
add esp, 4
or byte [esp + 0xd], al
test edx, 0x400000
jne 0x10037ab7
test edx, 0x700000
jne 0x10037ada
mov eax, dword [esp + 0x44]
mov ecx, str.hex
mov edx, dword [esp + 0x1c]
or eax, 0x400004
push eax
call fcn.100354b0
mov edx, dword [esp + 0x18]
add esp, 4
or byte [esp + 0xd], al
mov ecx, dword [0x10190058]
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 0x10037b15
movss xmm0, dword [ecx + 0x23c]
jmp 0x10037b2c
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 0x10037c30
test edx, 0x8000000
je 0x10037c30
movss xmm3, dword [ecx + 4]
xorps xmm6, xmm6
movss xmm5, dword [ecx + 8]
comiss xmm5, xmm3
movss xmm4, dword [ecx]
jbe 0x10037b79
movss xmm6, dword [0x1015c064]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x10037b96
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x1015c04c]
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 [0x1015bbfc]
movaps xmm7, xmm1
mulss xmm1, dword [0x1015bdec]
divss xmm7, xmm0
addss xmm1, dword [0x1015bbfc]
divss xmm3, xmm1
addss xmm3, xmm6
andps xmm3, xmmword [0x1015c4c0]
comiss xmm2, xmm3
jb 0x10037c30
movss xmm0, dword [esp + 0x20]
comiss xmm0, xmm2
jbe 0x10037c30
comiss xmm2, xmm4
jb 0x10037d57
movss xmm1, dword [esp + 0x54]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10037d57
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x50]
mulss xmm2, dword [0x1015bce4]
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 0x10037de3
test edx, 0x8000000
je 0x10037d76
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 0x10037c83
movss xmm5, dword [0x1015c064]
movaps xmm3, xmm1
movaps xmm6, xmm0
comiss xmm3, xmm7
movaps xmm4, xmm7
movss dword [esp + 0x54], xmm4
jbe 0x10037cac
movss xmm0, dword [0x1015c04c]
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 [0x1015bdec]
addss xmm0, dword [0x1015bbfc]
divss xmm3, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x1015bbfc]
addss xmm3, xmm5
divss xmm1, xmm0
andps xmm3, xmmword [0x1015c4c0]
ucomiss xmm1, xmm2
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x50], xmm1
lahf
test ah, 0x44
mov eax, dword [esp + 0x10]
jp 0x10037ded
mov eax, dword [eax + 0x2ce4]
cmp eax, dword [ecx]
mov eax, dword [esp + 0x10]
jne 0x10037ded
mov eax, dword [eax + 0x2ce8]
cmp eax, dword [ecx + 4]
mov eax, dword [esp + 0x10]
jne 0x10037ded
mov eax, dword [eax + 0x2cec]
cmp eax, dword [ecx + 8]
mov eax, dword [esp + 0x10]
jne 0x10037ded
movss xmm3, dword [eax + 0x2ce0]
movss dword [esp + 0x20], xmm3
jmp 0x10037ded
comiss xmm2, xmm7
jb 0x10037c30
movss xmm1, dword [esp + 0x50]
movaps xmm2, xmm4
mulss xmm1, dword [0x1015bce4]
jmp 0x10037c16
test edx, 0x10000000
je 0x10037de3
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 [0x1015bd40]
jbe 0x10037e0a
xorps xmm1, xmm1
jmp 0x10037e11
movaps xmm1, xmm2
minss xmm1, xmm0
mulss xmm1, dword [0x1015bf90]
mov dword [esp + 0x84], 0x3f800000
movss dword [esp + 0x90], xmm2
movaps xmm2, xmm0
mov dword [esp + 0x88], 0x3f800000
addss xmm1, dword [0x1015bce4]
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 0x10038856
movss xmm1, dword [esp + 0xc0]
mov eax, 0x2aaaaaab
movss xmm3, dword [0x1015bce4]
movaps xmm2, xmm1
addss xmm2, dword [esp + 0x68]
divss xmm3, xmm1
mov esi, dword [esp + 0x64]
mulss xmm2, dword [0x1015bce4]
movss xmm4, dword [0x1015bd44]
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.10025420
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.10023ec0
movss xmm0, dword [esp + 0x94]
movss xmm1, dword [esp + 0x78]
mov dword [esi + 0x58], 0
call fcn.10138310
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 [0x1015bd40]
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 0x10038262
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 0x100381de
xorps xmm1, xmm1
jmp 0x100381e2
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 0x100381b0
mov edx, dword [esp + 0x7c]
movss xmm2, dword [esp + 0xa4]
inc edx
movss xmm3, dword [esp + 0x14]
movss xmm4, dword [0x1015bd44]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x7c], edx
cmp edx, 6
jl 0x10037fe0
movss xmm1, dword [esp + 0x20]
mulss xmm1, dword [0x1015bdf0]
movaps xmm0, xmm1
call fcn.101382c0
cmp byte [esp + 0x1b], 0
movaps xmm1, xmm0
movss xmm2, dword [esp + 0x68]
addss xmm2, dword [esp + 0xc0]
movss xmm3, dword [0x1015bce4]
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 0x1003831a
mulss xmm2, dword [0x1015bcfc]
jmp 0x10038322
mulss xmm2, dword [0x1015bcec]
movaps xmm0, xmm2
movss dword [esp + 0xb0], xmm2
mulss xmm0, dword [0x1015bd0c]
cvttss2si eax, xmm0
cmp eax, 9
jge 0x10038346
mov eax, 9
jmp 0x10038350
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 0x100383cc
cmp eax, 2
jle 0x100383cc
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 [0x1015bd40]
mulss xmm0, dword [0x1015bdf0]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.10025420
push dword [esp + 0x74]
mov ecx, edi
push dword [edi + 0x58]
push dword [edi + 0x60]
call fcn.100249b0
movss xmm2, dword [esp + 0xb0]
movss xmm3, dword [0x1015bce4]
mov dword [edi + 0x58], 0
mov eax, dword [esp + 0x44]
and eax, 0xff000000
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x68]
je 0x10038443
cmp eax, 2
jle 0x10038443
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 [0x1015bd40]
mulss xmm0, dword [0x1015bdf0]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.10025420
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.10023ec0
mov eax, dword [esp + 0x68]
mov dword [edi + 0x58], 0
test dword [esp + 0x5c], 0xff000000
je 0x100384ba
cmp eax, 2
jle 0x100384ba
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 [0x1015bd40]
subss xmm2, dword [0x1015bce4]
mulss xmm0, dword [0x1015bdf0]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.10025420
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.10023ec0
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 [0x10190058]
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.10023ca0
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 0x100387cd
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.10023ec0
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 [0x1015bd40]
xorps xmm1, xmm1
movaps xmm3, xmm0
subss xmm3, dword [esp + 0x54]
comiss xmm1, xmm3
jbe 0x100387eb
xorps xmm3, xmm3
jmp 0x100387ef
minss xmm3, xmm0
movss xmm2, dword [esp + 0x50]
comiss xmm1, xmm2
jbe 0x100387ff
xorps xmm2, xmm2
jmp 0x10038803
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 0x10038baf
test eax, 0x2000000
je 0x10038bb3
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.10025bf0
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.10025bf0
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 [0x1015bd40]
add esp, 0x10
comiss xmm0, xmm2
jbe 0x1003894a
xorps xmm2, xmm2
jmp 0x1003894e
minss xmm2, xmm1
movss xmm5, dword [esp + 0x24]
movss xmm4, dword [esp + 0x48]
movss xmm7, dword [0x1015bce4]
mulss xmm2, xmm5
movss xmm6, dword [0x1015bd84]
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 0x1003899d
movss dword [esp + 0x38], xmm2
jmp 0x100389b0
comiss xmm3, xmm4
jbe 0x100389aa
movss dword [esp + 0x38], xmm4
jmp 0x100389b0
movss dword [esp + 0x38], xmm3
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x54]
comiss xmm0, xmm2
jbe 0x100389c3
xorps xmm2, xmm2
jmp 0x100389c7
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 0x10038a02
movss dword [esp + 0x3c], xmm1
jmp 0x10038a15
comiss xmm2, xmm0
jbe 0x10038a0f
movss dword [esp + 0x3c], xmm0
jmp 0x10038a15
movss dword [esp + 0x3c], xmm2
movss xmm2, dword [esp + 0xa4]
movaps xmm1, xmm5
mulss xmm1, dword [0x1015bc88]
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.10025bf0
movss xmm1, dword [esp + 0x48]
mov ecx, edi
movss xmm3, dword [esp + 0x34]
cmp ecx, 6
jl 0x10038a50
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 [0x1015bd84]
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 [0x1015bd40]
movss xmm2, dword [esp + 0xb4]
push dword [esp + 0x3c]
subss xmm2, dword [0x1015bd40]
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 [0x1015bce4]
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.100366c0
add esp, 0x20
mov ecx, dword [esp + 0x70]
cmp byte [esp + 0xf], 0
je 0x10038bcd
movss xmm2, dword [0x1015be0c]
movss dword [esp + 0xe8], xmm2
jmp 0x10038bd5
movss xmm2, dword [0x1015bdec]
test ecx, 0xff000000
je 0x10038c0e
push 0xb
push ecx
lea eax, [esp + 0x40]
mov dword [esp], 0x40b84e8a
push eax
xorps xmm3, xmm3
mov ecx, edi
call fcn.10025420
push dword [esp + 0x70]
mov ecx, edi
push dword [edi + 0x58]
push dword [edi + 0x60]
call fcn.100249b0
mov dword [edi + 0x58], 0
test dword [esp + 0x44], 0xff000000
je 0x10038c64
movss xmm2, dword [esp + 0xe8]
lea eax, [esp + 0x38]
addss xmm2, dword [0x1015bce4]
push 0xb
push ecx
mov dword [esp], 0x40b84e8a
xorps xmm3, xmm3
push eax
mov ecx, edi
call fcn.10025420
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.10023ec0
mov dword [edi + 0x58], 0
test dword [esp + 0x5c], 0xff000000
je 0x10038cba
movss xmm2, dword [esp + 0xe8]
lea eax, [esp + 0x38]
subss xmm2, dword [0x1015bce4]
push 0xb
push ecx
mov dword [esp], 0x40b84e8a
xorps xmm3, xmm3
push eax
mov ecx, edi
call fcn.10025420
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.10023ec0
mov dword [edi + 0x58], 0
cmp dword [esp + 0xec], 0x10000
jne 0x10038e6b
mov eax, dword [esp + 0x1c]
xorps xmm2, xmm2
movss xmm0, dword [eax + 0xc]
comiss xmm2, xmm0
jbe 0x10038ce7
movss dword [esp + 0xac], xmm2
jmp 0x10038cf8
minss xmm0, dword [0x1015bd40]
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 [0x1015bce4]
push edi
push ecx
xor ecx, ecx
call fcn.100363e0
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.10025bf0
push dword [esp + 0xd8]
xorps xmm0, xmm0
push dword [esp + 0xd8]
push dword [esp + 0xd8]
push edi
call fcn.1000c0f0
movss xmm1, dword [0x1015bd40]
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 [0x1015bce4]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x78]
addss xmm1, dword [0x1015bd84]
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.100366c0
add esp, 0x20
call fcn.10015860
cmp byte [esp + 0xd], 0
mov edi, dword [0x10190058]
je 0x10038f04
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 0x10038eb5
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x10038eba
add esi, 4
add ecx, 4
sub edx, 4
jae 0x10038ea4
cmp edx, 0xfffffffc
je 0x10038eff
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x10038ee7
cmp edx, 0xfffffffd
je 0x10038eff
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x10038ee7
cmp edx, 0xfffffffe
je 0x10038eff
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x10038ee7
cmp edx, 0xffffffff
je 0x10038eff
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x10038eff
mov eax, dword [edi + 0x19b0]
mov word [edi + 0x19fb], 0x101
or dword [eax + 0x11c], 4
jmp 0x10038f04
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.100dfe28
mov esp, ebp
pop ebp
ret