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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x128
mov eax, dword [0x10072040]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x34], ecx
mov ecx, dword [0x10072700]
mov dword [esp + 0x58], eax
push esi
push edi
mov eax, dword [ecx + 0x3e28]
mov edi, edx
mov dword [esp + 0xac], edi
mov dword [esp + 0x38], ecx
mov byte [eax + 0xa8], 1
mov edx, dword [ecx + 0x3e28]
mov dword [esp + 0xbc], edx
cmp byte [edx + 0xab], 0
je 0x1003a1d3
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.10049c21
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x4688], 1
mov eax, dword [edx + 0x260]
mov dword [esp + 0x2c], eax
je 0x1003a1f0
movss xmm1, dword [ecx + 0x468c]
jmp 0x1003a1f8
movss xmm1, dword [edx + 0x19c]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1003a23a
cmp dword [edx + 0x18c], 0
movss xmm0, dword [edx + 0x224]
jne 0x1003a21a
cmp dword [ecx + 0x49d0], 0
je 0x1003a222
movss xmm0, dword [edx + 0x1f4]
subss xmm0, dword [edx + 0xec]
addss xmm0, xmm1
movss xmm1, dword [0x1006f328]
maxss xmm1, xmm0
mov dword [ecx + 0x4688], 0
mov ecx, dword [esp + 0x3c]
cvttss2si esi, xmm1
call fcn.1000f5d0
call fcn.10011e10
mov edx, dword [ebp + 8]
mov ecx, edx
or ecx, 0x10
test edx, 0x100
cmovne ecx, edx
mov dword [esp + 0xa8], ecx
test cl, 8
jne 0x1003a283
mov edx, ecx
mov ecx, edi
call fcn.1003d8a0
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x38]
test ecx, 0x6000000
jne 0x1003a2af
mov eax, dword [edx + 0x594c]
mov ecx, 0xa900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, dword [esp + 0xa8]
mov dword [esp + 0x10], ecx
test ecx, 0x18000000
jne 0x1003a2e6
mov eax, dword [edx + 0x594c]
mov edi, 0xa900000
test eax, 0x18000000
cmovne edi, eax
mov eax, edi
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0xac]
and eax, 0x18000000
or ecx, eax
mov dword [esp + 0x10], ecx
test cl, 8
jne 0x1003a2fc
mov eax, dword [edx + 0x594c]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x10], ecx
mov eax, ecx
movss xmm2, dword [edx + 0x37ec]
and eax, 2
movd xmm4, esi
mov dword [esp + 0xa8], eax
and ecx, 0x10002
mov eax, dword [esp + 0xbc]
cvtdq2ps xmm4, xmm4
mov dword [esp + 0xd0], ecx
movss xmm0, dword [eax + 0xf0]
movss xmm3, dword [eax + 0xec]
mov eax, dword [0x10072700]
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x4c], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x48], xmm3
movss xmm5, dword [eax + 0x37d8]
addss xmm5, xmm5
addss xmm5, dword [eax + 0x3bb4]
xor eax, eax
cmp ecx, 0x10000
sete al
inc eax
addss xmm0, xmm5
movss dword [esp + 0x5c], xmm5
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0xa8], eax
sete al
mulss xmm1, xmm0
movaps xmm0, xmm5
lea eax, [eax*4 + 0xc]
push eax
lea eax, [esp + 0x120]
subss xmm4, xmm1
movaps xmm1, xmm3
push edi
push eax
maxss xmm0, xmm4
addss xmm1, xmm0
movss dword [esp + 0x30], xmm0
addss xmm1, xmm2
movaps xmm0, xmm1
movss dword [esp + 0x94], xmm1
addss xmm0, xmm5
addss xmm0, xmm2
movss dword [esp + 0xd8], xmm0
movaps xmm0, xmm5
mulss xmm0, dword [0x1006f2d0]
cvttss2si esi, xmm0
mov dword [esp + 0xd4], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [esp + 0x30]
add esp, 0xc
movaps xmm4, xmm1
movaps xmm3, xmm1
mulss xmm4, dword [0x1006f2e8]
mulss xmm3, dword [0x1006f2c0]
movaps xmm0, xmm4
movss dword [esp + 0x74], xmm4
addss xmm0, dword [esp + 0x28]
movss dword [esp + 0xa0], xmm3
movaps xmm2, xmm4
subss xmm2, xmm3
movaps xmm3, xmm1
addss xmm3, dword [esp + 0x5c]
movss dword [esp + 0xb8], xmm0
movss dword [esp + 0xf4], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x1006f2b0]
movaps xmm1, xmm2
mulss xmm3, dword [0x1006f2e8]
cvttss2si eax, xmm0
addss xmm3, dword [esp + 0x48]
movss dword [esp + 0x9c], xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc0], xmm3
movss dword [esp + 0xf0], xmm3
subss xmm1, xmm0
movss xmm7, dword [edi + 8]
movaps xmm0, xmm1
mulss xmm0, dword [0x1006f418]
movaps xmm2, xmm1
mov eax, dword [esp + 0x10]
mulss xmm2, dword [0x1006f424]
mov dword [esp + 0x34], 0
movss xmm5, dword [0x1006f384]
movss xmm6, dword [0x1006f28c]
movss dword [esp + 0xa4], xmm0
movss dword [esp + 0x8c], xmm0
movss dword [esp + 0x100], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x1006f318]
movss dword [esp + 0xb4], xmm2
movss dword [esp + 0x90], xmm2
movss dword [esp + 0xb0], xmm0
movss dword [esp + 0x104], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x30], xmm1
movaps xmm2, xmm0
movss xmm1, dword [edi + 4]
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x68], xmm2
movaps xmm2, xmm1
movss dword [esp + 0x70], xmm2
movss dword [esp + 0x84], xmm2
movaps xmm2, xmm7
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x40], xmm7
movss dword [esp + 0x58], xmm2
movss dword [esp + 0x6c], xmm2
movss dword [esp + 0xbc], xmm5
test eax, 0x8000000
je 0x1003a640
comiss xmm7, xmm1
xorps xmm3, xmm3
movaps xmm2, xmm1
movaps xmm4, xmm7
jbe 0x1003a59c
movss xmm3, dword [0x1006f428]
movaps xmm2, xmm7
movaps xmm4, xmm1
comiss xmm2, xmm0
movaps xmm7, xmm0
movss dword [esp + 0x40], xmm7
jbe 0x1003a5c5
movaps xmm7, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x1006f414]
subss xmm0, xmm3
movss dword [esp + 0x40], xmm7
movaps xmm3, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x14], xmm7
minss xmm0, xmm4
movaps xmm1, xmm7
subss xmm2, xmm4
mov ecx, edi
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x24]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x24]
movaps xmm0, xmm1
mulss xmm0, xmm5
addss xmm0, xmm6
divss xmm2, xmm0
movaps xmm0, xmm7
addss xmm0, xmm6
addss xmm2, xmm3
divss xmm1, xmm0
andps xmm2, xmmword [0x1006f580]
movss dword [esp + 0x24], xmm2
movss dword [esp + 0x28], xmm1
call fcn.10038df0
movss xmm0, dword [esp + 0x24]
add esp, 8
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0x1c], xmm0
jmp 0x1003a689
test eax, 0x10000000
je 0x1003a689
lea eax, [esp + 0x6c]
movaps xmm2, xmm7
push eax
lea edx, [esp + 0x88]
lea ecx, [esp + 0x6c]
call fcn.10003c30
movss xmm0, dword [esp + 0x6c]
add esp, 4
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x84]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x58], xmm0
mov ecx, dword [0x10072700]
lea edx, [ecx + 0x4768]
mov byte [esp + 0xd], 0
mov byte [esp + 0x1b], 0
mov byte [esp + 0xf], 0
mov eax, dword [ecx + 0x4680]
or eax, 8
mov dword [esp + 0x20], edx
mov dword [ecx + 0x4680], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x54], eax
cmp dword [edx], ecx
jne 0x1003a6f5
test ecx, ecx
je 0x1003a6d5
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, ecx
jmp 0x1003a6da
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10019920
mov edi, dword [esp + 0xac]
mov edx, dword [esp + 0x20]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x54]
mov dword [eax + ecx*4], esi
inc dword [edx]
mov eax, dword [esp + 0x10]
test eax, 0x4000000
je 0x1003acf6
movss xmm1, dword [esp + 0x24]
lea edx, [esp + 0xe0]
mov eax, dword [esp + 0x38]
movaps xmm0, xmm1
push ecx
mov ecx, 0x1006eab0
movss dword [esp + 0xe8], xmm1
addss xmm0, dword [eax + 0x37ec]
addss xmm0, dword [esp + 0x60]
movss dword [esp + 0xe4], xmm0
call fcn.1002edb0
mov eax, dword [0x10072700]
add esp, 4
mov ecx, dword [eax + 0x3e74]
test ecx, ecx
je 0x1003ac04
cmp ecx, dword [eax + 0x469c]
jne 0x1003ac04
mov eax, dword [esp + 0x38]
movss xmm0, dword [eax + 0x36a8]
subss xmm0, dword [esp + 0xb8]
movss xmm1, dword [eax + 0x36a4]
subss xmm1, dword [esp + 0xc0]
movss xmm2, dword [eax + 0xdb8]
movss xmm3, dword [eax + 0xdbc]
subss xmm2, dword [esp + 0xc0]
subss xmm3, dword [esp + 0xb8]
movaps xmm4, xmm0
movss dword [esp + 0xc4], xmm0
mulss xmm4, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x54], xmm1
movss xmm1, dword [0x1006f328]
addss xmm4, xmm0
movss dword [esp + 0xd4], xmm2
movss xmm0, dword [esp + 0x9c]
subss xmm0, xmm1
movss dword [esp + 0xd8], xmm3
mulss xmm0, xmm0
comiss xmm4, xmm0
jb 0x1003a89a
movss xmm0, dword [esp + 0x74]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm4
jb 0x1003a89a
cvtps2pd xmm0, xmm3
movsd qword [esp + 0xe0], xmm0
fld qword [esp + 0xe0]
cvtps2pd xmm0, xmm2
movsd qword [esp + 0xe0], xmm0
fld qword [esp + 0xe0]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm2, dword [0x1006f370]
xorps xmm0, xmm0
fstp qword [esp + 0xe0]
movsd xmm1, qword [esp + 0xe0]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x1006f2e8]
comiss xmm0, xmm1
movss dword [esp + 0x14], xmm1
jbe 0x1003a892
addss xmm1, dword [0x1006f328]
movss dword [esp + 0x14], xmm1
mov cl, 1
mov byte [esp + 0xd], cl
jmp 0x1003a8ac
mov cl, byte [esp + 0xd]
movss xmm2, dword [0x1006f370]
movss xmm1, dword [esp + 0x14]
movaps xmm0, xmm1
mov byte [esp + 0x1b], cl
xorps xmm0, xmmword [0x1006f590]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0xe0], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x20], xmm0
movsd xmm0, qword [esp + 0xe0]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x54]
xorps xmm5, xmm5
movss xmm1, dword [esp + 0xc4]
movaps xmm4, xmm3
mulss xmm4, dword [esp + 0x20]
cvtsd2ss xmm5, xmm0
movaps xmm0, xmm1
movss xmm7, dword [esp + 0x30]
mulss xmm1, dword [esp + 0x20]
movaps xmm6, xmm7
mulss xmm0, xmm5
mulss xmm3, xmm5
subss xmm4, xmm0
movss dword [esp + 0x78], xmm5
movss xmm0, dword [esp + 0xb4]
subss xmm0, dword [esp + 0xb0]
addss xmm3, xmm1
movss xmm1, dword [esp + 0xa4]
movaps xmm5, xmm1
subss xmm5, xmm1
movaps xmm2, xmm4
subss xmm6, dword [esp + 0xa4]
movss dword [esp + 0xc4], xmm0
subss xmm2, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, dword [esp + 0xb0]
movss dword [esp + 0x54], xmm5
movss dword [esp + 0x7c], xmm6
mulss xmm1, xmm2
mulss xmm0, xmm5
xorps xmm5, xmm5
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xb4]
comiss xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x64], xmm0
movaps xmm0, xmm3
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0xb4]
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x1003abfc
movss xmm0, dword [esp + 0xb0]
subss xmm4, xmm7
subss xmm0, xmm5
subss xmm3, xmm5
mulss xmm4, xmm0
movss xmm0, dword [esp + 0xa4]
subss xmm0, xmm7
mulss xmm0, xmm3
subss xmm4, xmm0
comiss xmm5, xmm4
seta al
cmp cl, al
jne 0x1003abfc
movss xmm6, dword [esp + 0xd4]
movss xmm1, dword [esp + 0xd8]
movaps xmm7, xmm6
mulss xmm7, dword [esp + 0x20]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x20]
mulss xmm0, dword [esp + 0x78]
mulss xmm6, dword [esp + 0x78]
movss xmm4, dword [esp + 0xa4]
subss xmm7, xmm0
addss xmm6, xmm1
movaps xmm1, xmm7
movss dword [esp + 0xe0], xmm7
subss xmm1, xmm4
movaps xmm0, xmm6
movss dword [esp + 0xe4], xmm6
subss xmm0, dword [esp + 0xb0]
mulss xmm1, dword [esp + 0xc4]
mulss xmm0, dword [esp + 0x54]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0xb4]
comiss xmm5, xmm1
mulss xmm0, dword [esp + 0x7c]
movaps xmm1, xmm7
subss xmm1, xmm4
seta cl
mulss xmm1, dword [esp + 0x64]
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x1003aaff
movss xmm3, dword [esp + 0x30]
movaps xmm2, xmm7
movss xmm0, dword [esp + 0xb0]
subss xmm2, xmm3
subss xmm0, xmm5
movaps xmm1, xmm4
subss xmm1, xmm3
mulss xmm2, xmm0
movaps xmm0, xmm6
subss xmm0, xmm5
mulss xmm1, xmm0
subss xmm2, xmm1
comiss xmm5, xmm2
seta al
cmp cl, al
je 0x1003ab45
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0x94]
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0xe4]
call fcn.10003250
movss xmm3, dword [esp + 0x3c]
add esp, 0xc
movss xmm4, dword [esp + 0xa4]
xorps xmm5, xmm5
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
movss xmm1, dword [esp + 0xb0]
subss xmm7, xmm3
movaps xmm2, xmm4
subss xmm1, xmm5
movss xmm4, dword [esp + 0xb4]
subss xmm2, xmm3
subss xmm4, xmm5
subss xmm6, xmm5
movaps xmm3, xmm2
mulss xmm3, xmm1
movaps xmm0, xmm4
mulss xmm0, xmm2
mulss xmm6, xmm2
subss xmm3, xmm0
movss xmm2, dword [0x1006f2a0]
movaps xmm0, xmm7
movss dword [esp + 0x1c], xmm2
mulss xmm0, xmm1
mulss xmm7, xmm4
subss xmm0, xmm6
movss xmm1, dword [0x1006f328]
movaps xmm5, xmm1
subss xmm6, xmm7
divss xmm0, xmm3
divss xmm6, xmm3
subss xmm5, xmm0
comiss xmm2, xmm5
movaps xmm3, xmm5
subss xmm3, xmm6
jbe 0x1003abcd
movaps xmm0, xmm2
jmp 0x1003abd4
movaps xmm0, xmm1
minss xmm0, xmm5
divss xmm3, xmm0
movss dword [esp + 0x40], xmm0
comiss xmm2, xmm3
ja 0x1003abf0
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x1c], xmm2
mov byte [esp + 0xf], 1
mov byte [esp + 0xd], 1
jmp 0x1003ac04
mov al, byte [esp + 0xd]
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0x10]
test al, 8
jne 0x1003ac11
call fcn.10012f00
movss xmm3, dword [esp + 0x28]
movss xmm4, dword [esp + 0x24]
cmp dword [esp + 0xd0], 0x10000
mov esi, dword [esp + 0xc8]
jne 0x1003af82
mov ecx, dword [0x10072700]
lea edx, [esp + 0x8c]
movss xmm0, dword [esp + 0xcc]
push ecx
movss dword [esp + 0x94], xmm4
mov eax, dword [ecx + 0x3e28]
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x3e28]
mov ecx, str.alpha
movss dword [eax + 0xec], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [eax + 0xf0], xmm3
mov byte [eax + 0x12d], 1
movss dword [esp + 0x90], xmm0
call fcn.1002edb0
mov eax, dword [0x10072700]
add esp, 4
mov ecx, dword [eax + 0x3e74]
test ecx, ecx
je 0x1003af82
cmp ecx, dword [eax + 0x469c]
jne 0x1003af82
mov eax, dword [esp + 0x38]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x24]
movss xmm1, dword [0x1006f328]
subss xmm0, xmm1
movss xmm3, dword [eax + 0xdbc]
subss xmm3, dword [esp + 0x28]
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x1003af6a
xorps xmm4, xmm4
jmp 0x1003af71
test eax, 0x2000000
je 0x1003ac11
movss xmm0, dword [esp + 0x24]
lea edx, [esp + 0x8c]
push ecx
mov ecx, 0x1006eab4
movss dword [esp + 0x90], xmm0
movss dword [esp + 0x94], xmm0
call fcn.1002edb0
mov edx, dword [0x10072700]
add esp, 4
mov eax, dword [edx + 0x3e74]
test eax, eax
je 0x1003ae5d
cmp eax, dword [edx + 0x469c]
jne 0x1003ae5d
mov ecx, dword [esp + 0x38]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x24]
movss xmm1, dword [0x1006f328]
subss xmm4, xmm1
movss xmm3, dword [ecx + 0xdb8]
subss xmm3, dword [esp + 0x48]
divss xmm3, xmm4
comiss xmm0, xmm3
jbe 0x1003ad86
movss dword [esp + 0x1c], xmm0
jmp 0x1003ad93
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x1c], xmm2
movss xmm2, dword [ecx + 0xdbc]
subss xmm2, dword [esp + 0x28]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x1003adaf
xorps xmm3, xmm3
jmp 0x1003adb6
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm5, dword [edi + 4]
movaps xmm2, xmm1
movss xmm6, dword [edi + 8]
subss xmm2, xmm3
movss dword [esp + 0x40], xmm2
movss xmm2, dword [edi]
comiss xmm0, xmm2
jbe 0x1003addb
xorps xmm3, xmm3
jmp 0x1003ade2
movaps xmm3, xmm1
minss xmm3, xmm2
comiss xmm0, xmm5
movss xmm4, dword [0x1006f3cc]
movss xmm2, dword [0x1006f2e8]
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si esi, xmm3
jbe 0x1003ae08
xorps xmm3, xmm3
jmp 0x1003ae0f
movaps xmm3, xmm1
minss xmm3, xmm5
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si eax, xmm3
shl eax, 8
or esi, eax
comiss xmm0, xmm6
jbe 0x1003ae2a
xorps xmm1, xmm1
jmp 0x1003ae2e
minss xmm1, xmm6
mulss xmm1, xmm4
addss xmm1, xmm2
cvttss2si eax, xmm1
shl eax, 0x10
or eax, esi
cmp dword [ecx + 0x5958], eax
jne 0x1003ae55
movss xmm0, dword [ecx + 0x5950]
movss dword [esp + 0x14], xmm0
mov al, 1
mov byte [esp + 0xd], al
jmp 0x1003ae61
mov al, byte [esp + 0xd]
mov byte [esp + 0xf], al
mov byte [esp + 0xe], al
mov eax, dword [esp + 0x10]
test al, 8
jne 0x1003ae7c
call fcn.10012f00
mov edx, dword [0x10072700]
mov eax, dword [edx + 0x3e28]
movss xmm0, dword [esp + 0x88]
push ecx
mov ecx, 0x1006eab8
mov byte [eax + 0xa8], 1
mov eax, dword [edx + 0x3e28]
lea edx, [esp + 0x90]
movss dword [eax + 0xec], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [eax + 0xf0], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [esp + 0x28]
mov byte [eax + 0x12d], 1
movss dword [esp + 0x94], xmm0
call fcn.1002edb0
mov eax, dword [0x10072700]
add esp, 4
mov ecx, dword [eax + 0x3e74]
test ecx, ecx
je 0x1003ac11
mov dl, byte [esp + 0xd]
mov byte [esp + 0xf], dl
cmp ecx, dword [eax + 0x469c]
jne 0x1003ac11
mov eax, dword [esp + 0x38]
movss xmm4, dword [esp + 0x24]
movss xmm3, dword [esp + 0x28]
movaps xmm0, xmm4
movss xmm1, dword [0x1006f328]
movss xmm2, dword [eax + 0xdbc]
subss xmm0, xmm1
subss xmm2, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x1003af4d
movaps xmm0, xmm1
minss xmm0, xmm2
mov al, byte [esp + 0xe]
movss dword [esp + 0x14], xmm0
mov byte [esp + 0x1b], 1
mov byte [esp + 0xd], 1
mov byte [esp + 0xf], al
jmp 0x1003ac1d
movaps xmm4, xmm1
minss xmm4, xmm3
movaps xmm0, xmm1
mov byte [esp + 0xd], 1
subss xmm0, xmm4
movss dword [edi + 0xc], xmm0
mov edx, dword [0x10072700]
dec dword [edx + 0x4768]
mov eax, dword [edx + 0x4770]
mov ecx, dword [edx + 0x4768]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x4680], eax
mov edx, dword [esp + 0x10]
test edx, 0x100
jne 0x1003afcd
mov eax, dword [esp + 0x38]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x37ec]
call fcn.10011be0
call fcn.10011e10
mov edx, dword [esp + 0x10]
test dl, dl
js 0x1003b03b
mov ecx, dword [esp + 0x3c]
cmp ecx, 0xffffffff
jae 0x1003b03b
nop word [eax + eax]
mov al, byte [ecx]
mov byte [esp + 0xe], al
test al, al
je 0x1003aff9
cmp al, 0x23
jne 0x1003aff3
cmp byte [ecx + 1], al
je 0x1003aff9
inc ecx
cmp ecx, 0xffffffff
jb 0x1003afe0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], ecx
cmp eax, ecx
je 0x1003b03b
test edx, 0x100
je 0x1003b029
mov eax, dword [esp + 0x38]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x37ec]
call fcn.10011be0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
mov edx, ecx
mov ecx, eax
push 0
call fcn.1002da10
mov edx, dword [esp + 0x14]
add esp, 4
test edx, 0x100
jne 0x1003b27b
mov eax, dword [0x10072700]
mov ecx, dword [eax + 0x4680]
or ecx, 0x10
mov dword [eax + 0x4680], ecx
add eax, 0x4768
mov dword [esp + 0x78], ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [eax + 4]
mov dword [esp + 0x7c], ecx
cmp dword [eax], ecx
jne 0x1003b0af
mov edx, dword [eax]
inc edx
mov dword [esp + 0x64], edx
test ecx, ecx
je 0x1003b095
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x64]
mov ecx, eax
mov eax, dword [esp + 0x3c]
sar ecx, 1
add ecx, dword [esp + 0x7c]
jmp 0x1003b09a
mov ecx, 8
cmp ecx, edx
cmovg edx, ecx
mov ecx, eax
push edx
call fcn.10019920
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x78]
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0x3c]
inc dword [eax]
test dl, 2
je 0x1003b0d0
movss xmm1, dword [0x1006f328]
jmp 0x1003b0d5
movss xmm1, dword [edi + 0xc]
movss xmm0, dword [edi]
mov esi, dword [esp + 0xc8]
movss dword [esp + 0x100], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x104], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x108], xmm0
movss dword [esp + 0x10c], xmm1
test dl, dl
jns 0x1003b123
push str.Current
call fcn.1002e0e0
mov edx, dword [esp + 0x14]
add esp, 4
movss xmm1, dword [esp + 0x5c]
lea ecx, [esp + 0x8c]
movaps xmm0, xmm1
and edx, 0x180e0040
mulss xmm0, dword [0x1006f36c]
push ecx
mov dword [esp + 0x7c], edx
mov ecx, str.current
push edx
movss dword [esp + 0x84], xmm0
lea edx, [esp + 0x108]
movss dword [esp + 0x94], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x6c], xmm0
movss dword [esp + 0x98], xmm0
call fcn.1003c970
add esp, 8
cmp dword [esp + 0x60], 0
je 0x1003b250
push str.Original
call fcn.1002e0e0
mov eax, dword [esp + 0x14]
add esp, 4
test al, 2
mov eax, dword [esp + 0x60]
je 0x1003b1b1
movss xmm1, dword [0x1006f328]
jmp 0x1003b1b6
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0xe0]
movss dword [esp + 0xe0], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0xe4], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x8c]
movss dword [esp + 0xe8], xmm0
movss xmm0, dword [esp + 0x7c]
push eax
push dword [esp + 0x7c]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0xf4], xmm1
movss dword [esp + 0x98], xmm0
call fcn.1003c970
add esp, 8
test al, al
je 0x1003b250
xor eax, eax
cmp dword [esp + 0xa8], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x64]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xd], 1
mov edx, dword [0x10072700]
dec dword [edx + 0x4768]
mov eax, dword [edx + 0x4770]
mov ecx, dword [edx + 0x4768]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x4680], eax
call fcn.10011f40
mov edx, dword [esp + 0x10]
cmp byte [esp + 0x1b], 0
jne 0x1003b28d
cmp byte [esp + 0xf], 0
je 0x1003b393
test edx, 0x8000000
je 0x1003b36b
movss xmm2, dword [esp + 0x40]
lea eax, [edi + 8]
movss xmm1, dword [esp + 0x1c]
lea edx, [edi + 4]
movss xmm0, dword [esp + 0x14]
mov ecx, edi
push eax
call fcn.10003c30
mov ecx, dword [esp + 0x3c]
add esp, 4
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [0x1006f328]
movss dword [ecx + 0x5950], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [ecx + 0x5954], xmm0
xorps xmm0, xmm0
movss xmm2, dword [edi]
comiss xmm0, xmm2
movss xmm5, dword [edi + 4]
movss xmm6, dword [edi + 8]
jbe 0x1003b2ff
xorps xmm3, xmm3
jmp 0x1003b306
movaps xmm3, xmm1
minss xmm3, xmm2
comiss xmm0, xmm5
movss xmm4, dword [0x1006f3cc]
movss xmm2, dword [0x1006f2e8]
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si edx, xmm3
jbe 0x1003b32c
xorps xmm3, xmm3
jmp 0x1003b333
movaps xmm3, xmm1
minss xmm3, xmm5
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si eax, xmm3
shl eax, 8
or edx, eax
comiss xmm0, xmm6
jbe 0x1003b34e
xorps xmm1, xmm1
jmp 0x1003b352
minss xmm1, xmm6
mulss xmm1, xmm4
addss xmm1, xmm2
cvttss2si eax, xmm1
shl eax, 0x10
or eax, edx
mov dword [ecx + 0x5958], eax
jmp 0x1003b393
test edx, 0x10000000
je 0x1003b393
movss xmm0, dword [esp + 0x14]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [edi + 8], xmm0
mov eax, dword [esp + 0x10]
mov byte [esp + 0xe], 0
test al, 0x20
jne 0x1003b5d8
cmp dword [esp + 0xd0], 0x10000
jne 0x1003b3bc
movss xmm0, dword [esp + 0xcc]
jmp 0x1003b3c5
movss xmm0, dword [esp + 0x88]
addss xmm0, dword [esp + 0x5c]
subss xmm0, dword [esp + 0x48]
call fcn.10011c90
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 0x198e001a
mov dword [esp + 0x60], ecx
test eax, 0x100000
jne 0x1003b3f4
test eax, 0x700000
jne 0x1003b43b
or ecx, 0x100004
mov edx, edi
push ecx
mov ecx, str.rgb
call fcn.10038ee0
add esp, 4
test al, al
je 0x1003b433
mov eax, dword [esp + 0x38]
cmp dword [eax + 0x3e74], 0
je 0x1003b429
cmp byte [eax + 0x3e81], 0
mov byte [esp + 0xe], 1
je 0x1003b42e
mov byte [esp + 0xe], 0
mov byte [esp + 0xd], 1
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x10]
test eax, 0x200000
jne 0x1003b449
test eax, 0x700000
jne 0x1003b467
or ecx, 0x200004
mov edx, edi
push ecx
mov ecx, str.hsv
call fcn.10038ee0
add esp, 4
or byte [esp + 0xd], al
mov eax, dword [esp + 0x10]
test eax, 0x400000
jne 0x1003b475
test eax, 0x700000
jne 0x1003b492
mov eax, dword [esp + 0x60]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.10038ee0
add esp, 4
or byte [esp + 0xd], al
cmp byte [esp + 0xe], 0
mov ecx, dword [0x10072700]
mov eax, dword [ecx + 0x3e28]
mov byte [eax + 0xa8], 1
mov edx, dword [ecx + 0x3e28]
mov ecx, dword [edx + 0x1a4]
mov eax, dword [edx + 0x1ac]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x19c], eax
lea eax, [ecx - 1]
mov dword [edx + 0x1a4], eax
mov eax, dword [esp + 0x10]
je 0x1003b5d8
test eax, 0x8000000
je 0x1003b5d8
movss xmm3, dword [edi + 4]
xorps xmm2, xmm2
movss xmm5, dword [edi + 8]
xorps xmm6, xmm6
comiss xmm5, xmm3
movss xmm4, dword [edi]
jbe 0x1003b50e
movss xmm6, dword [0x1006f428]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1003b52b
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x1006f414]
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 [0x1006f28c]
movaps xmm7, xmm1
mulss xmm1, dword [0x1006f384]
divss xmm7, xmm0
addss xmm1, dword [0x1006f28c]
divss xmm3, xmm1
addss xmm3, xmm6
movss xmm6, dword [0x1006f580]
andps xmm3, xmm6
comiss xmm2, xmm3
jb 0x1003b5e0
movss xmm0, dword [esp + 0x14]
comiss xmm0, xmm2
jbe 0x1003b5e0
comiss xmm2, xmm4
jb 0x1003b5ad
movss xmm1, dword [esp + 0x40]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1003b5a9
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x1c]
mulss xmm2, dword [0x1006f2e8]
jmp 0x1003b5c3
mov eax, dword [esp + 0x10]
comiss xmm2, xmm7
jb 0x1003b5e0
movss xmm1, dword [esp + 0x1c]
movaps xmm2, xmm4
mulss xmm1, dword [0x1006f2e8]
lea eax, [edi + 8]
mov ecx, edi
push eax
lea edx, [edi + 4]
call fcn.10003c30
mov eax, dword [esp + 0x14]
add esp, 4
movss xmm6, dword [0x1006f580]
cmp byte [esp + 0xd], 0
je 0x1003b74a
test eax, 0x8000000
je 0x1003b6de
movss xmm0, dword [edi + 4]
xorps xmm4, xmm4
movss xmm1, dword [edi + 8]
movaps xmm2, xmm0
comiss xmm1, xmm0
movss xmm7, dword [edi]
movaps xmm5, xmm1
movss dword [esp + 0x44], xmm7
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x58], xmm1
jbe 0x1003b632
movss xmm4, dword [0x1006f428]
movaps xmm2, xmm1
movaps xmm5, xmm0
comiss xmm2, xmm7
movaps xmm3, xmm7
movss dword [esp + 0x40], xmm3
jbe 0x1003b65b
movss xmm0, dword [0x1006f414]
movaps xmm3, xmm2
subss xmm0, xmm4
movss dword [esp + 0x40], xmm3
movaps xmm2, xmm7
movaps xmm4, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x14], xmm3
minss xmm0, xmm5
movaps xmm1, xmm3
subss xmm2, xmm5
mov ecx, edi
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x24]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x24]
movaps xmm0, xmm1
mulss xmm0, dword [0x1006f384]
addss xmm0, dword [0x1006f28c]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x1006f28c]
addss xmm2, xmm4
divss xmm1, xmm0
andps xmm2, xmm6
movss dword [esp + 0x24], xmm2
movss dword [esp + 0x28], xmm1
call fcn.10038df0
movss xmm3, dword [esp + 0x24]
add esp, 8
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0x14], xmm3
movss dword [esp + 0x1c], xmm0
jmp 0x1003b750
test eax, 0x10000000
je 0x1003b74a
movss xmm1, dword [edi + 8]
lea eax, [esp + 0x6c]
movss xmm3, dword [edi + 4]
lea edx, [esp + 0x84]
movss xmm0, dword [edi]
lea ecx, [esp + 0x68]
movss dword [esp + 0x40], xmm1
movaps xmm2, xmm1
push eax
movaps xmm1, xmm3
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x20], xmm3
call fcn.10003c30
movss xmm0, dword [esp + 0x6c]
add esp, 4
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x84]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x58], xmm0
movss xmm3, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
xorps xmm0, xmm0
movss xmm2, dword [eax + 0x3798]
comiss xmm0, xmm2
movss xmm0, dword [0x1006f328]
jbe 0x1003b771
xorps xmm1, xmm1
jmp 0x1003b778
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x1006f3cc]
mov dword [esp + 0x8c], 0x3f800000
movss dword [esp + 0x98], xmm2
movaps xmm2, xmm0
mov dword [esp + 0x90], 0x3f800000
addss xmm1, dword [0x1006f2e8]
mov dword [esp + 0x94], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x54], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x3c], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x100], ecx
or eax, 0x808080
mov dword [esp + 0x118], ecx
mov dword [esp + 0x6c], eax
lea ecx, [esp + 0x8c]
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x104], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x108], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x10c], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0x110], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0x90]
mov dword [esp + 0x114], eax
lea eax, [esp + 0x94]
push eax
call fcn.10003c30
movss xmm3, dword [esp + 0x90]
xorps xmm1, xmm1
movss xmm2, dword [0x1006f328]
add esp, 4
comiss xmm1, xmm3
jbe 0x1003b874
xorps xmm0, xmm0
jmp 0x1003b87b
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm4, dword [0x1006f3cc]
movss xmm3, dword [0x1006f2e8]
movss xmm5, dword [esp + 0x90]
comiss xmm1, xmm5
mulss xmm0, xmm4
addss xmm0, xmm3
cvttss2si ecx, xmm0
jbe 0x1003b8aa
xorps xmm0, xmm0
jmp 0x1003b8b1
movaps xmm0, xmm2
minss xmm0, xmm5
movss xmm5, dword [esp + 0x94]
mulss xmm0, xmm4
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm5
jbe 0x1003b8d5
xorps xmm0, xmm0
jmp 0x1003b8dc
movaps xmm0, xmm2
minss xmm0, xmm5
movss xmm5, dword [esp + 0x98]
mulss xmm0, xmm4
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm5
jbe 0x1003b900
xorps xmm0, xmm0
jmp 0x1003b907
movaps xmm0, xmm2
minss xmm0, xmm5
movss xmm5, dword [esp + 0x44]
mulss xmm0, xmm4
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
comiss xmm1, xmm5
mov dword [esp + 0x84], eax
jbe 0x1003b92f
xorps xmm0, xmm0
jmp 0x1003b936
movaps xmm0, xmm2
minss xmm0, xmm5
movss xmm5, dword [esp + 0x70]
comiss xmm1, xmm5
mulss xmm0, xmm4
addss xmm0, xmm3
cvttss2si ecx, xmm0
jbe 0x1003b952
xorps xmm0, xmm0
jmp 0x1003b959
movaps xmm0, xmm2
minss xmm0, xmm5
movss xmm5, dword [esp + 0x58]
mulss xmm0, xmm4
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm5
jbe 0x1003b97a
xorps xmm0, xmm0
jmp 0x1003b981
movaps xmm0, xmm2
minss xmm0, xmm5
mulss xmm0, xmm4
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x38]
movss xmm5, dword [eax + 0x3798]
comiss xmm1, xmm5
jbe 0x1003b9a8
xorps xmm0, xmm0
jmp 0x1003b9af
movaps xmm0, xmm2
minss xmm0, xmm5
mov eax, dword [esp + 0x10]
mulss xmm0, xmm4
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
addss xmm0, xmm3
cvttss2si edx, xmm0
shl edx, 0x18
or edx, ecx
mov dword [esp + 0x70], edx
test eax, 0x4000000
je 0x1003c200
movss xmm0, dword [esp + 0x74]
movaps xmm5, xmm3
movss xmm4, dword [esp + 0x9c]
mov eax, 0x2aaaaaab
divss xmm5, xmm0
mov esi, dword [esp + 0x2c]
addss xmm4, xmm0
cvttss2si ecx, xmm0
mulss xmm4, xmm3
imul ecx
movss dword [esp + 0xd4], xmm5
movss dword [esp + 0xd8], xmm4
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 + 0xc4], ecx
mov dword [esp + 0x58], eax
nop dword [eax + eax]
movd xmm1, eax
lea eax, [esp + 0xf0]
cvtdq2ps xmm1, xmm1
mov edi, dword [esi + 0x18]
push ecx
push ecx
mov ecx, esi
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x1006f384]
divss xmm1, dword [0x1006f384]
addss xmm0, xmm0
movaps xmm2, xmm4
addss xmm1, xmm1
mulss xmm0, dword [0x1006f370]
mulss xmm1, dword [0x1006f370]
subss xmm0, xmm5
addss xmm1, xmm5
movaps xmm3, xmm0
movss dword [esp + 0x4c], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x74], xmm1
call fcn.10024210
movss xmm0, dword [esp + 0xa0]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0x44]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.10022d00
movss xmm0, dword [esp + 0x44]
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 + 0x44]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x9c]
addss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x64], 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 + 0x9c]
addss xmm0, dword [esp + 0xb8]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x68]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x68]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x9c]
addss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x7c], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x7c]
xorps xmm4, xmm4
movss xmm5, dword [esp + 0x64]
movss xmm6, dword [esp + 0x78]
subss xmm3, xmm5
mov eax, dword [esp + 0x58]
cvtsd2ss xmm4, xmm0
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + eax*4 + 0x100]
mov eax, dword [esi + 0x18]
movss xmm2, dword [0x1006f328]
movaps xmm0, xmm3
mulss xmm4, dword [esp + 0x9c]
movaps xmm7, xmm2
mulss xmm0, xmm3
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
addss xmm4, dword [esp + 0xb8]
subss xmm4, xmm6
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
divss xmm7, xmm1
mov dword [esp + 0x7c], eax
movzx eax, cl
mov dword [esp + 0x60], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x68], eax
shr ecx, 0x10
movzx eax, cl
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + eax*4 + 0x104]
movzx eax, cl
sub eax, dword [esp + 0x60]
mov dword [esp + 0x64], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x68]
shr ecx, 0x10
mov dword [esp + 0x88], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0x7c]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x44]
mov dword [esp + 0x78], ecx
cmp edx, edi
jae 0x1003bd15
mov eax, dword [esp + 0x88]
mov esi, dword [esp + 0x64]
nop
movss xmm0, dword [edx]
movss xmm1, dword [edx + 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 0x1003bc7e
xorps xmm2, xmm2
jmp 0x1003bc82
minss xmm2, xmm1
movd xmm1, ecx
movaps xmm0, xmm2
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
movd xmm1, dword [esp + 0x44]
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 + 0x68]
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 + 0x60]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [0x1006f328]
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov eax, dword [esp + 0x88]
mov dword [edx + 0x10], ecx
add edx, 0x14
mov ecx, dword [esp + 0x78]
cmp edx, edi
jb 0x1003bc50
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x58]
movss xmm4, dword [esp + 0xd8]
inc eax
movss xmm5, dword [esp + 0xd4]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x58], eax
cmp eax, 6
jl 0x1003ba50
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x1006f358]
mulss xmm0, dword [0x1006f370]
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 + 0x20], xmm0
cvtps2pd xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0x1b], 0
xorps xmm2, xmm2
movss xmm3, dword [esp + 0x9c]
addss xmm3, dword [esp + 0x74]
movss xmm1, dword [esp + 0xa0]
cvtsd2ss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x20]
mulss xmm3, xmm2
mulss xmm0, dword [0x1006f2e8]
mulss xmm3, dword [0x1006f2e8]
addss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x7c], xmm2
addss xmm3, dword [esp + 0xb8]
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x4c], xmm3
je 0x1003bded
mulss xmm1, dword [0x1006f2f4]
jmp 0x1003bdf5
mulss xmm1, dword [0x1006f2ec]
movaps xmm0, xmm1
movss dword [esp + 0xa0], xmm1
divss xmm0, dword [0x1006f340]
cvttss2si esi, xmm0
cmp esi, 9
jge 0x1003be19
mov esi, 9
jmp 0x1003be23
mov eax, 0x20
cmp esi, eax
cmovg esi, eax
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x48]
push esi
push dword [esp + 0x88]
movaps xmm2, xmm1
mov ecx, edi
push eax
call fcn.100252d0
movss xmm2, dword [esp + 0xa0]
lea eax, [esp + 0x48]
addss xmm2, dword [0x1006f328]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
push dword [esp + 0x74]
push eax
call fcn.10025210
movss xmm2, dword [esp + 0xa0]
lea eax, [esp + 0x48]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
mov esi, dword [esp + 0x44]
push esi
push eax
call fcn.10025210
movss xmm3, dword [esp + 0x20]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x7c]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x30]
movaps xmm0, xmm5
mov eax, dword [0x10072700]
movss xmm6, dword [esp + 0xc0]
movaps xmm4, xmm3
mulss xmm0, xmm1
push 6
movss xmm7, dword [esp + 0xbc]
mulss xmm4, dword [esp + 0xa8]
push 6
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0xac]
addss xmm2, xmm6
movss dword [esp + 0x7c], xmm2
movss dword [esp + 0x94], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x38]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xbc]
mulss xmm5, dword [esp + 0xb8]
addss xmm2, xmm7
movss dword [esp + 0x4c], xmm2
movss dword [esp + 0x98], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xbc]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0xb8]
addss xmm0, xmm1
addss xmm4, xmm6
addss xmm3, xmm1
addss xmm2, xmm6
addss xmm0, xmm7
movss dword [esp + 0x60], xmm4
addss xmm3, xmm7
movss dword [esp + 0xf8], xmm4
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [eax + 0x3bbc]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [eax + 0x3bc0]
movss dword [esp + 0x28], xmm3
movss dword [esp + 0xfc], xmm3
movss dword [esp + 0x6c], xmm0
mov ecx, edi
call fcn.10022ae0
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
movss xmm2, dword [esp + 0x74]
movss xmm3, dword [esp + 0x44]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss xmm0, dword [esp + 0x7c]
movss xmm1, dword [esp + 0x64]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
mov edx, dword [esp + 0x84]
movss xmm5, dword [esp + 0x30]
movss xmm4, dword [esp + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
movss xmm7, dword [esp + 0x58]
movss xmm6, dword [esp + 0x20]
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
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], 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 + 0x54]
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
mov eax, dword [edi + 0x38]
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
push ecx
mov word [eax], cx
mov ecx, edi
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov dword [esp], 0x3fc00000
push dword [esp + 0x70]
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, [esp + 0xf8]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.10024fe0
movss xmm0, dword [0x1006f328]
xorps xmm1, xmm1
movaps xmm2, xmm0
subss xmm2, dword [esp + 0x40]
comiss xmm1, xmm2
jbe 0x1003c174
xorps xmm5, xmm5
jmp 0x1003c17b
movaps xmm5, xmm0
minss xmm5, xmm2
movss xmm2, dword [esp + 0x1c]
comiss xmm1, xmm2
jbe 0x1003c18b
xorps xmm4, xmm4
jmp 0x1003c192
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm0, dword [esp + 0x74]
subss xmm0, dword [esp + 0x58]
movss xmm3, dword [esp + 0x30]
movss xmm2, dword [esp + 0x34]
mov esi, dword [esp + 0xc8]
mulss xmm0, xmm4
addss xmm0, dword [esp + 0x58]
subss xmm3, xmm0
mulss xmm3, xmm5
addss xmm3, xmm0
movss xmm0, dword [esp + 0x44]
subss xmm0, dword [esp + 0x20]
movss dword [esp + 0xe0], xmm3
mulss xmm0, xmm4
addss xmm0, dword [esp + 0x20]
subss xmm2, xmm0
mulss xmm2, xmm5
addss xmm2, xmm0
movss dword [esp + 0xe4], xmm2
jmp 0x1003c57d
test eax, 0x2000000
je 0x1003c590
movss xmm1, dword [esp + 0x48]
movss xmm2, dword [esp + 0x24]
movaps xmm0, xmm1
mov ecx, dword [esp + 0x3c]
addss xmm0, xmm2
mov eax, dword [esp + 0x84]
addss xmm1, xmm2
push ecx
push eax
push eax
movss dword [esp + 0x3c], xmm0
lea eax, [esp + 0x3c]
movss xmm0, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x3c]
addss xmm0, xmm2
push eax
lea eax, [esp + 0x5c]
movss dword [esp + 0x88], xmm1
push eax
movss dword [esp + 0x4c], xmm0
call fcn.10024e60
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0xf0]
movss xmm0, dword [esp + 0x74]
push ecx
push ecx
mov ecx, dword [esp + 0x34]
push 0
push 0
push eax
movss dword [esp + 0x104], xmm0
lea eax, [esp + 0x5c]
movss xmm0, dword [esp + 0x48]
push eax
movss dword [esp + 0x10c], xmm0
call fcn.10024e60
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0x80], xmm0
xorps xmm0, xmm0
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.10004c00
movss xmm2, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm1, dword [0x1006f328]
add esp, 0x10
comiss xmm0, xmm2
jbe 0x1003c2f8
xorps xmm3, xmm3
jmp 0x1003c2ff
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm4, dword [esp + 0x24]
movss xmm6, dword [esp + 0x48]
movss xmm2, dword [0x1006f2e8]
mulss xmm3, xmm4
movss xmm7, dword [0x1006f358]
addss xmm3, xmm6
addss xmm3, xmm2
cvttss2si eax, xmm3
movaps xmm3, xmm6
addss xmm6, xmm4
addss xmm3, xmm7
movd xmm5, eax
cvtdq2ps xmm5, xmm5
subss xmm6, xmm7
comiss xmm3, xmm5
jbe 0x1003c351
movss dword [esp + 0xe0], xmm3
jmp 0x1003c36a
comiss xmm5, xmm6
jbe 0x1003c361
movss dword [esp + 0xe0], xmm6
jmp 0x1003c36a
movss dword [esp + 0xe0], xmm5
movaps xmm3, xmm1
subss xmm3, dword [esp + 0x40]
comiss xmm0, xmm3
jbe 0x1003c37d
xorps xmm1, xmm1
jmp 0x1003c381
minss xmm1, xmm3
movss xmm3, dword [esp + 0x28]
mulss xmm1, xmm4
movss xmm0, dword [esp + 0x34]
subss xmm0, xmm7
addss xmm1, xmm3
addss xmm1, xmm2
cvttss2si eax, xmm1
movaps xmm1, xmm3
addss xmm1, xmm7
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x1003c3bf
movss dword [esp + 0xe4], xmm1
jmp 0x1003c3d8
comiss xmm2, xmm0
jbe 0x1003c3cf
movss dword [esp + 0xe4], xmm0
jmp 0x1003c3d8
movss dword [esp + 0xe4], xmm2
movss xmm2, dword [esp + 0x88]
movaps xmm1, xmm4
divss xmm1, dword [0x1006f384]
mov esi, dword [esp + 0x2c]
xor ecx, ecx
movaps xmm0, xmm2
movss dword [esp + 0x8c], xmm2
addss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x7c], xmm1
movss dword [esp + 0xf0], xmm0
nop dword [eax]
nop word [eax + eax]
mov eax, dword [esp + ecx*4 + 0x104]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0xf8]
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0xfc], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x108]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0xa0]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0xa8], xmm0
call fcn.10024e60
movss xmm1, dword [esp + 0x7c]
mov ecx, edi
movss xmm3, dword [esp + 0x28]
cmp ecx, 6
jl 0x1003c420
movss xmm2, dword [esp + 0x28]
movss xmm3, dword [esp + 0x88]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x24]
movaps xmm1, xmm3
movss dword [esp + 0x4c], xmm2
addss xmm1, dword [esp + 0x5c]
movss dword [esp + 0x48], xmm3
movss dword [esp + 0x34], xmm0
xorps xmm0, xmm0
push dword [esp + 0x34]
movss dword [esp + 0x34], xmm1
push dword [esp + 0x34]
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.10004c00
mov esi, dword [esp + 0xd8]
movss xmm1, dword [esp + 0x6c]
addss xmm1, dword [0x1006f358]
mov ecx, dword [esp + 0x3c]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x44], xmm2
addss xmm0, dword [0x1006f328]
movss xmm2, dword [esp + 0x98]
push dword [esp + 0x44]
subss xmm2, dword [0x1006f328]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x28]
mulss xmm0, dword [esp + 0x38]
push dword [esp + 0x44]
movss dword [esp + 0x60], xmm2
addss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x1006f2e8]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x50]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x3798]
movss dword [esp + 0x64], xmm0
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.10039f50
add esp, 0x20
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0xac]
movss xmm3, dword [0x1006f2e8]
cmp byte [esp + 0xf], 0
je 0x1003c5aa
movss xmm2, dword [0x1006f390]
movss dword [esp + 0xbc], xmm2
jmp 0x1003c5b2
movss xmm2, dword [0x1006f384]
test edx, 0xff000000
je 0x1003c5ff
comiss xmm3, xmm2
ja 0x1003c5ff
push 0xb
push ecx
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0xe8]
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
call fcn.10024210
mov eax, dword [esp + 0x2c]
mov ecx, eax
push dword [esp + 0x70]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10023a10
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x54], 0
jmp 0x1003c603
mov eax, dword [esp + 0x2c]
test dword [esp + 0x6c], 0xff000000
movss xmm1, dword [esp + 0xbc]
movss xmm0, dword [0x1006f2e8]
movaps xmm2, xmm1
addss xmm2, dword [0x1006f328]
je 0x1003c689
comiss xmm0, xmm2
ja 0x1003c689
push 0xb
push ecx
subss xmm2, xmm0
mov dword [esp], 0x40b84e89
lea ecx, [esp + 0xe8]
xorps xmm3, xmm3
push ecx
mov ecx, eax
call fcn.10024210
mov eax, dword [esp + 0x2c]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x74]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10022d00
mov eax, dword [esp + 0x2c]
movss xmm0, dword [0x1006f2e8]
movss xmm1, dword [esp + 0xbc]
mov dword [eax + 0x54], 0
test dword [esp + 0x3c], 0xff000000
je 0x1003c6e5
comiss xmm0, xmm1
ja 0x1003c6e5
push 0xb
push ecx
subss xmm1, xmm0
mov dword [esp], 0x40b84e89
lea ecx, [esp + 0xe8]
xorps xmm3, xmm3
push ecx
mov ecx, eax
movaps xmm2, xmm1
call fcn.10024210
mov eax, dword [esp + 0x2c]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x44]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10022d00
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x54], 0
cmp dword [esp + 0xd0], 0x10000
jne 0x1003c892
movss xmm2, dword [edi + 0xc]
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x1003c70b
movss dword [esp + 0x54], xmm1
jmp 0x1003c71d
movss xmm0, dword [0x1006f328]
minss xmm0, xmm2
movss dword [esp + 0x54], xmm0
movss xmm3, dword [esp + 0xcc]
xor edx, edx
movss xmm0, dword [esp + 0x28]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x5c]
movss dword [esp + 0xf4], xmm0
mov ecx, eax
addss xmm0, dword [esp + 0x24]
mov dword [esp + 0x34], 0
push dword [esp + 0x34]
mov dword [esp + 0x34], 0
push dword [esp + 0x34]
movss dword [esp + 0x100], xmm2
subss xmm2, xmm3
movss dword [esp + 0x104], xmm0
push dword [esp + 0x104]
movss dword [esp + 0xfc], xmm3
xorps xmm3, xmm3
push dword [esp + 0x104]
mov edi, dword [esp + 0x100]
push dword [esp + 0x104]
mulss xmm2, dword [0x1006f2e8]
push edi
push 0
call fcn.10029c30
mov ecx, dword [esp + 0x8c]
add esp, 0x1c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x108]
push eax
lea eax, [esp + 0x104]
push eax
call fcn.10024e60
push dword [esp + 0xfc]
xorps xmm0, xmm0
push dword [esp + 0xfc]
push dword [esp + 0xfc]
push edi
call fcn.10004c00
movss xmm1, dword [0x1006f328]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
movaps xmm0, xmm2
movss dword [esp + 0x44], xmm2
movss xmm2, dword [esp + 0xdc]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0x64]
push dword [esp + 0x44]
movss dword [esp + 0x44], xmm0
push dword [esp + 0x44]
mulss xmm1, dword [esp + 0x3c]
movss dword [esp + 0x60], xmm2
movss xmm2, dword [edi + 0x3798]
addss xmm1, dword [esp + 0x40]
addss xmm1, dword [0x1006f2e8]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x74]
addss xmm1, dword [0x1006f358]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x64], xmm0
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.10039f50
add esp, 0x20
jmp 0x1003c896
mov edi, dword [esp + 0x38]
call fcn.10011f40
cmp byte [esp + 0xd], 0
je 0x1003c938
mov ecx, dword [esp + 0xac]
lea esi, [esp + 0x11c]
xor edx, edx
cmp dword [esp + 0xa8], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x1003c8e1
nop dword [eax]
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x1003c8e6
add esi, 4
add ecx, 4
sub edx, 4
jae 0x1003c8d0
cmp edx, 0xfffffffc
je 0x1003c933
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x1003c913
cmp edx, 0xfffffffd
je 0x1003c933
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x1003c913
cmp edx, 0xfffffffe
je 0x1003c933
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x1003c913
cmp edx, 0xffffffff
je 0x1003c933
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x1003c933
cmp dword [edi + 0x469c], 0
mov eax, dword [0x10072700]
je 0x1003c93d
or dword [eax + 0x46a4], 4
mov word [eax + 0x3e84], 0x101
jmp 0x1003c93d
mov byte [esp + 0xd], 0
mov eax, dword [0x10072700]
mov ecx, dword [eax + 0x3e28]
mov al, byte [esp + 0xd]
pop edi
pop esi
dec dword [ecx + 0xe0]
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.10049c21
mov esp, ebp
pop ebp
ret