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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x130
mov eax, dword [0x10111040]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x44], ecx
mov ecx, dword [0x10117114]
mov dword [esp + 0x48], eax
push esi
push edi
mov eax, dword [ecx + 0x3e60]
mov dword [esp + 0x24], edx
mov dword [esp + 0x40], ecx
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e60]
mov dword [esp + 0xb0], eax
cmp byte [eax + 0xaf], 0
je 0x1007f98e
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.10093c50
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x46c0], 1
mov edi, dword [eax + 0x264]
mov dword [esp + 0x44], edi
je 0x1007f9ab
movss xmm1, dword [ecx + 0x46c8]
jmp 0x1007f9b3
movss xmm1, dword [eax + 0x1a0]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1007f9f5
cmp dword [eax + 0x190], 0
jne 0x1007f9d3
cmp dword [ecx + 0x4a28], 0
lea edx, [eax + 0x228]
je 0x1007f9d9
lea edx, [eax + 0x1f8]
movss xmm0, dword [edx]
subss xmm0, dword [eax + 0xf0]
addss xmm0, xmm1
movss xmm1, dword [0x101074ec]
maxss xmm1, xmm0
mov dword [ecx + 0x46c0], 0
mov dword [ecx + 0x46c4], 0
mov ecx, dword [esp + 0x4c]
cvttss2si esi, xmm1
call fcn.100127d0
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 0x59c8]
mov dword [esp + 0xd4], eax
test eax, eax
jne 0x1007fa48
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 0xe4]
mov eax, dword [eax + 0xec]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x59c8], eax
call fcn.100155b0
mov ecx, dword [ebp + 8]
mov edx, ecx
or edx, 0x10
test ecx, 0x100
cmovne edx, ecx
mov dword [esp + 0x78], edx
test dl, 8
jne 0x1007fa74
mov ecx, dword [esp + 0x24]
call fcn.10083900
mov edx, dword [esp + 0x78]
test edx, 0x6000000
jne 0x1007fa9d
mov eax, dword [esp + 0x40]
mov ecx, 0xa900000
mov eax, dword [eax + 0x59c4]
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x1007fa9f
mov ecx, edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], ecx
test ecx, 0x18000000
jne 0x1007fad3
mov eax, dword [edx + 0x59c4]
mov edi, 0xa900000
test eax, 0x18000000
cmovne edi, eax
mov eax, edi
mov edi, dword [esp + 0x44]
and eax, 0x18000000
or ecx, eax
mov dword [esp + 0xc], ecx
test cl, 8
jne 0x1007fae9
mov eax, dword [edx + 0x59c4]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0xc], ecx
mov eax, ecx
movss xmm2, dword [edx + 0x37dc]
and eax, 2
and ecx, 0x10002
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc8], ecx
movss xmm0, dword [eax + 0xf4]
movss xmm3, dword [eax + 0xf0]
mov eax, dword [0x10117114]
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x5c], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x58], xmm3
movss xmm4, dword [eax + 0x37c8]
addss xmm4, xmm4
addss xmm4, dword [eax + 0x3bcc]
xor eax, eax
cmp ecx, 0x10000
sete al
inc eax
addss xmm0, xmm4
movss dword [esp + 0x64], xmm4
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0xcc], eax
sete al
mulss xmm1, xmm0
lea eax, [eax*4 + 0xc]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push eax
lea eax, [esp + 0x128]
push dword [esp + 0x28]
subss xmm0, xmm1
movaps xmm1, xmm4
push eax
maxss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [esp + 0x38], xmm1
addss xmm0, xmm2
movss dword [esp + 0x94], xmm0
addss xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0xcc], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x10107480]
cvttss2si esi, xmm0
mov dword [esp + 0xd0], esi
call fcn.10098fe0
movss xmm2, dword [esp + 0x38]
add esp, 0xc
movaps xmm4, xmm2
movaps xmm1, xmm2
mulss xmm4, dword [0x101074a4]
mulss xmm1, dword [0x10107468]
movaps xmm0, xmm4
movss dword [esp + 0xd0], xmm4
addss xmm0, dword [esp + 0x34]
movss dword [esp + 0x80], xmm1
movaps xmm3, xmm4
subss xmm3, xmm1
movaps xmm1, xmm2
addss xmm1, dword [esp + 0x64]
movss dword [esp + 0x90], xmm0
movss dword [esp + 0xf8], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x10107458]
movaps xmm2, xmm3
mulss xmm1, dword [0x101074a4]
cvttss2si eax, xmm0
addss xmm1, dword [esp + 0x58]
movss dword [esp + 0x9c], xmm3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xb4], xmm1
subss xmm2, xmm0
movss dword [esp + 0xf4], xmm1
movss dword [esp + 0x38], xmm2
mov eax, dword [esp + 0x24]
movaps xmm0, xmm2
mulss xmm0, dword [0x101076e4]
movaps xmm1, xmm2
mov ecx, dword [esp + 0xc]
mulss xmm1, dword [0x101076d8]
mov dword [esp + 0x3c], 0
movss xmm7, dword [eax + 8]
movss xmm6, dword [0x101075b4]
movss xmm5, dword [0x1010742c]
movss dword [esp + 0xa0], xmm0
movss dword [esp + 0x108], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x101074d4]
movss dword [esp + 0xac], xmm1
movss dword [esp + 0x104], xmm1
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x118], xmm0
movss xmm0, dword [eax]
movss dword [esp + 0x114], xmm1
movaps xmm2, xmm0
movss xmm1, dword [eax + 4]
movss dword [esp + 0x8c], xmm2
movss dword [esp + 0x98], xmm2
movaps xmm2, xmm1
movss dword [esp + 0x68], xmm2
movss dword [esp + 0x94], xmm2
movaps xmm2, xmm7
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x54], xmm7
movss dword [esp + 0x60], xmm2
movss dword [esp + 0x70], xmm2
movss dword [esp + 0xb0], xmm6
test ecx, 0x8000000
je 0x1007fe3b
comiss xmm7, xmm1
xorps xmm3, xmm3
movaps xmm2, xmm1
movaps xmm4, xmm7
jbe 0x1007fd97
movss xmm3, dword [0x101076e8]
movaps xmm2, xmm7
movaps xmm4, xmm1
comiss xmm2, xmm0
movaps xmm7, xmm0
movss dword [esp + 0x54], xmm7
jbe 0x1007fdc0
movaps xmm7, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x101076d4]
subss xmm0, xmm3
movss dword [esp + 0x54], xmm7
movaps xmm3, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x1c], xmm7
minss xmm0, xmm4
movaps xmm1, xmm7
subss xmm2, xmm4
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x34]
subss xmm1, xmm0
push ecx
lea edx, [esp + 0x30]
mov ecx, eax
movaps xmm0, xmm1
mulss xmm0, xmm6
addss xmm0, xmm5
divss xmm2, xmm0
movaps xmm0, xmm7
addss xmm0, xmm5
addss xmm2, xmm3
divss xmm1, xmm0
andps xmm2, xmmword [0x10107920]
movss dword [esp + 0x30], xmm2
movss dword [esp + 0x38], xmm1
call fcn.1007e1b0
movss xmm0, dword [esp + 0x30]
add esp, 8
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x30], xmm0
jmp 0x1007fe8b
test ecx, 0x10000000
je 0x1007fe8b
lea eax, [esp + 0x70]
push eax
lea edx, [esp + 0x98]
lea ecx, [esp + 0x9c]
call fcn.100041d0
movss xmm0, dword [esp + 0x9c]
add esp, 4
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [esp + 0x94]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x60], xmm0
mov ecx, dword [0x10117114]
lea edx, [ecx + 0x47a4]
mov byte [esp + 9], 0
mov byte [esp + 0x23], 0
mov byte [esp + 0xb], 0
mov eax, dword [ecx + 0x46b8]
or eax, 8
mov dword [esp + 0x28], edx
mov dword [ecx + 0x46b8], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x78], eax
cmp dword [edx], ecx
jne 0x1007fef4
test ecx, ecx
je 0x1007fed7
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
add eax, ecx
jmp 0x1007fedc
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.100265b0
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x28]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x78]
mov dword [eax + ecx*4], esi
inc dword [edx]
mov eax, dword [esp + 0xc]
test eax, 0x4000000
je 0x1008052d
movss xmm1, dword [esp + 0x2c]
lea edx, [esp + 0x10]
mov eax, dword [esp + 0x40]
movaps xmm0, xmm1
push 0
mov ecx, 0x10107174
movss dword [esp + 0x18], xmm1
addss xmm0, dword [eax + 0x37dc]
addss xmm0, dword [esp + 0x68]
movss dword [esp + 0x14], xmm0
call fcn.1006fba0
mov eax, dword [0x10117114]
add esp, 4
mov ecx, dword [eax + 0x3eac]
test ecx, ecx
je 0x100803cc
cmp ecx, dword [eax + 0x46d8]
jne 0x100803cc
mov eax, dword [esp + 0x40]
movss xmm0, dword [eax + 0x36b0]
subss xmm0, dword [esp + 0x90]
movss xmm1, dword [eax + 0x36ac]
subss xmm1, dword [esp + 0xb4]
movss xmm4, dword [eax + 0xdbc]
movss xmm3, dword [eax + 0xdc0]
subss xmm4, dword [esp + 0xb4]
subss xmm3, dword [esp + 0x90]
movaps xmm2, xmm0
movss dword [esp + 0x28], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x74], xmm1
movss xmm1, dword [0x101074ec]
addss xmm2, xmm0
movss dword [esp + 0xb8], xmm4
movss xmm0, dword [esp + 0x9c]
subss xmm0, xmm1
movss dword [esp + 0x6c], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x10080078
movss xmm0, dword [esp + 0xd0]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x10080078
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x10], xmm0
fld qword [esp + 0x10]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x10], xmm0
fld qword [esp + 0x10]
call fcn.100daaa0
movss xmm2, dword [0x10107588]
xorps xmm0, xmm0
fstp qword [esp + 0x10]
movsd xmm1, qword [esp + 0x10]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x101074a4]
comiss xmm0, xmm1
movss dword [esp + 0x1c], xmm1
jbe 0x10080070
addss xmm1, dword [0x101074ec]
movss dword [esp + 0x1c], xmm1
mov al, 1
mov byte [esp + 9], al
jmp 0x1008008a
mov al, byte [esp + 9]
movss xmm2, dword [0x10107588]
movss xmm1, dword [esp + 0x1c]
movaps xmm0, xmm1
mov byte [esp + 0x23], al
xorps xmm0, xmmword [0x10107950]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
call fcn.100daff0
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x78], xmm0
movsd xmm0, qword [esp + 0x10]
call fcn.100dbf90
movss xmm6, dword [esp + 0x78]
xorps xmm5, xmm5
cvtsd2ss xmm5, xmm0
movss xmm1, dword [esp + 0xac]
movaps xmm3, xmm6
mulss xmm3, dword [esp + 0x74]
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x28]
movaps xmm4, xmm6
mulss xmm4, dword [esp + 0x28]
subss xmm3, xmm0
movss dword [esp + 0xa4], xmm5
movaps xmm0, xmm5
movss xmm7, dword [esp + 0x38]
mulss xmm0, dword [esp + 0x74]
movaps xmm5, xmm1
subss xmm5, xmm1
movaps xmm2, xmm3
addss xmm4, xmm0
movss xmm0, dword [esp + 0xa0]
subss xmm0, dword [esp + 0x84]
subss xmm2, xmm1
subss xmm7, dword [esp + 0xac]
movss dword [esp + 0x74], xmm5
movss dword [esp + 0x78], xmm0
movaps xmm1, xmm2
mulss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0x84]
movss dword [esp + 0x48], xmm7
mulss xmm0, xmm5
xorps xmm5, xmm5
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xa0]
comiss xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x28], xmm0
movaps xmm0, xmm4
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0xa0]
mulss xmm0, xmm7
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x100803c4
movss xmm0, dword [esp + 0x84]
subss xmm4, xmm5
subss xmm3, dword [esp + 0x38]
subss xmm0, xmm5
mulss xmm3, xmm0
movss xmm0, dword [esp + 0xac]
subss xmm0, dword [esp + 0x38]
mulss xmm0, xmm4
subss xmm3, xmm0
comiss xmm5, xmm3
seta al
cmp cl, al
jne 0x100803c4
movss xmm1, dword [esp + 0xa4]
movaps xmm7, xmm6
mulss xmm7, dword [esp + 0xb8]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0xb8]
mulss xmm0, dword [esp + 0x6c]
mulss xmm6, dword [esp + 0x6c]
movss xmm4, dword [esp + 0xac]
subss xmm7, xmm0
movss xmm3, dword [esp + 0x84]
addss xmm6, xmm1
movaps xmm1, xmm7
movss dword [esp + 0x10], xmm7
subss xmm1, xmm4
movaps xmm0, xmm6
movss dword [esp + 0x14], xmm6
subss xmm0, xmm3
mulss xmm1, dword [esp + 0x78]
mulss xmm0, dword [esp + 0x74]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0xa0]
comiss xmm5, xmm1
mulss xmm0, dword [esp + 0x48]
movaps xmm1, xmm7
subss xmm1, xmm4
seta cl
mulss xmm1, dword [esp + 0x28]
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x100802c9
movaps xmm0, xmm3
movaps xmm2, xmm7
subss xmm2, dword [esp + 0x38]
subss xmm0, xmm5
movaps xmm1, xmm4
subss xmm1, dword [esp + 0x38]
mulss xmm2, xmm0
movaps xmm0, xmm6
subss xmm0, xmm5
mulss xmm1, xmm0
subss xmm2, xmm1
comiss xmm5, xmm2
seta al
cmp cl, al
je 0x1008030f
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x10c]
push eax
lea edx, [esp + 0x44]
lea ecx, [esp + 0x84]
call fcn.10003650
movss xmm3, dword [esp + 0x90]
add esp, 0xc
movss xmm4, dword [esp + 0xac]
xorps xmm5, xmm5
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
subss xmm7, dword [esp + 0x38]
movaps xmm2, xmm4
subss xmm6, xmm5
subss xmm2, dword [esp + 0x38]
movss xmm4, dword [esp + 0xa0]
movaps xmm1, xmm3
subss xmm4, xmm5
subss xmm1, xmm5
movaps xmm3, xmm2
mulss xmm6, xmm2
movaps xmm0, xmm4
mulss xmm0, xmm2
mulss xmm3, xmm1
subss xmm3, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm1
mulss xmm7, xmm4
subss xmm0, xmm6
movss xmm1, dword [0x101074ec]
movss xmm4, dword [0x10107440]
movaps xmm2, xmm1
subss xmm6, xmm7
movss dword [esp + 0x30], xmm4
divss xmm0, xmm3
divss xmm6, xmm3
subss xmm2, xmm0
comiss xmm4, xmm2
movaps xmm0, xmm2
subss xmm0, xmm6
jbe 0x10080395
movaps xmm3, xmm4
jmp 0x1008039c
movaps xmm3, xmm1
minss xmm3, xmm2
divss xmm0, xmm3
movss dword [esp + 0x54], xmm3
comiss xmm4, xmm0
ja 0x100803b8
movaps xmm4, xmm1
minss xmm4, xmm0
movss dword [esp + 0x30], xmm4
mov byte [esp + 0xb], 1
mov byte [esp + 9], 1
jmp 0x100803cc
mov al, byte [esp + 9]
mov byte [esp + 0x23], al
mov ecx, dword [esp + 0xc]
test cl, 8
jne 0x10080450
mov eax, dword [0x10117114]
mov ecx, 1
mov esi, dword [eax + 0x3e60]
mov dword [esp + 0x48], esi
call fcn.10013090
test al, al
je 0x10080450
mov ecx, 0x20
call fcn.10008e80
test al, al
je 0x10080450
mov ecx, dword [esi + 0xe4]
xor edx, edx
mov eax, dword [esi + 0xec]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.10003ad0
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
cmp dword [eax + 0x3e94], esi
jne 0x10080444
push ecx
push str.context
mov edx, 0xb
mov ecx, esi
call fcn.10025610
add esp, 8
mov edx, 1
mov ecx, esi
call fcn.10016100
movss xmm3, dword [esp + 0x34]
movss xmm4, dword [esp + 0x2c]
cmp dword [esp + 0xc8], 0x10000
mov esi, dword [esp + 0xc4]
jne 0x1008083a
mov ecx, dword [0x10117114]
lea edx, [esp + 0x10]
movss xmm0, dword [esp + 0xc0]
push 0
movss dword [esp + 0x18], xmm4
mov eax, dword [ecx + 0x3e60]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e60]
mov ecx, str.alpha
movss dword [eax + 0xf0], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [eax + 0xf4], xmm3
mov byte [eax + 0x131], 1
movss dword [esp + 0x14], xmm0
call fcn.1006fba0
mov eax, dword [0x10117114]
add esp, 4
mov ecx, dword [eax + 0x3eac]
test ecx, ecx
je 0x1008083a
cmp ecx, dword [eax + 0x46d8]
jne 0x1008083a
mov eax, dword [esp + 0x40]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x2c]
movss xmm1, dword [0x101074ec]
subss xmm0, xmm1
movss xmm3, dword [eax + 0xdc0]
subss xmm3, dword [esp + 0x34]
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x1008081e
xorps xmm4, xmm4
jmp 0x10080825
test eax, 0x2000000
je 0x10080450
movss xmm0, dword [esp + 0x2c]
lea edx, [esp + 0x10]
push 0
mov ecx, 0x10107178
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x18], xmm0
call fcn.1006fba0
mov ecx, dword [0x10117114]
add esp, 4
mov eax, dword [ecx + 0x3eac]
test eax, eax
je 0x100806a2
cmp eax, dword [ecx + 0x46d8]
jne 0x100806a2
mov eax, dword [esp + 0x40]
xorps xmm0, xmm0
movss xmm3, dword [esp + 0x2c]
movss xmm1, dword [0x101074ec]
subss xmm3, xmm1
movss xmm2, dword [eax + 0xdbc]
subss xmm2, dword [esp + 0x58]
divss xmm2, xmm3
comiss xmm0, xmm2
jbe 0x100805b5
movss dword [esp + 0x30], xmm0
jmp 0x100805c2
movaps xmm4, xmm1
minss xmm4, xmm2
movss dword [esp + 0x30], xmm4
movss xmm2, dword [eax + 0xdc0]
subss xmm2, dword [esp + 0x34]
divss xmm2, xmm3
comiss xmm0, xmm2
jbe 0x100805de
xorps xmm3, xmm3
jmp 0x100805e5
movaps xmm3, xmm1
minss xmm3, xmm2
mov eax, dword [ecx + 0x59cc]
movaps xmm2, xmm1
subss xmm2, xmm3
movss dword [esp + 0x54], xmm2
cmp eax, dword [ecx + 0x59c8]
jne 0x1008069a
mov eax, dword [esp + 0x24]
movss xmm2, dword [eax]
comiss xmm0, xmm2
movss xmm4, dword [eax + 4]
movss xmm5, dword [eax + 8]
jbe 0x10080620
xorps xmm3, xmm3
jmp 0x10080627
movaps xmm3, xmm1
minss xmm3, xmm2
comiss xmm0, xmm4
movss xmm6, dword [0x10107668]
movss xmm2, dword [0x101074a4]
mulss xmm3, xmm6
addss xmm3, xmm2
cvttss2si edx, xmm3
jbe 0x1008064d
xorps xmm3, xmm3
jmp 0x10080654
movaps xmm3, xmm1
minss xmm3, xmm4
mulss xmm3, xmm6
addss xmm3, xmm2
cvttss2si eax, xmm3
shl eax, 8
or edx, eax
comiss xmm0, xmm5
jbe 0x1008066f
xorps xmm1, xmm1
jmp 0x10080673
minss xmm1, xmm5
mulss xmm1, xmm6
addss xmm1, xmm2
cvttss2si eax, xmm1
shl eax, 0x10
or eax, edx
cmp dword [ecx + 0x59d8], eax
jne 0x1008069a
movss xmm0, dword [ecx + 0x59d0]
movss dword [esp + 0x1c], xmm0
mov al, 1
mov byte [esp + 9], al
jmp 0x100806a6
mov al, byte [esp + 9]
mov ecx, dword [esp + 0xc]
mov byte [esp + 0xb], al
mov byte [esp + 0xa], al
test cl, 8
jne 0x10080732
mov eax, dword [0x10117114]
mov ecx, 1
mov esi, dword [eax + 0x3e60]
mov dword [esp + 0x48], esi
call fcn.10013090
test al, al
je 0x10080732
mov ecx, 0x20
call fcn.10008e80
test al, al
je 0x10080732
mov ecx, dword [esi + 0xe4]
xor edx, edx
mov eax, dword [esi + 0xec]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.10003ad0
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
cmp dword [eax + 0x3e94], esi
jne 0x10080726
push ecx
push str.context
mov edx, 0xb
mov ecx, esi
call fcn.10025610
add esp, 8
mov edx, 1
mov ecx, esi
call fcn.10016100
mov ecx, dword [0x10117114]
lea edx, [esp + 0x10]
movss xmm0, dword [esp + 0x88]
push 0
mov eax, dword [ecx + 0x3e60]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e60]
mov ecx, 0x1010717c
movss dword [eax + 0xf0], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [eax + 0xf4], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x30]
mov byte [eax + 0x131], 1
movss dword [esp + 0x18], xmm0
call fcn.1006fba0
mov eax, dword [0x10117114]
add esp, 4
mov ecx, dword [eax + 0x3eac]
test ecx, ecx
je 0x10080450
mov dl, byte [esp + 9]
mov byte [esp + 0xb], dl
cmp ecx, dword [eax + 0x46d8]
jne 0x10080450
mov eax, dword [esp + 0x40]
movss xmm4, dword [esp + 0x2c]
movss xmm3, dword [esp + 0x34]
movaps xmm0, xmm4
movss xmm1, dword [0x101074ec]
movss xmm2, dword [eax + 0xdc0]
subss xmm0, xmm1
subss xmm2, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x10080801
movaps xmm0, xmm1
minss xmm0, xmm2
mov al, byte [esp + 0xa]
movss dword [esp + 0x1c], xmm0
mov byte [esp + 0x23], 1
mov byte [esp + 9], 1
mov byte [esp + 0xb], al
jmp 0x1008045c
movaps xmm4, xmm1
minss xmm4, xmm3
mov eax, dword [esp + 0x24]
movaps xmm0, xmm1
subss xmm0, xmm4
mov byte [esp + 9], 1
movss dword [eax + 0xc], xmm0
mov edx, dword [0x10117114]
dec dword [edx + 0x47a4]
mov eax, dword [edx + 0x47ac]
mov ecx, dword [edx + 0x47a4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x46b8], eax
mov edx, dword [esp + 0xc]
test edx, 0x100
jne 0x10080885
mov eax, dword [esp + 0x40]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x37dc]
call fcn.100150d0
call fcn.100155b0
mov edx, dword [esp + 0xc]
test dl, dl
js 0x100808ed
mov ecx, dword [esp + 0x4c]
cmp ecx, 0xffffffff
jae 0x100808ed
mov al, byte [ecx]
mov byte [esp + 0xa], al
test al, al
je 0x100808ab
cmp al, 0x23
jne 0x100808a5
cmp byte [ecx + 1], al
je 0x100808ab
inc ecx
cmp ecx, 0xffffffff
jb 0x10080892
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x28], ecx
cmp eax, ecx
je 0x100808ed
test edx, 0x100
je 0x100808db
mov eax, dword [esp + 0x40]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x37dc]
call fcn.100150d0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
mov edx, ecx
mov ecx, eax
push 0
call fcn.1006e090
mov edx, dword [esp + 0x10]
add esp, 4
test edx, 0x100
jne 0x10080b29
mov eax, dword [0x10117114]
mov ecx, dword [eax + 0x46b8]
or ecx, 0x10
mov dword [eax + 0x46b8], ecx
add eax, 0x47a4
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x4c], eax
mov ecx, dword [eax + 4]
mov dword [esp + 0x48], ecx
cmp dword [eax], ecx
jne 0x10080964
mov edx, dword [eax]
inc edx
mov dword [esp + 0x6c], edx
test ecx, ecx
je 0x1008094a
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x6c]
mov ecx, eax
mov eax, dword [esp + 0x4c]
sar ecx, 1
add ecx, dword [esp + 0x48]
jmp 0x1008094f
mov ecx, 8
cmp ecx, edx
cmovg edx, ecx
mov ecx, eax
push edx
call fcn.100265b0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov edi, dword [esp + 0xa4]
mov dword [eax + ecx*4], edi
mov eax, dword [esp + 0x4c]
inc dword [eax]
mov eax, dword [esp + 0x24]
test dl, 2
je 0x1008098c
movss xmm1, dword [0x101074ec]
jmp 0x10080991
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
mov edi, dword [esp + 0x44]
movss dword [esp + 0x114], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x118], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x11c], xmm0
movss dword [esp + 0x120], xmm1
test dl, dl
jns 0x100809dc
push str.Current
call fcn.1006e760
mov edx, dword [esp + 0x10]
add esp, 4
movss xmm1, dword [esp + 0x64]
lea ecx, [esp + 0x10]
movaps xmm0, xmm1
and edx, 0x180e0040
mulss xmm0, dword [0x10107584]
push ecx
mov dword [esp + 0xa8], edx
mov ecx, str.current
push edx
movss dword [esp + 0x50], xmm0
lea edx, [esp + 0x11c]
movss dword [esp + 0x18], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x1c], xmm0
call fcn.10082540
add esp, 8
cmp dword [esp + 0x50], 0
je 0x10080afe
push str.Original
call fcn.1006e760
mov ecx, dword [esp + 0x10]
add esp, 4
mov eax, dword [esp + 0x50]
test cl, 2
je 0x10080a62
movss xmm1, dword [0x101074ec]
jmp 0x10080a67
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]
lea eax, [esp + 0x10]
movss dword [esp + 0x10c], xmm0
movss xmm0, dword [esp + 0x48]
push eax
push dword [esp + 0xa8]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x118], xmm1
movss dword [esp + 0x1c], xmm0
call fcn.10082540
add esp, 8
test al, al
je 0x10080afe
xor eax, eax
cmp dword [esp + 0xcc], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x54]
push dword [esp + 0x2c]
call fcn.10098fe0
add esp, 0xc
mov byte [esp + 9], 1
mov edx, dword [0x10117114]
dec dword [edx + 0x47a4]
mov eax, dword [edx + 0x47ac]
mov ecx, dword [edx + 0x47a4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x46b8], eax
call fcn.100156e0
mov edx, dword [esp + 0xc]
cmp byte [esp + 0x23], 0
jne 0x10080b3b
cmp byte [esp + 0xb], 0
je 0x10080c57
test edx, 0x8000000
je 0x10080c2b
mov ecx, dword [esp + 0x24]
movss xmm2, dword [esp + 0x54]
movss xmm1, dword [esp + 0x30]
movss xmm0, dword [esp + 0x1c]
lea eax, [ecx + 8]
push eax
lea edx, [ecx + 4]
call fcn.100041d0
mov edx, dword [esp + 0x44]
add esp, 4
movss xmm0, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
movss xmm1, dword [0x101074ec]
mov eax, dword [edx + 0x59c8]
movss dword [edx + 0x59d0], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [edx + 0x59d4], xmm0
xorps xmm0, xmm0
mov dword [edx + 0x59cc], eax
movss xmm2, dword [ecx]
comiss xmm0, xmm2
movss xmm4, dword [ecx + 4]
movss xmm5, dword [ecx + 8]
jbe 0x10080bbf
xorps xmm3, xmm3
jmp 0x10080bc6
movaps xmm3, xmm1
minss xmm3, xmm2
comiss xmm0, xmm4
movss xmm6, dword [0x10107668]
movss xmm2, dword [0x101074a4]
mulss xmm3, xmm6
addss xmm3, xmm2
cvttss2si ecx, xmm3
jbe 0x10080bec
xorps xmm3, xmm3
jmp 0x10080bf3
movaps xmm3, xmm1
minss xmm3, xmm4
mulss xmm3, xmm6
addss xmm3, xmm2
cvttss2si eax, xmm3
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x10080c0e
xorps xmm1, xmm1
jmp 0x10080c12
minss xmm1, xmm5
mulss xmm1, xmm6
addss xmm1, xmm2
cvttss2si eax, xmm1
shl eax, 0x10
or eax, ecx
mov dword [edx + 0x59d8], eax
jmp 0x10080c57
test edx, 0x10000000
je 0x10080c57
mov eax, dword [esp + 0x24]
movss xmm0, dword [esp + 0x1c]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [eax + 4], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [eax + 8], xmm0
mov eax, dword [esp + 0xc]
mov byte [esp + 0xa], 0
test al, 0x20
jne 0x10080f50
cmp dword [esp + 0xc8], 0x10000
jne 0x10080c80
movss xmm0, dword [esp + 0xc0]
jmp 0x10080c89
movss xmm0, dword [esp + 0x88]
mov eax, dword [0x10117114]
addss xmm0, dword [esp + 0x64]
mov dword [esp + 0xb8], eax
mov eax, dword [eax + 0x3e60]
mov edx, dword [eax + 0x1a8]
lea ecx, [eax + 0x1a8]
subss xmm0, dword [esp + 0x58]
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0xa4], ecx
movss dword [esp + 0x6c], xmm0
cmp edx, eax
jne 0x10080cff
inc edx
mov dword [esp + 0x48], edx
test eax, eax
je 0x10080ce2
cdq
sub eax, edx
mov edx, dword [esp + 0x48]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10080ce7
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.100265b0
movss xmm0, dword [esp + 0x6c]
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x1a0]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x50]
inc dword [ecx + 0x1a8]
ucomiss xmm0, dword [0x10107418]
lahf
test ah, 0x44
jp 0x10080d30
movss xmm0, dword [ecx + 0x240]
mov eax, dword [esp + 0xb8]
movss dword [ecx + 0x1a0], xmm0
and dword [eax + 0x46c0], 0xfffffffe
mov eax, dword [esp + 0xc]
mov ecx, eax
and ecx, 0x198e001a
mov dword [esp + 0x50], ecx
test eax, 0x100000
jne 0x10080d64
test eax, 0x700000
jne 0x10080dad
mov edx, dword [esp + 0x24]
or ecx, 0x100004
push ecx
mov ecx, str.rgb
call fcn.1007e2b0
add esp, 4
test al, al
je 0x10080da5
mov eax, dword [esp + 0x40]
cmp dword [eax + 0x3eac], 0
je 0x10080d9b
cmp byte [eax + 0x3eb9], 0
mov byte [esp + 0xa], 1
je 0x10080da0
mov byte [esp + 0xa], 0
mov byte [esp + 9], 1
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0xc]
test eax, 0x200000
jne 0x10080dbb
test eax, 0x700000
jne 0x10080ddb
mov edx, dword [esp + 0x24]
or ecx, 0x200004
push ecx
mov ecx, str.hsv
call fcn.1007e2b0
add esp, 4
or byte [esp + 9], al
mov eax, dword [esp + 0xc]
test eax, 0x400000
jne 0x10080de9
test eax, 0x700000
jne 0x10080e08
mov eax, dword [esp + 0x50]
mov ecx, str.hex
mov edx, dword [esp + 0x24]
or eax, 0x400004
push eax
call fcn.1007e2b0
add esp, 4
or byte [esp + 9], al
cmp byte [esp + 0xa], 0
mov ecx, dword [0x10117114]
mov eax, dword [ecx + 0x3e60]
mov byte [eax + 0xac], 1
mov edx, dword [ecx + 0x3e60]
mov ecx, dword [edx + 0x1a8]
mov eax, dword [edx + 0x1b0]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1a0], eax
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x24]
mov dword [edx + 0x1a8], eax
mov eax, dword [esp + 0xc]
je 0x10080f54
test eax, 0x8000000
je 0x10080f54
movss xmm3, dword [ecx + 4]
xorps xmm2, xmm2
movss xmm5, dword [ecx + 8]
xorps xmm6, xmm6
comiss xmm5, xmm3
movss xmm4, dword [ecx]
jbe 0x10080e88
movss xmm6, dword [0x101076e8]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x10080ea5
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x101076d4]
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 [0x1010742c]
movaps xmm7, xmm1
mulss xmm1, dword [0x101075b4]
divss xmm7, xmm0
addss xmm1, dword [0x1010742c]
divss xmm3, xmm1
addss xmm3, xmm6
movss xmm6, dword [0x10107920]
andps xmm3, xmm6
comiss xmm2, xmm3
jb 0x10080f5c
movss xmm0, dword [esp + 0x1c]
comiss xmm0, xmm2
jbe 0x10080f5c
comiss xmm2, xmm4
jb 0x10080f27
movss xmm1, dword [esp + 0x54]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10080f23
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x30]
mulss xmm2, dword [0x101074a4]
jmp 0x10080f3d
mov eax, dword [esp + 0xc]
comiss xmm2, xmm7
jb 0x10080f5c
movss xmm1, dword [esp + 0x30]
movaps xmm2, xmm4
mulss xmm1, dword [0x101074a4]
lea eax, [ecx + 8]
push eax
lea edx, [ecx + 4]
call fcn.100041d0
mov eax, dword [esp + 0x10]
add esp, 4
mov ecx, dword [esp + 0x24]
movss xmm6, dword [0x10107920]
cmp byte [esp + 9], 0
je 0x100810d0
test eax, 0x8000000
je 0x1008105b
movss xmm0, dword [ecx + 4]
xorps xmm3, xmm3
movss xmm1, dword [ecx + 8]
movaps xmm2, xmm0
comiss xmm1, xmm0
movss xmm7, dword [ecx]
movaps xmm5, xmm1
movss dword [esp + 0x8c], xmm7
movss dword [esp + 0x68], xmm0
movss dword [esp + 0x60], xmm1
jbe 0x10080fb1
movss xmm3, dword [0x101076e8]
movaps xmm2, xmm1
movaps xmm5, xmm0
comiss xmm2, xmm7
movaps xmm4, xmm7
movss dword [esp + 0x54], xmm4
jbe 0x10080fda
movss xmm0, dword [0x101076d4]
movaps xmm4, xmm2
subss xmm0, xmm3
movss dword [esp + 0x54], xmm4
movaps xmm2, xmm7
movaps xmm3, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x1c], xmm4
minss xmm0, xmm5
movaps xmm1, xmm4
subss xmm2, xmm5
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x34]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x30]
movaps xmm0, xmm1
mulss xmm0, dword [0x101075b4]
addss xmm0, dword [0x1010742c]
divss xmm2, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x1010742c]
addss xmm2, xmm3
divss xmm1, xmm0
andps xmm2, xmm6
movss dword [esp + 0x30], xmm2
movss dword [esp + 0x38], xmm1
call fcn.1007e1b0
movss xmm1, dword [esp + 0x30]
add esp, 8
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x30], xmm0
jmp 0x100810d6
test eax, 0x10000000
je 0x100810d0
movss xmm1, dword [ecx + 8]
lea eax, [esp + 0x70]
movss xmm3, dword [ecx + 4]
lea edx, [esp + 0x94]
movss xmm0, dword [ecx]
movaps xmm2, xmm1
movss dword [esp + 0x54], xmm1
lea ecx, [esp + 0x98]
push eax
movaps xmm1, xmm3
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x34], xmm3
call fcn.100041d0
movss xmm0, dword [esp + 0x9c]
add esp, 4
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [esp + 0x94]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x60], xmm0
movss xmm1, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
xorps xmm0, xmm0
movss xmm2, dword [eax + 0x3788]
comiss xmm0, xmm2
ja 0x100810f6
movss xmm0, dword [0x101074ec]
minss xmm0, xmm2
mulss xmm0, dword [0x10107668]
addss xmm0, dword [0x101074a4]
cvttss2si edx, xmm0
cvtps2pd xmm0, xmm1
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x78], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x28], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0xd8], ecx
or eax, 0x808080
mov dword [esp + 0xf0], ecx
mov dword [esp + 0x4c], eax
mov eax, edx
or eax, 0xffff
movsd qword [esp + 0x10], xmm0
fld qword [esp + 0x10]
mov dword [esp + 0xdc], eax
mov eax, edx
or eax, 0xff00
fld1
mov dword [esp + 0xe0], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0xe4], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0xe8], eax
mov eax, edx
or eax, 0xff00ff
mov dword [esp + 0xec], eax
call fcn.100daab0
fstp qword [esp + 0x10]
movsd xmm1, qword [esp + 0x10]
cvtpd2ps xmm1, xmm1
movss xmm3, dword [0x101074ec]
divss xmm1, dword [0x1010747c]
movaps xmm4, xmm3
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
subss xmm4, xmm1
movaps xmm1, xmm3
subss xmm1, xmm4
cmp eax, 5
ja case.0x100811d7.5
jmp dword [eax*4 + 0x1008251c]
movaps xmm5, xmm1
xorps xmm1, xmm1
jmp 0x10081215
movaps xmm0, xmm4
movaps xmm5, xmm3
xorps xmm1, xmm1
jmp 0x10081218
xorps xmm0, xmm0
movaps xmm5, xmm3
jmp 0x10081218
xorps xmm0, xmm0
movaps xmm5, xmm4
movaps xmm1, xmm3
jmp 0x10081218
movaps xmm0, xmm1
xorps xmm5, xmm5
movaps xmm1, xmm3
jmp 0x10081218
xorps xmm5, xmm5
movaps xmm1, xmm4
movaps xmm0, xmm3
xorps xmm2, xmm2
comiss xmm2, xmm0
jbe 0x10081225
xorps xmm4, xmm4
jmp 0x1008122c
movaps xmm4, xmm3
minss xmm4, xmm0
comiss xmm2, xmm5
movss xmm6, dword [0x10107668]
movss xmm0, dword [0x101074a4]
mulss xmm4, xmm6
addss xmm4, xmm0
cvttss2si ecx, xmm4
jbe 0x10081252
xorps xmm4, xmm4
jmp 0x10081259
movaps xmm4, xmm3
minss xmm4, xmm5
mulss xmm4, xmm6
addss xmm4, xmm0
cvttss2si eax, xmm4
shl eax, 8
or ecx, eax
comiss xmm2, xmm1
jbe 0x10081274
xorps xmm4, xmm4
jmp 0x1008127b
movaps xmm4, xmm3
minss xmm4, xmm1
mulss xmm4, xmm6
addss xmm4, xmm0
cvttss2si eax, xmm4
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x40]
movss xmm4, dword [eax + 0x3788]
comiss xmm2, xmm4
jbe 0x100812a2
xorps xmm1, xmm1
jmp 0x100812a9
movaps xmm1, xmm3
minss xmm1, xmm4
movss xmm5, dword [esp + 0x8c]
mulss xmm1, xmm6
addss xmm1, xmm0
cvttss2si edx, xmm1
shl edx, 0x18
or edx, ecx
comiss xmm2, xmm5
mov dword [esp + 0x74], edx
jbe 0x100812d1
xorps xmm1, xmm1
jmp 0x100812d8
movaps xmm1, xmm3
minss xmm1, xmm5
movss xmm5, dword [esp + 0x68]
comiss xmm2, xmm5
mulss xmm1, xmm6
addss xmm1, xmm0
cvttss2si ecx, xmm1
jbe 0x100812f4
xorps xmm1, xmm1
jmp 0x100812fb
movaps xmm1, xmm3
minss xmm1, xmm5
movss xmm5, dword [esp + 0x60]
mulss xmm1, xmm6
addss xmm1, xmm0
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm2, xmm5
jbe 0x1008131c
xorps xmm1, xmm1
jmp 0x10081323
movaps xmm1, xmm3
minss xmm1, xmm5
mulss xmm1, xmm6
addss xmm1, xmm0
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
comiss xmm2, xmm4
jbe 0x1008133e
xorps xmm1, xmm1
jmp 0x10081345
movaps xmm1, xmm3
minss xmm1, xmm4
mulss xmm1, xmm6
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
addss xmm1, xmm0
cvttss2si eax, xmm1
shl eax, 0x18
or eax, ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xc]
test eax, 0x4000000
je 0x10081c7f
movss xmm1, dword [esp + 0xd0]
movaps xmm4, xmm0
movss xmm2, dword [esp + 0x9c]
mov eax, 0x2aaaaaab
divss xmm4, xmm1
mov esi, dword [esp + 0x44]
addss xmm2, xmm1
cvttss2si ecx, xmm1
mulss xmm2, xmm0
imul ecx
movss dword [esp + 0x114], xmm4
movss dword [esp + 0x104], 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 + 0x58], ecx
mov dword [esp + 0x60], eax
nop dword [eax + eax]
movd xmm1, eax
lea eax, [esp + 0xf4]
cvtdq2ps xmm1, xmm1
mov edi, dword [esi + 0x18]
push ecx
push ecx
mov ecx, esi
movaps xmm0, xmm1
addss xmm1, xmm3
divss xmm0, dword [0x101075b4]
divss xmm1, dword [0x101075b4]
addss xmm0, xmm0
addss xmm1, xmm1
mulss xmm0, dword [0x10107588]
mulss xmm1, dword [0x10107588]
subss xmm0, xmm4
addss xmm1, xmm4
movaps xmm3, xmm0
movss dword [esp + 0x70], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x7c], xmm1
call fcn.1005ab30
movss xmm0, dword [esp + 0x80]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0x30]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.10059640
movss xmm0, dword [esp + 0x68]
cvtps2pd xmm0, xmm0
mov dword [esi + 0x54], 0
call fcn.100daff0
movss xmm1, dword [esp + 0x68]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x9c]
addss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x50], xmm0
cvtps2pd xmm0, xmm1
call fcn.100dbf90
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x9c]
addss xmm0, dword [esp + 0x90]
movss dword [esp + 0x98], xmm0
movss xmm0, dword [esp + 0x70]
cvtps2pd xmm0, xmm0
call fcn.100daff0
movss xmm1, dword [esp + 0x70]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x9c]
addss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x68], xmm0
cvtps2pd xmm0, xmm1
call fcn.100dbf90
movss xmm2, dword [esp + 0x68]
subss xmm2, dword [esp + 0x50]
cvtsd2ss xmm0, xmm0
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x60]
movss xmm3, dword [0x101074ec]
lea eax, [eax + eax*4]
mulss xmm0, dword [esp + 0x9c]
lea eax, [edx + eax*4]
mov ecx, dword [esp + ecx*4 + 0xd8]
movss dword [esp + 0x68], xmm2
mov dword [esp + 0x48], eax
addss xmm0, dword [esp + 0x90]
subss xmm0, dword [esp + 0x98]
movaps xmm1, xmm0
movss dword [esp + 0xb8], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
movaps xmm0, xmm3
divss xmm0, xmm1
movss dword [esp + 0xc], xmm0
movzx eax, cl
lea esi, [esp + 0xdc]
mov dword [esp + 0x88], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x94], eax
shr ecx, 0x10
movzx eax, cl
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x60]
mov ecx, dword [esi + eax*4]
mov esi, dword [esp + 0x44]
movzx eax, cl
sub eax, dword [esp + 0x88]
mov dword [esp + 0xa4], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x94]
shr ecx, 0x10
mov dword [esp + 0x6c], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0x48]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x70]
cmp edx, edi
jae 0x100816cc
movd xmm5, dword [esp + 0x70]
movd xmm6, dword [esp + 0x6c]
movd xmm7, dword [esp + 0x94]
mov esi, dword [esp + 0xa4]
movd xmm4, ecx
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm5, xmm5
cvtdq2ps xmm6, xmm6
cvtdq2ps xmm7, xmm7
nop dword [eax + eax]
movss xmm0, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm1, dword [esp + 0x98]
subss xmm0, dword [esp + 0x50]
mulss xmm1, dword [esp + 0xb8]
mulss xmm0, xmm2
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [esp + 0xc]
comiss xmm0, xmm1
jbe 0x1008165c
xorps xmm2, xmm2
jmp 0x10081663
movaps xmm2, xmm3
minss xmm2, xmm1
movaps xmm0, xmm4
movd xmm1, dword [esp + 0x88]
mulss xmm0, xmm2
cvtdq2ps xmm1, xmm1
addss xmm0, xmm5
cvttss2si ecx, xmm0
movaps xmm0, xmm6
mulss xmm0, xmm2
shl ecx, 8
addss xmm0, xmm7
cvttss2si eax, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
or ecx, eax
shl ecx, 8
mulss xmm0, xmm2
movss xmm2, dword [esp + 0x68]
addss xmm0, xmm1
cvttss2si eax, xmm0
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov dword [edx + 0x10], ecx
add edx, 0x14
cmp edx, edi
jb 0x10081620
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x60]
movss xmm2, dword [esp + 0x104]
inc eax
movss xmm4, dword [esp + 0x114]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x60], eax
cmp eax, 6
jl 0x100813e0
movss xmm0, dword [esp + 0x1c]
mulss xmm0, dword [0x10107560]
mulss xmm0, dword [0x10107588]
movss dword [esp + 0x1c], xmm0
cvtps2pd xmm0, xmm0
call fcn.100daff0
movss xmm3, dword [esp + 0x1c]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x60], xmm0
cvtps2pd xmm0, xmm3
call fcn.100dbf90
cmp byte [esp + 0x23], 0
xorps xmm2, xmm2
movss xmm3, dword [esp + 0x9c]
addss xmm3, dword [esp + 0xd0]
cvtsd2ss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x60]
mulss xmm3, xmm2
mulss xmm0, dword [0x101074a4]
mulss xmm3, dword [0x101074a4]
addss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x114], xmm2
addss xmm3, dword [esp + 0x90]
movss dword [esp + 0x104], xmm0
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0x108], xmm3
je 0x100817ad
mulss xmm0, dword [0x101074b0]
jmp 0x100817b5
mulss xmm0, dword [0x101074a8]
movaps xmm1, xmm0
movss dword [esp + 0x80], xmm0
mov ecx, esi
call fcn.10059370
movss xmm2, dword [esp + 0x80]
mov edi, eax
push edi
push dword [esp + 0x78]
lea eax, [esp + 0x10c]
mov dword [esp + 0x60], edi
push eax
mov ecx, esi
call fcn.1005c2c0
test dword [esp + 0x4c], 0xff000000
movss xmm5, dword [esp + 0x80]
movss xmm2, dword [0x101074ec]
movaps xmm4, xmm5
mov esi, dword [esp + 0xc4]
addss xmm4, xmm2
movss xmm3, dword [0x101074a4]
je 0x100818e9
comiss xmm3, xmm4
ja 0x100818e9
test edi, edi
jg 0x10081851
mov edi, dword [esp + 0x44]
subss xmm4, xmm3
push ecx
push 0x30
push 0
lea eax, [esp + 0x110]
mov ecx, edi
push eax
movaps xmm2, xmm4
call fcn.1005a740
dec dword [edi + 0x54]
jmp 0x100818ac
cmp edi, 3
jge 0x1008185d
mov eax, 3
jmp 0x1008186d
cmp edi, 0x200
mov eax, edi
mov ecx, 0x200
cmovg eax, ecx
movd xmm1, eax
subss xmm4, xmm3
cvtdq2ps xmm1, xmm1
mov edi, dword [esp + 0x44]
dec eax
push eax
push ecx
lea eax, [esp + 0x10c]
mov ecx, edi
xorps xmm3, xmm3
movaps xmm0, xmm1
subss xmm0, xmm2
movaps xmm2, xmm4
mulss xmm0, dword [0x101075bc]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.1005ab30
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x54]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10059640
movss xmm2, dword [0x101074ec]
movss xmm3, dword [0x101074a4]
movss xmm5, dword [esp + 0x80]
mov dword [edi + 0x54], 0
jmp 0x100818ed
mov edi, dword [esp + 0x44]
test dword [esp + 0x28], 0xff000000
je 0x100819a2
comiss xmm3, xmm5
ja 0x100819a2
mov eax, dword [esp + 0x58]
test eax, eax
jg 0x1008192c
push ecx
subss xmm5, xmm3
mov ecx, edi
push 0x30
push 0
lea eax, [esp + 0x110]
push eax
movaps xmm2, xmm5
call fcn.1005a740
dec dword [edi + 0x54]
jmp 0x10081980
cmp eax, 3
jge 0x10081938
mov eax, 3
jmp 0x10081945
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
movd xmm1, eax
subss xmm5, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
lea eax, [esp + 0x108]
push ecx
xorps xmm3, xmm3
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, xmm2
movaps xmm2, xmm5
mulss xmm0, dword [0x101075bc]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.1005ab30
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x30]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10059640
mov dword [edi + 0x54], 0
movss xmm4, dword [esp + 0x114]
xorps xmm1, xmm1
movss xmm3, dword [esp + 0x60]
movaps xmm0, xmm4
movss xmm7, dword [esp + 0xb4]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x38]
mov ecx, edi
mov eax, dword [0x10117114]
mulss xmm0, xmm1
push 3
movss xmm6, dword [esp + 0xb0]
movss xmm5, dword [esp + 0xa4]
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
push 3
addss xmm2, xmm7
movss dword [esp + 0x10c], xmm2
movss dword [esp + 0xc0], xmm2
movaps xmm2, xmm4
mulss xmm2, dword [esp + 0x40]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm4
mulss xmm5, xmm3
addss xmm2, dword [esp + 0x98]
movss dword [esp + 0x74], xmm2
movss dword [esp + 0xc4], xmm2
movaps xmm2, xmm6
mulss xmm2, xmm3
mulss xmm6, xmm4
movaps xmm1, xmm2
subss xmm1, xmm0
addss xmm5, xmm6
addss xmm1, xmm7
addss xmm5, dword [esp + 0x98]
movss dword [esp + 0x40], xmm1
movss xmm1, dword [esp + 0x8c]
movaps xmm0, xmm1
movss dword [esp + 0xa8], xmm5
mulss xmm0, xmm4
mulss xmm1, xmm3
subss xmm2, xmm0
movss dword [esp + 0x44], xmm5
movss xmm0, dword [eax + 0x3bd4]
addss xmm1, xmm6
movss dword [esp + 0x60], xmm0
movss xmm0, dword [eax + 0x3bd8]
movss dword [esp + 0x11c], xmm0
addss xmm2, xmm7
addss xmm1, dword [esp + 0x98]
movss dword [esp + 0x50], xmm2
movss dword [esp + 0xac], xmm2
movss dword [esp + 0x8c], xmm1
movss dword [esp + 0xb0], xmm1
call fcn.10059420
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
mov edx, dword [esp + 0xbc]
movss xmm0, dword [esp + 0x58]
movss xmm1, dword [esp + 0x114]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov ecx, dword [esp + 0xb8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 4], edx
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]
inc dword [edi + 0x28]
add dword [edi + 0x34], 0x14
mov ecx, dword [edi + 0x28]
mov word [eax], cx
add dword [edi + 0x38], 2
mov ecx, dword [esp + 0x38]
mov eax, dword [edi + 0x34]
mov edx, dword [esp + 0x3c]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0xa8]
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 + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov ecx, dword [esp + 0xa4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], edx
mov eax, dword [edi + 0x34]
push ecx
mov dword [esp], 0x3fc00000
push dword [esp + 0x50]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], ecx
lea eax, [esp + 0xac]
add dword [edi + 0x34], 0x14
mov ecx, edi
inc dword [edi + 0x28]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0xc8]
push eax
call fcn.1005c090
movss xmm3, dword [0x101074ec]
xorps xmm2, xmm2
movaps xmm0, xmm3
subss xmm0, dword [esp + 0x54]
comiss xmm2, xmm0
jbe 0x10081bf4
xorps xmm5, xmm5
jmp 0x10081bfb
movaps xmm5, xmm3
minss xmm5, xmm0
movss xmm0, dword [esp + 0x30]
comiss xmm2, xmm0
jbe 0x10081c0b
xorps xmm4, xmm4
jmp 0x10081c12
movaps xmm4, xmm3
minss xmm4, xmm0
movss xmm0, dword [esp + 0x104]
subss xmm0, dword [esp + 0x48]
movss xmm1, dword [esp + 0x38]
mulss xmm0, xmm4
addss xmm0, dword [esp + 0x48]
subss xmm1, xmm0
mulss xmm1, xmm5
addss xmm1, xmm0
movss xmm0, dword [esp + 0x6c]
subss xmm0, dword [esp + 0x84]
movss dword [esp + 0x10], xmm1
mulss xmm0, xmm4
movss xmm4, dword [esp + 0xa0]
addss xmm0, dword [esp + 0x84]
subss xmm4, xmm0
mulss xmm4, xmm5
addss xmm4, xmm0
movss dword [esp + 0x14], xmm4
jmp 0x10081fe4
test eax, 0x2000000
je 0x10081fec
movss xmm1, dword [esp + 0x58]
mov ecx, edi
movss xmm2, dword [esp + 0x2c]
movaps xmm0, xmm1
mov eax, dword [esp + 0x28]
addss xmm0, xmm2
push eax
push edx
push edx
push eax
movss dword [esp + 0x48], xmm0
addss xmm1, xmm2
movss xmm0, dword [esp + 0x44]
lea eax, [esp + 0x48]
addss xmm0, xmm2
push eax
lea eax, [esp + 0x6c]
push eax
movss dword [esp + 0x8c], xmm1
movss dword [esp + 0x54], xmm0
call fcn.1005bf10
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0xf4]
movss xmm0, dword [esp + 0x74]
push ecx
push ecx
push 0
push 0
push eax
movss dword [esp + 0x108], xmm0
lea eax, [esp + 0x6c]
movss xmm0, dword [esp + 0x50]
mov ecx, edi
push eax
movss dword [esp + 0x110], xmm0
call fcn.1005bf10
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x114], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x118], xmm0
xorps xmm0, xmm0
push dword [esp + 0x118]
push dword [esp + 0x118]
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.100068c0
movss xmm2, dword [esp + 0x40]
xorps xmm0, xmm0
movss xmm1, dword [0x101074ec]
add esp, 0x10
comiss xmm0, xmm2
jbe 0x10081d6f
xorps xmm3, xmm3
jmp 0x10081d76
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm7, dword [esp + 0x2c]
movss xmm5, dword [esp + 0x58]
movss xmm2, dword [0x101074a4]
mulss xmm3, xmm7
movss xmm6, dword [0x10107560]
addss xmm3, xmm5
addss xmm3, xmm2
cvttss2si eax, xmm3
movaps xmm3, xmm5
addss xmm5, xmm7
addss xmm3, xmm6
movd xmm4, eax
cvtdq2ps xmm4, xmm4
subss xmm5, xmm6
comiss xmm3, xmm4
jbe 0x10081dc5
movss dword [esp + 0x10], xmm3
jmp 0x10081dd8
comiss xmm4, xmm5
jbe 0x10081dd2
movss dword [esp + 0x10], xmm5
jmp 0x10081dd8
movss dword [esp + 0x10], xmm4
movaps xmm3, xmm1
subss xmm3, dword [esp + 0x54]
comiss xmm0, xmm3
jbe 0x10081deb
xorps xmm1, xmm1
jmp 0x10081def
minss xmm1, xmm3
movss xmm3, dword [esp + 0x34]
mulss xmm1, xmm7
movss xmm0, dword [esp + 0x3c]
subss xmm0, xmm6
addss xmm1, xmm3
addss xmm1, xmm2
cvttss2si eax, xmm1
movaps xmm1, xmm3
addss xmm1, xmm6
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x10081e2a
movss dword [esp + 0x14], xmm1
jmp 0x10081e3d
comiss xmm2, xmm0
jbe 0x10081e37
movss dword [esp + 0x14], xmm0
jmp 0x10081e3d
movss dword [esp + 0x14], xmm2
movss xmm2, dword [esp + 0x88]
lea eax, [esp + 0xdc]
movaps xmm1, xmm7
mov esi, dword [esp + 0x44]
divss xmm1, dword [0x101075b4]
xor ecx, ecx
movaps xmm0, xmm2
movss dword [esp + 0x38], xmm2
addss xmm0, dword [esp + 0x64]
movss dword [esp + 0x58], xmm1
movss dword [esp + 0xf4], xmm0
nop dword [eax]
mov eax, dword [eax + ecx*4]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0xfc]
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0x100], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0xe0]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0x54], xmm0
call fcn.1005bf10
movss xmm1, dword [esp + 0x58]
lea eax, [esp + 0xdc]
movss xmm3, dword [esp + 0x34]
mov ecx, edi
cmp ecx, 6
jl 0x10081e80
movss xmm2, dword [esp + 0x34]
movss xmm3, dword [esp + 0x88]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x2c]
movaps xmm1, xmm3
movss dword [esp + 0x5c], xmm2
addss xmm1, dword [esp + 0x64]
movss dword [esp + 0x58], xmm3
movss dword [esp + 0x3c], xmm0
xorps xmm0, xmm0
push dword [esp + 0x3c]
movss dword [esp + 0x3c], xmm1
push dword [esp + 0x3c]
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.100068c0
mov esi, dword [esp + 0xd4]
movss xmm1, dword [esp + 0x74]
addss xmm1, dword [0x10107560]
mov edi, dword [esp + 0x54]
mov ecx, edi
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x4c], xmm2
addss xmm0, dword [0x101074ec]
movss xmm2, dword [esp + 0x98]
push dword [esp + 0x4c]
subss xmm2, dword [0x101074ec]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x30]
mulss xmm0, dword [esp + 0x40]
push dword [esp + 0x4c]
movss dword [esp + 0x70], xmm2
addss xmm0, dword [esp + 0x4c]
addss xmm0, dword [0x101074a4]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x58]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x3788]
movss dword [esp + 0x74], xmm0
push dword [esp + 0x74]
push dword [esp + 0x74]
call fcn.1007f6f0
movss xmm3, dword [0x101074ec]
add esp, 0x20
movss xmm0, dword [0x101074a4]
cmp byte [esp + 0xb], 0
je 0x1008200b
movss xmm4, dword [0x101075d0]
mov ecx, 0xa
movss dword [esp + 0xb0], xmm4
jmp 0x10082018
movss xmm4, dword [0x101075b4]
mov ecx, 6
test dword [esp + 0x8c], 0xff000000
mov eax, dword [edi + 0x2c]
movzx eax, byte [ecx + eax + 0x1bc]
mov dword [esp + 0x78], eax
je 0x100820ce
comiss xmm0, xmm4
ja 0x100820ce
test eax, eax
jg 0x1008205e
push ecx
push 0x30
push 0
lea eax, [esp + 0x1c]
movaps xmm2, xmm4
push eax
mov ecx, edi
call fcn.1005a740
dec dword [edi + 0x54]
jmp 0x100820af
cmp eax, 3
jge 0x1008206a
mov ecx, 3
jmp 0x10082079
mov ecx, eax
cmp eax, 0x200
mov eax, 0x200
cmovg ecx, eax
movd xmm1, ecx
lea eax, [ecx - 1]
cvtdq2ps xmm1, xmm1
push eax
push ecx
lea eax, [esp + 0x18]
mov ecx, edi
movaps xmm2, xmm4
movaps xmm0, xmm1
subss xmm0, xmm3
xorps xmm3, xmm3
mulss xmm0, dword [0x101075bc]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.1005ab30
push dword [esp + 0x8c]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.1005a340
mov eax, dword [esp + 0x78]
mov dword [edi + 0x54], 0
test dword [esp + 0x4c], 0xff000000
movss xmm5, dword [esp + 0xb0]
movss xmm2, dword [0x101074ec]
movaps xmm4, xmm5
movss xmm3, dword [0x101074a4]
addss xmm4, xmm2
je 0x100821b6
comiss xmm3, xmm4
ja 0x100821b6
test eax, eax
jg 0x10082126
push ecx
subss xmm4, xmm3
mov ecx, edi
push 0x30
push 0
lea eax, [esp + 0x1c]
push eax
movaps xmm2, xmm4
call fcn.1005a740
dec dword [edi + 0x54]
jmp 0x1008217b
cmp eax, 3
jge 0x10082132
mov ecx, 3
jmp 0x10082141
mov ecx, eax
cmp eax, 0x200
mov eax, 0x200
cmovg ecx, eax
movd xmm1, ecx
lea eax, [ecx - 1]
cvtdq2ps xmm1, xmm1
push eax
push ecx
mov ecx, edi
lea eax, [esp + 0x18]
subss xmm4, xmm3
xorps xmm3, xmm3
movaps xmm0, xmm1
subss xmm0, xmm2
movaps xmm2, xmm4
mulss xmm0, dword [0x101075bc]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.1005ab30
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x54]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10059640
movss xmm2, dword [0x101074ec]
movss xmm3, dword [0x101074a4]
movss xmm5, dword [esp + 0xb0]
mov dword [edi + 0x54], 0
test dword [esp + 0x28], 0xff000000
je 0x10082265
comiss xmm3, xmm5
ja 0x10082265
mov eax, dword [esp + 0x78]
test eax, eax
jg 0x100821f2
push ecx
subss xmm5, xmm3
mov ecx, edi
push 0x30
push 0
lea eax, [esp + 0x1c]
push eax
movaps xmm2, xmm5
call fcn.1005a740
dec dword [edi + 0x54]
jmp 0x10082243
cmp eax, 3
jge 0x100821fe
mov eax, 3
jmp 0x1008220b
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
movd xmm1, eax
subss xmm5, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
lea eax, [esp + 0x14]
push ecx
xorps xmm3, xmm3
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, xmm2
movaps xmm2, xmm5
mulss xmm0, dword [0x101075bc]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.1005ab30
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x30]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10059640
mov dword [edi + 0x54], 0
cmp dword [esp + 0xc8], 0x10000
jne 0x1008241b
mov eax, dword [esp + 0x24]
xorps xmm1, xmm1
movss xmm2, dword [eax + 0xc]
comiss xmm1, xmm2
jbe 0x1008228f
movss dword [esp + 0x78], xmm1
jmp 0x100822a1
movss xmm0, dword [0x101074ec]
minss xmm0, xmm2
movss dword [esp + 0x78], xmm0
movss xmm3, dword [esp + 0xc0]
xor edx, edx
movss xmm0, dword [esp + 0x34]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x64]
mov ecx, dword [esp + 0x44]
movss dword [esp + 0xf8], xmm0
addss xmm0, dword [esp + 0x2c]
mov dword [esp + 0x3c], 0
push dword [esp + 0x3c]
mov dword [esp + 0x3c], 0
push dword [esp + 0x3c]
movss dword [esp + 0x104], xmm2
subss xmm2, xmm3
movss dword [esp + 0x108], xmm0
push dword [esp + 0x108]
movss dword [esp + 0x100], xmm3
xorps xmm3, xmm3
push dword [esp + 0x108]
mov edi, dword [esp + 0x104]
push dword [esp + 0x108]
mulss xmm2, dword [0x101074a4]
push edi
push 0
call fcn.10061670
mov ecx, dword [esp + 0xa8]
add esp, 0x1c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x10c]
push eax
lea eax, [esp + 0x108]
push eax
call fcn.1005bf10
push dword [esp + 0x100]
xorps xmm0, xmm0
push dword [esp + 0x100]
push dword [esp + 0x100]
push edi
call fcn.100068c0
movss xmm1, dword [0x101074ec]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
movaps xmm0, xmm2
movss dword [esp + 0x4c], xmm2
movss xmm2, dword [esp + 0xd0]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0x88]
push dword [esp + 0x4c]
movss dword [esp + 0x4c], xmm0
push dword [esp + 0x4c]
mulss xmm1, dword [esp + 0x44]
movss dword [esp + 0x28], xmm2
movss xmm2, dword [edi + 0x3788]
addss xmm1, dword [esp + 0x4c]
addss xmm1, dword [0x101074a4]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x7c]
addss xmm1, dword [0x10107560]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x2c], xmm0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.1007f6f0
add esp, 0x20
jmp 0x1008241f
mov edi, dword [esp + 0x40]
call fcn.100156e0
mov dl, byte [esp + 9]
test dl, dl
je 0x10082515
mov ecx, dword [esp + 0x24]
lea esi, [esp + 0x124]
xor edx, edx
cmp dword [esp + 0xcc], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x10082464
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x1008246d
add esi, 4
add ecx, 4
sub edx, 4
jae 0x10082453
cmp edx, 0xfffffffc
je 0x10082513
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x100824a2
cmp edx, 0xfffffffd
je 0x10082513
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x100824a2
cmp edx, 0xfffffffe
je 0x10082513
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x100824a2
cmp edx, 0xffffffff
je 0x10082513
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x10082513
mov ecx, dword [edi + 0x46d8]
mov eax, dword [0x10117114]
test ecx, ecx
je 0x100824d9
cmp word [eax + 0x5a3a], 0
jg 0x100824d9
mov edx, dword [eax + 0x3eac]
cmp edx, ecx
je 0x100824c9
test edx, edx
jne 0x100824d2
mov word [eax + 0x3ebc], 0x101
or dword [eax + 0x46e0], 4
mov dl, byte [esp + 9]
cmp dword [esp + 0xd4], 0
jne 0x100824f1
mov dword [edi + 0x59c8], 0
mov ecx, dword [eax + 0x3e60]
mov al, dl
pop edi
pop esi
dec dword [ecx + 0xe4]
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.10093c50
mov esp, ebp
pop ebp
ret
xor dl, dl
mov eax, dword [0x10117114]
jmp 0x100824dd