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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x128
mov dword [esp + 0x48], ecx
mov ecx, dword [0x102062d4]
mov dword [esp + 0xac], edx
push esi
push edi
mov eax, dword [ecx + 0x1a18]
mov dword [esp + 0x1c], ecx
mov byte [eax + 0x84], 1
mov edx, dword [ecx + 0x1a18]
mov dword [esp + 0x3c], edx
cmp byte [edx + 0x87], 0
je 0x1007b08b
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x1b00], 1
mov eax, dword [edx + 0x294]
mov dword [esp + 0x34], eax
je 0x1007b0a8
movss xmm1, dword [ecx + 0x1b04]
jmp 0x1007b0b0
movss xmm1, dword [edx + 0x1ac]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1007b0e9
cmp dword [edx + 0x194], 0
movss xmm0, dword [edx + 0x258]
je 0x1007b0d1
movss xmm0, dword [edx + 0x228]
subss xmm0, dword [edx + 0xd0]
addss xmm0, xmm1
movss xmm1, dword [0x101c736c]
maxss xmm1, xmm0
lea eax, [edx + 0xc4]
mov dword [ecx + 0x1b00], 0
mov ecx, dword [eax]
xor edx, edx
mov dword [esp + 0x90], eax
mov eax, dword [eax + 8]
cvttss2si esi, xmm1
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x54]
call fcn.100083b0
mov edx, dword [esp + 0x94]
add esp, 4
mov dword [esp + 0x14], eax
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [esp + 0x4c], eax
cmp ecx, eax
jne 0x1007b163
inc ecx
test eax, eax
je 0x1007b14a
cdq
sub eax, edx
mov edx, dword [esp + 0x90]
sar eax, 1
add eax, dword [esp + 0x4c]
jmp 0x1007b14f
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10025250
mov edx, dword [esp + 0x90]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4], edi
inc dword [edx]
call fcn.10018550
mov edx, dword [ebp + 8]
mov ecx, edx
mov edi, dword [esp + 0xb4]
or ecx, 0x10
test edx, 0x100
cmovne ecx, edx
mov dword [esp + 0xb0], ecx
test cl, 8
jne 0x1007b1aa
mov edx, ecx
mov ecx, edi
call fcn.1007e480
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x1c]
test ecx, 0x6000000
jne 0x1007b1d6
mov eax, dword [edx + 0x2db4]
mov ecx, 0xa900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, dword [esp + 0xb0]
mov dword [esp + 0x10], ecx
test ecx, 0x18000000
jne 0x1007b20d
mov eax, dword [edx + 0x2db4]
mov edi, 0xa900000
test eax, 0x18000000
cmovne edi, eax
mov eax, edi
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0xb4]
and eax, 0x18000000
or ecx, eax
mov dword [esp + 0x10], ecx
test cl, 8
jne 0x1007b223
mov eax, dword [edx + 0x2db4]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x10], ecx
mov eax, ecx
movss xmm2, dword [edx + 0x1570]
and eax, 2
movd xmm3, esi
mov dword [esp + 0xb0], eax
and ecx, 0x10002
mov eax, dword [esp + 0x3c]
cvtdq2ps xmm3, xmm3
mov dword [esp + 0xec], ecx
movss xmm5, dword [eax + 0xd0]
movss xmm0, dword [eax + 0xd4]
mov eax, dword [0x102062d4]
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x5c], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x98], xmm5
movss xmm4, dword [eax + 0x155c]
addss xmm4, xmm4
movss dword [esp + 0x58], xmm5
addss xmm4, dword [eax + 0x18e0]
xor eax, eax
cmp ecx, 0x10000
sete al
inc eax
addss xmm0, xmm4
movss dword [esp + 0x60], xmm4
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0xb0], eax
sete al
mulss xmm1, xmm0
movaps xmm0, xmm4
lea eax, [eax*4 + 0xc]
push eax
lea eax, [esp + 0x124]
subss xmm3, xmm1
movaps xmm1, xmm5
push edi
push eax
maxss xmm0, xmm3
addss xmm1, xmm0
movss dword [esp + 0x30], xmm0
addss xmm1, xmm2
movaps xmm0, xmm1
movss dword [esp + 0x98], xmm1
addss xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0x9c], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x101c7304]
cvttss2si esi, xmm0
mov dword [esp + 0xec], esi
call fcn.101378d0
movss xmm0, dword [esp + 0x30]
add esp, 0xc
movaps xmm4, xmm0
movaps xmm3, xmm0
mulss xmm3, dword [0x101c72f0]
mulss xmm4, dword [0x101c7324]
movss dword [esp + 0xa4], xmm3
movaps xmm2, xmm4
movss dword [esp + 0xac], xmm4
subss xmm2, xmm3
movaps xmm1, xmm4
addss xmm1, dword [esp + 0x30]
movaps xmm3, xmm0
mulss xmm0, dword [0x101c72e0]
addss xmm3, dword [esp + 0x60]
movss dword [esp + 0xa8], xmm2
cvttss2si eax, xmm0
mulss xmm3, dword [0x101c7324]
movss dword [esp + 0xcc], xmm1
movss dword [esp + 0xbc], xmm1
movaps xmm1, xmm2
addss xmm3, dword [esp + 0x98]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc8], xmm3
movss dword [esp + 0xb8], xmm3
subss xmm1, xmm0
movss xmm3, dword [edi]
movaps xmm0, xmm1
mulss xmm0, dword [0x101c7554]
movaps xmm2, xmm1
mov eax, dword [esp + 0x10]
mulss xmm2, dword [0x101c7560]
mov dword [esp + 0x44], 0
movss xmm4, dword [edi + 4]
movss dword [esp + 0xf0], xmm0
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x104], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x101c7354]
movss dword [esp + 0x40], xmm1
movaps xmm1, xmm3
movss dword [esp + 0x88], xmm1
movss dword [esp + 0x94], xmm1
movaps xmm1, xmm4
movss dword [esp + 0xa0], xmm2
movss dword [esp + 0x78], xmm2
movss xmm2, dword [edi + 8]
movss dword [esp + 0x9c], xmm0
movss dword [esp + 0x108], xmm0
movss xmm0, dword [0x101c7434]
movss dword [esp + 0x70], xmm1
movss dword [esp + 0x84], xmm1
movaps xmm1, xmm2
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x38], xmm4
movss dword [esp + 0x54], xmm2
movss dword [esp + 0x68], xmm1
movss dword [esp + 0x6c], xmm1
movss dword [esp + 0xe8], xmm0
test eax, 0x8000000
je 0x1007b5a2
comiss xmm2, xmm4
xorps xmm1, xmm1
xorps xmm6, xmm6
movaps xmm5, xmm4
movaps xmm7, xmm2
jbe 0x1007b4c7
movss xmm6, dword [0x101c7564]
movaps xmm5, xmm2
movaps xmm7, xmm4
comiss xmm5, xmm3
movaps xmm2, xmm3
movss dword [esp + 0x54], xmm2
jbe 0x1007b4f0
movss xmm0, dword [0x101c7550]
movaps xmm2, xmm5
subss xmm0, xmm6
movss dword [esp + 0x54], xmm2
movaps xmm5, xmm3
movaps xmm6, xmm0
movaps xmm0, xmm5
mov ecx, dword [esp + 0x1c]
minss xmm0, xmm7
movaps xmm4, xmm2
movaps xmm3, xmm5
subss xmm3, xmm7
mov eax, dword [ecx + 0x2dc0]
subss xmm4, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x101c7434]
addss xmm0, dword [0x101c72a4]
divss xmm3, xmm0
movaps xmm0, xmm2
addss xmm3, xmm6
addss xmm0, dword [0x101c72a4]
andps xmm3, xmmword [0x101c7de0]
divss xmm4, xmm0
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x38], xmm4
cmp eax, dword [edi]
jne 0x1007b5f7
mov eax, dword [ecx + 0x2dc4]
cmp eax, dword [edi + 4]
jne 0x1007b5f7
mov eax, dword [ecx + 0x2dc8]
cmp eax, dword [edi + 8]
jne 0x1007b5f7
ucomiss xmm4, xmm1
lahf
test ah, 0x44
jp 0x1007b589
movss xmm0, dword [ecx + 0x2db8]
movss dword [esp + 0x20], xmm0
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x1007b5f7
movss xmm0, dword [ecx + 0x2dbc]
movss dword [esp + 0x38], xmm0
jmp 0x1007b5f7
test eax, 0x10000000
je 0x1007b5f7
lea eax, [esp + 0x6c]
movaps xmm1, xmm4
push eax
lea edx, [esp + 0x88]
movaps xmm0, xmm3
lea ecx, [esp + 0x98]
call fcn.10009230
movss xmm0, dword [esp + 0x98]
add esp, 4
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x84]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x68], xmm0
mov ecx, dword [0x102062d4]
mov byte [esp + 0xd], 0
mov byte [esp + 0x1b], 0
mov byte [esp + 0xf], 0
mov eax, dword [ecx + 0x1a18]
mov byte [eax + 0x84], 1
mov ecx, dword [ecx + 0x1a18]
mov dword [esp + 0x3c], ecx
or dword [ecx + 0x1a8], 8
add ecx, 0x1b4
mov dword [esp + 0x14], ecx
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x1007b668
inc edx
mov dword [esp + 0x4c], edx
test eax, eax
je 0x1007b654
cdq
sub eax, edx
mov edx, dword [esp + 0x4c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1007b659
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10024990
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [esp + 0x3c]
mov ecx, dword [ecx + 8]
mov eax, dword [eax + 0x1a8]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x3c]
inc dword [eax + 0x1b4]
mov eax, dword [esp + 0x10]
test eax, 0x4000000
je 0x1007bc59
movss xmm1, dword [esp + 0x24]
lea edx, [esp + 0x28]
mov eax, dword [esp + 0x1c]
movaps xmm0, xmm1
push 0
mov ecx, 0x101c330c
movss dword [esp + 0x30], xmm1
addss xmm0, dword [eax + 0x1570]
addss xmm0, dword [esp + 0x64]
movss dword [esp + 0x2c], xmm0
call fcn.1006c7e0
mov eax, dword [0x102062d4]
add esp, 4
mov ecx, dword [eax + 0x1a50]
test ecx, ecx
je 0x1007bb49
mov eax, dword [eax + 0x1a18]
cmp ecx, dword [eax + 0x114]
jne 0x1007bb49
mov eax, dword [esp + 0x1c]
movss xmm0, dword [eax + 0x390]
subss xmm0, dword [esp + 0xcc]
movss xmm1, dword [eax + 0x38c]
subss xmm1, dword [esp + 0xc8]
movss xmm2, dword [eax + 0xe8]
movss xmm3, dword [eax + 0xec]
subss xmm2, dword [esp + 0xc8]
subss xmm3, dword [esp + 0xcc]
movaps xmm4, xmm0
movss dword [esp + 0xe4], xmm0
mulss xmm4, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x4c], xmm1
movss xmm1, dword [0x101c736c]
addss xmm4, xmm0
movss dword [esp + 0xd0], xmm2
movss xmm0, dword [esp + 0xa8]
subss xmm0, xmm1
movss dword [esp + 0xf4], xmm3
mulss xmm0, xmm0
comiss xmm4, xmm0
jb 0x1007b806
movss xmm0, dword [esp + 0xac]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm4
jb 0x1007b806
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x28], xmm0
fld qword [esp + 0x28]
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x28], xmm0
fld qword [esp + 0x28]
call fcn.10197bf0
movss xmm2, dword [0x101c7408]
xorps xmm0, xmm0
fstp qword [esp + 0x28]
movsd xmm1, qword [esp + 0x28]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x101c7324]
comiss xmm0, xmm1
movss dword [esp + 0x20], xmm1
jbe 0x1007b7fe
addss xmm1, dword [0x101c736c]
movss dword [esp + 0x20], xmm1
mov al, 1
mov byte [esp + 0xd], al
jmp 0x1007b818
mov al, byte [esp + 0xd]
movss xmm2, dword [0x101c7408]
movss xmm1, dword [esp + 0x20]
movaps xmm0, xmm1
mov byte [esp + 0x1b], al
xorps xmm0, xmmword [0x101c7e10]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x28], xmm0
call fcn.101981c0
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x3c], xmm0
movsd xmm0, qword [esp + 0x28]
call fcn.10199160
movss xmm4, dword [esp + 0x4c]
xorps xmm3, xmm3
movss xmm1, dword [esp + 0xe4]
movaps xmm5, xmm4
mulss xmm5, dword [esp + 0x3c]
movss xmm7, dword [esp + 0xf0]
cvtsd2ss xmm3, xmm0
movaps xmm0, xmm1
movss xmm6, dword [esp + 0x40]
mulss xmm1, dword [esp + 0x3c]
subss xmm6, xmm7
mulss xmm0, xmm3
mulss xmm4, xmm3
subss xmm5, xmm0
movss dword [esp + 0x14], xmm3
movss xmm0, dword [esp + 0xa0]
movaps xmm3, xmm7
subss xmm0, dword [esp + 0x9c]
addss xmm4, xmm1
movss dword [esp + 0xfc], xmm6
subss xmm3, xmm7
movaps xmm2, xmm5
subss xmm2, xmm7
movss dword [esp + 0xe4], xmm0
movss dword [esp + 0x4c], xmm3
movaps xmm1, xmm2
mulss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0x9c]
mulss xmm0, xmm3
xorps xmm3, xmm3
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xa0]
comiss xmm3, xmm1
movaps xmm1, xmm0
movss dword [esp + 0xd8], xmm0
movaps xmm0, xmm4
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0xa0]
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x1007bb41
movss xmm6, dword [esp + 0x9c]
subss xmm4, xmm3
subss xmm7, dword [esp + 0x40]
subss xmm5, dword [esp + 0x40]
subss xmm6, xmm3
mulss xmm4, xmm7
mulss xmm5, xmm6
movss dword [esp + 0x64], xmm6
movss dword [esp + 0x28], xmm7
subss xmm5, xmm4
comiss xmm3, xmm5
seta al
cmp cl, al
jne 0x1007bb41
movss xmm4, dword [esp + 0xd0]
movss xmm1, dword [esp + 0xf4]
movaps xmm5, xmm4
mulss xmm5, dword [esp + 0x3c]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x3c]
mulss xmm0, dword [esp + 0x14]
mulss xmm4, dword [esp + 0x14]
subss xmm5, xmm0
addss xmm4, xmm1
movaps xmm1, xmm5
movss dword [esp + 0xf4], xmm5
subss xmm1, dword [esp + 0xf0]
movaps xmm0, xmm4
movss dword [esp + 0xf8], xmm4
subss xmm0, dword [esp + 0x9c]
mulss xmm1, dword [esp + 0xe4]
mulss xmm0, dword [esp + 0x4c]
subss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xa0]
comiss xmm3, xmm1
mulss xmm0, dword [esp + 0xfc]
movaps xmm1, xmm5
subss xmm1, dword [esp + 0xf0]
seta cl
mulss xmm1, dword [esp + 0xd8]
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x1007ba59
movaps xmm1, xmm5
movaps xmm0, xmm4
subss xmm1, dword [esp + 0x40]
subss xmm0, xmm3
mulss xmm1, xmm6
mulss xmm0, xmm7
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp cl, al
je 0x1007ba99
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0x108]
push eax
lea eax, [esp + 0x7c]
push eax
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x108]
call fcn.10007cf0
movss xmm6, dword [esp + 0x70]
add esp, 0xc
movss xmm7, dword [esp + 0x28]
xorps xmm3, xmm3
movss xmm5, dword [eax]
movss xmm4, dword [eax + 4]
movss xmm2, dword [esp + 0xa0]
subss xmm4, xmm3
subss xmm5, dword [esp + 0x40]
subss xmm2, xmm3
movaps xmm1, xmm6
movaps xmm0, xmm7
mulss xmm1, xmm7
mulss xmm4, xmm7
mulss xmm6, xmm5
mulss xmm0, xmm2
subss xmm6, xmm4
mulss xmm5, xmm2
subss xmm1, xmm0
movss xmm0, dword [0x101c736c]
movaps xmm7, xmm0
subss xmm4, xmm5
divss xmm6, xmm1
divss xmm4, xmm1
movss xmm1, dword [0x101c72bc]
subss xmm7, xmm6
movss dword [esp + 0x38], xmm1
comiss xmm1, xmm7
movaps xmm3, xmm7
subss xmm3, xmm4
jbe 0x1007bb12
movaps xmm2, xmm1
movss dword [esp + 0x54], xmm1
jmp 0x1007bb1f
movaps xmm2, xmm0
minss xmm2, xmm7
movss dword [esp + 0x54], xmm2
divss xmm3, xmm2
comiss xmm1, xmm3
ja 0x1007bb35
movaps xmm1, xmm0
minss xmm1, xmm3
movss dword [esp + 0x38], xmm1
mov byte [esp + 0xf], 1
mov byte [esp + 0xd], 1
jmp 0x1007bb49
mov al, byte [esp + 0xd]
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0x10]
test al, 8
jne 0x1007bb5b
mov ecx, str.context
call fcn.10019890
mov edx, dword [0x102062d4]
movss xmm2, dword [esp + 0x24]
movss xmm3, dword [esp + 0x30]
cmp dword [esp + 0xec], 0x10000
jne 0x1007be3e
mov eax, dword [edx + 0x1a18]
mov ecx, str.alpha
movss xmm0, dword [esp + 0x90]
push 0
movss dword [esp + 0x7c], xmm2
mov byte [eax + 0x84], 1
mov eax, dword [edx + 0x1a18]
lea edx, [esp + 0x78]
movss dword [eax + 0xd0], xmm0
movss dword [eax + 0xd4], xmm3
movss xmm1, dword [eax + 0xe8]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xec]
maxss xmm0, xmm3
movss dword [eax + 0xe8], xmm1
movss dword [eax + 0xec], xmm0
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0x78], xmm0
call fcn.1006c7e0
mov edx, dword [0x102062d4]
add esp, 4
mov ecx, dword [edx + 0x1a50]
test ecx, ecx
je 0x1007be3e
mov eax, dword [edx + 0x1a18]
cmp ecx, dword [eax + 0x114]
mov ecx, dword [esp + 0x1c]
jne 0x1007be42
movss xmm3, dword [ecx + 0xec]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x24]
movss xmm1, dword [0x101c736c]
subss xmm3, dword [esp + 0x30]
subss xmm0, xmm1
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x1007be24
xorps xmm4, xmm4
jmp 0x1007be2b
test eax, 0x2000000
je 0x1007bb5b
movss xmm0, dword [esp + 0x24]
lea edx, [esp + 0x74]
push 0
mov ecx, 0x101c3310
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x7c], xmm0
call fcn.1006c7e0
mov eax, dword [0x102062d4]
add esp, 4
mov ecx, dword [eax + 0x1a50]
test ecx, ecx
je 0x1007bd2e
mov eax, dword [eax + 0x1a18]
cmp ecx, dword [eax + 0x114]
jne 0x1007bd2e
mov eax, dword [esp + 0x1c]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x24]
movss xmm1, dword [0x101c736c]
subss xmm4, xmm1
movss xmm3, dword [eax + 0xe8]
subss xmm3, dword [esp + 0x98]
divss xmm3, xmm4
comiss xmm0, xmm3
jbe 0x1007bce9
movss dword [esp + 0x38], xmm0
jmp 0x1007bcf6
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x38], xmm2
movss xmm2, dword [eax + 0xec]
subss xmm2, dword [esp + 0x30]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x1007bd12
xorps xmm3, xmm3
jmp 0x1007bd19
movaps xmm3, xmm1
minss xmm3, xmm2
movaps xmm0, xmm1
mov al, 1
subss xmm0, xmm3
mov byte [esp + 0xd], al
movss dword [esp + 0x54], xmm0
jmp 0x1007bd32
mov al, byte [esp + 0xd]
mov byte [esp + 0xf], al
mov byte [esp + 0xe], al
mov eax, dword [esp + 0x10]
test al, 8
jne 0x1007bd4c
mov ecx, str.context
call fcn.10019890
movss xmm0, dword [esp + 0x8c]
lea ecx, [esp + 0x74]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x78], xmm0
call fcn.10017cf0
movss xmm0, dword [esp + 0x60]
lea edx, [esp + 0x74]
movss dword [esp + 0x74], xmm0
mov ecx, 0x101c3314
movss xmm0, dword [esp + 0x24]
push 0
movss dword [esp + 0x7c], xmm0
call fcn.1006c7e0
mov edx, dword [0x102062d4]
add esp, 4
mov ecx, dword [edx + 0x1a50]
test ecx, ecx
je 0x1007bb61
mov al, byte [esp + 0xd]
mov byte [esp + 0xf], al
mov eax, dword [edx + 0x1a18]
cmp ecx, dword [eax + 0x114]
jne 0x1007bb61
mov eax, dword [esp + 0x1c]
movss xmm2, dword [esp + 0x24]
movss xmm3, dword [esp + 0x30]
movaps xmm0, xmm2
movss xmm1, dword [0x101c736c]
movss xmm4, dword [eax + 0xec]
subss xmm0, xmm1
subss xmm4, xmm3
divss xmm4, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm4
ja 0x1007be07
movaps xmm0, xmm1
minss xmm0, xmm4
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 0x1007bb6d
movaps xmm4, xmm1
minss xmm4, xmm3
movaps xmm0, xmm1
mov byte [esp + 0xd], 1
subss xmm0, xmm4
movss dword [edi + 0xc], xmm0
jmp 0x1007be42
mov ecx, dword [esp + 0x1c]
mov eax, dword [edx + 0x1a18]
mov byte [eax + 0x84], 1
mov edx, dword [edx + 0x1a18]
mov eax, dword [edx + 0x1b4]
add eax, 0xffffffff
mov dword [esp + 0x28], eax
mov dword [edx + 0x1b4], eax
jne 0x1007be6e
xor eax, eax
jmp 0x1007be83
mov esi, dword [esp + 0x28]
mov eax, dword [edx + 0x1bc]
mov eax, dword [eax + esi*4 - 4]
mov esi, dword [esp + 0xe0]
mov dword [edx + 0x1a8], eax
mov eax, dword [esp + 0x10]
test eax, 0x100
jne 0x1007bead
movss xmm1, dword [ecx + 0x1570]
xorps xmm0, xmm0
call fcn.10017c10
call fcn.10018550
mov eax, dword [esp + 0x10]
test al, al
js 0x1007bf15
mov edx, dword [esp + 0x50]
cmp edx, 0xffffffff
jae 0x1007bf15
nop word [eax + eax]
mov cl, byte [edx]
mov byte [esp + 0xe], cl
test cl, cl
je 0x1007beda
cmp cl, 0x23
jne 0x1007bed4
cmp byte [edx + 1], cl
je 0x1007beda
inc edx
cmp edx, 0xffffffff
jb 0x1007bec0
mov dword [esp + 0x14], edx
cmp dword [esp + 0x50], edx
je 0x1007bf15
test eax, 0x100
je 0x1007bf03
mov eax, dword [esp + 0x1c]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1570]
call fcn.10017c10
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x50]
push 0
call fcn.1006aec0
mov eax, dword [esp + 0x14]
add esp, 4
test eax, 0x100
jne 0x1007c12a
mov ecx, dword [0x102062d4]
mov eax, dword [ecx + 0x1a18]
mov byte [eax + 0x84], 1
mov ecx, dword [ecx + 0x1a18]
mov dword [esp + 0x14], ecx
or dword [ecx + 0x1a8], 0x10
add ecx, 0x1b4
mov dword [esp + 0x64], ecx
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x1007bf82
inc edx
mov dword [esp + 0x28], edx
test eax, eax
je 0x1007bf6e
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1007bf73
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10024990
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx + 8]
mov eax, dword [eax + 0x1a8]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x14]
inc dword [eax + 0x1b4]
mov eax, dword [esp + 0x10]
test al, 2
je 0x1007bfb0
movss xmm1, dword [0x101c736c]
jmp 0x1007bfb5
movss xmm1, dword [edi + 0xc]
movss xmm0, dword [edi]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x7c], xmm0
movss dword [esp + 0x80], xmm1
test al, al
jns 0x1007bff3
push str.Current
call fcn.1006b5a0
mov eax, dword [esp + 0x14]
add esp, 4
movss xmm1, dword [esp + 0x60]
lea edx, [esp + 0x74]
movaps xmm0, xmm1
and eax, 0x180e0040
mulss xmm0, dword [0x101c7404]
mov ecx, str.current
mov dword [esp + 0xfc], eax
movss dword [esp + 0xd8], xmm0
movss dword [esp + 0x28], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0xdc], xmm0
push dword [esp + 0xdc]
movss dword [esp + 0x68], xmm0
push dword [esp + 0xdc]
push eax
call fcn.1007d690
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x1007c11c
push str.Original
call fcn.1006b5a0
mov eax, dword [esp + 0x14]
add esp, 4
test al, 2
mov eax, dword [ebp + 0xc]
je 0x1007c081
movss xmm1, dword [0x101c736c]
jmp 0x1007c086
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0x104]
movss dword [esp + 0x104], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0x108], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x10c], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0x2c], xmm0
push dword [esp + 0x2c]
movss dword [esp + 0x114], xmm1
push dword [esp + 0x2c]
push dword [esp + 0x104]
call fcn.1007d690
add esp, 0xc
test al, al
je 0x1007c11c
xor eax, eax
cmp dword [esp + 0xb0], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [ebp + 0xc]
push edi
call fcn.101378d0
add esp, 0xc
mov byte [esp + 0xd], 1
call fcn.100166f0
call fcn.10018660
mov eax, dword [esp + 0x10]
cmp byte [esp + 0x1b], 0
jne 0x1007c13c
cmp byte [esp + 0xf], 0
je 0x1007c1fd
test eax, 0x8000000
je 0x1007c1d6
movss xmm1, dword [esp + 0x54]
lea eax, [edi + 8]
xorps xmm0, xmm0
lea edx, [edi + 4]
comiss xmm1, xmm0
jbe 0x1007c160
movaps xmm3, xmm1
jmp 0x1007c168
movss xmm3, dword [0x101c72ac]
movss xmm1, dword [esp + 0x38]
comiss xmm1, xmm0
movss xmm2, dword [0x101c72b0]
ja 0x1007c17e
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x20]
comiss xmm0, dword [0x101c736c]
jb 0x1007c191
subss xmm0, xmm2
push eax
mov ecx, edi
movaps xmm2, xmm3
call fcn.10009230
mov ecx, dword [esp + 0x20]
add esp, 4
movss xmm0, dword [esp + 0x38]
movss xmm1, dword [esp + 0x20]
movss dword [ecx + 0x2db8], xmm1
movss dword [ecx + 0x2dbc], xmm0
movq xmm0, qword [edi]
movq qword [ecx + 0x2dc0], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 0x2dc8], eax
jmp 0x1007c1fd
test eax, 0x10000000
je 0x1007c1fd
movss xmm0, dword [esp + 0x38]
movss xmm1, dword [esp + 0x20]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [edi], xmm1
movss dword [edi + 8], xmm0
mov eax, dword [esp + 0x10]
mov byte [esp + 0xe], 0
test al, 0x20
jne 0x1007c40e
cmp dword [esp + 0xec], 0x10000
jne 0x1007c226
movss xmm0, dword [esp + 0x90]
jmp 0x1007c22f
movss xmm0, dword [esp + 0x8c]
addss xmm0, dword [esp + 0x60]
subss xmm0, dword [esp + 0x98]
call fcn.10018000
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 0x198e001a
mov dword [esp + 0x50], ecx
test eax, 0x100000
jne 0x1007c261
test eax, 0x700000
jne 0x1007c2a8
or ecx, 0x100004
mov edx, edi
push ecx
mov ecx, str.rgb
call fcn.10079cc0
add esp, 4
test al, al
je 0x1007c2a0
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x1a50], 0
je 0x1007c296
cmp byte [eax + 0x1a5d], 0
mov byte [esp + 0xe], 1
je 0x1007c29b
mov byte [esp + 0xe], 0
mov byte [esp + 0xd], 1
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x10]
test eax, 0x200000
jne 0x1007c2b6
test eax, 0x700000
jne 0x1007c2d4
or ecx, 0x200004
mov edx, edi
push ecx
mov ecx, str.hsv
call fcn.10079cc0
add esp, 4
or byte [esp + 0xd], al
mov eax, dword [esp + 0x10]
test eax, 0x400000
jne 0x1007c2e2
test eax, 0x700000
jne 0x1007c2ff
mov eax, dword [esp + 0x50]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.10079cc0
add esp, 4
or byte [esp + 0xd], al
call fcn.100181c0
cmp byte [esp + 0xe], 0
mov eax, dword [esp + 0x10]
je 0x1007c40e
xorps xmm2, xmm2
test eax, 0x8000000
je 0x1007c411
movss xmm3, dword [edi + 4]
xorps xmm6, xmm6
movss xmm5, dword [edi + 8]
comiss xmm5, xmm3
movss xmm4, dword [edi]
jbe 0x1007c348
movss xmm6, dword [0x101c7564]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1007c365
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x101c7550]
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 [0x101c72a4]
movaps xmm7, xmm1
mulss xmm1, dword [0x101c7434]
divss xmm7, xmm0
addss xmm1, dword [0x101c72a4]
divss xmm3, xmm1
addss xmm3, xmm6
andps xmm3, xmmword [0x101c7de0]
comiss xmm2, xmm3
jb 0x1007c411
movss xmm0, dword [esp + 0x20]
comiss xmm0, xmm2
jbe 0x1007c411
comiss xmm2, xmm4
jb 0x1007c3e3
movss xmm1, dword [esp + 0x54]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1007c3df
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x38]
mulss xmm2, dword [0x101c7324]
jmp 0x1007c3f9
mov eax, dword [esp + 0x10]
comiss xmm2, xmm7
jb 0x1007c411
movss xmm1, dword [esp + 0x38]
movaps xmm2, xmm4
mulss xmm1, dword [0x101c7324]
lea eax, [edi + 8]
mov ecx, edi
push eax
lea edx, [edi + 4]
call fcn.10009230
mov eax, dword [esp + 0x14]
add esp, 4
xorps xmm2, xmm2
cmp byte [esp + 0xd], 0
je 0x1007c5b1
test eax, 0x8000000
je 0x1007c542
movss xmm0, dword [edi + 4]
xorps xmm5, xmm5
movss xmm3, dword [edi + 8]
movaps xmm1, xmm0
comiss xmm3, xmm0
movss xmm7, dword [edi]
movaps xmm6, xmm3
movss dword [esp + 0x88], xmm7
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x68], xmm3
jbe 0x1007c466
movss xmm5, dword [0x101c7564]
movaps xmm1, xmm3
movaps xmm6, xmm0
comiss xmm1, xmm7
movaps xmm4, xmm7
movss dword [esp + 0x54], xmm4
jbe 0x1007c48f
movss xmm0, dword [0x101c7550]
movaps xmm4, xmm1
subss xmm0, xmm5
movss dword [esp + 0x54], xmm4
movaps xmm1, xmm7
movaps xmm5, xmm0
movaps xmm0, xmm1
mov ecx, dword [esp + 0x1c]
minss xmm0, xmm6
movaps xmm3, xmm4
subss xmm1, xmm6
mov eax, dword [ecx + 0x2dc0]
subss xmm3, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x101c7434]
addss xmm0, dword [0x101c72a4]
divss xmm1, xmm0
movaps xmm0, xmm4
addss xmm1, xmm5
addss xmm0, dword [0x101c72a4]
andps xmm1, xmmword [0x101c7de0]
divss xmm3, xmm0
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x38], xmm3
cmp eax, dword [edi]
jne 0x1007c5b5
mov eax, dword [ecx + 0x2dc4]
cmp eax, dword [edi + 4]
jne 0x1007c5b5
mov eax, dword [ecx + 0x2dc8]
cmp eax, dword [edi + 8]
jne 0x1007c5b5
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jp 0x1007c525
movss xmm0, dword [ecx + 0x2db8]
movss dword [esp + 0x20], xmm0
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jp 0x1007c5b5
movss xmm0, dword [ecx + 0x2dbc]
movss dword [esp + 0x38], xmm0
jmp 0x1007c5b5
test eax, 0x10000000
je 0x1007c5b1
movss xmm0, dword [edi]
lea eax, [esp + 0x6c]
movss xmm1, dword [edi + 4]
lea edx, [esp + 0x84]
movss xmm2, dword [edi + 8]
lea ecx, [esp + 0x94]
push eax
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0x58], xmm2
call fcn.10009230
movss xmm0, dword [esp + 0x98]
add esp, 4
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x84]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x68], xmm0
mov ecx, dword [esp + 0x1c]
movss xmm2, dword [ecx + 0x1520]
xorps xmm0, xmm0
comiss xmm0, xmm2
movss xmm0, dword [0x101c736c]
jbe 0x1007c5d2
xorps xmm1, xmm1
jmp 0x1007c5d9
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x101c74f4]
mov dword [esp + 0x74], 0x3f800000
movss dword [esp + 0x80], xmm2
movaps xmm2, xmm0
mov dword [esp + 0x78], 0x3f800000
addss xmm1, dword [0x101c7324]
mov dword [esp + 0x7c], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movss xmm0, dword [esp + 0x20]
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x4c], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x50], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x104], ecx
or eax, 0x808080
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x6c], eax
lea ecx, [esp + 0x74]
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x108], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x10c], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x110], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0x114], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0x78]
mov dword [esp + 0x118], eax
lea eax, [esp + 0x7c]
push eax
call fcn.10009230
add esp, 4
lea ecx, [esp + 0x74]
call fcn.100090f0
movss xmm0, dword [esp + 0x88]
lea ecx, [esp + 0x74]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x70]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x1c]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [eax + 0x1520]
movss dword [esp + 0x80], xmm0
call fcn.100090f0
mov ecx, eax
mov dword [esp + 0xd4], 0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x70], ecx
mov dword [esp + 0xd0], 0
test eax, 0x4000000
je 0x1007cf8f
movss xmm1, dword [esp + 0xac]
mov eax, 0x2aaaaaab
movss xmm4, dword [0x101c7324]
movss xmm2, dword [esp + 0xa8]
divss xmm4, xmm1
mov esi, dword [esp + 0x34]
addss xmm2, xmm1
cvttss2si ecx, xmm1
mulss xmm2, dword [0x101c7324]
imul ecx
movss dword [esp + 0xd8], xmm4
movss dword [esp + 0xfc], xmm2
mov eax, 4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0xf4], ecx
mov dword [esp + 0x68], eax
nop dword [eax]
nop word [eax + eax]
movd xmm1, eax
lea eax, [esp + 0xb8]
cvtdq2ps xmm1, xmm1
mov edi, dword [esi + 0x18]
push ecx
push ecx
mov ecx, esi
movaps xmm0, xmm1
addss xmm1, dword [0x101c736c]
divss xmm0, dword [0x101c7434]
divss xmm1, dword [0x101c7434]
addss xmm0, xmm0
addss xmm1, xmm1
mulss xmm0, dword [0x101c7408]
mulss xmm1, dword [0x101c7408]
subss xmm0, xmm4
addss xmm1, xmm4
movaps xmm3, xmm0
movss dword [esp + 0x1c], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x48], xmm1
call fcn.1005df90
movss xmm0, dword [esp + 0xa4]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0x58]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.1005cd50
movss xmm0, dword [esp + 0x14]
cvtps2pd xmm0, xmm0
mov dword [esi + 0x54], 0
call fcn.101981c0
movss xmm1, dword [esp + 0x14]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xa8]
addss xmm0, dword [esp + 0xc8]
movss dword [esp + 0x28], xmm0
cvtps2pd xmm0, xmm1
call fcn.10199160
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xa8]
addss xmm0, dword [esp + 0xcc]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x3c]
cvtps2pd xmm0, xmm0
call fcn.101981c0
movss xmm1, dword [esp + 0x3c]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xa8]
addss xmm0, dword [esp + 0xc8]
movss dword [esp + 0x88], xmm0
cvtps2pd xmm0, xmm1
call fcn.10199160
movss xmm2, dword [esp + 0x88]
xorps xmm3, xmm3
movss xmm4, dword [esp + 0x28]
movss xmm5, dword [esp + 0x64]
subss xmm2, xmm4
mov eax, dword [esp + 0x68]
cvtsd2ss xmm3, xmm0
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + eax*4 + 0x104]
mov eax, dword [esi + 0x18]
movss xmm6, dword [0x101c736c]
movaps xmm0, xmm2
mulss xmm3, dword [esp + 0xa8]
mulss xmm0, xmm2
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
movss dword [esp + 0x88], xmm2
addss xmm3, dword [esp + 0xcc]
mov dword [esp + 0x28], eax
subss xmm3, xmm5
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm1, xmm0
divss xmm6, xmm1
movzx eax, cl
mov dword [esp + 0x3c], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x14], eax
shr ecx, 0x10
movzx eax, cl
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + eax*4 + 0x108]
movzx eax, cl
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x64], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x14]
shr ecx, 0x10
mov dword [esp + 0x8c], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0x28]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x84]
cmp edx, edi
jae 0x1007ca88
mov eax, dword [esp + 0x8c]
mov esi, dword [esp + 0x64]
movd xmm7, ecx
mov ecx, dword [esp + 0x84]
cvtdq2ps xmm7, xmm7
nop dword [eax + eax]
movss xmm0, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm0, xmm4
subss xmm1, xmm5
mulss xmm0, xmm2
mulss xmm1, xmm3
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, xmm6
comiss xmm0, xmm1
jbe 0x1007c9ee
xorps xmm2, xmm2
jmp 0x1007c9fa
movss xmm2, dword [0x101c736c]
minss xmm2, xmm1
movd xmm1, ecx
movaps xmm0, xmm2
mulss xmm0, xmm7
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvttss2si ecx, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm1
shl ecx, 8
movd xmm1, dword [esp + 0x14]
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
or ecx, eax
shl ecx, 8
mulss xmm2, xmm0
movd xmm0, dword [esp + 0x3c]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0x88]
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov eax, dword [esp + 0x8c]
mov dword [edx + 0x10], ecx
add edx, 0x14
mov ecx, dword [esp + 0x84]
cmp edx, edi
jb 0x1007c9c0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x68]
movss xmm2, dword [esp + 0xfc]
inc eax
movss xmm4, dword [esp + 0xd8]
mov ecx, dword [esp + 0xf4]
mov dword [esp + 0x68], eax
cmp eax, 6
jl 0x1007c7a0
movss xmm0, dword [esp + 0x20]
addss xmm0, xmm0
mulss xmm0, dword [0x101c7408]
movss dword [esp + 0x20], xmm0
cvtps2pd xmm0, xmm0
call fcn.101981c0
movss xmm1, dword [esp + 0x20]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x14], xmm0
cvtps2pd xmm0, xmm1
call fcn.10199160
cmp byte [esp + 0x1b], 0
xorps xmm1, xmm1
movss xmm3, dword [esp + 0xa8]
addss xmm3, dword [esp + 0xac]
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x14]
mulss xmm0, xmm3
movss dword [esp + 0x28], xmm1
mulss xmm0, dword [0x101c7324]
addss xmm0, dword [esp + 0xc8]
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm1
movss xmm1, dword [esp + 0xa4]
mulss xmm0, xmm3
mulss xmm0, dword [0x101c7324]
addss xmm0, dword [esp + 0xcc]
movss dword [esp + 0x5c], xmm0
je 0x1007cb63
mulss xmm1, dword [0x101c7330]
jmp 0x1007cb6b
mulss xmm1, dword [0x101c7328]
movaps xmm0, xmm1
movss dword [esp + 0xa4], xmm1
divss xmm0, dword [0x101c7398]
cvttss2si esi, xmm0
cmp esi, 9
jge 0x1007cb8f
mov esi, 9
jmp 0x1007cb99
mov eax, 0x20
cmp esi, eax
cmovg esi, eax
mov edi, dword [esp + 0x34]
lea eax, [esp + 0x58]
push esi
push dword [esp + 0x98]
movaps xmm2, xmm1
mov ecx, edi
push eax
call fcn.1005f350
movss xmm2, dword [esp + 0xa4]
lea eax, [esp + 0x58]
addss xmm2, dword [0x101c736c]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
push dword [esp + 0x74]
push eax
call fcn.1005f220
movss xmm2, dword [esp + 0xa4]
lea eax, [esp + 0x58]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
mov esi, dword [esp + 0x58]
push esi
push eax
call fcn.1005f220
movss xmm4, dword [esp + 0x14]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x28]
movaps xmm2, xmm4
mulss xmm2, dword [esp + 0x40]
movaps xmm0, xmm5
mov eax, dword [0x102062d4]
movss xmm6, dword [esp + 0xc8]
movaps xmm3, xmm4
mulss xmm0, xmm1
movss xmm7, dword [esp + 0xcc]
mulss xmm3, dword [esp + 0xf0]
subss xmm2, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0xf0]
addss xmm2, xmm6
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x74], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x40]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xa0]
addss xmm2, xmm7
movss dword [esp + 0xac], xmm2
movss dword [esp + 0x78], xmm2
movaps xmm2, xmm3
subss xmm2, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0xa0]
addss xmm0, xmm1
addss xmm2, xmm6
addss xmm0, xmm7
movss dword [esp + 0x40], xmm2
movss xmm2, dword [esp + 0x9c]
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm5
mulss xmm2, xmm4
subss xmm3, xmm0
movss xmm0, dword [eax + 0x18e8]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [eax + 0x18ec]
addss xmm2, xmm1
movss dword [esp + 0x64], xmm0
addss xmm3, xmm6
addss xmm2, xmm7
movss dword [esp + 0x3c], xmm3
movss dword [esp + 0xb8], xmm3
movss dword [esp + 0x9c], xmm2
movss dword [esp + 0xbc], xmm2
push 6
push 6
mov ecx, edi
call fcn.1005c900
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x30]
movss xmm2, dword [esp + 0x14]
movss xmm3, dword [esp + 0xac]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss xmm0, dword [esp + 0x28]
movss xmm1, dword [esp + 0x64]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
mov edx, dword [esp + 0x94]
movss xmm5, dword [esp + 0x40]
movss xmm4, dword [esp + 0x44]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
movss xmm6, dword [esp + 0x3c]
movss xmm7, dword [esp + 0x9c]
mov dword [eax + 0x10], edx
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x30]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], edx
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x30]
mov ecx, dword [edi + 0x30]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm6
movss dword [eax + 4], xmm7
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], esi
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x30]
mov ecx, dword [edi + 0x30]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
mov eax, dword [edi + 0x38]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov ecx, dword [edi + 0x30]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov ecx, dword [esp + 0x4c]
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], ecx
mov eax, dword [edi + 0x38]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov ecx, dword [edi + 0x30]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
push ecx
mov dword [esp], 0x3fc00000
mov ecx, edi
push dword [esp + 0x70]
movss dword [eax], xmm6
movss dword [eax + 4], xmm7
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
lea eax, [esp + 0xc0]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.1005eff0
movss xmm1, dword [0x101c736c]
xorps xmm0, xmm0
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x54]
comiss xmm0, xmm2
jbe 0x1007ceef
xorps xmm5, xmm5
jmp 0x1007cef6
movaps xmm5, xmm1
minss xmm5, xmm2
movss xmm2, dword [esp + 0x38]
comiss xmm0, xmm2
jbe 0x1007cf06
xorps xmm4, xmm4
jmp 0x1007cf0d
movaps xmm4, xmm1
minss xmm4, xmm2
movss xmm1, dword [esp + 0x14]
subss xmm1, dword [esp + 0x3c]
movss xmm3, dword [esp + 0x40]
movss xmm2, dword [esp + 0x44]
mov esi, dword [esp + 0xe0]
mov edi, dword [esp + 0xb4]
mulss xmm1, xmm4
mov ecx, dword [esp + 0x70]
addss xmm1, dword [esp + 0x3c]
subss xmm3, xmm1
mulss xmm3, xmm5
addss xmm3, xmm1
movss xmm1, dword [esp + 0xac]
subss xmm1, dword [esp + 0x9c]
movss dword [esp + 0xd0], xmm3
mulss xmm1, xmm4
addss xmm1, dword [esp + 0x9c]
subss xmm2, xmm1
mulss xmm2, xmm5
addss xmm2, xmm1
movss dword [esp + 0xd4], xmm2
jmp 0x1007d2de
test eax, 0x2000000
je 0x1007d2db
movss xmm0, dword [esp + 0x98]
addss xmm0, dword [esp + 0x24]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x94]
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x40]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x3c]
addss xmm0, dword [esp + 0x30]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x6c]
push eax
movss dword [esp + 0x5c], xmm0
call fcn.1005ebc0
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0xb8]
movss xmm0, dword [esp + 0x98]
addss xmm0, dword [esp + 0x24]
push ecx
push ecx
mov ecx, dword [esp + 0x3c]
push 0
push 0
push eax
movss dword [esp + 0xcc], xmm0
lea eax, [esp + 0x6c]
movss xmm0, dword [esp + 0x58]
push eax
movss dword [esp + 0xd4], xmm0
call fcn.1005ebc0
movss xmm0, dword [esp + 0x98]
xorps xmm2, xmm2
addss xmm0, dword [esp + 0x24]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x2c], xmm0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.1000b6b0
movss xmm2, dword [esp + 0x48]
xorps xmm0, xmm0
movss xmm1, dword [0x101c736c]
add esp, 0x10
comiss xmm0, xmm2
jbe 0x1007d081
xorps xmm3, xmm3
jmp 0x1007d088
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm4, dword [esp + 0x24]
movss xmm5, dword [esp + 0x98]
movss xmm7, dword [0x101c7324]
movaps xmm2, xmm5
mulss xmm3, xmm4
movss xmm6, dword [0x101c73d0]
addss xmm2, xmm6
addss xmm3, xmm5
addss xmm3, xmm7
cvttss2si eax, xmm3
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm2, xmm3
ja 0x1007d0d9
movaps xmm2, xmm5
addss xmm2, xmm4
subss xmm2, xmm6
minss xmm2, xmm3
movss dword [esp + 0xd0], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x54]
comiss xmm0, xmm2
jbe 0x1007d0f5
xorps xmm1, xmm1
jmp 0x1007d0f9
minss xmm1, xmm2
movss xmm2, dword [esp + 0x30]
mulss xmm1, xmm4
movaps xmm0, xmm2
addss xmm0, xmm6
addss xmm1, xmm2
addss xmm1, xmm7
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1007d130
movss xmm0, dword [esp + 0x44]
subss xmm0, xmm6
minss xmm0, xmm1
movss xmm3, dword [esp + 0x8c]
movaps xmm1, xmm4
divss xmm1, dword [0x101c7434]
mov esi, dword [esp + 0x34]
xor ecx, ecx
movss dword [esp + 0xd4], xmm0
movaps xmm0, xmm3
addss xmm0, dword [esp + 0x60]
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x74], xmm3
movss dword [esp + 0xb8], xmm0
mov eax, dword [esp + ecx*4 + 0x108]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0xc0]
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0xc4], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x10c]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x88]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0x90], xmm0
call fcn.1005ebc0
movss xmm1, dword [esp + 0x28]
mov ecx, edi
movss xmm2, dword [esp + 0x30]
cmp ecx, 6
jl 0x1007d171
movss xmm3, dword [esp + 0x8c]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x24]
movaps xmm1, xmm3
movss dword [esp + 0x44], xmm2
addss xmm1, dword [esp + 0x60]
movss dword [esp + 0x40], xmm3
xorps xmm2, xmm2
movss dword [esp + 0x5c], xmm0
push dword [esp + 0x5c]
movss dword [esp + 0x5c], xmm1
push dword [esp + 0x5c]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.1000b6b0
mov esi, dword [esp + 0xf0]
add esp, 0xc
movss xmm3, dword [esp + 0x64]
addss xmm3, dword [0x101c73d0]
mov ecx, dword [esp + 0x38]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x60], xmm2
addss xmm0, dword [0x101c736c]
movss xmm2, dword [esp + 0x90]
subss xmm2, dword [0x101c736c]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0x24]
mulss xmm0, dword [esp + 0x28]
movss dword [esp + 0x44], xmm2
addss xmm0, dword [esp + 0x34]
addss xmm0, dword [0x101c7324]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x20]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x48], xmm0
movss xmm0, dword [eax + 0x1520]
movss dword [esp], xmm0
push dword [esp + 0x60]
push dword [esp + 0x60]
push dword [esp + 0x50]
push dword [esp + 0x50]
call fcn.1007ae00
mov edi, dword [esp + 0xc8]
add esp, 0x14
mov ecx, dword [esp + 0x70]
xorps xmm0, xmm0
cmp byte [esp + 0xf], 0
je 0x1007d2f8
movss xmm1, dword [0x101c7458]
movss dword [esp + 0xe8], xmm1
jmp 0x1007d300
movss xmm1, dword [0x101c7434]
test ecx, 0xff000000
je 0x1007d347
comiss xmm0, xmm1
jae 0x1007d347
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0xd0]
push 0xb
push 0
push eax
movaps xmm2, xmm1
call fcn.1005de40
mov eax, dword [esp + 0x34]
mov ecx, eax
push dword [esp + 0x70]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.1005da80
mov eax, dword [esp + 0x34]
mov dword [eax + 0x54], 0
jmp 0x1007d34b
mov eax, dword [esp + 0x34]
test dword [esp + 0x6c], 0xff000000
xorps xmm0, xmm0
movss xmm1, dword [esp + 0xe8]
movaps xmm2, xmm1
addss xmm2, dword [0x101c736c]
je 0x1007d3c2
comiss xmm0, xmm2
jae 0x1007d3c2
subss xmm2, dword [0x101c7324]
push 0xb
push 0
lea ecx, [esp + 0xd8]
push ecx
mov ecx, eax
call fcn.1005de40
mov eax, dword [esp + 0x34]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x74]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.1005cd50
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm1, dword [esp + 0xe8]
mov dword [eax + 0x54], 0
test dword [esp + 0x50], 0xff000000
je 0x1007d419
comiss xmm0, xmm1
jae 0x1007d419
subss xmm1, dword [0x101c7324]
push 0xb
push 0
lea ecx, [esp + 0xd8]
push ecx
movaps xmm2, xmm1
mov ecx, eax
call fcn.1005de40
mov eax, dword [esp + 0x34]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x58]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.1005cd50
mov eax, dword [esp + 0x34]
mov dword [eax + 0x54], 0
cmp dword [esp + 0xec], 0x10000
jne 0x1007d5cf
movss xmm1, dword [edi + 0xc]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x1007d443
movss xmm0, dword [0x101c736c]
minss xmm0, xmm1
movss xmm2, dword [esp + 0x90]
xor edx, edx
movaps xmm1, xmm2
movss dword [esp + 0x4c], xmm0
addss xmm1, dword [esp + 0x60]
movss xmm0, dword [esp + 0x30]
push 0xffffffffffffffff
push ecx
mov dword [esp], 0
movss dword [esp + 0xc8], xmm1
subss xmm1, xmm2
movss dword [esp + 0xc4], xmm0
addss xmm0, dword [esp + 0x2c]
mov dword [esp + 0x64], 0
push dword [esp + 0x64]
mulss xmm1, dword [0x101c7324]
mov dword [esp + 0x64], 0
push dword [esp + 0x64]
movss dword [esp + 0xd4], xmm0
push ecx
movss dword [esp], xmm1
mov ecx, eax
push dword [esp + 0xd8]
movss dword [esp + 0xd0], xmm2
push dword [esp + 0xd8]
mov edi, dword [esp + 0xd4]
push dword [esp + 0xd8]
push edi
call fcn.10066770
mov ecx, dword [esp + 0x94]
add esp, 0x24
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.1005ebc0
push dword [esp + 0xc4]
xorps xmm2, xmm2
push dword [esp + 0xc4]
push dword [esp + 0xc4]
push edi
call fcn.1000b6b0
movss xmm1, dword [0x101c736c]
add esp, 0xc
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x38]
movss xmm3, dword [esp + 0x64]
movaps xmm0, xmm2
movss dword [esp + 0x60], xmm2
movss xmm2, dword [esp + 0x94]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0x50]
addss xmm3, dword [0x101c73d0]
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x44], xmm2
mulss xmm1, dword [esp + 0x28]
addss xmm1, dword [esp + 0x34]
addss xmm1, dword [0x101c7324]
cvttss2si eax, xmm1
movd xmm0, eax
mov eax, dword [esp + 0x20]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x48], xmm0
movss xmm0, dword [eax + 0x1520]
movss dword [esp], xmm0
push dword [esp + 0x60]
push dword [esp + 0x60]
push dword [esp + 0x50]
push dword [esp + 0x50]
call fcn.1007ae00
add esp, 0x14
call fcn.10018660
cmp byte [esp + 0xd], 0
mov edi, dword [0x102062d4]
je 0x1007d670
mov ecx, dword [esp + 0xb4]
lea esi, [esp + 0x120]
xor edx, edx
cmp dword [esp + 0xb0], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x1007d621
nop dword [eax + eax]
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x1007d626
add esi, 4
add ecx, 4
sub edx, 4
jae 0x1007d610
cmp edx, 0xfffffffc
je 0x1007d66b
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x1007d653
cmp edx, 0xfffffffd
je 0x1007d66b
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x1007d653
cmp edx, 0xfffffffe
je 0x1007d66b
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x1007d653
cmp edx, 0xffffffff
je 0x1007d66b
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x1007d66b
mov eax, dword [edi + 0x1a18]
mov word [edi + 0x1a60], 0x101
or dword [eax + 0x118], 4
jmp 0x1007d670
mov byte [esp + 0xd], 0
mov ecx, dword [edi + 0x1a18]
mov al, byte [esp + 0xd]
pop edi
pop esi
dec dword [ecx + 0xc4]
mov esp, ebp
pop ebp
ret