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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x108
mov dword [esp + 0x30], edx
mov edx, ecx
mov ecx, dword [0x10256160]
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [ecx + 0x198c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x54], edx
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x198c]
mov ecx, edx
mov dword [esp + 0x68], eax
mov edi, dword [eax + 0x274]
mov dword [esp + 0x60], edi
call fcn.10057ec0
call fcn.10057fc0
mov edx, esi
or edx, 0x10
test esi, 0x100
cmovne edx, esi
mov dword [esp + 0x58], edx
test dl, 8
jne 0x10076e53
mov ecx, dword [esp + 0x38]
call fcn.10079fb0
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x10]
test edx, 0x6000000
jne 0x10076e7c
mov eax, dword [esi + 0x2bf0]
mov ecx, 0x2900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x10076e7e
mov ecx, edx
mov dword [esp + 0x18], ecx
test cl, 8
jne 0x10076e98
mov eax, dword [esi + 0x2bf0]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x18], ecx
mov eax, ecx
mov edx, ecx
and eax, 2
and edx, 0x10002
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xcc], edx
movss xmm0, dword [eax + 0xcc]
movss xmm5, dword [eax + 0xc8]
mov eax, dword [0x10256160]
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x44], xmm0
xorps xmm0, xmm0
movss dword [esp + 0xc], xmm5
movss xmm4, dword [eax + 0x1538]
addss xmm4, xmm4
movss dword [esp + 0x40], xmm5
addss xmm4, dword [eax + 0x18ac]
mov eax, dword [eax + 0x198c]
mov dword [esp + 0x68], eax
movss xmm2, dword [eax + 0x16c]
comiss xmm0, xmm2
movss dword [esp + 0x48], xmm4
jbe 0x10076f96
mov ecx, dword [eax + 0x1bc]
movss xmm3, dword [eax + 0xc8]
movss xmm1, dword [eax + 0x214]
mov dword [esp + 0x58], ecx
subss xmm3, dword [eax + 0xc]
subss xmm1, dword [eax + 0xc]
test ecx, ecx
je 0x10076f82
mov edx, dword [ecx + 0xc]
movss xmm0, dword [ecx + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
lea ecx, [edx*8]
sub ecx, edx
mov edx, dword [esp + 0x58]
movss xmm1, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm1, xmm0
mov edx, dword [esp + 0xcc]
mulss xmm1, dword [eax + ecx*4]
mov eax, dword [esp + 0x68]
addss xmm1, xmm0
subss xmm1, dword [eax + 0x3c]
subss xmm1, xmm3
addss xmm1, xmm2
movss xmm2, dword [0x1016a544]
maxss xmm2, xmm1
movss xmm3, dword [esi + 0x154c]
cvttss2si eax, xmm2
movaps xmm0, xmm3
addss xmm0, xmm4
movd xmm2, eax
xor eax, eax
cmp edx, 0x10000
cvtdq2ps xmm2, xmm2
sete al
inc eax
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0xd8], eax
sete al
mulss xmm1, xmm0
movaps xmm0, xmm4
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x3c]
subss xmm2, xmm1
movaps xmm1, xmm5
lea eax, [esp + 0x108]
push eax
maxss xmm0, xmm2
addss xmm1, xmm0
movss dword [esp + 0x20], xmm0
addss xmm1, xmm3
movaps xmm0, xmm1
movss dword [esp + 0x58], xmm1
addss xmm0, xmm4
addss xmm0, xmm3
movss dword [esp + 0xdc], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x1016a4d4]
cvttss2si esi, xmm0
mov dword [esp + 0x74], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm0, dword [esp + 0x20]
add esp, 0xc
movaps xmm4, xmm0
mov dword [esp + 0x24], 0
mulss xmm4, dword [0x1016a500]
movaps xmm3, xmm0
mulss xmm3, dword [0x1016a4b4]
movaps xmm2, xmm4
movss dword [esp + 0x50], xmm4
movaps xmm1, xmm4
addss xmm1, dword [esp + 0x2c]
subss xmm2, xmm3
movss dword [esp + 0x7c], xmm3
movaps xmm3, xmm0
mulss xmm0, dword [0x1016a49c]
addss xmm3, dword [esp + 0x48]
movss dword [esp + 0x88], xmm1
cvttss2si eax, xmm0
movss dword [esp + 0xbc], xmm1
movaps xmm1, xmm2
mulss xmm3, dword [0x1016a500]
movss dword [esp + 0x78], xmm2
movd xmm0, eax
addss xmm3, dword [esp + 0xc]
cvtdq2ps xmm0, xmm0
mov eax, dword [esp + 0x38]
movss dword [esp + 0x90], xmm3
subss xmm1, xmm0
movss dword [esp + 0xb8], xmm3
movaps xmm0, xmm1
movss dword [esp + 0x20], xmm1
mulss xmm0, dword [0x1016af00]
movaps xmm2, xmm1
mulss xmm2, dword [0x1016af0c]
movss dword [esp + 0xb4], xmm0
movss dword [esp + 0x94], xmm0
movss dword [esp + 0xdc], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x1016a52c]
movss dword [esp + 0xa8], xmm2
movss dword [esp + 0x98], xmm2
movss dword [esp + 0xa4], xmm0
movss dword [esp + 0xe0], xmm0
movss xmm1, dword [eax + 4]
xorps xmm4, xmm4
movss xmm3, dword [eax + 8]
comiss xmm3, xmm1
movss xmm5, dword [eax]
movss dword [esp + 0x6c], xmm5
jbe 0x1007716a
movss xmm4, dword [0x1016af10]
movaps xmm0, xmm1
movaps xmm1, xmm3
movaps xmm3, xmm0
comiss xmm1, xmm5
jbe 0x1007718d
movaps xmm0, xmm5
movss dword [esp + 0x6c], xmm1
movaps xmm5, xmm1
movaps xmm1, xmm0
movss xmm0, dword [0x1016aefc]
subss xmm0, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm1
movaps xmm2, xmm5
minss xmm0, xmm3
subss xmm1, xmm3
movss xmm3, dword [0x1016a940]
movss dword [esp + 0xc8], xmm3
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm3
addss xmm0, dword [0x1016a444]
divss xmm1, xmm0
addss xmm1, xmm4
movaps xmm0, xmm1
call fcn.10009580
movss dword [esp + 0x3c], xmm0
mov ecx, 8
movaps xmm0, xmm5
mov byte [esp + 8], 0
addss xmm0, dword [0x1016a444]
mov byte [esp + 0xb], 0
mov byte [esp + 0xa], 0
divss xmm2, xmm0
movss dword [esp + 0x5c], xmm2
call fcn.10057a60
mov eax, dword [esp + 0x18]
test eax, 0x4000000
je 0x100777d3
movss xmm1, dword [esp + 0x14]
lea edx, [esp + 0x30]
mov eax, dword [esp + 0x10]
movaps xmm0, xmm1
mov ecx, 0x10167a90
movss dword [esp + 0x34], xmm1
addss xmm0, dword [eax + 0x154c]
addss xmm0, dword [esp + 0x48]
movss dword [esp + 0x30], xmm0
call fcn.1006c910
mov eax, dword [0x10256160]
mov ecx, dword [eax + 0x19ac]
test ecx, ecx
je 0x100776c9
mov eax, dword [eax + 0x198c]
cmp ecx, dword [eax + 0x10c]
jne 0x100776c9
mov eax, dword [esp + 0x10]
movss xmm0, dword [eax + 0x384]
subss xmm0, dword [esp + 0x88]
movss xmm1, dword [eax + 0x380]
subss xmm1, dword [esp + 0x90]
movss xmm4, dword [eax + 0xe0]
movss xmm3, dword [eax + 0xe4]
subss xmm4, dword [esp + 0x90]
subss xmm3, dword [esp + 0x88]
movaps xmm2, xmm0
movss dword [esp + 0x8c], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x64], xmm1
movss xmm1, dword [0x1016a544]
addss xmm2, xmm0
movss dword [esp + 0x1c], xmm4
movss xmm0, dword [esp + 0x78]
subss xmm0, xmm1
movss dword [esp + 0xf8], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x10077377
movss xmm0, dword [esp + 0x50]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x10077377
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x30], xmm0
fld qword [esp + 0x30]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x30], xmm0
fld qword [esp + 0x30]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm2, dword [0x1016a910]
xorps xmm0, xmm0
fstp qword [esp + 0x30]
movsd xmm1, qword [esp + 0x30]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x1016a500]
comiss xmm0, xmm1
movss dword [esp + 0x3c], xmm1
jbe 0x1007736f
addss xmm1, dword [0x1016a544]
movss dword [esp + 0x3c], xmm1
mov al, 1
mov byte [esp + 8], al
jmp 0x10077389
mov al, byte [esp + 8]
movss xmm2, dword [0x1016a910]
movss xmm1, dword [esp + 0x3c]
movaps xmm0, xmm1
mov byte [esp + 0xb], al
xorps xmm0, xmmword [0x1016b4c0]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x30], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x58], xmm0
movsd xmm0, qword [esp + 0x30]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm4, dword [esp + 0x58]
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm0
movss xmm1, dword [esp + 0xb4]
movaps xmm5, xmm4
mulss xmm5, dword [esp + 0x64]
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x8c]
movaps xmm7, xmm4
mulss xmm7, dword [esp + 0x8c]
subss xmm5, xmm0
movss xmm6, dword [esp + 0x20]
movaps xmm0, xmm3
movss dword [esp + 0xd4], xmm3
mulss xmm0, dword [esp + 0x64]
movaps xmm3, xmm1
subss xmm3, xmm1
subss xmm6, dword [esp + 0xb4]
addss xmm7, xmm0
movaps xmm2, xmm5
movss xmm0, dword [esp + 0xa8]
subss xmm2, xmm1
subss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x64], xmm3
movss dword [esp + 0xac], xmm6
movaps xmm1, xmm0
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm7
mulss xmm1, xmm2
subss xmm0, dword [esp + 0xa4]
mulss xmm0, xmm3
xorps xmm3, xmm3
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xa8]
comiss xmm3, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x8c], xmm0
movaps xmm0, xmm7
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0xa8]
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x100776c1
movss xmm6, dword [esp + 0xa4]
subss xmm7, xmm3
movss xmm2, dword [esp + 0xb4]
subss xmm6, xmm3
subss xmm2, dword [esp + 0x20]
subss xmm5, dword [esp + 0x20]
movss dword [esp + 0x80], xmm6
mulss xmm7, xmm2
mulss xmm5, xmm6
movss dword [esp + 0x70], xmm2
subss xmm5, xmm7
comiss xmm3, xmm5
seta al
cmp cl, al
jne 0x100776c1
movss xmm1, dword [esp + 0xd4]
movaps xmm5, xmm4
mulss xmm5, dword [esp + 0x1c]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x1c]
mulss xmm0, dword [esp + 0xf8]
mulss xmm4, dword [esp + 0xf8]
subss xmm5, xmm0
addss xmm4, xmm1
movaps xmm1, xmm5
movss dword [esp + 0x30], xmm5
subss xmm1, dword [esp + 0xb4]
movaps xmm0, xmm4
movss dword [esp + 0x34], xmm4
subss xmm0, dword [esp + 0xa4]
mulss xmm1, dword [esp + 0x58]
mulss xmm0, dword [esp + 0x64]
subss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xa8]
comiss xmm3, xmm1
mulss xmm0, dword [esp + 0xac]
movaps xmm1, xmm5
subss xmm1, dword [esp + 0xb4]
seta cl
mulss xmm1, dword [esp + 0x8c]
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x100775d6
movaps xmm1, xmm5
movaps xmm0, xmm4
subss xmm1, dword [esp + 0x20]
subss xmm0, xmm3
mulss xmm1, xmm6
mulss xmm0, xmm2
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp cl, al
je 0x10077613
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x9c]
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x104]
call fcn.1004d540
movss xmm6, dword [esp + 0x8c]
add esp, 0xc
xorps xmm3, xmm3
movss xmm5, dword [eax]
movss xmm4, dword [eax + 4]
movss xmm2, dword [esp + 0xa8]
subss xmm4, xmm3
subss xmm5, dword [esp + 0x20]
movss xmm7, dword [esp + 0x70]
subss xmm2, xmm3
movaps xmm1, xmm6
movaps xmm0, xmm7
mulss xmm1, xmm7
mulss xmm4, xmm7
mulss xmm0, xmm2
mulss xmm6, xmm5
subss xmm1, xmm0
mulss xmm5, xmm2
subss xmm6, xmm4
movss xmm0, dword [0x1016a544]
movss xmm2, dword [0x1016a468]
movaps xmm3, xmm0
subss xmm4, xmm5
movss dword [esp + 0x5c], xmm2
divss xmm6, xmm1
divss xmm4, xmm1
subss xmm3, xmm6
comiss xmm2, xmm3
movaps xmm1, xmm3
subss xmm1, xmm4
jbe 0x10077692
movaps xmm4, xmm2
movss dword [esp + 0x6c], xmm2
jmp 0x1007769f
movaps xmm4, xmm0
minss xmm4, xmm3
movss dword [esp + 0x6c], xmm4
divss xmm1, xmm4
comiss xmm2, xmm1
ja 0x100776b5
movaps xmm2, xmm0
minss xmm2, xmm1
movss dword [esp + 0x5c], xmm2
mov byte [esp + 0xa], 1
mov byte [esp + 8], 1
jmp 0x100776c9
mov al, byte [esp + 8]
mov byte [esp + 0xb], al
test byte [esp + 0x18], 8
jne 0x100776d5
call fcn.10058770
movss xmm4, dword [esp + 0x14]
movss xmm3, dword [esp + 0x2c]
cmp dword [esp + 0xcc], 0x10000
jne 0x100779e5
mov ecx, dword [0x10256160]
lea edx, [esp + 0x94]
movss xmm0, dword [esp + 0xd0]
movss dword [esp + 0x98], xmm4
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x198c]
mov ecx, 0x10167a94
movss dword [eax + 0xc8], xmm0
movss dword [eax + 0xcc], xmm3
movss xmm1, dword [eax + 0xe0]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe4]
maxss xmm0, xmm3
movss dword [eax + 0xe0], xmm1
movss dword [eax + 0xe4], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x94], xmm0
call fcn.1006c910
mov eax, dword [0x10256160]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 0x19ac]
test ecx, ecx
je 0x100779e9
mov eax, dword [eax + 0x198c]
cmp ecx, dword [eax + 0x10c]
jne 0x100779e9
movss xmm3, dword [edx + 0xe4]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [0x1016a544]
subss xmm3, dword [esp + 0x2c]
subss xmm0, xmm1
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x100779c7
xorps xmm4, xmm4
jmp 0x100779ce
test eax, 0x2000000
je 0x100776d5
movss xmm0, dword [esp + 0x14]
lea edx, [esp + 0x94]
mov ecx, 0x10167a8c
movss dword [esp + 0x94], xmm0
movss dword [esp + 0x98], xmm0
call fcn.1006c910
mov ecx, dword [0x10256160]
mov edx, dword [ecx + 0x19ac]
test edx, edx
je 0x1007789e
mov eax, dword [ecx + 0x198c]
cmp edx, dword [eax + 0x10c]
jne 0x1007789e
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x14]
movss xmm1, dword [0x1016a544]
subss xmm4, xmm1
movss xmm2, dword [eax + 0xe0]
subss xmm2, dword [esp + 0xc]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x10077861
movss dword [esp + 0x5c], xmm0
jmp 0x1007786e
movaps xmm3, xmm1
minss xmm3, xmm2
movss dword [esp + 0x5c], xmm3
movss xmm2, dword [eax + 0xe4]
subss xmm2, dword [esp + 0x2c]
divss xmm2, xmm4
comiss xmm0, xmm2
ja 0x1007788c
movaps xmm0, xmm1
minss xmm0, xmm2
subss xmm1, xmm0
mov al, 1
mov byte [esp + 8], al
movss dword [esp + 0x6c], xmm1
jmp 0x100778a2
mov al, byte [esp + 8]
test byte [esp + 0x18], 8
mov byte [esp + 0xa], al
mov byte [esp + 9], al
jne 0x100778bc
call fcn.10058770
mov ecx, dword [0x10256160]
mov eax, dword [ecx + 0x198c]
lea edx, [esp + 0x94]
movss xmm0, dword [esp + 0x4c]
movss xmm2, dword [esp + 0x2c]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x198c]
mov ecx, 0x10167a9c
movss dword [eax + 0xc8], xmm0
movss dword [eax + 0xcc], xmm2
movss xmm1, dword [eax + 0xe0]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe4]
maxss xmm0, xmm2
movss dword [eax + 0xe0], xmm1
movss dword [eax + 0xe4], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [esp + 0x14]
movss dword [esp + 0x98], xmm0
call fcn.1006c910
mov eax, dword [0x10256160]
mov ecx, dword [eax + 0x19ac]
test ecx, ecx
je 0x100776d5
mov eax, dword [eax + 0x198c]
mov dl, byte [esp + 8]
movss xmm3, dword [esp + 0x2c]
movss xmm4, dword [esp + 0x14]
mov byte [esp + 0xa], dl
cmp ecx, dword [eax + 0x10c]
jne 0x100776e1
mov eax, dword [esp + 0x10]
movaps xmm0, xmm4
movss xmm1, dword [0x1016a544]
subss xmm0, xmm1
movss xmm2, dword [eax + 0xe4]
subss xmm2, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x100779aa
movaps xmm0, xmm1
minss xmm0, xmm2
mov al, byte [esp + 9]
movss dword [esp + 0x3c], xmm0
mov byte [esp + 0xb], 1
mov byte [esp + 8], 1
mov byte [esp + 0xa], al
jmp 0x100776e1
movaps xmm4, xmm1
minss xmm4, xmm3
mov eax, dword [esp + 0x38]
movaps xmm0, xmm1
subss xmm0, xmm4
mov byte [esp + 8], 1
movss dword [eax + 0xc], xmm0
jmp 0x100779e9
mov edx, dword [esp + 0x10]
mov ecx, dword [0x10256160]
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x198c]
mov eax, dword [ecx + 0x174]
add eax, 0xffffffff
mov dword [esp + 0x70], eax
mov dword [ecx + 0x174], eax
jne 0x10077a18
xor eax, eax
jmp 0x10077a2a
mov edi, dword [esp + 0x70]
mov eax, dword [ecx + 0x17c]
mov eax, dword [eax + edi*4 - 4]
mov edi, dword [esp + 0x60]
mov dword [ecx + 0x168], eax
mov eax, dword [esp + 0x18]
test eax, 0x100
jne 0x10077a54
movss xmm1, dword [edx + 0x154c]
xorps xmm0, xmm0
call fcn.10058290
call fcn.10057fc0
mov eax, dword [esp + 0x18]
test al, al
js 0x10077ab1
mov edx, dword [esp + 0x54]
cmp edx, 0xffffffff
jae 0x10077ab1
mov cl, byte [edx]
mov byte [esp + 9], cl
test cl, cl
je 0x10077a7b
cmp cl, 0x23
jne 0x10077a75
cmp byte [edx + 1], cl
je 0x10077a7b
inc edx
cmp edx, 0xffffffff
jb 0x10077a61
mov dword [esp + 0x1c], edx
cmp dword [esp + 0x54], edx
je 0x10077ab1
test eax, 0x100
je 0x10077aa4
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x154c]
call fcn.10058290
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
call fcn.1006b830
mov eax, dword [esp + 0x18]
test eax, 0x100
jne 0x10077c92
mov ecx, 0x10
call fcn.10057a60
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
test cl, 2
je 0x10077add
movss xmm1, dword [0x1016a544]
jmp 0x10077ae2
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x98], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x9c], xmm0
movss dword [esp + 0xa0], xmm1
test cl, cl
jns 0x10077b29
push str.Current
call fcn.1006bea0
mov ecx, dword [esp + 0x1c]
add esp, 4
movss xmm1, dword [esp + 0x48]
lea edx, [esp + 0x94]
movaps xmm0, xmm1
and ecx, 0xe0040
mulss xmm0, dword [0x1016a90c]
mov dword [esp + 0xac], ecx
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x70], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x34], xmm0
push dword [esp + 0x34]
movss dword [esp + 0x84], xmm0
push dword [esp + 0x34]
push ecx
mov ecx, str.current
call fcn.10079240
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x10077c52
push str.Original
call fcn.1006bea0
mov eax, dword [ebp + 0xc]
add esp, 4
test byte [esp + 0x18], 2
je 0x10077bb1
movss xmm1, dword [0x1016a544]
jmp 0x10077bb6
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0xdc]
movss dword [esp + 0xdc], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0xe0], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0xe4], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0x34], xmm0
push dword [esp + 0x34]
movss dword [esp + 0xec], xmm1
push dword [esp + 0x34]
push dword [esp + 0xb4]
call fcn.10079240
add esp, 0xc
test al, al
je 0x10077c52
xor eax, eax
cmp dword [esp + 0xd8], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [ebp + 0xc]
push dword [esp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 8], 1
mov ecx, dword [0x10256160]
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x198c]
mov edx, dword [ecx + 0x174]
sub edx, 1
mov dword [ecx + 0x174], edx
jne 0x10077c7d
xor eax, eax
jmp 0x10077c87
mov eax, dword [ecx + 0x17c]
mov eax, dword [eax + edx*4 - 4]
mov dword [ecx + 0x168], eax
call fcn.10058100
cmp byte [esp + 0xb], 0
jne 0x10077ca0
cmp byte [esp + 0xa], 0
je 0x10077cfc
mov eax, dword [esp + 0x38]
xorps xmm0, xmm0
movss xmm1, dword [esp + 0x6c]
comiss xmm1, xmm0
lea ecx, [eax + 8]
lea edx, [eax + 4]
jbe 0x10077cbd
movaps xmm3, xmm1
jmp 0x10077cc5
movss xmm3, dword [0x1016a450]
movss xmm1, dword [esp + 0x5c]
comiss xmm1, xmm0
movss xmm2, dword [0x1016a458]
ja 0x10077cdb
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x3c]
comiss xmm0, dword [0x1016a544]
jb 0x10077cee
subss xmm0, xmm2
push ecx
mov ecx, eax
movaps xmm2, xmm3
call fcn.1004de80
add esp, 4
test byte [esp + 0x18], 0x20
mov byte [esp + 9], 0
jne 0x10077fca
cmp dword [esp + 0xcc], 0x10000
jne 0x10077d24
movss xmm0, dword [esp + 0xd0]
jmp 0x10077d2a
movss xmm0, dword [esp + 0x4c]
addss xmm0, dword [esp + 0x48]
mov ecx, dword [0x10256160]
subss xmm0, dword [esp + 0xc]
mov eax, dword [ecx + 0x198c]
ucomiss xmm0, dword [0x1016a430]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x198c]
mov dword [esp + 0x1c], ecx
lahf
test ah, 0x44
jp 0x10077d65
movss xmm0, dword [ecx + 0x220]
movss dword [ecx + 0x16c], xmm0
add ecx, 0x180
mov dword [esp + 0x80], ecx
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x10077db1
inc edx
mov dword [esp + 0x70], edx
test eax, eax
je 0x10077d9a
cdq
sub eax, edx
mov edx, dword [esp + 0x70]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10077d9f
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1005db20
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x16c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x1c]
inc dword [eax + 0x180]
mov eax, dword [esp + 0x18]
mov ecx, eax
and ecx, 0x18e001a
mov dword [esp + 0x54], ecx
test eax, 0x100000
jne 0x10077deb
test eax, 0x700000
jne 0x10077e34
mov edx, dword [esp + 0x38]
or ecx, 0x100004
push ecx
mov ecx, str.rgb
call fcn.100758b0
add esp, 4
test al, al
je 0x10077e2c
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x19ac], 0
je 0x10077e22
cmp byte [eax + 0x19bd], 0
mov byte [esp + 9], 1
je 0x10077e27
mov byte [esp + 9], 0
mov byte [esp + 8], 1
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x18]
test eax, 0x200000
jne 0x10077e42
test eax, 0x700000
jne 0x10077e62
mov edx, dword [esp + 0x38]
or ecx, 0x200004
push ecx
mov ecx, str.hsv
call fcn.100758b0
add esp, 4
or byte [esp + 8], al
mov eax, dword [esp + 0x18]
test eax, 0x400000
jne 0x10077e70
test eax, 0x700000
jne 0x10077e8f
mov eax, dword [esp + 0x54]
mov ecx, str.hex
mov edx, dword [esp + 0x38]
or eax, 0x400004
push eax
call fcn.100758b0
add esp, 4
or byte [esp + 8], al
mov ecx, dword [0x10256160]
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x198c]
mov edx, dword [ecx + 0x180]
sub edx, 1
mov dword [ecx + 0x180], edx
jne 0x10077ec0
movss xmm0, dword [ecx + 0x220]
jmp 0x10077ecc
mov eax, dword [ecx + 0x188]
movss xmm0, dword [eax + edx*4 - 4]
cmp byte [esp + 9], 0
movss dword [ecx + 0x16c], xmm0
je 0x10077fca
mov ecx, dword [esp + 0x38]
xorps xmm2, xmm2
xorps xmm6, xmm6
movss xmm3, dword [ecx + 4]
movss xmm5, dword [ecx + 8]
comiss xmm5, xmm3
movss xmm4, dword [ecx]
jbe 0x10077f0d
movss xmm6, dword [0x1016af10]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x10077f2a
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x1016aefc]
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 [0x1016a444]
movaps xmm7, xmm1
mulss xmm1, dword [0x1016a940]
divss xmm7, xmm0
addss xmm1, dword [0x1016a444]
divss xmm3, xmm1
addss xmm3, xmm6
movaps xmm0, xmm3
call fcn.10009580
comiss xmm2, xmm0
jb 0x10077fca
movss xmm0, dword [esp + 0x3c]
comiss xmm0, xmm2
jbe 0x10077fca
comiss xmm2, xmm4
jb 0x10077fa5
movss xmm1, dword [esp + 0x6c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10077fa5
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x5c]
mulss xmm2, dword [0x1016a500]
jmp 0x10077fbb
comiss xmm2, xmm7
jb 0x10077fca
movss xmm1, dword [esp + 0x5c]
movaps xmm2, xmm4
mulss xmm1, dword [0x1016a500]
lea eax, [ecx + 8]
push eax
lea edx, [ecx + 4]
call fcn.1004de80
add esp, 4
movaps xmm0, xmmword [0x1016b430]
lea eax, [esp + 0x9c]
movss xmm2, dword [0x1016a544]
lea edx, [esp + 0x98]
movups xmmword [esp + 0x94], xmm0
lea ecx, [esp + 0x94]
movss xmm0, dword [esp + 0x3c]
movaps xmm1, xmm2
push eax
call fcn.1004de80
movups xmm3, xmmword [esp + 0x98]
add esp, 4
movss xmm2, dword [0x1016a544]
xorps xmm1, xmm1
comiss xmm1, xmm3
jbe 0x10078025
xorps xmm0, xmm0
jmp 0x1007802c
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm3, dword [0x1016ae34]
movss xmm5, dword [0x1016a500]
movss xmm4, dword [esp + 0x98]
comiss xmm1, xmm4
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si ecx, xmm0
jbe 0x1007805b
xorps xmm0, xmm0
jmp 0x10078062
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x9c]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm4
jbe 0x10078086
xorps xmm0, xmm0
jmp 0x1007808d
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0xa0]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm4
jbe 0x100780b1
xorps xmm0, xmm0
jmp 0x100780b8
movaps xmm0, xmm2
minss xmm0, xmm4
mov eax, dword [esp + 0x38]
mulss xmm0, xmm3
movss xmm4, dword [eax]
movss xmm6, dword [eax + 4]
addss xmm0, xmm5
movss xmm7, dword [eax + 8]
cvttss2si edx, xmm0
shl edx, 0x18
or edx, ecx
comiss xmm1, xmm4
mov dword [esp + 0x1c], edx
jbe 0x100780e9
xorps xmm0, xmm0
jmp 0x100780f0
movaps xmm0, xmm2
minss xmm0, xmm4
comiss xmm1, xmm6
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si ecx, xmm0
jbe 0x10078106
xorps xmm0, xmm0
jmp 0x1007810d
movaps xmm0, xmm2
minss xmm0, xmm6
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm7
jbe 0x10078128
xorps xmm0, xmm0
jmp 0x1007812f
movaps xmm0, xmm2
minss xmm0, xmm7
mulss xmm0, xmm3
mov dword [esp + 0xdc], 0xff0000ff
mov dword [esp + 0xe0], 0xff00ffff
mov dword [esp + 0xe4], 0xff00ff00
addss xmm0, xmm5
mov dword [esp + 0xe8], 0xffffff00
mov dword [esp + 0xec], 0xffff0000
mov dword [esp + 0xf0], 0xffff00ff
mov dword [esp + 0xf4], 0xff0000ff
mov dword [esp + 0x34], 0
cvttss2si eax, xmm0
mov dword [esp + 0x30], 0
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x18]
or ecx, 0xff000000
mov dword [esp + 0x58], ecx
test eax, 0x4000000
je 0x10078bdf
movss xmm0, dword [esp + 0x50]
mov eax, 0x2aaaaaab
movss xmm3, dword [0x1016a55c]
movss xmm4, dword [esp + 0x78]
divss xmm3, xmm0
cvttss2si ecx, xmm0
addss xmm4, xmm0
movss dword [esp + 0xd4], xmm3
imul ecx
mulss xmm4, xmm5
mov eax, 4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movss dword [esp + 0xf8], xmm4
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x54], eax
movd xmm1, eax
lea eax, [esp + 0xb8]
cvtdq2ps xmm1, xmm1
mov esi, dword [edi + 0x18]
push ecx
push ecx
mov ecx, edi
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x1016a940]
divss xmm1, dword [0x1016a940]
addss xmm0, xmm0
movaps xmm2, xmm4
addss xmm1, xmm1
mulss xmm0, dword [0x1016a910]
mulss xmm1, dword [0x1016a910]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x54], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x18], xmm1
call fcn.10067000
movss xmm0, dword [esp + 0x7c]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push 0
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10065fa0
movss xmm0, dword [esp + 0x4c]
cvtps2pd xmm0, xmm0
mov dword [edi + 0x54], 0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x4c]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x78]
addss xmm0, dword [esp + 0x90]
movss dword [esp + 0x80], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x78]
addss xmm0, dword [esp + 0x88]
movss dword [esp + 0xac], xmm0
movss xmm0, dword [esp + 0xc]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0xc]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x78]
addss xmm0, dword [esp + 0x90]
movss dword [esp + 0x70], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x70]
xorps xmm4, xmm4
movss xmm5, dword [esp + 0x80]
movss xmm6, dword [esp + 0xac]
subss xmm3, xmm5
cvtsd2ss xmm4, xmm0
mov edx, dword [esp + 0x54]
mov ecx, dword [edi + 0x20]
movss xmm2, dword [0x1016a544]
movaps xmm0, xmm3
mulss xmm4, dword [esp + 0x78]
movaps xmm7, xmm2
mov eax, dword [esp + edx*4 + 0xe0]
mov edx, dword [esp + edx*4 + 0xdc]
mulss xmm0, xmm3
mov dword [esp + 0x4c], eax
addss xmm4, dword [esp + 0x88]
mov eax, dword [edi + 0x18]
subss xmm4, xmm6
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
divss xmm7, xmm1
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x8c], eax
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0xc], eax
cmp eax, dword [esp + 0x8c]
jae 0x100784ef
movzx eax, dl
mov dword [esp + 0x18], eax
mov eax, edx
shr eax, 8
movzx esi, al
mov eax, dword [esp + 0x4c]
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0x4c]
shr edx, 0x10
movzx edx, dl
shr eax, 8
sub ecx, edx
mov dword [esp + 0x64], edx
movzx edx, al
mov eax, dword [esp + 0x4c]
sub edx, esi
movzx edi, al
sub edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x70], esi
mov esi, dword [esp + 0x64]
nop word [eax + eax]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
subss xmm0, xmm5
subss xmm1, xmm6
mulss xmm0, xmm3
mulss xmm1, xmm4
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, xmm7
comiss xmm0, xmm1
jbe 0x1007843e
xorps xmm2, xmm2
jmp 0x10078442
minss xmm2, xmm1
movd xmm1, ecx
movaps xmm0, xmm2
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mov esi, dword [esp + 0xc]
addss xmm0, xmm1
movd xmm1, edx
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm1
shl eax, 8
movd xmm1, dword [esp + 0x70]
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x10], eax
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, edi
or dword [esp + 0x10], eax
shl dword [esp + 0x10], 8
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm0
movd xmm0, dword [esp + 0x18]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [0x1016a544]
or dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
and eax, 0xff000000
or dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x10], eax
mov eax, esi
mov esi, dword [esp + 0x64]
add eax, 0x14
mov dword [esp + 0xc], eax
cmp eax, dword [esp + 0x8c]
jb 0x10078410
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x54]
movss xmm4, dword [esp + 0xf8]
inc eax
movss xmm3, dword [esp + 0xd4]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x54], eax
cmp eax, 6
jl 0x10078210
movss xmm0, dword [esp + 0x3c]
addss xmm0, xmm0
mulss xmm0, dword [0x1016a910]
movss dword [esp + 0x3c], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm3, dword [esp + 0x3c]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0xc], xmm0
cvtps2pd xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0xb], 0
xorps xmm5, xmm5
movss xmm2, dword [esp + 0x78]
addss xmm2, dword [esp + 0x50]
movss xmm3, dword [esp + 0xc]
movss xmm6, dword [esp + 0x90]
movss xmm4, dword [esp + 0x7c]
cvtsd2ss xmm5, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm3
mulss xmm2, xmm5
mulss xmm0, dword [0x1016a500]
mulss xmm2, dword [0x1016a500]
addss xmm0, xmm6
movss dword [esp + 0x64], xmm5
addss xmm2, dword [esp + 0x88]
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm2
je 0x100785c2
mulss xmm4, dword [0x1016a510]
jmp 0x100785ca
mulss xmm4, dword [0x1016a504]
movaps xmm0, xmm4
movss dword [esp + 0x7c], xmm4
divss xmm0, dword [0x1016a558]
cvttss2si eax, xmm0
cmp eax, 9
jge 0x100785eb
mov eax, 9
jmp 0x100785f5
mov ecx, 0x20
cmp eax, ecx
cmovg eax, ecx
test dword [esp + 0x1c], 0xff000000
movss xmm2, dword [0x1016a950]
mov esi, dword [esp + 0x68]
mov dword [esp + 0x50], eax
je 0x10078678
cmp eax, 2
jle 0x1007876c
movd xmm1, eax
xorps xmm3, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
push ecx
lea eax, [esp + 0x48]
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, dword [0x1016a544]
mulss xmm0, xmm2
movaps xmm2, xmm4
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.10067000
push dword [esp + 0x1c]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10066ae0
movss xmm2, dword [0x1016a950]
movss xmm4, dword [esp + 0x7c]
mov eax, dword [esp + 0x50]
mov dword [edi + 0x54], 0
jmp 0x10078681
cmp eax, 2
jle 0x1007876c
movd xmm1, eax
xorps xmm3, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
push ecx
lea eax, [esp + 0x48]
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, dword [0x1016a544]
mulss xmm0, xmm2
movaps xmm2, xmm4
addss xmm2, dword [0x1016a544]
divss xmm0, xmm1
subss xmm2, dword [0x1016a500]
movss dword [esp], xmm0
push eax
call fcn.10067000
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xff808080
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10065fa0
mov eax, dword [esp + 0x50]
mov dword [edi + 0x54], 0
cmp eax, 2
jle 0x10078757
movd xmm1, eax
xorps xmm3, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
lea eax, [esp + 0x44]
push ecx
movss xmm2, dword [esp + 0x84]
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, dword [0x1016a544]
subss xmm2, dword [0x1016a500]
mulss xmm0, dword [0x1016a950]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.10067000
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10065fa0
mov dword [edi + 0x54], 0
movss xmm6, dword [esp + 0x90]
movss xmm5, dword [esp + 0x64]
movss xmm3, dword [esp + 0xc]
movss xmm4, dword [esp + 0x20]
movaps xmm2, xmm3
mulss xmm2, xmm4
xorps xmm1, xmm1
mov eax, dword [0x10256160]
mov ecx, edi
movaps xmm0, xmm5
mulss xmm0, xmm1
push 6
push 6
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0xbc]
addss xmm2, xmm6
movss dword [esp + 0x28], xmm2
movaps xmm2, xmm5
mulss xmm2, xmm4
movaps xmm4, xmm3
mulss xmm4, dword [esp + 0xbc]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xb0]
mulss xmm5, dword [esp + 0xac]
addss xmm2, dword [esp + 0x90]
movss dword [esp + 0x2c], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xb0]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0xac]
addss xmm0, xmm1
addss xmm2, xmm6
addss xmm3, xmm1
addss xmm4, xmm6
addss xmm0, dword [esp + 0x90]
movss dword [esp + 0x88], xmm2
addss xmm3, dword [esp + 0x90]
movss dword [esp + 0xb4], xmm4
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [eax + 0x18b4]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [eax + 0x18b8]
movss dword [esp + 0x14], xmm3
movss dword [esp + 0xb8], xmm3
movss dword [esp + 0x78], xmm0
call fcn.10065df0
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x30]
movss xmm2, dword [esp + 0x20]
movss xmm3, dword [esp + 0x24]
movss xmm0, dword [esp + 0x40]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss xmm1, dword [esp + 0x70]
mov edx, dword [esp + 0x1c]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
movss xmm5, dword [esp + 0x80]
movss xmm4, dword [esp + 0x84]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], edx
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
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
inc dword [edi + 0x30]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x30]
movss xmm7, dword [esp + 0xac]
movss xmm6, dword [esp + 0xc]
mov word [eax], cx
add dword [edi + 0x38], 2
mov eax, dword [edi + 0x34]
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0xffffffff
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], 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
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], 0xff000000
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], xmm7
movss dword [eax + 4], xmm6
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, [edi + 0x54]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], edx
cmp ecx, edx
jne 0x10078a34
inc ecx
test edx, edx
je 0x10078a1d
mov eax, edx
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x40]
jmp 0x10078a22
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x54]
call fcn.1005df10
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x60]
add eax, 0x54
mov dword [esp + 0x50], eax
mov edx, dword [ecx]
inc edx
mov dword [ecx], edx
mov edi, dword [ecx + 4]
cmp edx, edi
jne 0x10078a91
lea ecx, [edx + 1]
test edi, edi
je 0x10078a75
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10078a7a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x54]
call fcn.1005df10
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x80]
mov edi, dword [esp + 0x84]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x60]
add eax, 0x54
mov dword [esp + 0x1c], eax
mov edx, dword [ecx]
inc edx
mov dword [ecx], edx
mov edi, dword [eax + 4]
cmp edx, edi
jne 0x10078af0
lea ecx, [edx + 1]
test edi, edi
je 0x10078ad8
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10078add
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x20]
call fcn.1005df10
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0xac]
mov edi, dword [esp + 0xb0]
push ecx
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x64]
mov ecx, edi
mov dword [esp], 0x3fc00000
push 1
inc dword [eax]
push 0xff808080
push dword [eax]
push dword [edi + 0x5c]
call fcn.10065fa0
movss xmm0, dword [0x1016a544]
xorps xmm1, xmm1
movaps xmm2, xmm0
mov dword [edi + 0x54], 0
subss xmm2, dword [esp + 0x6c]
comiss xmm1, xmm2
jbe 0x10078b54
xorps xmm4, xmm4
jmp 0x10078b5b
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm2, dword [esp + 0x5c]
comiss xmm1, xmm2
jbe 0x10078b6b
xorps xmm3, xmm3
jmp 0x10078b72
movaps xmm3, xmm0
minss xmm3, xmm2
movss xmm0, dword [esp + 0x20]
subss xmm0, dword [esp + 0xac]
movss xmm2, dword [esp + 0x24]
subss xmm2, dword [esp + 0xc]
mulss xmm0, xmm3
mulss xmm2, xmm3
addss xmm0, dword [esp + 0xac]
movss xmm3, dword [esp + 0x80]
addss xmm2, dword [esp + 0xc]
subss xmm3, xmm0
mulss xmm3, xmm4
addss xmm3, xmm0
movss xmm0, dword [esp + 0x84]
subss xmm0, xmm2
movss dword [esp + 0x30], xmm3
mulss xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0x34], xmm0
jmp 0x10078ef4
test eax, 0x2000000
je 0x10078ef4
movss xmm0, dword [esp + 0xc]
lea eax, [esp + 0x20]
addss xmm0, dword [esp + 0x14]
push 0xffffffffffffffff
push edx
push edx
push 0xffffffffffffffff
movss dword [esp + 0x30], xmm0
mov ecx, edi
movss xmm0, dword [esp + 0x3c]
addss xmm0, dword [esp + 0x24]
push eax
lea eax, [esp + 0x54]
push eax
movss dword [esp + 0x3c], xmm0
call fcn.100677b0
movss xmm0, dword [esp + 0xc]
lea eax, [esp + 0xb8]
addss xmm0, dword [esp + 0x14]
push 0xff000000
push 0xff000000
push 0
push 0
push eax
movss dword [esp + 0xcc], xmm0
lea eax, [esp + 0x54]
movss xmm0, dword [esp + 0x38]
mov ecx, edi
push eax
movss dword [esp + 0xd4], xmm0
call fcn.100677b0
movss xmm0, dword [esp + 0xc]
addss xmm0, dword [esp + 0x14]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x74], xmm0
xorps xmm0, xmm0
push dword [esp + 0x74]
push dword [esp + 0x74]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.1004e800
movss xmm3, dword [esp + 0x6c]
xorps xmm0, xmm0
movss xmm1, dword [0x1016a544]
add esp, 0x10
comiss xmm0, xmm3
jbe 0x10078cbf
xorps xmm2, xmm2
jmp 0x10078cc6
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm3, dword [esp + 0x14]
movss xmm6, dword [esp + 0xc]
movss xmm5, dword [0x1016a500]
mulss xmm2, xmm3
movss xmm7, dword [0x1016a58c]
addss xmm2, xmm6
addss xmm2, xmm5
cvttss2si eax, xmm2
movaps xmm2, xmm6
addss xmm2, xmm7
movd xmm4, eax
cvtdq2ps xmm4, xmm4
comiss xmm2, xmm4
ja 0x10078d14
movaps xmm2, xmm6
addss xmm2, xmm3
subss xmm2, xmm7
minss xmm2, xmm4
movss dword [esp + 0x30], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x6c]
comiss xmm0, xmm2
jbe 0x10078d2d
xorps xmm1, xmm1
jmp 0x10078d31
minss xmm1, xmm2
movss xmm2, dword [esp + 0x2c]
mulss xmm1, xmm3
movaps xmm0, xmm2
addss xmm0, xmm7
addss xmm1, xmm2
addss xmm1, xmm5
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10078d68
movss xmm0, dword [esp + 0x24]
subss xmm0, xmm7
minss xmm0, xmm1
movss xmm4, dword [esp + 0x4c]
movaps xmm1, xmm3
divss xmm1, dword [0x1016a940]
mov esi, dword [esp + 0x60]
xor ecx, ecx
movss dword [esp + 0x34], xmm0
movaps xmm0, xmm4
addss xmm0, dword [esp + 0x48]
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x94], xmm4
movss dword [esp + 0xb8], xmm0
nop word [eax + eax]
mov eax, dword [esp + ecx*4 + 0xe0]
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 + 0xe4]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0xa8]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0xb0], xmm0
call fcn.100677b0
movss xmm1, dword [esp + 0x40]
mov ecx, edi
movss xmm2, dword [esp + 0x2c]
cmp ecx, 6
jl 0x10078db0
movss xmm3, dword [esp + 0x4c]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x14]
movaps xmm1, xmm3
movss dword [esp + 0x44], xmm2
addss xmm1, dword [esp + 0x48]
movss dword [esp + 0x40], xmm3
movss dword [esp + 0x24], xmm0
xorps xmm0, xmm0
push dword [esp + 0x24]
movss dword [esp + 0x24], xmm1
push dword [esp + 0x24]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.1004e800
mov esi, dword [esp + 0x78]
movss xmm1, dword [esp + 0x58]
addss xmm1, dword [0x1016a58c]
mov edi, dword [esp + 0x70]
mov ecx, edi
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x34], xmm2
addss xmm0, dword [0x1016a544]
push dword [esp + 0x34]
movss xmm2, dword [esp + 0x60]
subss xmm2, dword [0x1016a544]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x50]
mulss xmm0, dword [esp + 0x28]
push dword [esp + 0x34]
movss dword [esp + 0x58], xmm2
addss xmm0, dword [esp + 0x44]
addss xmm0, dword [0x1016a500]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x5c], xmm0
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.10076c10
add esp, 0x20
cmp byte [esp + 0xa], 0
je 0x10078f0c
movss xmm0, dword [0x1016a960]
movss dword [esp + 0xc8], xmm0
movss xmm2, dword [esp + 0xc8]
lea eax, [esp + 0x30]
push 0xb
push ecx
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
mov ecx, edi
call fcn.10067000
push dword [esp + 0x58]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10066ae0
movss xmm2, dword [esp + 0xc8]
lea eax, [esp + 0x30]
addss xmm2, dword [0x1016a544]
push 0xb
push ecx
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
subss xmm2, dword [0x1016a500]
mov ecx, edi
mov dword [edi + 0x54], 0
call fcn.10067000
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xff808080
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10065fa0
movss xmm2, dword [esp + 0xc8]
lea eax, [esp + 0x30]
subss xmm2, dword [0x1016a500]
push 0xb
push ecx
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
mov ecx, edi
mov dword [edi + 0x54], 0
call fcn.10067000
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10065fa0
cmp dword [esp + 0xcc], 0x10000
mov dword [edi + 0x54], 0
jne 0x10079181
mov eax, dword [esp + 0x38]
xorps xmm2, xmm2
movss xmm1, dword [eax + 0xc]
comiss xmm2, xmm1
jbe 0x1007900f
movss dword [esp + 0x68], xmm2
jmp 0x10079021
movss xmm0, dword [0x1016a544]
minss xmm0, xmm1
movss dword [esp + 0x68], xmm0
movss xmm3, dword [esp + 0xd0]
or edx, 0xffffffff
movss xmm0, dword [esp + 0x2c]
movaps xmm1, xmm3
addss xmm1, dword [esp + 0x48]
movss dword [esp + 0xbc], xmm0
xor ecx, ecx
addss xmm0, dword [esp + 0x14]
mov dword [esp + 0x24], 0
push dword [esp + 0x24]
movss dword [esp + 0xc4], xmm1
subss xmm1, xmm3
mov dword [esp + 0x24], 0
push dword [esp + 0x24]
movss dword [esp + 0xcc], xmm0
push dword [esp + 0xcc]
mulss xmm1, dword [0x1016a500]
push dword [esp + 0xcc]
movss dword [esp + 0xc8], xmm3
push dword [esp + 0xcc]
mov edi, dword [esp + 0xcc]
push edi
call fcn.10076940
mov ecx, dword [esp + 0x70]
add esp, 0x18
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.100677b0
push dword [esp + 0xc4]
xorps xmm0, xmm0
push dword [esp + 0xc4]
push dword [esp + 0xc4]
push edi
call fcn.1004e800
movss xmm1, dword [0x1016a544]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x70]
movaps xmm0, xmm2
movss dword [esp + 0x34], xmm2
movss xmm2, dword [esp + 0xe0]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0x78]
push dword [esp + 0x34]
movss dword [esp + 0x34], xmm0
push dword [esp + 0x34]
mulss xmm1, dword [esp + 0x2c]
movss dword [esp + 0x48], xmm2
addss xmm1, dword [esp + 0x44]
addss xmm1, dword [0x1016a500]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x60]
addss xmm1, dword [0x1016a58c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x4c], xmm0
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.10076c10
add esp, 0x20
call fcn.10058100
cmp byte [esp + 8], 0
mov edi, dword [0x10256160]
je 0x1007921e
mov ecx, dword [esp + 0x38]
lea esi, [esp + 0x100]
xor edx, edx
cmp dword [esp + 0xd8], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x100791d1
nop word [eax + eax]
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x100791d6
add esi, 4
add ecx, 4
sub edx, 4
jae 0x100791c0
cmp edx, 0xfffffffc
je 0x10079219
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x10079203
cmp edx, 0xfffffffd
je 0x10079219
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x10079203
cmp edx, 0xfffffffe
je 0x10079219
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x10079203
cmp edx, 0xffffffff
je 0x10079219
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x10079219
mov eax, dword [edi + 0x198c]
mov byte [edi + 0x19bf], 1
or dword [eax + 0x110], 4
jmp 0x1007921e
mov byte [esp + 8], 0
mov ecx, dword [edi + 0x198c]
mov al, byte [esp + 8]
pop edi
pop esi
dec dword [ecx + 0x1c0]
mov esp, ebp
pop ebp
ret