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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x138
mov eax, dword [0x1039b040]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], ecx
mov ecx, dword [0x1039da5c]
mov dword [esp + 0x68], eax
push esi
push edi
mov eax, dword [ecx + 0x1398]
mov edi, edx
mov dword [esp + 0xa8], edi
mov dword [esp + 0x24], ecx
mov byte [eax + 0x8c], 1
mov edx, dword [ecx + 0x1398]
mov dword [esp + 0xd8], edx
cmp byte [edx + 0x8f], 0
je 0x100e9e93
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.1012583c
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x142c], 1
mov eax, dword [edx + 0x244]
mov dword [esp + 0x1c], eax
je 0x100e9eb0
movss xmm1, dword [ecx + 0x1430]
jmp 0x100e9eb8
movss xmm1, dword [edx + 0x180]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x100e9efa
cmp dword [edx + 0x170], 0
movss xmm0, dword [edx + 0x208]
jne 0x100e9eda
cmp dword [ecx + 0x175c], 0
je 0x100e9ee2
movss xmm0, dword [edx + 0x1d8]
subss xmm0, dword [edx + 0xd0]
addss xmm0, xmm1
movss xmm1, dword [0x1038d99c]
maxss xmm1, xmm0
mov dword [ecx + 0x142c], 0
mov ecx, dword [esp + 0x2c]
cvttss2si esi, xmm1
call fcn.100cc2e0
call fcn.100cd080
mov ecx, dword [ebp + 8]
mov edx, ecx
or edx, 0x10
test ecx, 0x100
cmovne edx, ecx
mov dword [esp + 0x40], edx
test dl, 8
jne 0x100e9f3b
mov ecx, edi
call fcn.100ed920
mov edx, dword [esp + 0x40]
test edx, 0x6000000
jne 0x100e9f64
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x26bc]
test eax, 0x6000000
mov ecx, 0xa900000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x100e9f66
mov ecx, edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
test ecx, 0x18000000
jne 0x100e9f9d
mov eax, dword [edx + 0x26bc]
mov edi, 0xa900000
test eax, 0x18000000
cmovne edi, eax
mov eax, edi
mov edi, dword [esp + 0xa8]
and eax, 0x18000000
or ecx, eax
mov dword [esp + 0xc], ecx
test cl, 8
jne 0x100e9fb3
mov eax, dword [edx + 0x26bc]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0xc], ecx
movss xmm2, dword [edx + 0xd6c]
mov eax, ecx
and eax, 2
and ecx, 0x10002
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0xdc], ecx
mov ecx, dword [0x1039da5c]
movss xmm3, dword [eax + 0xd0]
movss xmm0, dword [eax + 0xd4]
xor eax, eax
movss xmm4, dword [ecx + 0xd58]
cmp dword [esp + 0xdc], 0x10000
addss xmm4, xmm4
movss dword [esp + 0x28], xmm0
sete al
movss dword [esp + 0x54], xmm0
inc eax
movss dword [esp + 0x74], xmm3
movaps xmm0, xmm2
movss dword [esp + 0x50], xmm3
addss xmm4, dword [ecx + 0x1134]
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0xe4], eax
sete al
addss xmm0, xmm4
movss dword [esp + 0x6c], xmm4
lea eax, [eax*4 + 0xc]
push eax
lea eax, [esp + 0x130]
mulss xmm1, xmm0
push edi
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push eax
subss xmm0, xmm1
movaps xmm1, xmm4
maxss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [esp + 0x24], xmm1
addss xmm0, xmm2
movss dword [esp + 0x9c], xmm0
addss xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0xec], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x1038d8e8]
cvttss2si esi, xmm0
mov dword [esp + 0xd0], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm0, dword [esp + 0x24]
add esp, 0xc
movaps xmm4, xmm0
movaps xmm3, xmm0
mulss xmm3, dword [0x1038d8b8]
mulss xmm4, dword [0x1038d930]
movss dword [esp + 0x9c], xmm3
movaps xmm2, xmm4
movss dword [esp + 0x64], xmm4
subss xmm2, xmm3
movaps xmm1, xmm4
addss xmm1, dword [esp + 0x28]
movaps xmm3, xmm0
mulss xmm0, dword [0x1038d8a0]
addss xmm3, dword [esp + 0x6c]
movss dword [esp + 0xa0], xmm2
cvttss2si eax, xmm0
mulss xmm3, dword [0x1038d930]
movss dword [esp + 0xc0], xmm1
movss dword [esp + 0x104], xmm1
movaps xmm1, xmm2
addss xmm3, dword [esp + 0x74]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xd0], xmm3
subss xmm1, xmm0
movss dword [esp + 0x100], xmm3
movss dword [esp + 0x30], xmm1
movss xmm5, dword [edi]
movaps xmm0, xmm1
mulss xmm0, dword [0x1038dda8]
movaps xmm2, xmm1
mov eax, dword [esp + 0xc]
mulss xmm2, dword [0x1038ddb4]
movaps xmm7, xmm5
mov dword [esp + 0x34], 0
movss xmm4, dword [edi + 8]
movss xmm3, dword [0x1038db5c]
movss dword [esp + 0xd4], xmm0
movss dword [esp + 0xf0], xmm0
movss dword [esp + 0x110], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x1038d978]
movaps xmm1, xmm4
movss dword [esp + 0xb4], xmm2
movss dword [esp + 0xf4], xmm2
movss xmm2, dword [edi + 4]
movss dword [esp + 0xcc], xmm0
movss dword [esp + 0x114], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x4c], xmm5
movss dword [esp + 0x14], xmm7
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x20], xmm0
movss dword [esp + 0xa4], xmm4
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0x60], xmm5
movss dword [esp + 0x5c], xmm2
movss dword [esp + 0x8c], xmm4
movss dword [esp + 0xd8], xmm3
test eax, 0x8000000
je 0x100ea373
movaps xmm0, xmm4
xorps xmm6, xmm6
comiss xmm0, xmm2
xorps xmm3, xmm3
movaps xmm7, xmm2
jbe 0x100ea257
movss xmm3, dword [0x1038ddb8]
movaps xmm7, xmm0
movaps xmm4, xmm2
comiss xmm7, xmm5
movaps xmm2, xmm5
movss dword [esp + 0x3c], xmm2
jbe 0x100ea280
movss xmm0, dword [0x1038dda0]
movaps xmm2, xmm7
subss xmm0, xmm3
movss dword [esp + 0x3c], xmm2
movaps xmm7, xmm5
movaps xmm3, xmm0
movaps xmm0, xmm7
movss dword [esp + 0x78], xmm5
minss xmm0, xmm4
mov dword [esp + 0x84], 0
movaps xmm1, xmm2
subss xmm7, xmm4
lea ecx, [esp + 0x78]
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x1038db5c]
addss xmm0, dword [0x1038d85c]
divss xmm7, xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x1038d85c]
addss xmm7, xmm3
divss xmm1, xmm0
movss xmm0, dword [esp + 0x48]
andps xmm7, xmmword [0x1038e2f0]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x14], xmm7
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x80], xmm0
call fcn.100c1990
mov ecx, dword [0x1039da5c]
cmp dword [ecx + 0x26c8], eax
jne 0x100ea3cb
movss xmm0, dword [esp + 0x20]
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jnp 0x100ea346
ucomiss xmm7, xmm6
lahf
test ah, 0x44
jp 0x100ea354
movss xmm0, dword [ecx + 0x26c0]
ucomiss xmm0, dword [0x1038d99c]
lahf
test ah, 0x44
jp 0x100ea354
movss xmm0, dword [ecx + 0x26c0]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x3c]
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jp 0x100ea3cb
movss xmm0, dword [ecx + 0x26c4]
movss dword [esp + 0x20], xmm0
jmp 0x100ea3cb
test eax, 0x10000000
je 0x100ea3c5
lea eax, [esp + 0x8c]
movaps xmm2, xmm1
movaps xmm1, xmm0
lea edx, [esp + 0x5c]
push eax
lea ecx, [esp + 0x64]
movaps xmm0, xmm7
call fcn.100c1a40
movss xmm0, dword [esp + 0x64]
add esp, 4
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x8c]
movss dword [esp + 0xa4], xmm0
mov ecx, dword [0x1039da5c]
mov eax, dword [ecx + 0x1428]
lea edx, [ecx + 0x150c]
or eax, 8
mov byte [esp + 9], 0
mov dword [ecx + 0x1428], eax
mov ecx, dword [edx + 4]
mov byte [esp + 0x13], 0
mov byte [esp + 0xb], 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
cmp dword [edx], ecx
jne 0x100ea431
test ecx, ecx
je 0x100ea411
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x44]
sar eax, 1
add eax, ecx
jmp 0x100ea416
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.100bf2b0
mov edi, dword [esp + 0xa8]
mov edx, dword [esp + 0x44]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x40]
mov dword [eax + ecx*4], esi
inc dword [edx]
mov eax, dword [esp + 0xc]
test eax, 0x4000000
je 0x100eaa2d
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x78]
movss xmm1, dword [esp + 0x18]
movaps xmm0, xmm1
movss dword [esp + 0x7c], xmm1
push ecx
addss xmm0, dword [ecx + 0xd6c]
mov ecx, 0x10388e50
addss xmm0, dword [esp + 0x70]
movss dword [esp + 0x7c], xmm0
call fcn.100dd870
mov ecx, dword [0x1039da5c]
add esp, 4
mov eax, dword [ecx + 0x13d0]
test eax, eax
je 0x100ea919
cmp eax, dword [ecx + 0x1440]
jne 0x100ea919
mov eax, dword [esp + 0x24]
movss xmm0, dword [eax + 0xb88]
subss xmm0, dword [esp + 0xc0]
movss xmm1, dword [eax + 0xb84]
subss xmm1, dword [esp + 0xd0]
movss xmm4, dword [eax + 0x2b4]
movss xmm3, dword [eax + 0x2b8]
subss xmm4, dword [esp + 0xd0]
subss xmm3, dword [esp + 0xc0]
movaps xmm2, xmm0
movss dword [esp + 0xc8], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0xb8], xmm1
movss xmm1, dword [0x1038d99c]
addss xmm2, xmm0
movss dword [esp + 0x44], xmm4
movss xmm0, dword [esp + 0xa0]
subss xmm0, xmm1
movss dword [esp + 0x94], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x100ea5b8
movss xmm0, dword [esp + 0x64]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x100ea5b8
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x78], xmm0
fld qword [esp + 0x78]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x78], xmm0
fld qword [esp + 0x78]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm2, dword [0x1038db10]
xorps xmm0, xmm0
fstp qword [esp + 0x78]
movsd xmm1, qword [esp + 0x78]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x1038d930]
comiss xmm0, xmm1
movss dword [esp + 0x14], xmm1
jbe 0x100ea5b0
addss xmm1, dword [0x1038d99c]
movss dword [esp + 0x14], xmm1
mov al, 1
mov byte [esp + 9], al
jmp 0x100ea5ca
mov al, byte [esp + 9]
movss xmm2, dword [0x1038db10]
movss xmm1, dword [esp + 0x14]
movaps xmm0, xmm1
mov byte [esp + 0x13], al
xorps xmm0, xmmword [0x1038e320]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x78], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x40], xmm0
movsd xmm0, qword [esp + 0x78]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm4, dword [esp + 0x40]
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm0
movss xmm1, dword [esp + 0xd4]
movaps xmm5, xmm4
mulss xmm5, dword [esp + 0xb8]
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xc8]
movaps xmm6, xmm4
mulss xmm6, dword [esp + 0xc8]
subss xmm5, xmm0
movss dword [esp + 0xe8], xmm3
movaps xmm0, xmm3
movss xmm7, dword [esp + 0x30]
mulss xmm0, dword [esp + 0xb8]
movaps xmm3, xmm1
subss xmm3, xmm1
movaps xmm2, xmm5
addss xmm6, xmm0
movss xmm0, dword [esp + 0xb4]
subss xmm0, dword [esp + 0xcc]
subss xmm2, xmm1
subss xmm7, dword [esp + 0xd4]
movss dword [esp + 0xb8], xmm3
movss dword [esp + 0xc8], xmm0
movaps xmm1, xmm2
mulss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0xcc]
movss dword [esp + 0xac], xmm7
mulss xmm0, xmm3
xorps xmm3, xmm3
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xb4]
comiss xmm3, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x40], xmm0
movaps xmm0, xmm6
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0xb4]
mulss xmm0, xmm7
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x100ea911
movss xmm2, dword [esp + 0xcc]
subss xmm6, xmm3
movss xmm7, dword [esp + 0xd4]
subss xmm2, xmm3
subss xmm7, dword [esp + 0x30]
subss xmm5, dword [esp + 0x30]
movss dword [esp + 0x78], xmm2
mulss xmm6, xmm7
mulss xmm5, xmm2
movss dword [esp + 0x68], xmm7
subss xmm5, xmm6
comiss xmm3, xmm5
seta al
cmp cl, al
jne 0x100ea911
movss xmm1, dword [esp + 0xe8]
movaps xmm5, xmm4
movss xmm6, dword [esp + 0x94]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x44]
mulss xmm5, dword [esp + 0x44]
mulss xmm0, xmm6
mulss xmm4, xmm6
subss xmm5, xmm0
addss xmm4, xmm1
movaps xmm1, xmm5
movss dword [esp + 0x94], xmm5
subss xmm1, dword [esp + 0xd4]
movaps xmm0, xmm4
movss dword [esp + 0x98], xmm4
subss xmm0, dword [esp + 0xcc]
mulss xmm1, dword [esp + 0xc8]
mulss xmm0, dword [esp + 0xb8]
subss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xb4]
comiss xmm3, xmm1
mulss xmm0, dword [esp + 0xac]
movaps xmm1, xmm5
subss xmm1, dword [esp + 0xd4]
seta cl
mulss xmm1, dword [esp + 0x40]
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x100ea825
movaps xmm1, xmm5
movaps xmm0, xmm4
subss xmm1, dword [esp + 0x30]
subss xmm0, xmm3
mulss xmm1, xmm2
mulss xmm0, xmm7
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp cl, al
je 0x100ea862
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0xf8]
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0xf4]
call fcn.100c1050
movss xmm7, dword [esp + 0x74]
add esp, 0xc
xorps xmm3, xmm3
movss xmm5, dword [eax]
movss xmm4, dword [eax + 4]
movss xmm2, dword [esp + 0xb4]
subss xmm4, xmm3
subss xmm5, dword [esp + 0x30]
subss xmm2, xmm3
movaps xmm0, xmm7
movaps xmm1, xmm7
movss xmm3, dword [0x1038d99c]
mulss xmm1, dword [esp + 0x78]
movaps xmm6, xmm3
mulss xmm4, xmm7
mulss xmm0, xmm2
subss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x78]
mulss xmm5, xmm2
subss xmm0, xmm4
subss xmm4, xmm5
divss xmm0, xmm1
divss xmm4, xmm1
subss xmm6, xmm0
movss xmm0, dword [0x1038d870]
movss dword [esp + 0x20], xmm0
comiss xmm0, xmm6
movaps xmm2, xmm6
subss xmm2, xmm4
jbe 0x100ea8e2
movaps xmm1, xmm0
movss dword [esp + 0x3c], xmm0
jmp 0x100ea8ef
movaps xmm1, xmm3
minss xmm1, xmm6
movss dword [esp + 0x3c], xmm1
divss xmm2, xmm1
comiss xmm0, xmm2
ja 0x100ea905
movaps xmm0, xmm3
minss xmm0, xmm2
movss dword [esp + 0x20], xmm0
mov byte [esp + 0xb], 1
mov byte [esp + 9], 1
jmp 0x100ea919
mov al, byte [esp + 9]
mov byte [esp + 0x13], al
mov eax, dword [esp + 0xc]
test al, 8
jne 0x100ea926
call fcn.100ce0c0
mov edx, dword [0x1039da5c]
movss xmm3, dword [esp + 0x28]
movss xmm4, dword [esp + 0x18]
cmp dword [esp + 0xdc], 0x10000
mov esi, dword [esp + 0xc4]
jne 0x100eaca2
mov eax, dword [edx + 0x1398]
movss xmm0, dword [esp + 0xe0]
push ecx
mov ecx, str.alpha
movss dword [esp + 0xf8], xmm4
mov byte [eax + 0x8c], 1
mov eax, dword [edx + 0x1398]
lea edx, [esp + 0xf4]
movss dword [eax + 0xd0], xmm0
movss dword [eax + 0xd4], xmm3
movss xmm1, dword [eax + 0xe8]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xec]
maxss xmm0, xmm3
movss dword [eax + 0xe8], xmm1
movss dword [eax + 0xec], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0xf4], xmm0
call fcn.100dd870
mov edx, dword [0x1039da5c]
add esp, 4
mov eax, dword [edx + 0x13d0]
test eax, eax
je 0x100eaca2
cmp eax, dword [edx + 0x1440]
jne 0x100eaca2
mov eax, dword [esp + 0x24]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x18]
movss xmm1, dword [0x1038d99c]
subss xmm0, xmm1
movss xmm3, dword [eax + 0x2b8]
subss xmm3, dword [esp + 0x28]
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x100eac8a
xorps xmm4, xmm4
jmp 0x100eac91
test eax, 0x2000000
je 0x100ea926
movss xmm0, dword [esp + 0x18]
lea edx, [esp + 0xf0]
push ecx
mov ecx, 0x10388e4c
movss dword [esp + 0xf4], xmm0
movss dword [esp + 0xf8], xmm0
call fcn.100dd870
mov eax, dword [0x1039da5c]
add esp, 4
mov ecx, dword [eax + 0x13d0]
test ecx, ecx
je 0x100eab5b
cmp ecx, dword [eax + 0x1440]
jne 0x100eab5b
mov eax, dword [esp + 0x24]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x18]
movss xmm1, dword [0x1038d99c]
subss xmm4, xmm1
movss xmm3, dword [eax + 0x2b4]
subss xmm3, dword [esp + 0x74]
divss xmm3, xmm4
comiss xmm0, xmm3
jbe 0x100eaabc
movss dword [esp + 0x20], xmm0
jmp 0x100eaac9
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x20], xmm2
movss xmm2, dword [eax + 0x2b8]
subss xmm2, dword [esp + 0x28]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x100eaae5
xorps xmm3, xmm3
jmp 0x100eaaec
movaps xmm3, xmm1
minss xmm3, xmm2
movaps xmm0, xmm1
mov dword [esp + 0xfc], 0
subss xmm0, xmm3
lea ecx, [esp + 0xf0]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0xf0], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0xf4], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0xf8], xmm0
call fcn.100c1990
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x26c8], eax
jne 0x100eab53
movss xmm0, dword [ecx + 0x26c0]
movss dword [esp + 0x14], xmm0
mov al, 1
mov byte [esp + 9], al
jmp 0x100eab5f
mov al, byte [esp + 9]
mov byte [esp + 0xb], al
mov byte [esp + 0xa], al
mov eax, dword [esp + 0xc]
test al, 8
jne 0x100eab74
call fcn.100ce0c0
mov ecx, dword [0x1039da5c]
lea edx, [esp + 0xf0]
movss xmm0, dword [esp + 0x90]
movss xmm2, dword [esp + 0x28]
push ecx
mov eax, dword [ecx + 0x1398]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1398]
mov ecx, 0x10388eb8
movss dword [eax + 0xd0], xmm0
movss dword [eax + 0xd4], xmm2
movss xmm1, dword [eax + 0xe8]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xec]
maxss xmm0, xmm2
movss dword [eax + 0xe8], xmm1
movss dword [eax + 0xec], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0xf4], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0xf8], xmm0
call fcn.100dd870
mov edx, dword [0x1039da5c]
add esp, 4
mov eax, dword [edx + 0x13d0]
test eax, eax
je 0x100ea92c
mov cl, byte [esp + 9]
mov byte [esp + 0xb], cl
cmp eax, dword [edx + 0x1440]
jne 0x100ea92c
mov ecx, dword [esp + 0x24]
movss xmm4, dword [esp + 0x18]
movss xmm3, dword [esp + 0x28]
movaps xmm0, xmm4
movss xmm1, dword [0x1038d99c]
movss xmm2, dword [ecx + 0x2b8]
subss xmm0, xmm1
subss xmm2, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x100eac6d
movaps xmm0, xmm1
minss xmm0, xmm2
mov al, byte [esp + 0xa]
movss dword [esp + 0x14], xmm0
mov byte [esp + 0x13], 1
mov byte [esp + 9], 1
mov byte [esp + 0xb], al
jmp 0x100ea938
movaps xmm4, xmm1
minss xmm4, xmm3
movaps xmm0, xmm1
mov byte [esp + 9], 1
subss xmm0, xmm4
movss dword [edi + 0xc], xmm0
dec dword [edx + 0x150c]
mov eax, dword [edx + 0x1514]
mov ecx, dword [edx + 0x150c]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1428], eax
mov edx, dword [esp + 0xc]
test edx, 0x100
jne 0x100eace7
mov eax, dword [esp + 0x24]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0xd6c]
call fcn.100ccd80
call fcn.100cd080
mov edx, dword [esp + 0xc]
test dl, dl
js 0x100ead4f
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xffffffff
jae 0x100ead4f
mov al, byte [ecx]
mov byte [esp + 0xa], al
test al, al
je 0x100ead0d
cmp al, 0x23
jne 0x100ead07
cmp byte [ecx + 1], al
je 0x100ead0d
inc ecx
cmp ecx, 0xffffffff
jb 0x100eacf4
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x44], ecx
cmp eax, ecx
je 0x100ead4f
test edx, 0x100
je 0x100ead3d
mov eax, dword [esp + 0x24]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0xd6c]
call fcn.100ccd80
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
mov edx, ecx
mov ecx, eax
push 0
call fcn.100db610
mov edx, dword [esp + 0x10]
add esp, 4
test edx, 0x100
jne 0x100eaf9a
mov ecx, dword [0x1039da5c]
mov eax, dword [ecx + 0x1428]
or eax, 0x10
mov dword [ecx + 0x1428], eax
mov esi, dword [ecx + 0x1510]
mov dword [esp + 0x68], eax
lea eax, [ecx + 0x150c]
mov dword [esp + 0x44], esi
mov esi, dword [eax]
mov dword [esp + 0x2c], eax
cmp esi, dword [eax + 4]
jne 0x100eadcb
mov eax, dword [esp + 0x44]
lea edx, [esi + 1]
mov dword [esp + 0x78], edx
test eax, eax
je 0x100eadad
cdq
sub eax, edx
mov edx, dword [esp + 0x78]
sar eax, 1
add eax, dword [esp + 0x44]
jmp 0x100eadb2
mov eax, 8
cmp eax, edx
lea ecx, [ecx + 0x150c]
cmovg edx, eax
push edx
call fcn.100bf2b0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x68]
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0x2c]
inc dword [eax]
test dl, 2
je 0x100eadec
movss xmm1, dword [0x1038d99c]
jmp 0x100eadf1
movss xmm1, dword [edi + 0xc]
movss xmm0, dword [edi]
mov esi, dword [esp + 0xc4]
movss dword [esp + 0xf0], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0xf4], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0xf8], xmm0
movss dword [esp + 0xfc], xmm1
test dl, dl
jns 0x100eae3f
push str.Current
call fcn.100dbd10
mov edx, dword [esp + 0x10]
add esp, 4
movss xmm1, dword [esp + 0x6c]
and edx, 0x180e0040
movaps xmm0, xmm1
mov dword [esp + 0xac], edx
mulss xmm0, dword [0x1038db0c]
mov ecx, str.current
movss dword [esp + 0x94], xmm0
movss dword [esp + 0x78], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x98], xmm0
push dword [esp + 0x98]
movss dword [esp + 0x6c], xmm0
push dword [esp + 0x98]
push edx
lea edx, [esp + 0xfc]
call fcn.100ec740
add esp, 0xc
cmp dword [esp + 0x70], 0
je 0x100eaf6f
push str.Original
call fcn.100dbd10
mov eax, dword [esp + 0x10]
add esp, 4
test al, 2
mov eax, dword [esp + 0x70]
je 0x100eaed3
movss xmm1, dword [0x1038d99c]
jmp 0x100eaed8
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0x110]
movss dword [esp + 0x110], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0x114], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x118], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x7c], xmm0
push dword [esp + 0x7c]
movss dword [esp + 0x120], xmm1
push dword [esp + 0x7c]
push dword [esp + 0xb4]
call fcn.100ec740
add esp, 0xc
test al, al
je 0x100eaf6f
xor eax, eax
cmp dword [esp + 0xe4], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x74]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 9], 1
mov edx, dword [0x1039da5c]
dec dword [edx + 0x150c]
mov eax, dword [edx + 0x1514]
mov ecx, dword [edx + 0x150c]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1428], eax
call fcn.100cd1b0
mov edx, dword [esp + 0xc]
cmp byte [esp + 0x13], 0
jne 0x100eafac
cmp byte [esp + 0xb], 0
je 0x100eb06f
test edx, 0x8000000
je 0x100eb047
movss xmm2, dword [esp + 0x3c]
lea eax, [edi + 8]
movss xmm1, dword [esp + 0x20]
lea edx, [edi + 4]
movss xmm0, dword [esp + 0x14]
mov ecx, edi
push eax
call fcn.100c1a40
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x114]
movss xmm0, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x11c], 0
movss dword [eax + 0x26c0], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [eax + 0x26c4], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x110], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x114], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x118], xmm0
call fcn.100c1990
mov ecx, dword [esp + 0x24]
mov dword [ecx + 0x26c8], eax
jmp 0x100eb06f
test edx, 0x10000000
je 0x100eb06f
movss xmm0, dword [esp + 0x14]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [edi + 8], xmm0
mov eax, dword [esp + 0xc]
mov byte [esp + 0xa], 0
test al, 0x20
jne 0x100eb2b0
cmp dword [esp + 0xdc], 0x10000
jne 0x100eb098
movss xmm0, dword [esp + 0xe0]
jmp 0x100eb0a1
movss xmm0, dword [esp + 0x90]
addss xmm0, dword [esp + 0x6c]
subss xmm0, dword [esp + 0x74]
call fcn.100ccf00
mov eax, dword [esp + 0xc]
mov ecx, eax
and ecx, 0x198e001a
mov dword [esp + 0x2c], ecx
test eax, 0x100000
jne 0x100eb0d0
test eax, 0x700000
jne 0x100eb117
or ecx, 0x100004
mov edx, edi
push ecx
mov ecx, str.rgb
call fcn.100e8a10
add esp, 4
test al, al
je 0x100eb10f
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x13d0], 0
je 0x100eb105
cmp byte [eax + 0x13dd], 0
mov byte [esp + 0xa], 1
je 0x100eb10a
mov byte [esp + 0xa], 0
mov byte [esp + 9], 1
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0xc]
test eax, 0x200000
jne 0x100eb125
test eax, 0x700000
jne 0x100eb143
or ecx, 0x200004
mov edx, edi
push ecx
mov ecx, str.hsv
call fcn.100e8a10
add esp, 4
or byte [esp + 9], al
mov eax, dword [esp + 0xc]
test eax, 0x400000
jne 0x100eb151
test eax, 0x700000
jne 0x100eb16e
mov eax, dword [esp + 0x2c]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.100e8a10
add esp, 4
or byte [esp + 9], al
cmp byte [esp + 0xa], 0
mov ecx, dword [0x1039da5c]
mov eax, dword [ecx + 0x1398]
mov byte [eax + 0x8c], 1
mov edx, dword [ecx + 0x1398]
mov ecx, dword [edx + 0x188]
mov eax, dword [edx + 0x190]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x180], eax
lea eax, [ecx - 1]
mov dword [edx + 0x188], eax
mov eax, dword [esp + 0xc]
je 0x100eb2b0
xorps xmm6, xmm6
test eax, 0x8000000
je 0x100eb2b3
movss xmm2, dword [edi + 4]
xorps xmm5, xmm5
movss xmm4, dword [edi + 8]
comiss xmm4, xmm2
movss xmm3, dword [edi]
jbe 0x100eb1ea
movss xmm5, dword [0x1038ddb8]
movaps xmm0, xmm2
movaps xmm2, xmm4
movaps xmm4, xmm0
comiss xmm2, xmm3
jbe 0x100eb207
movaps xmm0, xmm3
movaps xmm3, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x1038dda0]
subss xmm0, xmm5
movaps xmm5, xmm0
movaps xmm0, xmm2
movaps xmm1, xmm3
minss xmm0, xmm4
subss xmm2, xmm4
subss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x1038d85c]
movaps xmm7, xmm1
mulss xmm1, dword [0x1038db5c]
divss xmm7, xmm0
addss xmm1, dword [0x1038d85c]
divss xmm2, xmm1
addss xmm2, xmm5
andps xmm2, xmmword [0x1038e2f0]
comiss xmm6, xmm2
jb 0x100eb2b3
movss xmm0, dword [esp + 0x14]
comiss xmm0, xmm6
jbe 0x100eb2b3
comiss xmm6, xmm3
jb 0x100eb285
movss xmm1, dword [esp + 0x3c]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jnp 0x100eb281
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x20]
mulss xmm2, dword [0x1038d930]
jmp 0x100eb29b
mov eax, dword [esp + 0xc]
comiss xmm6, xmm7
jb 0x100eb2b3
movss xmm1, dword [esp + 0x20]
movaps xmm2, xmm3
mulss xmm1, dword [0x1038d930]
lea eax, [edi + 8]
mov ecx, edi
push eax
lea edx, [edi + 4]
call fcn.100c1a40
mov eax, dword [esp + 0x10]
add esp, 4
xorps xmm6, xmm6
cmp byte [esp + 9], 0
je 0x100eb496
test eax, 0x8000000
je 0x100eb42d
movss xmm0, dword [edi + 4]
xorps xmm3, xmm3
movss xmm1, dword [edi + 8]
movaps xmm7, xmm0
comiss xmm1, xmm0
movss xmm5, dword [edi]
movaps xmm4, xmm1
movss dword [esp + 0x4c], xmm5
movss dword [esp + 0x48], xmm0
movss dword [esp + 0xa4], xmm1
jbe 0x100eb308
movss xmm3, dword [0x1038ddb8]
movaps xmm7, xmm1
movaps xmm4, xmm0
comiss xmm7, xmm5
movaps xmm2, xmm5
movss dword [esp + 0x3c], xmm2
jbe 0x100eb331
movss xmm0, dword [0x1038dda0]
movaps xmm2, xmm7
subss xmm0, xmm3
movss dword [esp + 0x3c], xmm2
movaps xmm7, xmm5
movaps xmm3, xmm0
movaps xmm0, xmm7
movss dword [esp + 0x110], xmm5
minss xmm0, xmm4
mov dword [esp + 0x11c], 0
movaps xmm1, xmm2
subss xmm7, xmm4
lea ecx, [esp + 0x110]
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x1038db5c]
addss xmm0, dword [0x1038d85c]
divss xmm7, xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x1038d85c]
addss xmm7, xmm3
divss xmm1, xmm0
movss xmm0, dword [esp + 0x48]
andps xmm7, xmmword [0x1038e2f0]
movss dword [esp + 0x114], xmm0
movss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x14], xmm7
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x118], xmm0
call fcn.100c1990
mov ecx, dword [0x1039da5c]
cmp dword [ecx + 0x26c8], eax
jne 0x100eb496
movss xmm0, dword [esp + 0x20]
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jnp 0x100eb400
ucomiss xmm7, xmm6
lahf
test ah, 0x44
jp 0x100eb40e
movss xmm0, dword [ecx + 0x26c0]
ucomiss xmm0, dword [0x1038d99c]
lahf
test ah, 0x44
jp 0x100eb40e
movss xmm0, dword [ecx + 0x26c0]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x3c]
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jp 0x100eb496
movss xmm0, dword [ecx + 0x26c4]
movss dword [esp + 0x20], xmm0
jmp 0x100eb496
test eax, 0x10000000
je 0x100eb496
movss xmm0, dword [edi]
lea eax, [esp + 0x8c]
movss xmm1, dword [edi + 4]
lea edx, [esp + 0x5c]
movss xmm2, dword [edi + 8]
lea ecx, [esp + 0x60]
push eax
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x40], xmm2
call fcn.100c1a40
movss xmm0, dword [esp + 0x64]
add esp, 4
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x8c]
movss dword [esp + 0xa4], xmm0
mov eax, dword [esp + 0x24]
xorps xmm0, xmm0
movss xmm2, dword [eax + 0xd18]
comiss xmm0, xmm2
movss xmm0, dword [0x1038d99c]
jbe 0x100eb4b7
xorps xmm1, xmm1
jmp 0x100eb4be
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x1038dcb8]
mov dword [esp + 0xf0], 0x3f800000
movss dword [esp + 0xfc], xmm2
movaps xmm2, xmm0
mov dword [esp + 0xf4], 0x3f800000
addss xmm1, dword [0x1038d930]
mov dword [esp + 0xf8], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movss xmm0, dword [esp + 0x14]
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x40], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x2c], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x110], ecx
or eax, 0x808080
mov dword [esp + 0x128], ecx
mov dword [esp + 0x70], eax
lea ecx, [esp + 0xf0]
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x114], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x118], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x11c], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0x120], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0xf4]
mov dword [esp + 0x124], eax
lea eax, [esp + 0xf8]
push eax
call fcn.100c1a40
movss xmm1, dword [esp + 0xf4]
xorps xmm6, xmm6
movss xmm7, dword [0x1038d99c]
add esp, 4
comiss xmm6, xmm1
jbe 0x100eb5bd
xorps xmm0, xmm0
jmp 0x100eb5c4
movaps xmm0, xmm7
minss xmm0, xmm1
movss xmm1, dword [0x1038dcb8]
movss xmm3, dword [0x1038d930]
movss xmm2, dword [esp + 0xf4]
comiss xmm6, xmm2
mulss xmm0, xmm1
addss xmm0, xmm3
cvttss2si ecx, xmm0
jbe 0x100eb5f3
xorps xmm0, xmm0
jmp 0x100eb5fa
movaps xmm0, xmm7
minss xmm0, xmm2
movss xmm2, dword [esp + 0xf8]
mulss xmm0, xmm1
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm6, xmm2
jbe 0x100eb61e
xorps xmm0, xmm0
jmp 0x100eb625
movaps xmm0, xmm7
minss xmm0, xmm2
movss xmm2, dword [esp + 0xfc]
mulss xmm0, xmm1
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm6, xmm2
jbe 0x100eb649
xorps xmm0, xmm0
jmp 0x100eb650
movaps xmm0, xmm7
minss xmm0, xmm2
mulss xmm0, xmm1
addss xmm0, xmm3
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x4c]
shl eax, 0x18
or eax, ecx
movss dword [esp + 0xf0], xmm0
movss xmm0, dword [esp + 0x48]
lea ecx, [esp + 0xf0]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
movss dword [esp + 0xf4], xmm0
movss xmm0, dword [esp + 0xa4]
movss dword [esp + 0xf8], xmm0
movss xmm0, dword [eax + 0xd18]
movss dword [esp + 0xfc], xmm0
call fcn.100c1990
mov ecx, eax
mov dword [esp + 0xbc], 0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0xb8], 0
test eax, 0x4000000
je 0x100ec032
movss xmm1, dword [esp + 0x64]
mov eax, 0x2aaaaaab
movss xmm3, dword [0x1038d930]
movss xmm2, dword [esp + 0xa0]
divss xmm3, xmm1
mov esi, dword [esp + 0x1c]
addss xmm2, xmm1
cvttss2si ecx, xmm1
mulss xmm2, dword [0x1038d930]
imul ecx
movss dword [esp + 0xe8], xmm3
movss dword [esp + 0x94], 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 + 0xc8], ecx
mov dword [esp + 0x4c], eax
nop dword [eax]
movd xmm1, eax
lea eax, [esp + 0x100]
cvtdq2ps xmm1, xmm1
mov edi, dword [esi + 0x18]
push ecx
push ecx
mov ecx, esi
movaps xmm0, xmm1
addss xmm1, xmm7
divss xmm0, dword [0x1038db5c]
divss xmm1, dword [0x1038db5c]
addss xmm0, xmm0
addss xmm1, xmm1
mulss xmm0, dword [0x1038db10]
mulss xmm1, dword [0x1038db10]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x64], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x6c], xmm1
call fcn.100d6140
movss xmm0, dword [esp + 0x9c]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0x34]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.100d4c30
movss xmm0, dword [esp + 0x5c]
cvtps2pd xmm0, xmm0
mov dword [esi + 0x54], 0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x5c]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xa0]
addss xmm0, dword [esp + 0xd0]
movss dword [esp + 0x78], 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 + 0xa0]
addss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x60]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x60]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xa0]
addss xmm0, dword [esp + 0xd0]
movss dword [esp + 0x5c], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm2, dword [esp + 0x5c]
xorps xmm3, xmm3
movss xmm4, dword [esp + 0x78]
movss xmm5, dword [esp + 0x68]
subss xmm2, xmm4
cvtsd2ss xmm3, xmm0
mov eax, dword [esp + 0x4c]
mov edx, dword [esi + 0x20]
movss xmm7, dword [0x1038d99c]
movaps xmm0, xmm2
mulss xmm3, dword [esp + 0xa0]
mov ecx, dword [esp + eax*4 + 0x110]
mulss xmm0, xmm2
mov eax, dword [esi + 0x18]
addss xmm3, dword [esp + 0xc0]
movss dword [esp + 0x5c], xmm2
lea eax, [eax + eax*4]
subss xmm3, xmm5
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm7
divss xmm0, xmm1
movss dword [esp + 0xac], xmm0
lea eax, [edx + eax*4]
mov dword [esp + 0x78], eax
movzx eax, cl
mov dword [esp + 0x48], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x90], eax
shr ecx, 0x10
movzx eax, cl
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + eax*4 + 0x114]
movzx eax, cl
sub eax, dword [esp + 0x48]
mov dword [esp + 0x68], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x90]
shr ecx, 0x10
mov dword [esp + 0x74], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0x78]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x60]
cmp edx, edi
jae 0x100eba23
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x68]
movd xmm6, ecx
mov ecx, dword [esp + 0x60]
cvtdq2ps xmm6, xmm6
movss xmm0, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm0, xmm4
subss xmm1, xmm5
mulss xmm0, xmm2
mulss xmm1, xmm3
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [esp + 0xac]
comiss xmm0, xmm1
jbe 0x100eb994
xorps xmm2, xmm2
jmp 0x100eb99b
movaps xmm2, xmm7
minss xmm2, xmm1
movd xmm1, ecx
movaps xmm0, xmm2
mulss xmm0, xmm6
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvttss2si ecx, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm1
shl ecx, 8
movd xmm1, dword [esp + 0x90]
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
or ecx, eax
shl ecx, 8
mulss xmm2, xmm0
movd xmm0, dword [esp + 0x48]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0x5c]
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov eax, dword [esp + 0x74]
mov dword [edx + 0x10], ecx
add edx, 0x14
mov ecx, dword [esp + 0x60]
cmp edx, edi
jb 0x100eb961
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
movss xmm2, dword [esp + 0x94]
inc eax
movss xmm3, dword [esp + 0xe8]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x4c], eax
cmp eax, 6
jl 0x100eb750
movss xmm0, dword [esp + 0x14]
addss xmm0, xmm0
mulss xmm0, dword [0x1038db10]
movss dword [esp + 0x14], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm3, dword [esp + 0x14]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x48], xmm0
cvtps2pd xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0x13], 0
xorps xmm1, xmm1
movss xmm3, dword [esp + 0xa0]
addss xmm3, dword [esp + 0x64]
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x48]
mulss xmm3, xmm1
mulss xmm0, dword [0x1038d930]
mulss xmm3, dword [0x1038d930]
addss xmm0, dword [esp + 0xd0]
movss dword [esp + 0x78], xmm1
addss xmm3, dword [esp + 0xc0]
movss xmm1, dword [esp + 0x9c]
movss dword [esp + 0x50], xmm0
movss dword [esp + 0x54], xmm3
je 0x100ebaf7
mulss xmm1, dword [0x1038d940]
jmp 0x100ebaff
mulss xmm1, dword [0x1038d938]
movaps xmm0, xmm1
movss dword [esp + 0x9c], xmm1
divss xmm0, dword [0x1038d9d0]
cvttss2si esi, xmm0
cmp esi, 9
jge 0x100ebb23
mov esi, 9
jmp 0x100ebb2d
mov eax, 0x20
cmp esi, eax
cmovg esi, eax
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x50]
push esi
push dword [esp + 0x48]
movaps xmm2, xmm1
mov ecx, edi
push eax
call fcn.100d6f10
movss xmm2, dword [esp + 0x9c]
lea eax, [esp + 0x50]
addss xmm2, dword [0x1038d99c]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
push dword [esp + 0x78]
push eax
call fcn.100d6e50
movss xmm2, dword [esp + 0x9c]
lea eax, [esp + 0x50]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
mov esi, dword [esp + 0x34]
push esi
push eax
call fcn.100d6e50
movss xmm3, dword [esp + 0x48]
xorps xmm1, xmm1
movss xmm4, dword [esp + 0x78]
movaps xmm2, xmm3
movss xmm5, dword [esp + 0x30]
movaps xmm0, xmm4
movss xmm6, dword [esp + 0xd0]
mov ecx, edi
mulss xmm2, xmm5
mov eax, dword [0x1039da5c]
mulss xmm0, xmm1
push 6
movss xmm7, dword [esp + 0xc4]
push 6
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm4
mulss xmm1, dword [esp + 0xdc]
addss xmm2, xmm6
movss dword [esp + 0x38], xmm2
movaps xmm2, xmm4
mulss xmm2, xmm5
movaps xmm5, xmm3
mulss xmm5, dword [esp + 0xdc]
addss xmm2, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0xbc]
mulss xmm4, dword [esp + 0xd4]
addss xmm2, xmm7
movss dword [esp + 0x3c], xmm2
movaps xmm2, xmm5
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xbc]
subss xmm5, xmm4
mulss xmm3, dword [esp + 0xd4]
addss xmm0, xmm1
addss xmm2, xmm6
addss xmm3, xmm1
addss xmm5, xmm6
addss xmm0, xmm7
movss dword [esp + 0xb4], xmm2
addss xmm3, xmm7
movss dword [esp + 0x9c], xmm5
movss dword [esp + 0xb8], xmm0
movss xmm0, dword [eax + 0x113c]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [eax + 0x1140]
movss dword [esp + 0x50], xmm3
movss dword [esp + 0xa0], xmm3
movss dword [esp + 0x70], xmm0
call fcn.100d49e0
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
movss xmm2, dword [esp + 0x30]
movss xmm3, dword [esp + 0x34]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss xmm0, dword [esp + 0x78]
movss xmm1, dword [esp + 0x68]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
mov edx, dword [esp + 0x44]
movss xmm5, dword [esp + 0xac]
movss xmm4, dword [esp + 0xb0]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
movss xmm7, dword [esp + 0x94]
movss xmm6, dword [esp + 0x48]
mov dword [eax + 0x10], edx
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x28]
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 + 0x28]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x28]
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], esi
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
mov eax, dword [edi + 0x38]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov ecx, dword [esp + 0x40]
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], ecx
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov eax, dword [edi + 0x38]
mov esi, dword [esp + 0xc4]
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
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
test dword [esp + 0x70], 0xff000000
je 0x100ebfa4
mov edx, dword [edi + 0x54]
lea eax, [edi + 0x54]
mov edi, dword [eax + 4]
mov dword [esp + 0x4c], eax
cmp edx, edi
jne 0x100ebe85
inc edx
mov dword [esp + 0x78], edx
test edi, edi
je 0x100ebe6f
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x78]
mov ecx, eax
mov eax, dword [esp + 0x4c]
sar ecx, 1
add ecx, edi
jmp 0x100ebe74
mov ecx, 8
cmp ecx, edx
cmovg edx, ecx
mov ecx, eax
push edx
call fcn.100d3b50
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x1c]
add eax, 0x54
mov dword [esp + 0x64], eax
mov edx, dword [ecx]
inc edx
mov dword [ecx], edx
mov edi, dword [ecx + 4]
cmp edx, edi
jne 0x100ebee2
lea ecx, [edx + 1]
test edi, edi
je 0x100ebec6
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x100ebecb
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x68]
call fcn.100d3b50
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0xac]
mov edi, dword [esp + 0xb0]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x1c]
add eax, 0x54
mov dword [esp + 0x64], eax
mov edx, dword [ecx]
inc edx
mov dword [ecx], edx
mov edi, dword [eax + 4]
cmp edx, edi
jne 0x100ebf41
lea ecx, [edx + 1]
test edi, edi
je 0x100ebf29
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x100ebf2e
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x68]
call fcn.100d3b50
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0x94]
mov edi, dword [esp + 0x98]
push ecx
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x20]
mov ecx, edi
mov dword [esp], 0x3fc00000
push 1
push dword [esp + 0x78]
inc dword [eax]
push dword [eax]
push dword [edi + 0x5c]
call fcn.100d4c30
movss xmm2, dword [esp + 0x30]
movss xmm3, dword [esp + 0x34]
movss xmm4, dword [esp + 0xb0]
movss xmm5, dword [esp + 0xac]
mov dword [edi + 0x54], 0
movss xmm0, dword [0x1038d99c]
xorps xmm6, xmm6
movaps xmm1, xmm0
subss xmm1, dword [esp + 0x3c]
comiss xmm6, xmm1
jbe 0x100ebfc2
xorps xmm7, xmm7
jmp 0x100ebfc9
movaps xmm7, xmm0
minss xmm7, xmm1
movss xmm1, dword [esp + 0x20]
comiss xmm6, xmm1
jbe 0x100ebfd9
xorps xmm0, xmm0
jmp 0x100ebfdd
minss xmm0, xmm1
subss xmm2, dword [esp + 0x94]
subss xmm3, dword [esp + 0x48]
mulss xmm2, xmm0
mulss xmm3, xmm0
addss xmm2, dword [esp + 0x94]
addss xmm3, dword [esp + 0x48]
subss xmm5, xmm2
subss xmm4, xmm3
mulss xmm5, xmm7
mulss xmm4, xmm7
addss xmm5, xmm2
addss xmm4, xmm3
movss dword [esp + 0xb8], xmm5
movss dword [esp + 0xbc], xmm4
jmp 0x100ec36a
test eax, 0x2000000
je 0x100ec378
movss xmm0, dword [esp + 0x74]
addss xmm0, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
push ecx
push eax
push eax
movss dword [esp + 0x3c], xmm0
lea eax, [esp + 0x3c]
movss xmm0, dword [esp + 0x34]
addss xmm0, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x2c]
push eax
lea eax, [esp + 0x64]
push eax
movss dword [esp + 0x4c], xmm0
call fcn.100d6bc0
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x100]
movss xmm0, dword [esp + 0x74]
addss xmm0, dword [esp + 0x18]
push ecx
push ecx
mov ecx, dword [esp + 0x24]
push 0
push 0
push eax
movss dword [esp + 0x114], xmm0
lea eax, [esp + 0x64]
movss xmm0, dword [esp + 0x48]
push eax
movss dword [esp + 0x11c], xmm0
call fcn.100d6bc0
movss xmm0, dword [esp + 0x74]
addss xmm0, dword [esp + 0x18]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0x7c], xmm0
xorps xmm0, xmm0
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.100c2340
movss xmm2, dword [esp + 0x30]
xorps xmm0, xmm0
movss xmm1, dword [0x1038d99c]
add esp, 0x10
comiss xmm0, xmm2
jbe 0x100ec118
xorps xmm3, xmm3
jmp 0x100ec11f
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm4, dword [esp + 0x18]
movss xmm7, dword [esp + 0x74]
movss xmm5, dword [0x1038d930]
movaps xmm2, xmm7
mulss xmm3, xmm4
movss xmm6, dword [0x1038da58]
addss xmm2, xmm6
addss xmm3, xmm7
addss xmm3, xmm5
cvttss2si eax, xmm3
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm2, xmm3
ja 0x100ec16d
movaps xmm2, xmm7
addss xmm2, xmm4
subss xmm2, xmm6
minss xmm2, xmm3
movss dword [esp + 0xb8], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x3c]
comiss xmm0, xmm2
jbe 0x100ec189
xorps xmm1, xmm1
jmp 0x100ec18d
minss xmm1, xmm2
movss xmm2, dword [esp + 0x28]
mulss xmm1, xmm4
movaps xmm0, xmm2
addss xmm0, xmm6
addss xmm1, xmm2
addss xmm1, xmm5
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100ec1c4
movss xmm0, dword [esp + 0x34]
subss xmm0, xmm6
minss xmm0, xmm1
movss xmm3, dword [esp + 0x90]
movaps xmm1, xmm4
divss xmm1, dword [0x1038db5c]
mov esi, dword [esp + 0x1c]
xor ecx, ecx
movss dword [esp + 0xbc], xmm0
movaps xmm0, xmm3
addss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x78], xmm1
movss dword [esp + 0xf0], xmm3
movss dword [esp + 0x100], xmm0
nop dword [eax + eax]
mov eax, dword [esp + ecx*4 + 0x114]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0x108]
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0x10c], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x118]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x104]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0x10c], xmm0
call fcn.100d6bc0
movss xmm1, dword [esp + 0x78]
mov ecx, edi
movss xmm2, dword [esp + 0x28]
cmp ecx, 6
jl 0x100ec210
movss xmm3, dword [esp + 0x90]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x18]
movaps xmm1, xmm3
movss dword [esp + 0x34], xmm2
addss xmm1, dword [esp + 0x6c]
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x54], xmm0
xorps xmm0, xmm0
push dword [esp + 0x54]
movss dword [esp + 0x54], xmm1
push dword [esp + 0x54]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.100c2340
mov esi, dword [esp + 0xd4]
movss xmm1, dword [esp + 0x7c]
addss xmm1, dword [0x1038da58]
mov ecx, dword [esp + 0x2c]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x64], xmm2
addss xmm0, dword [0x1038d99c]
movss xmm2, dword [esp + 0xa0]
push dword [esp + 0x64]
subss xmm2, dword [0x1038d99c]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x28]
mulss xmm0, dword [esp + 0x2c]
push dword [esp + 0x64]
movss dword [esp + 0x48], xmm2
addss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x1038d930]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x3c]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0xd18]
movss dword [esp + 0x4c], xmm0
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.100e9c10
add esp, 0x20
xorps xmm6, xmm6
mov ecx, dword [esp + 0x8c]
mov edi, dword [esp + 0xa8]
cmp byte [esp + 0xb], 0
je 0x100ec392
movss xmm1, dword [0x1038db78]
movss dword [esp + 0xd8], xmm1
jmp 0x100ec39a
movss xmm1, dword [0x1038db5c]
test ecx, 0xff000000
je 0x100ec3ed
comiss xmm6, xmm1
jae 0x100ec3ed
push 0xb
push ecx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0xc0]
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
movaps xmm2, xmm1
call fcn.100d6140
mov eax, dword [esp + 0x1c]
mov ecx, eax
push dword [esp + 0x8c]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.100d5910
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x54], 0
jmp 0x100ec3f1
mov eax, dword [esp + 0x1c]
test dword [esp + 0x70], 0xff000000
xorps xmm0, xmm0
movss xmm1, dword [esp + 0xd8]
movaps xmm2, xmm1
addss xmm2, dword [0x1038d99c]
je 0x100ec471
comiss xmm0, xmm2
jae 0x100ec471
subss xmm2, dword [0x1038d930]
push 0xb
push ecx
lea ecx, [esp + 0xc0]
mov dword [esp], 0x40b84e89
push ecx
xorps xmm3, xmm3
mov ecx, eax
call fcn.100d6140
mov eax, dword [esp + 0x1c]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x78]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.100d4c30
mov eax, dword [esp + 0x1c]
xorps xmm0, xmm0
movss xmm1, dword [esp + 0xd8]
mov dword [eax + 0x54], 0
test dword [esp + 0x2c], 0xff000000
je 0x100ec4d1
comiss xmm0, xmm1
jae 0x100ec4d1
subss xmm1, dword [0x1038d930]
push 0xb
push ecx
lea ecx, [esp + 0xc0]
mov dword [esp], 0x40b84e89
push ecx
xorps xmm3, xmm3
movaps xmm2, xmm1
mov ecx, eax
call fcn.100d6140
mov eax, dword [esp + 0x1c]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x34]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.100d4c30
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x54], 0
cmp dword [esp + 0xdc], 0x10000
jne 0x100ec67f
movss xmm2, dword [edi + 0xc]
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x100ec4f7
movss dword [esp + 0x40], xmm1
jmp 0x100ec509
movss xmm0, dword [0x1038d99c]
minss xmm0, xmm2
movss dword [esp + 0x40], xmm0
movss xmm3, dword [esp + 0xe0]
xor edx, edx
movss xmm0, dword [esp + 0x28]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x6c]
movss dword [esp + 0x104], xmm0
mov ecx, eax
addss xmm0, dword [esp + 0x18]
mov dword [esp + 0x54], 0
push dword [esp + 0x54]
mov dword [esp + 0x54], 0
push dword [esp + 0x54]
movss dword [esp + 0x110], xmm2
subss xmm2, xmm3
movss dword [esp + 0x114], xmm0
push dword [esp + 0x114]
movss dword [esp + 0x10c], xmm3
xorps xmm3, xmm3
push dword [esp + 0x114]
mov edi, dword [esp + 0x110]
push dword [esp + 0x114]
mulss xmm2, dword [0x1038d930]
push edi
push 0
call fcn.100d9c00
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 + 0x2c]
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x114]
push eax
call fcn.100d6bc0
push dword [esp + 0x10c]
xorps xmm0, xmm0
push dword [esp + 0x10c]
push dword [esp + 0x10c]
push edi
call fcn.100c2340
movss xmm1, dword [0x1038d99c]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x2c]
movaps xmm0, xmm2
movss dword [esp + 0x64], xmm2
movss xmm2, dword [esp + 0xf0]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0x50]
push dword [esp + 0x64]
movss dword [esp + 0x64], xmm0
push dword [esp + 0x64]
mulss xmm1, dword [esp + 0x30]
movss dword [esp + 0x48], xmm2
addss xmm1, dword [esp + 0x40]
addss xmm1, dword [0x1038d930]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x84]
addss xmm1, dword [0x1038da58]
movd xmm0, eax
mov eax, dword [esp + 0x3c]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0xd18]
movss dword [esp + 0x4c], xmm0
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.100e9c10
add esp, 0x20
call fcn.100cd1b0
cmp byte [esp + 9], 0
mov edi, dword [0x1039da5c]
je 0x100ec71a
mov ecx, dword [esp + 0xa8]
lea esi, [esp + 0x12c]
xor edx, edx
cmp dword [esp + 0xe4], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x100ec6d1
nop dword [eax + eax]
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x100ec6d6
add esi, 4
add ecx, 4
sub edx, 4
jae 0x100ec6c0
cmp edx, 0xfffffffc
je 0x100ec715
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x100ec703
cmp edx, 0xfffffffd
je 0x100ec715
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x100ec703
cmp edx, 0xfffffffe
je 0x100ec715
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x100ec703
cmp edx, 0xffffffff
je 0x100ec715
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x100ec715
or dword [edi + 0x1448], 4
mov word [edi + 0x13e0], 0x101
jmp 0x100ec71a
mov byte [esp + 9], 0
mov ecx, dword [edi + 0x1398]
mov al, byte [esp + 9]
pop edi
pop esi
dec dword [ecx + 0xc4]
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.1012583c
mov esp, ebp
pop ebp
ret