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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x140
mov eax, dword [0x100d0008]
xor eax, esp
mov dword [esp + 0x13c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xb4], ecx
mov ecx, dword [0x100d24e0]
mov dword [esp + 0x8c], eax
push esi
push edi
mov eax, dword [ecx + 0x3fc4]
mov edi, edx
mov dword [esp + 0x80], edi
mov dword [esp + 0x30], ecx
mov byte [eax + 0xbc], 1
mov eax, dword [ecx + 0x3fc4]
mov dword [esp + 0x60], eax
cmp byte [eax + 0xbf], 0
je 0x1003eb66
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.100a95f7
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x4928], 1
mov edx, dword [eax + 0x278]
mov dword [esp + 0x24], edx
je 0x1003eb83
movss xmm1, dword [ecx + 0x4938]
jmp 0x1003eb8b
movss xmm1, dword [eax + 0x1b4]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1003ebcc
cmp dword [eax + 0x1a0], 0
jne 0x1003ebaa
cmp dword [ecx + 0x4d34], 0
mov edx, 0x23c
je 0x1003ebaf
mov edx, 0x20c
movss xmm0, dword [eax + edx]
subss xmm0, dword [eax + 0x100]
addss xmm0, xmm1
movss xmm1, dword [0x100cc48c]
maxss xmm1, xmm0
mov edx, dword [ecx + 0x492c]
mov eax, dword [ecx + 0x491c]
shr edx, 7
shr eax, 7
or dl, al
mov dword [ecx + 0x4928], 0
and edx, 0xffffff01
mov dword [ecx + 0x492c], 0
mov ecx, dword [esp + 0xbc]
cvttss2si esi, xmm1
mov dword [esp + 0x3c], edx
call fcn.1001bb80
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x5cf4]
mov dword [esp + 0xf4], eax
test eax, eax
jne 0x1003ec3d
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0xf4]
mov eax, dword [eax + 0xfc]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x5cf4], eax
call fcn.1001e990
mov ecx, dword [ebp + 8]
mov edx, ecx
or edx, 0x10
test ecx, 0x100
cmovne edx, ecx
mov dword [esp + 0x5c], edx
test dl, 8
jne 0x1003ec67
mov ecx, edi
call fcn.100422c0
mov edx, dword [esp + 0x5c]
test edx, 0x6000000
jne 0x1003ec90
mov eax, dword [esp + 0x30]
mov ecx, 0xa900000
mov eax, dword [eax + 0x5cf0]
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x1003ec92
mov ecx, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
test ecx, 0x18000000
jne 0x1003ecc9
mov eax, dword [edx + 0x5cf0]
mov edi, 0xa900000
test eax, 0x18000000
cmovne edi, eax
mov eax, edi
mov edi, dword [esp + 0x80]
and eax, 0x18000000
or ecx, eax
mov dword [esp + 0xc], ecx
test cl, 8
jne 0x1003ecdf
mov eax, dword [edx + 0x5cf0]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0xc], ecx
mov eax, ecx
movss xmm2, dword [edx + 0x38fc]
and eax, 2
and ecx, 0x10002
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xf0], ecx
movss xmm0, dword [eax + 0x104]
movss xmm3, dword [eax + 0x100]
mov eax, dword [0x100d24e0]
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x40], xmm3
movss xmm4, dword [eax + 0x38e8]
addss xmm4, xmm4
addss xmm4, dword [eax + 0x3d1c]
xor eax, eax
cmp ecx, 0x10000
sete al
inc eax
addss xmm0, xmm4
movss dword [esp + 0x78], xmm4
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0x58], eax
sete al
mulss xmm1, xmm0
lea eax, [eax*4 + 0xc]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push eax
mov dword [esp + 0x80], eax
lea eax, [esp + 0x138]
push edi
push eax
subss xmm0, xmm1
movaps xmm1, xmm4
maxss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x70], xmm0
addss xmm0, xmm2
movss dword [esp + 0xe0], xmm0
addss xmm0, xmm4
movss dword [esp + 0x68], xmm0
addss xmm0, xmm2
movss dword [esp + 0xec], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x100cc420]
cvttss2si esi, xmm0
mov dword [esp + 0xf0], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm2, dword [esp + 0x28]
add esp, 0xc
movaps xmm3, xmm2
movaps xmm1, xmm2
mulss xmm3, dword [0x100cc444]
mulss xmm1, dword [0x100cc410]
movaps xmm0, xmm3
movss dword [esp + 0x84], xmm3
addss xmm0, dword [esp + 0x20]
movss dword [esp + 0x54], xmm1
movaps xmm4, xmm3
subss xmm4, xmm1
movaps xmm1, xmm2
addss xmm1, dword [esp + 0x78]
movss dword [esp + 0xd0], xmm0
movss dword [esp + 0xfc], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x100cc404]
mulss xmm1, dword [0x100cc444]
cvttss2si eax, xmm0
addss xmm1, dword [esp + 0x40]
movss dword [esp + 0xb8], xmm4
movd xmm0, eax
movss dword [esp + 0xcc], xmm1
movss dword [esp + 0xf8], xmm1
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm4
movss xmm7, dword [edi + 8]
subss xmm1, xmm0
mov eax, dword [esp + 0xc]
movss xmm5, dword [0x100cc3ec]
mov ecx, eax
and ecx, 0x8000000
mov dword [esp + 0x2c], 0
movss dword [esp + 0x48], xmm7
mov dword [esp + 0x60], ecx
movaps xmm0, xmm1
movss dword [esp + 0x28], xmm1
mulss xmm0, dword [0x100cc580]
movaps xmm2, xmm1
mulss xmm2, dword [0x100cc58c]
movss dword [esp + 0xb4], xmm0
movss dword [esp + 0x9c], xmm0
movss dword [esp + 0x118], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100cc474]
movss xmm1, dword [edi + 4]
movss dword [esp + 0xb0], xmm2
movss dword [esp + 0xa0], xmm2
movss dword [esp + 0xac], xmm0
movss dword [esp + 0x11c], xmm0
movss xmm0, dword [edi]
movaps xmm2, xmm0
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x98], xmm2
movss dword [esp + 0x88], xmm2
movaps xmm2, xmm1
movss dword [esp + 0x4c], xmm2
movss dword [esp + 0x90], xmm2
movaps xmm2, xmm7
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x50], xmm2
movss dword [esp + 0x74], xmm2
je 0x1003f02a
comiss xmm7, xmm1
xorps xmm3, xmm3
movaps xmm2, xmm1
movaps xmm4, xmm7
jbe 0x1003ef82
movss xmm3, dword [0x100cc590]
movaps xmm2, xmm7
movaps xmm4, xmm1
comiss xmm2, xmm0
movaps xmm7, xmm0
movss dword [esp + 0x48], xmm7
jbe 0x1003efab
movaps xmm7, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x100cc57c]
subss xmm0, xmm3
movss dword [esp + 0x48], xmm7
movaps xmm3, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x10], xmm7
minss xmm0, xmm4
movaps xmm1, xmm7
subss xmm2, xmm4
mov ecx, edi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x3c]
movaps xmm0, xmm1
mulss xmm0, dword [0x100cc4ec]
addss xmm0, xmm5
divss xmm2, xmm0
movaps xmm0, xmm7
addss xmm0, xmm5
addss xmm2, xmm3
divss xmm1, xmm0
andps xmm2, xmmword [0x100cc900]
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x20], xmm1
call fcn.1003d730
movss xmm0, dword [esp + 0x3c]
add esp, 8
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [esp + 0x18], xmm0
jmp 0x1003f07c
test eax, 0x10000000
je 0x1003f07c
lea eax, [esp + 0x74]
movaps xmm2, xmm7
push eax
lea edx, [esp + 0x94]
lea ecx, [esp + 0x8c]
call fcn.1000f700
movss xmm0, dword [esp + 0x8c]
add esp, 4
movss dword [esp + 0x98], xmm0
movss xmm0, dword [esp + 0x90]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x50], xmm0
mov ecx, dword [0x100d24e0]
lea edx, [ecx + 0x4a40]
mov byte [esp + 0xa], 0
mov byte [esp + 0x16], 0
mov byte [esp + 0xb], 0
mov eax, dword [ecx + 0x491c]
or eax, 8
mov dword [esp + 0x34], edx
mov dword [ecx + 0x491c], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x8c], eax
cmp dword [edx], ecx
jne 0x1003f0eb
test ecx, ecx
je 0x1003f0cb
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
sar eax, 1
add eax, ecx
jmp 0x1003f0d0
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10026ee0
mov edi, dword [esp + 0x80]
mov edx, dword [esp + 0x34]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x8c]
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0xc]
mov ecx, eax
inc dword [edx]
and ecx, 0x4000000
mov dword [esp + 0xc0], ecx
je 0x1003f6e1
movss xmm1, dword [esp + 0x1c]
lea edx, [esp + 0x68]
mov eax, dword [esp + 0x30]
movaps xmm0, xmm1
push ecx
mov ecx, 0x100cc0d0
movss dword [esp + 0x70], xmm1
addss xmm0, dword [eax + 0x38fc]
addss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x6c], xmm0
call fcn.10034180
mov eax, dword [0x100d24e0]
add esp, 4
mov ecx, dword [eax + 0x4018]
test ecx, ecx
je 0x1003f5f0
cmp ecx, dword [eax + 0x4950]
jne 0x1003f5f0
cmp byte [esp + 0x3c], 0
jne 0x1003f5f0
mov eax, dword [esp + 0x30]
movss xmm0, dword [eax + 0x2a90]
subss xmm0, dword [esp + 0xd0]
movss xmm1, dword [eax + 0x2a8c]
subss xmm1, dword [esp + 0xcc]
movss xmm2, dword [eax + 0xbc]
movss xmm4, dword [eax + 0xc0]
subss xmm2, dword [esp + 0xcc]
subss xmm4, dword [esp + 0xd0]
movaps xmm3, xmm0
movss dword [esp + 0x34], xmm0
mulss xmm3, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x8c], xmm1
movss xmm1, dword [0x100cc48c]
addss xmm3, xmm0
movss dword [esp + 0xe8], xmm2
movss xmm0, dword [esp + 0xb8]
subss xmm0, xmm1
movss dword [esp + 0x108], xmm4
mulss xmm0, xmm0
comiss xmm3, xmm0
jb 0x1003f288
movss xmm0, dword [esp + 0x84]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm3
jb 0x1003f288
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x68], xmm0
fld qword [esp + 0x68]
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x68], xmm0
fld qword [esp + 0x68]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
fstp qword [esp + 0x68]
movsd xmm1, qword [esp + 0x68]
xorps xmm0, xmm0
cvtpd2ps xmm1, xmm1
divss xmm1, dword [0x100cc4d8]
mulss xmm1, dword [0x100cc444]
comiss xmm0, xmm1
movss dword [esp + 0x10], xmm1
jbe 0x1003f280
addss xmm1, dword [0x100cc48c]
movss dword [esp + 0x10], xmm1
mov cl, 1
mov byte [esp + 0xa], cl
jmp 0x1003f292
mov cl, byte [esp + 0xa]
movss xmm1, dword [esp + 0x10]
movaps xmm0, xmm1
mov byte [esp + 0x16], cl
xorps xmm0, xmmword [0x100cc910]
addss xmm0, xmm0
mulss xmm0, dword [0x100cc4d8]
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x68], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x3c], xmm0
movsd xmm0, qword [esp + 0x68]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x8c]
xorps xmm5, xmm5
movss xmm1, dword [esp + 0x34]
movaps xmm4, xmm3
mulss xmm4, dword [esp + 0x3c]
cvtsd2ss xmm5, xmm0
movaps xmm0, xmm1
movss xmm7, dword [esp + 0x28]
mulss xmm1, dword [esp + 0x3c]
movaps xmm6, xmm7
mulss xmm0, xmm5
mulss xmm3, xmm5
subss xmm4, xmm0
movss dword [esp + 0xd8], xmm5
movss xmm0, dword [esp + 0xb0]
subss xmm0, dword [esp + 0xac]
addss xmm3, xmm1
movss xmm1, dword [esp + 0xb4]
movaps xmm5, xmm1
subss xmm5, xmm1
movaps xmm2, xmm4
subss xmm6, dword [esp + 0xb4]
movss dword [esp + 0x8c], xmm0
subss xmm2, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, dword [esp + 0xac]
movss dword [esp + 0x34], xmm5
movss dword [esp + 0x68], xmm6
mulss xmm1, xmm2
mulss xmm0, xmm5
xorps xmm5, xmm5
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xb0]
comiss xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x70], xmm0
movaps xmm0, xmm3
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0xb0]
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x1003f5e8
movss xmm0, dword [esp + 0xac]
subss xmm4, xmm7
subss xmm0, xmm5
subss xmm3, xmm5
mulss xmm4, xmm0
movss xmm0, dword [esp + 0xb4]
subss xmm0, xmm7
mulss xmm0, xmm3
subss xmm4, xmm0
comiss xmm5, xmm4
seta al
cmp cl, al
jne 0x1003f5e8
movss xmm6, dword [esp + 0xe8]
movss xmm1, dword [esp + 0x108]
movaps xmm7, xmm6
movss xmm3, dword [esp + 0xd8]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x3c]
mulss xmm7, dword [esp + 0x3c]
movss xmm4, dword [esp + 0xb4]
mulss xmm0, xmm3
mulss xmm6, xmm3
subss xmm7, xmm0
addss xmm6, xmm1
movaps xmm1, xmm7
movss dword [esp + 0xd8], xmm7
subss xmm1, xmm4
movaps xmm0, xmm6
movss dword [esp + 0xdc], xmm6
subss xmm0, dword [esp + 0xac]
mulss xmm1, dword [esp + 0x8c]
mulss xmm0, dword [esp + 0x34]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0xb0]
comiss xmm5, xmm1
mulss xmm0, dword [esp + 0x68]
movaps xmm1, xmm7
subss xmm1, xmm4
seta cl
mulss xmm1, dword [esp + 0x70]
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x1003f4eb
movss xmm3, dword [esp + 0x28]
movaps xmm2, xmm7
movss xmm0, dword [esp + 0xac]
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 0x1003f531
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0x11c]
push eax
lea eax, [esp + 0xa4]
push eax
lea edx, [esp + 0x34]
lea ecx, [esp + 0x114]
call fcn.1000ebe0
movss xmm3, dword [esp + 0x34]
add esp, 0xc
movss xmm4, dword [esp + 0xb4]
xorps xmm5, xmm5
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
movss xmm1, dword [esp + 0xac]
subss xmm7, xmm3
movaps xmm2, xmm4
subss xmm1, xmm5
movss xmm4, dword [esp + 0xb0]
subss xmm2, xmm3
subss xmm4, xmm5
subss xmm6, xmm5
movaps xmm3, xmm2
movaps xmm0, xmm4
mulss xmm3, xmm1
mulss xmm0, xmm2
mulss xmm6, xmm2
subss xmm3, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm1
mulss xmm7, xmm4
subss xmm0, xmm6
movss xmm1, dword [0x100cc48c]
movss xmm4, dword [0x100cc3f8]
movaps xmm2, xmm1
subss xmm6, xmm7
movss dword [esp + 0x18], xmm4
divss xmm0, xmm3
divss xmm6, xmm3
subss xmm2, xmm0
comiss xmm4, xmm2
movaps xmm0, xmm2
subss xmm0, xmm6
jbe 0x1003f5b9
movaps xmm3, xmm4
jmp 0x1003f5c0
movaps xmm3, xmm1
minss xmm3, xmm2
divss xmm0, xmm3
movss dword [esp + 0x48], xmm3
comiss xmm4, xmm0
ja 0x1003f5dc
movaps xmm4, xmm1
minss xmm4, xmm0
movss dword [esp + 0x18], xmm4
mov byte [esp + 0xb], 1
mov byte [esp + 0xa], 1
jmp 0x1003f5f0
mov al, byte [esp + 0xa]
mov byte [esp + 0x16], al
test byte [esp + 0xc], 8
jne 0x1003f5fc
call fcn.1001fc30
movss xmm3, dword [esp + 0x20]
movss xmm4, dword [esp + 0x1c]
cmp dword [esp + 0xf0], 0x10000
mov esi, dword [esp + 0xe4]
jne 0x1003f998
mov ecx, dword [0x100d24e0]
lea edx, [esp + 0x9c]
movss xmm0, dword [esp + 0xe0]
push ecx
movss dword [esp + 0xa4], xmm4
mov eax, dword [ecx + 0x3fc4]
mov byte [eax + 0xbc], 1
mov eax, dword [ecx + 0x3fc4]
mov ecx, str.alpha
movss dword [eax + 0x100], xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [eax + 0x104], xmm3
mov byte [eax + 0x141], 1
movss dword [esp + 0xa0], xmm0
call fcn.10034180
mov eax, dword [0x100d24e0]
add esp, 4
mov ecx, dword [eax + 0x4018]
test ecx, ecx
je 0x1003f998
cmp ecx, dword [eax + 0x4950]
jne 0x1003f998
mov eax, dword [esp + 0x30]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x1c]
movss xmm1, dword [0x100cc48c]
subss xmm0, xmm1
movss xmm3, dword [eax + 0xc0]
subss xmm3, dword [esp + 0x20]
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x1003f980
xorps xmm4, xmm4
jmp 0x1003f987
test eax, 0x2000000
je 0x1003f5fc
movss xmm0, dword [esp + 0x1c]
lea edx, [esp + 0x9c]
push ecx
mov ecx, 0x100cc0d4
movss dword [esp + 0xa0], xmm0
movss dword [esp + 0xa4], xmm0
call fcn.10034180
mov ecx, dword [0x100d24e0]
add esp, 4
mov eax, dword [ecx + 0x4018]
test eax, eax
je 0x1003f865
cmp eax, dword [ecx + 0x4950]
jne 0x1003f865
cmp byte [esp + 0x3c], 0
jne 0x1003f865
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
movss xmm3, dword [esp + 0x1c]
movss xmm1, dword [0x100cc48c]
subss xmm3, xmm1
movss xmm2, dword [eax + 0xbc]
subss xmm2, dword [esp + 0x40]
divss xmm2, xmm3
comiss xmm0, xmm2
jbe 0x1003f77c
movss dword [esp + 0x18], xmm0
jmp 0x1003f789
movaps xmm4, xmm1
minss xmm4, xmm2
movss dword [esp + 0x18], xmm4
movss xmm2, dword [eax + 0xc0]
subss xmm2, dword [esp + 0x20]
divss xmm2, xmm3
comiss xmm0, xmm2
jbe 0x1003f7a5
xorps xmm3, xmm3
jmp 0x1003f7ac
movaps xmm3, xmm1
minss xmm3, xmm2
mov eax, dword [ecx + 0x5cf8]
movaps xmm2, xmm1
subss xmm2, xmm3
movss dword [esp + 0x48], xmm2
cmp eax, dword [ecx + 0x5cf4]
jne 0x1003f85d
movss xmm3, dword [edi]
comiss xmm0, xmm3
movss xmm4, dword [edi + 4]
movss xmm5, dword [edi + 8]
jbe 0x1003f7e3
xorps xmm2, xmm2
jmp 0x1003f7ea
movaps xmm2, xmm1
minss xmm2, xmm3
comiss xmm0, xmm4
movss xmm3, dword [0x100cc52c]
movss xmm6, dword [0x100cc444]
mulss xmm2, xmm3
addss xmm2, xmm6
cvttss2si edx, xmm2
jbe 0x1003f810
xorps xmm2, xmm2
jmp 0x1003f817
movaps xmm2, xmm1
minss xmm2, xmm4
mulss xmm2, xmm3
addss xmm2, xmm6
cvttss2si eax, xmm2
shl eax, 8
or edx, eax
comiss xmm0, xmm5
jbe 0x1003f832
xorps xmm1, xmm1
jmp 0x1003f836
minss xmm1, xmm5
mulss xmm1, xmm3
addss xmm1, xmm6
cvttss2si eax, xmm1
shl eax, 0x10
or eax, edx
cmp dword [ecx + 0x5d04], eax
jne 0x1003f85d
movss xmm0, dword [ecx + 0x5cfc]
movss dword [esp + 0x10], xmm0
mov al, 1
mov byte [esp + 0xa], al
jmp 0x1003f869
mov al, byte [esp + 0xa]
test byte [esp + 0xc], 8
mov byte [esp + 0xb], al
mov byte [esp + 0x17], al
jne 0x1003f883
call fcn.1001fc30
mov ecx, dword [0x100d24e0]
mov eax, dword [ecx + 0x3fc4]
lea edx, [esp + 0x9c]
movss xmm0, dword [esp + 0xd4]
push ecx
mov byte [eax + 0xbc], 1
mov eax, dword [ecx + 0x3fc4]
mov ecx, 0x100cc0d8
movss dword [eax + 0x100], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [eax + 0x104], xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0xa0], xmm0
movss xmm0, dword [esp + 0x20]
mov byte [eax + 0x141], 1
movss dword [esp + 0xa4], xmm0
call fcn.10034180
mov eax, dword [0x100d24e0]
add esp, 4
mov ecx, dword [eax + 0x4018]
test ecx, ecx
je 0x1003f5fc
mov dl, byte [esp + 0xa]
mov byte [esp + 0xb], dl
cmp ecx, dword [eax + 0x4950]
jne 0x1003f5fc
cmp byte [esp + 0x3c], 0
movss xmm3, dword [esp + 0x20]
movss xmm4, dword [esp + 0x1c]
mov byte [esp + 0xb], dl
jne 0x1003f608
mov eax, dword [esp + 0x30]
movaps xmm0, xmm4
movss xmm1, dword [0x100cc48c]
subss xmm0, xmm1
movss xmm2, dword [eax + 0xc0]
subss xmm2, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x1003f963
movaps xmm0, xmm1
minss xmm0, xmm2
mov al, byte [esp + 0x17]
movss dword [esp + 0x10], xmm0
mov byte [esp + 0x16], 1
mov byte [esp + 0xa], 1
mov byte [esp + 0xb], al
jmp 0x1003f608
movaps xmm4, xmm1
minss xmm4, xmm3
movaps xmm0, xmm1
mov byte [esp + 0xa], 1
subss xmm0, xmm4
movss dword [edi + 0xc], xmm0
mov edx, dword [0x100d24e0]
dec dword [edx + 0x4a40]
mov eax, dword [edx + 0x4a48]
mov ecx, dword [edx + 0x4a40]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x491c], eax
mov eax, dword [esp + 0xc]
mov edx, eax
and edx, 0x100
mov dword [esp + 0x3c], edx
jne 0x1003f9ed
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x38fc]
call fcn.1001e760
call fcn.1001e990
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
and eax, 0x80
mov dword [esp + 0x70], eax
jne 0x1003fa59
mov edi, dword [esp + 0xbc]
cmp edi, 0xffffffff
jae 0x1003fa52
mov cl, byte [edi]
test cl, cl
je 0x1003fa1a
cmp cl, 0x23
jne 0x1003fa14
cmp byte [edi + 1], cl
je 0x1003fa1a
inc edi
cmp edi, 0xffffffff
jb 0x1003fa04
mov eax, dword [esp + 0xbc]
cmp eax, edi
je 0x1003fa52
test edx, edx
je 0x1003fa44
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x38fc]
call fcn.1001e760
mov eax, dword [esp + 0xbc]
push 0
mov edx, edi
mov ecx, eax
call fcn.10032eb0
add esp, 4
mov edi, dword [esp + 0x80]
cmp dword [esp + 0x3c], 0
jne 0x1003fc7c
mov eax, dword [0x100d24e0]
lea edx, [eax + 0x4a40]
mov dword [esp + 0x3c], edx
mov ecx, dword [eax + 0x491c]
or ecx, 0x10
mov dword [eax + 0x491c], ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x1003fab9
test ecx, ecx
je 0x1003faa0
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x3c]
sar eax, 1
add eax, ecx
jmp 0x1003faa5
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10026ee0
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x68]
mov dword [eax + ecx*4], esi
inc dword [edx]
cmp dword [esp + 0x58], 0
je 0x1003fad8
movss xmm1, dword [0x100cc48c]
jmp 0x1003fadd
movss xmm1, dword [edi + 0xc]
cmp dword [esp + 0x70], 0
movss xmm0, dword [edi]
mov esi, dword [esp + 0xe4]
movss dword [esp + 0x118], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x11c], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x120], xmm0
movss dword [esp + 0x124], xmm1
je 0x1003fb2a
push str.Current
call fcn.10033580
add esp, 4
movss xmm1, dword [esp + 0x78]
lea ecx, [esp + 0x9c]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x118]
movaps xmm0, xmm1
and eax, 0x180e0040
mulss xmm0, dword [0x100cc4d4]
push ecx
push eax
mov ecx, str.current
mov dword [esp + 0xe0], eax
movss dword [esp + 0x70], xmm0
movss dword [esp + 0xa4], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x78], xmm0
movss dword [esp + 0xa8], xmm0
call fcn.100413a0
add esp, 8
cmp dword [esp + 0x94], 0
je 0x1003fc55
push str.Original
call fcn.10033580
mov eax, dword [esp + 0x98]
add esp, 4
cmp dword [esp + 0x58], 0
je 0x1003fbc0
movss xmm1, dword [0x100cc48c]
jmp 0x1003fbc5
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0x108]
movss dword [esp + 0x108], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0x10c], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x9c]
movss dword [esp + 0x110], xmm0
movss xmm0, dword [esp + 0x68]
push eax
push dword [esp + 0xdc]
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x11c], xmm1
movss dword [esp + 0xa8], xmm0
call fcn.100413a0
add esp, 8
test al, al
je 0x1003fc55
push dword [esp + 0x7c]
push dword [esp + 0x98]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xa], 1
mov edx, dword [0x100d24e0]
dec dword [edx + 0x4a40]
mov eax, dword [edx + 0x4a48]
mov ecx, dword [edx + 0x4a40]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x491c], eax
call fcn.1001eaf0
cmp byte [esp + 0x16], 0
jne 0x1003fc8e
cmp byte [esp + 0xb], 0
je 0x1003fd75
cmp dword [esp + 0x60], 0
je 0x1003fd9e
movss xmm2, dword [esp + 0x48]
lea eax, [edi + 8]
movss xmm1, dword [esp + 0x18]
lea edx, [edi + 4]
movss xmm0, dword [esp + 0x10]
mov ecx, edi
push eax
call fcn.1000f700
mov ecx, dword [esp + 0x34]
add esp, 4
movss xmm0, dword [esp + 0x10]
movss xmm1, dword [0x100cc48c]
mov eax, dword [ecx + 0x5cf4]
movss dword [ecx + 0x5cfc], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [ecx + 0x5d00], xmm0
xorps xmm0, xmm0
mov dword [ecx + 0x5cf8], eax
movss xmm3, dword [edi]
comiss xmm0, xmm3
movss xmm4, dword [edi + 4]
movss xmm5, dword [edi + 8]
jbe 0x1003fd0b
xorps xmm2, xmm2
jmp 0x1003fd12
movaps xmm2, xmm1
minss xmm2, xmm3
comiss xmm0, xmm4
movss xmm3, dword [0x100cc52c]
movss xmm6, dword [0x100cc444]
mulss xmm2, xmm3
addss xmm2, xmm6
cvttss2si edx, xmm2
jbe 0x1003fd38
xorps xmm2, xmm2
jmp 0x1003fd3f
movaps xmm2, xmm1
minss xmm2, xmm4
mulss xmm2, xmm3
addss xmm2, xmm6
cvttss2si eax, xmm2
shl eax, 8
or edx, eax
comiss xmm0, xmm5
jbe 0x1003fd5a
xorps xmm1, xmm1
jmp 0x1003fd5e
minss xmm1, xmm5
mulss xmm1, xmm3
addss xmm1, xmm6
cvttss2si eax, xmm1
shl eax, 0x10
or eax, edx
mov dword [ecx + 0x5d04], eax
mov eax, dword [esp + 0xc]
mov byte [esp + 0x17], 0
test al, 0x20
jne 0x1004011d
cmp dword [esp + 0xf0], 0x10000
jne 0x1003fdcb
movss xmm0, dword [esp + 0xe0]
jmp 0x1003fdd4
mov eax, dword [esp + 0xc]
test eax, 0x10000000
je 0x1003fd79
movss xmm0, dword [esp + 0x10]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [edi + 8], xmm0
jmp 0x1003fd79
movss xmm0, dword [esp + 0xd4]
addss xmm0, dword [esp + 0x78]
subss xmm0, dword [esp + 0x40]
call fcn.1001e820
mov eax, dword [esp + 0xc]
mov edx, eax
and edx, 0x198e005a
mov dword [esp + 0x58], edx
test eax, 0x100000
jne 0x1003fe10
mov ecx, eax
and ecx, 0x700000
mov dword [esp + 0x34], ecx
jne 0x1003fe6e
mov dword [esp + 0x34], ecx
jmp 0x1003fe19
and eax, 0x700000
mov dword [esp + 0x34], eax
or edx, 0x100004
mov ecx, str.rgb
push edx
mov edx, edi
call fcn.1003d830
add esp, 4
test al, al
je 0x1003fe62
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x4018], 0
je 0x1003fe4e
cmp byte [eax + 0x4025], 0
mov byte [esp + 0x17], 1
je 0x1003fe53
mov byte [esp + 0x17], 0
mov ecx, dword [esp + 0x34]
mov byte [esp + 0xa], 1
mov dword [esp + 0x34], ecx
jmp 0x1003fe66
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0xc]
test eax, 0x200000
jne 0x1003fe79
test ecx, ecx
jne 0x1003fe9b
or edx, 0x200004
mov ecx, str.hsv
push edx
mov edx, edi
call fcn.1003d830
mov ecx, dword [esp + 0x38]
add esp, 4
or byte [esp + 0xa], al
mov eax, dword [esp + 0xc]
test eax, 0x400000
jne 0x1003fea6
test ecx, ecx
jne 0x1003fec3
mov eax, dword [esp + 0x58]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.1003d830
add esp, 4
or byte [esp + 0xa], al
cmp byte [esp + 0x17], 0
mov ecx, dword [0x100d24e0]
mov eax, dword [ecx + 0x3fc4]
mov byte [eax + 0xbc], 1
mov edx, dword [ecx + 0x3fc4]
mov ecx, dword [edx + 0x1bc]
mov eax, dword [edx + 0x1c4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1b4], eax
lea eax, [ecx - 1]
mov dword [edx + 0x1bc], eax
lea edx, [edi + 8]
je 0x1003ffef
cmp dword [esp + 0x60], 0
je 0x1003ffef
movss xmm3, dword [edi + 4]
xorps xmm2, xmm2
movss xmm5, dword [edx]
xorps xmm6, xmm6
comiss xmm5, xmm3
movss xmm4, dword [edi]
jbe 0x1003ff3d
movss xmm6, dword [0x100cc590]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1003ff5a
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x100cc57c]
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 [0x100cc3ec]
movaps xmm7, xmm1
mulss xmm1, dword [0x100cc4ec]
divss xmm7, xmm0
addss xmm1, dword [0x100cc3ec]
divss xmm3, xmm1
addss xmm3, xmm6
movss xmm6, dword [0x100cc900]
andps xmm3, xmm6
comiss xmm2, xmm3
jb 0x1003fff7
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm2
jbe 0x1003fff7
comiss xmm2, xmm4
jb 0x100400fe
movss xmm1, dword [esp + 0x48]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x100400fe
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x18]
mulss xmm2, dword [0x100cc444]
push edx
mov ecx, edi
lea edx, [edi + 4]
call fcn.1000f700
add esp, 4
lea edx, [edi + 8]
movss xmm6, dword [0x100cc900]
mov eax, dword [esp + 0xc]
cmp byte [esp + 0xa], 0
je 0x100401a1
cmp dword [esp + 0x60], 0
je 0x1004012d
movss xmm0, dword [edi + 4]
xorps xmm3, xmm3
movss xmm1, dword [edx]
movaps xmm2, xmm0
comiss xmm1, xmm0
movss xmm7, dword [edi]
movaps xmm4, xmm1
movss dword [esp + 0x98], xmm7
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x50], xmm1
jbe 0x1004004f
movss xmm3, dword [0x100cc590]
movaps xmm2, xmm1
movaps xmm4, xmm0
comiss xmm2, xmm7
movaps xmm5, xmm7
movss dword [esp + 0x48], xmm5
jbe 0x10040078
movss xmm0, dword [0x100cc57c]
movaps xmm5, xmm2
subss xmm0, xmm3
movss dword [esp + 0x48], xmm5
movaps xmm2, xmm7
movaps xmm3, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x10], xmm5
minss xmm0, xmm4
movaps xmm1, xmm5
subss xmm2, xmm4
mov ecx, edi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x3c]
movaps xmm0, xmm1
mulss xmm0, dword [0x100cc4ec]
addss xmm0, dword [0x100cc3ec]
divss xmm2, xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x100cc3ec]
addss xmm2, xmm3
divss xmm1, xmm0
andps xmm2, xmm6
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x20], xmm1
call fcn.1003d730
movss xmm3, dword [esp + 0x3c]
add esp, 8
movss xmm0, dword [esp + 0x18]
movss dword [esp + 0x10], xmm3
movss dword [esp + 0x18], xmm0
jmp 0x100401a7
comiss xmm2, xmm7
jb 0x1003fff7
movss xmm1, dword [esp + 0x18]
movaps xmm2, xmm4
mulss xmm1, dword [0x100cc444]
jmp 0x1003ffde
movss xmm6, dword [0x100cc900]
lea edx, [edi + 8]
jmp 0x1003fffb
test eax, 0x10000000
je 0x100401a1
movss xmm1, dword [edx]
lea eax, [esp + 0x74]
movss xmm3, dword [edi + 4]
lea edx, [esp + 0x90]
movss xmm0, dword [edi]
lea ecx, [esp + 0x88]
movss dword [esp + 0x48], xmm1
movaps xmm2, xmm1
push eax
movaps xmm1, xmm3
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x1c], xmm3
call fcn.1000f700
movss xmm0, dword [esp + 0x8c]
add esp, 4
movss dword [esp + 0x98], xmm0
movss xmm0, dword [esp + 0x90]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x50], xmm0
movss xmm3, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
xorps xmm0, xmm0
movss xmm2, dword [edi + 0x38a8]
comiss xmm0, xmm2
movss xmm0, dword [0x100cc48c]
jbe 0x100401c8
xorps xmm1, xmm1
jmp 0x100401cf
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x100cc52c]
mov dword [esp + 0x9c], 0x3f800000
movss dword [esp + 0xa8], xmm2
movaps xmm2, xmm0
mov dword [esp + 0xa0], 0x3f800000
addss xmm1, dword [0x100cc444]
mov dword [esp + 0xa4], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x94], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x74], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x118], ecx
or eax, 0x808080
mov dword [esp + 0x130], ecx
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x9c]
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x11c], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x120], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x124], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0x128], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0xa0]
mov dword [esp + 0x12c], eax
lea eax, [esp + 0xa4]
push eax
call fcn.1000f700
movss xmm3, dword [esp + 0xa0]
xorps xmm0, xmm0
movss xmm2, dword [0x100cc48c]
add esp, 4
comiss xmm0, xmm3
jbe 0x100402ce
xorps xmm1, xmm1
jmp 0x100402d5
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm4, dword [0x100cc52c]
movss xmm5, dword [0x100cc444]
movss xmm3, dword [esp + 0xa0]
comiss xmm0, xmm3
mulss xmm1, xmm4
addss xmm1, xmm5
cvttss2si ecx, xmm1
jbe 0x10040304
xorps xmm1, xmm1
jmp 0x1004030b
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm3, dword [esp + 0xa4]
mulss xmm1, xmm4
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm3
jbe 0x1004032f
xorps xmm1, xmm1
jmp 0x10040336
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm3, dword [esp + 0xa8]
mulss xmm1, xmm4
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm3
jbe 0x1004035a
xorps xmm1, xmm1
jmp 0x10040361
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm3, dword [esp + 0x98]
mulss xmm1, xmm4
addss xmm1, xmm5
cvttss2si edx, xmm1
shl edx, 0x18
or edx, ecx
comiss xmm0, xmm3
mov dword [esp + 0x88], edx
jbe 0x1004038c
xorps xmm1, xmm1
jmp 0x10040393
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm3, dword [esp + 0x4c]
comiss xmm0, xmm3
mulss xmm1, xmm4
addss xmm1, xmm5
cvttss2si ecx, xmm1
jbe 0x100403af
xorps xmm1, xmm1
jmp 0x100403b6
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm3, dword [esp + 0x50]
mulss xmm1, xmm4
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm3
jbe 0x100403d7
xorps xmm1, xmm1
jmp 0x100403de
movaps xmm1, xmm2
minss xmm1, xmm3
mulss xmm1, xmm4
addss xmm1, xmm5
cvttss2si eax, xmm1
movss xmm1, dword [edi + 0x38a8]
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm1
ja 0x10040403
movaps xmm0, xmm2
minss xmm0, xmm1
mulss xmm0, xmm4
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
cmp dword [esp + 0xc0], 0
mov dword [esp + 0x3c], eax
je 0x10040bb4
movss xmm1, dword [esp + 0x84]
movaps xmm3, xmm5
movss xmm0, dword [esp + 0xb8]
mov eax, 0x2aaaaaab
divss xmm3, xmm1
cvttss2si ecx, xmm1
addss xmm0, xmm1
movss dword [esp + 0xe8], xmm3
imul ecx
movss dword [esp + 0xbc], xmm0
movaps xmm4, xmm0
mov ecx, 4
mulss xmm4, xmm5
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
movss dword [esp + 0x8c], xmm4
cmp eax, ecx
cmovle eax, ecx
xor esi, esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x90], esi
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea eax, [esp + 0x100]
mov edi, dword [ecx + 0x18]
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x100cc4ec]
divss xmm1, dword [0x100cc4ec]
addss xmm0, xmm0
movaps xmm2, xmm4
addss xmm1, xmm1
mulss xmm0, dword [0x100cc4d8]
mulss xmm1, dword [0x100cc4d8]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x8c], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x70], xmm1
call fcn.1002a3b0
movss xmm0, dword [esp + 0x54]
mov eax, dword [esp + 0x24]
push ecx
movss dword [esp], xmm0
mov ecx, eax
push 0
push dword [esp + 0x7c]
push dword [eax + 0x38]
push dword [eax + 0x40]
call fcn.10028f10
movss xmm0, dword [esp + 0x84]
mov eax, dword [esp + 0x24]
cvtps2pd xmm0, xmm0
mov dword [eax + 0x38], 0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x84]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xb8]
addss xmm0, dword [esp + 0xcc]
movss dword [esp + 0x98], 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 + 0xb8]
addss xmm0, dword [esp + 0xd0]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x64]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x64]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xb8]
addss xmm0, dword [esp + 0xcc]
movss dword [esp + 0x60], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm2, dword [esp + 0x60]
subss xmm2, dword [esp + 0x98]
cvtsd2ss xmm0, xmm0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + esi*4 + 0x118]
movss dword [esp + 0x60], xmm2
mulss xmm0, dword [esp + 0xb8]
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
addss xmm0, dword [esp + 0xd0]
subss xmm0, dword [esp + 0x4c]
movaps xmm1, xmm0
movss dword [esp + 0xd8], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
movss xmm2, dword [0x100cc48c]
addss xmm1, xmm0
movaps xmm0, xmm2
divss xmm0, xmm1
movss dword [esp + 0x108], xmm0
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [esp + 0xc0], eax
movzx eax, cl
mov dword [esp + 0x50], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x64], eax
shr ecx, 0x10
movzx eax, cl
mov ecx, dword [esp + esi*4 + 0x11c]
mov dword [esp + 0x84], eax
movzx eax, cl
sub eax, dword [esp + 0x50]
mov dword [esp + 0x70], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x64]
shr ecx, 0x10
mov dword [esp + 0x68], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0xc0]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x84]
cmp edx, edi
jae 0x10040797
movd xmm4, dword [esp + 0x84]
movd xmm5, dword [esp + 0x68]
movd xmm6, dword [esp + 0x64]
movd xmm7, dword [esp + 0x70]
mov esi, dword [esp + 0x50]
movd xmm3, ecx
cvtdq2ps xmm3, xmm3
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm5, xmm5
cvtdq2ps xmm6, xmm6
cvtdq2ps xmm7, xmm7
nop dword [eax]
movss xmm0, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm1, dword [esp + 0x4c]
subss xmm0, dword [esp + 0x98]
mulss xmm1, dword [esp + 0xd8]
mulss xmm0, dword [esp + 0x60]
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [esp + 0x108]
comiss xmm0, xmm1
jbe 0x10040731
xorps xmm2, xmm2
jmp 0x10040735
minss xmm2, xmm1
movaps xmm0, xmm2
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ecx, xmm0
movaps xmm0, xmm2
mulss xmm2, xmm7
shl ecx, 8
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
or ecx, eax
shl ecx, 8
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [0x100cc48c]
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov dword [edx + 0x10], ecx
add edx, 0x14
cmp edx, edi
jb 0x100406f0
mov esi, dword [esp + 0x90]
movss xmm3, dword [esp + 0xe8]
inc esi
movss xmm4, dword [esp + 0x8c]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x90], esi
cmp esi, 6
jl 0x100404a0
movss xmm0, dword [esp + 0x10]
mulss xmm0, dword [0x100cc4c0]
mulss xmm0, dword [0x100cc4d8]
movss dword [esp + 0x10], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm3, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x4c], xmm0
cvtps2pd xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0x16], 0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x4c]
mulss xmm0, dword [esp + 0xbc]
movss dword [esp + 0xc0], xmm1
mulss xmm0, dword [0x100cc444]
addss xmm0, dword [esp + 0xcc]
movss dword [esp + 0x40], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0xbc]
mulss xmm0, dword [0x100cc444]
addss xmm0, dword [esp + 0xd0]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x54]
je 0x1004086a
mulss xmm0, dword [0x100cc450]
jmp 0x10040872
mulss xmm0, dword [0x100cc448]
mov esi, dword [esp + 0x24]
movaps xmm1, xmm0
mov ecx, esi
movss dword [esp + 0x50], xmm0
call fcn.10028c40
movss xmm2, dword [esp + 0x50]
mov edi, eax
push edi
push dword [esp + 0x8c]
lea eax, [esp + 0x48]
mov ecx, esi
push eax
call fcn.1002b440
movss xmm2, dword [esp + 0x50]
lea eax, [esp + 0x40]
addss xmm2, dword [0x100cc48c]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
push dword [esp + 0x60]
push eax
call fcn.1002b380
movss xmm2, dword [esp + 0x50]
lea eax, [esp + 0x40]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
mov edi, dword [esp + 0x7c]
push edi
push eax
call fcn.1002b380
movss xmm3, dword [esp + 0x4c]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0xc0]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x28]
movaps xmm0, xmm5
mov eax, dword [0x100d24e0]
movss xmm6, dword [esp + 0xcc]
movaps xmm4, xmm3
mulss xmm0, xmm1
movss xmm7, dword [esp + 0xd0]
mulss xmm4, dword [esp + 0xb4]
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0xb4]
addss xmm2, xmm6
movss dword [esp + 0x70], xmm2
movss dword [esp + 0xe8], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x28]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xb0]
mulss xmm5, dword [esp + 0xac]
addss xmm2, xmm7
movss dword [esp + 0x108], xmm2
movss dword [esp + 0xec], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xb0]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0xac]
addss xmm0, xmm1
addss xmm4, xmm6
addss xmm3, xmm1
addss xmm2, xmm6
addss xmm0, xmm7
movss dword [esp + 0xd8], xmm4
addss xmm3, xmm7
movss dword [esp + 0x40], xmm4
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [eax + 0x3d28]
movss dword [esp + 0x4c], xmm3
movss dword [esp + 0x44], xmm3
movss dword [esp + 0xc0], xmm0
mov ecx, esi
movss xmm0, dword [eax + 0x3d2c]
push 3
push 3
movss dword [esp + 0x70], xmm0
call fcn.10028cf0
mov ecx, dword [esi + 0x34]
mov ax, word [esi + 0x28]
mov edx, dword [esp + 0xec]
movss xmm0, dword [esp + 0xc0]
mov word [ecx], ax
mov eax, dword [esi + 0x30]
add dword [esi + 0x34], 2
mov ecx, dword [esp + 0xe8]
movss xmm1, dword [esp + 0x68]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esi + 0x30]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x2c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x30]
mov dword [eax + 0x10], ecx
add dword [esi + 0x30], 0x14
mov eax, dword [esi + 0x34]
inc dword [esi + 0x28]
mov ecx, dword [esi + 0x28]
mov word [eax], cx
mov eax, dword [esi + 0x30]
add dword [esi + 0x34], 2
mov ecx, dword [esp + 0x28]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esi + 0x30]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x44]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x30]
mov dword [eax + 0x10], ecx
mov eax, dword [esi + 0x34]
add dword [esi + 0x30], 0x14
inc dword [esi + 0x28]
mov ecx, dword [esi + 0x28]
mov word [eax], cx
mov eax, dword [esi + 0x30]
add dword [esi + 0x34], 2
mov ecx, dword [esp + 0x40]
push ecx
mov dword [eax], ecx
mov ecx, esi
mov dword [eax + 4], edx
mov eax, dword [esi + 0x30]
mov dword [esp], 0x3fc00000
push dword [esp + 0x5c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x30]
mov dword [eax + 0x10], edi
lea eax, [esp + 0x48]
add dword [esi + 0x30], 0x14
inc dword [esi + 0x28]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0xf8]
push eax
call fcn.1002b150
movss xmm2, dword [0x100cc48c]
xorps xmm0, xmm0
movaps xmm1, xmm2
subss xmm1, dword [esp + 0x48]
comiss xmm0, xmm1
jbe 0x10040b25
xorps xmm4, xmm4
jmp 0x10040b2c
movaps xmm4, xmm2
minss xmm4, xmm1
movss xmm3, dword [esp + 0x18]
comiss xmm0, xmm3
jbe 0x10040b3c
xorps xmm1, xmm1
jmp 0x10040b43
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm0, dword [esp + 0x70]
subss xmm0, dword [esp + 0xd8]
movss xmm3, dword [esp + 0x28]
mov esi, dword [esp + 0xe4]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0xd8]
subss xmm3, xmm0
mulss xmm3, xmm4
addss xmm3, xmm0
movss xmm0, dword [esp + 0x108]
subss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x34], xmm3
mulss xmm0, xmm1
movss xmm1, dword [esp + 0x2c]
addss xmm0, dword [esp + 0x4c]
subss xmm1, xmm0
mulss xmm1, xmm4
addss xmm1, xmm0
movss dword [esp + 0x38], xmm1
jmp 0x10040f02
test dword [esp + 0xc], 0x2000000
je 0x10040efa
mov eax, dword [esp + 0x74]
movss xmm0, dword [esp + 0x64]
mov ecx, dword [esp + 0x24]
push eax
push edx
push edx
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [esp + 0x28]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x54]
push eax
movss dword [esp + 0x44], xmm0
call fcn.1002afd0
mov ecx, dword [esp + 0x94]
lea eax, [esp + 0xf8]
movss xmm0, dword [esp + 0x64]
push ecx
push ecx
mov ecx, dword [esp + 0x2c]
push 0
push 0
push eax
movss dword [esp + 0x10c], xmm0
lea eax, [esp + 0x54]
movss xmm0, dword [esp + 0x40]
push eax
movss dword [esp + 0x114], xmm0
call fcn.1002afd0
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0xc0], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0xc4], xmm0
xorps xmm0, xmm0
push dword [esp + 0xc4]
push dword [esp + 0xc4]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.10010690
movss xmm3, dword [esp + 0x28]
xorps xmm0, xmm0
movss xmm1, dword [0x100cc48c]
add esp, 0x10
comiss xmm0, xmm3
jbe 0x10040c96
xorps xmm2, xmm2
jmp 0x10040c9d
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm7, dword [esp + 0x1c]
movss xmm5, dword [esp + 0x40]
movss xmm3, dword [0x100cc444]
mulss xmm2, xmm7
movss xmm4, dword [0x100cc4c0]
movss xmm6, dword [esp + 0x64]
addss xmm2, xmm5
addss xmm5, xmm4
subss xmm6, xmm4
addss xmm2, xmm3
cvttss2si eax, xmm2
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm5, xmm2
jbe 0x10040ceb
movss dword [esp + 0x34], xmm5
jmp 0x10040cfe
comiss xmm2, xmm6
jbe 0x10040cf8
movss dword [esp + 0x34], xmm6
jmp 0x10040cfe
movss dword [esp + 0x34], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x48]
comiss xmm0, xmm2
jbe 0x10040d11
xorps xmm1, xmm1
jmp 0x10040d15
minss xmm1, xmm2
movss xmm5, dword [esp + 0x20]
mulss xmm1, xmm7
movss xmm0, dword [esp + 0x2c]
subss xmm0, xmm4
addss xmm1, xmm5
addss xmm1, xmm3
cvttss2si eax, xmm1
movaps xmm1, xmm5
addss xmm1, xmm4
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x10040d50
movss dword [esp + 0x38], xmm1
jmp 0x10040d63
comiss xmm2, xmm0
jbe 0x10040d5d
movss dword [esp + 0x38], xmm0
jmp 0x10040d63
movss dword [esp + 0x38], xmm2
movss xmm0, dword [esp + 0x5c]
movaps xmm1, xmm7
divss xmm1, dword [0x100cc4ec]
mov esi, dword [esp + 0x24]
xor ecx, ecx
movss dword [esp + 0xf8], xmm0
movss xmm0, dword [esp + 0xd4]
movss dword [esp + 0xc0], xmm1
movss dword [esp + 0x9c], xmm0
nop
mov eax, dword [esp + ecx*4 + 0x11c]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0x100]
mulss xmm0, xmm1
addss xmm0, xmm5
movss dword [esp + 0x104], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x120]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0xb0]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm5
movss dword [esp + 0xb8], xmm0
call fcn.1002afd0
movss xmm1, dword [esp + 0xc0]
mov ecx, edi
movss xmm5, dword [esp + 0x20]
cmp ecx, 6
jl 0x10040da0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0xd4]
push dword [esp + 0x44]
movss dword [esp + 0x2c], xmm0
movaps xmm0, xmm5
push dword [esp + 0x44]
movss dword [esp + 0x34], xmm0
xorps xmm0, xmm0
push dword [esp + 0x34]
push dword [esp + 0x34]
call fcn.10010690
mov esi, dword [esp + 0xf4]
movss xmm1, dword [esp + 0x88]
addss xmm1, dword [0x100cc4c0]
mov ecx, dword [esp + 0x34]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x3c], xmm2
addss xmm0, dword [0x100cc48c]
movss xmm2, dword [esp + 0xe4]
push dword [esp + 0x3c]
subss xmm2, dword [0x100cc48c]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x24]
mulss xmm0, dword [esp + 0x30]
push dword [esp + 0x3c]
movss dword [esp + 0x58], xmm2
addss xmm0, dword [esp + 0x38]
addss xmm0, dword [0x100cc444]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x48]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x38a8]
movss dword [esp + 0x5c], xmm0
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.1003e8e0
add esp, 0x20
movss xmm2, dword [0x100cc48c]
cmp byte [esp + 0xb], 0
movss xmm4, dword [esp + 0x54]
je 0x10040f19
mulss xmm4, dword [0x100cc448]
jmp 0x10040f21
mulss xmm4, dword [0x100cc430]
mov edx, dword [esp + 0x24]
movaps xmm0, xmm4
addss xmm0, dword [0x100cc488]
movss dword [esp + 0x54], xmm4
mov ecx, dword [edx + 0x2c]
cvttss2si eax, xmm0
cmp eax, 0x3f
ja 0x10040f54
movzx edi, byte [ecx + eax + 0x1bc]
mov ecx, 0x200
jmp 0x10040fe6
movss xmm1, dword [ecx + 0x14]
movaps xmm0, xmm2
minss xmm1, xmm4
divss xmm1, xmm4
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x100cc4d8]
sub esp, 8
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x100], xmm0
fld qword [esp + 0x100]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
movss xmm4, dword [esp + 0x5c]
add esp, 8
fstp qword [esp + 0xf8]
movsd xmm0, qword [esp + 0xf8]
mov ecx, 0x200
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
mov edi, eax
and edi, 0xfffffffe
cmp edi, 4
jge 0x10040fdd
mov edi, 4
jmp 0x10040fe6
cmp edi, 0x200
cmovg edi, ecx
test dword [esp + 0x3c], 0xff000000
je 0x10041093
movss xmm0, dword [0x100cc444]
comiss xmm0, xmm4
ja 0x10041093
test edi, edi
jg 0x10041026
push ecx
push 0x30
push 0
lea eax, [esp + 0x40]
movaps xmm2, xmm4
push eax
mov ecx, edx
call fcn.10029fb0
mov ecx, dword [esp + 0x24]
dec dword [ecx + 0x38]
jmp 0x10041079
cmp edi, 3
jge 0x10041032
mov eax, 3
jmp 0x1004103d
cmp edi, 0x200
mov eax, edi
cmovg eax, ecx
movd xmm1, eax
xorps xmm3, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
lea eax, [esp + 0x38]
push ecx
movaps xmm2, xmm4
mov ecx, edx
movaps xmm0, xmm1
subss xmm0, dword [0x100cc48c]
mulss xmm0, dword [0x100cc4f0]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.1002a3b0
mov ecx, dword [esp + 0x24]
push dword [esp + 0x3c]
push dword [ecx + 0x38]
push dword [ecx + 0x40]
call fcn.10029be0
mov edx, dword [esp + 0x24]
mov dword [edx + 0x38], 0
movss xmm2, dword [esp + 0x54]
lea eax, [esp + 0x34]
addss xmm2, dword [0x100cc48c]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edx
push edi
push dword [esp + 0x60]
push eax
call fcn.1002b380
movss xmm2, dword [esp + 0x54]
lea eax, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x28]
mov dword [esp], 0x3f800000
push edi
push dword [esp + 0x7c]
push eax
call fcn.1002b380
cmp dword [esp + 0xf0], 0x10000
jne 0x10041291
mov eax, dword [esp + 0x80]
xorps xmm1, xmm1
movss xmm2, dword [eax + 0xc]
comiss xmm1, xmm2
jbe 0x10041108
movss dword [esp + 0x5c], xmm1
jmp 0x1004111a
movss xmm0, dword [0x100cc48c]
minss xmm0, xmm2
movss dword [esp + 0x5c], xmm0
movss xmm3, dword [esp + 0xe0]
xor edx, edx
movss xmm0, dword [esp + 0x20]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x78]
mov ecx, dword [esp + 0x24]
movss dword [esp + 0xfc], xmm0
addss xmm0, dword [esp + 0x1c]
mov dword [esp + 0x2c], 0
push dword [esp + 0x2c]
mov dword [esp + 0x2c], 0
push dword [esp + 0x2c]
movss dword [esp + 0x108], xmm2
subss xmm2, xmm3
movss dword [esp + 0x10c], xmm0
push dword [esp + 0x10c]
movss dword [esp + 0x104], xmm3
xorps xmm3, xmm3
push dword [esp + 0x10c]
mov edi, dword [esp + 0x108]
push dword [esp + 0x10c]
mulss xmm2, dword [0x100cc444]
push edi
push 0
call fcn.1002e890
mov ecx, dword [esp + 0x58]
add esp, 0x1c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x110]
push eax
lea eax, [esp + 0x10c]
push eax
call fcn.1002afd0
push dword [esp + 0x104]
xorps xmm0, xmm0
push dword [esp + 0x104]
push dword [esp + 0x104]
push edi
call fcn.10010690
movss xmm1, dword [0x100cc48c]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
movaps xmm0, xmm2
movss dword [esp + 0x3c], xmm2
movss xmm2, dword [esp + 0xf0]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0x6c]
push dword [esp + 0x3c]
movss dword [esp + 0x3c], xmm0
push dword [esp + 0x3c]
mulss xmm1, dword [esp + 0x34]
movss dword [esp + 0x58], xmm2
movss xmm2, dword [edi + 0x38a8]
addss xmm1, dword [esp + 0x38]
addss xmm1, dword [0x100cc444]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x90]
addss xmm1, dword [0x100cc4c0]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x5c], xmm0
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.1003e8e0
add esp, 0x20
jmp 0x10041295
mov edi, dword [esp + 0x30]
call fcn.1001eaf0
mov al, byte [esp + 0xa]
mov esi, dword [0x100d24e0]
test al, al
je 0x1004135a
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x134]
mov edx, dword [esp + 0x80]
sub eax, 4
mov dword [esp + 0x7c], eax
jb 0x100412e0
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100412e9
mov eax, dword [esp + 0x7c]
add ecx, 4
add edx, 4
sub eax, 4
mov dword [esp + 0x7c], eax
jae 0x100412c7
cmp eax, 0xfffffffc
je 0x1004138e
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10041324
cmp dword [esp + 0x7c], 0xfffffffd
je 0x1004138e
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10041324
cmp dword [esp + 0x7c], 0xfffffffe
je 0x1004138e
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10041324
cmp dword [esp + 0x7c], 0xffffffff
je 0x1004138e
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1004138e
mov eax, dword [edi + 0x4950]
test eax, eax
je 0x10041356
cmp word [esi + 0x5d7a], 0
jg 0x10041356
mov ecx, dword [esi + 0x4018]
cmp ecx, eax
je 0x10041346
test ecx, ecx
jne 0x1004134f
mov word [esi + 0x4028], 0x101
or dword [esi + 0x4958], 4
mov al, byte [esp + 0xa]
cmp dword [esp + 0xf4], 0
jne 0x1004136e
mov dword [edi + 0x5cf4], 0
mov ecx, dword [esi + 0x3fc4]
pop edi
pop esi
dec dword [ecx + 0xf4]
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.100a95f7
mov esp, ebp
pop ebp
ret
xor al, al
jmp 0x1004135a