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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x138
mov eax, dword [0x10096018]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc4], ecx
mov ecx, dword [0x10099cbc]
mov dword [esp + 0xc0], eax
push esi
push edi
mov eax, dword [ecx + 0x1b98]
mov edi, edx
mov dword [esp + 0xb0], edi
mov dword [esp + 0x34], ecx
mov byte [eax + 0x8c], 1
mov edx, dword [ecx + 0x1b98]
mov dword [esp + 0x94], edx
cmp byte [edx + 0x8f], 0
je 0x10049499
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.1007a095
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x1c24], 1
mov eax, dword [edx + 0x240]
mov dword [esp + 0x30], eax
je 0x100494b6
movss xmm1, dword [ecx + 0x1c28]
jmp 0x100494be
movss xmm1, dword [edx + 0x17c]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10049500
cmp dword [edx + 0x168], 0
movss xmm0, dword [edx + 0x204]
jne 0x100494e0
cmp dword [ecx + 0x1f1c], 0
je 0x100494e8
movss xmm0, dword [edx + 0x1d4]
subss xmm0, dword [edx + 0xd0]
addss xmm0, xmm1
movss xmm1, dword [0x1008e328]
maxss xmm1, xmm0
mov dword [ecx + 0x1c24], 0
mov ecx, dword [esp + 0xcc]
cvttss2si esi, xmm1
call fcn.10022ab0
call fcn.10023200
mov ecx, dword [ebp + 8]
mov edx, ecx
or edx, 0x10
test ecx, 0x100
cmovne edx, ecx
mov dword [esp + 0xa8], edx
test dl, 8
jne 0x1004954a
mov ecx, edi
call fcn.1004cd50
mov edx, dword [esp + 0xa8]
test edx, 0x6000000
jne 0x10049573
mov eax, dword [esp + 0x34]
mov ecx, 0xa900000
mov eax, dword [eax + 0x2e84]
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x10049575
mov ecx, edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
test ecx, 0x18000000
jne 0x100495ac
mov eax, dword [edx + 0x2e84]
mov edi, 0xa900000
test eax, 0x18000000
cmovne edi, eax
mov eax, edi
mov edi, dword [esp + 0xb0]
and eax, 0x18000000
or ecx, eax
mov dword [esp + 0x18], ecx
test cl, 8
jne 0x100495c2
mov eax, dword [edx + 0x2e84]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x18], ecx
mov eax, ecx
movss xmm2, dword [edx + 0x156c]
and eax, 2
and ecx, 0x10002
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0xe4], ecx
movss xmm0, dword [eax + 0xd4]
movss xmm3, dword [eax + 0xd0]
mov eax, dword [0x10099cbc]
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x5c], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x58], xmm3
movss xmm4, dword [eax + 0x1558]
addss xmm4, xmm4
addss xmm4, dword [eax + 0x1934]
xor eax, eax
cmp ecx, 0x10000
sete al
inc eax
addss xmm0, xmm4
movss dword [esp + 0x70], xmm4
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0x6c], eax
sete al
mulss xmm1, xmm0
lea eax, [eax*4 + 0xc]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push eax
mov dword [esp + 0xac], eax
lea eax, [esp + 0x130]
push edi
push eax
subss xmm0, xmm1
movaps xmm1, xmm4
maxss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [esp + 0x58], xmm1
movss dword [esp + 0xcc], xmm0
addss xmm0, xmm2
movss dword [esp + 0xb8], xmm0
addss xmm0, xmm4
movss dword [esp + 0xf8], xmm0
addss xmm0, xmm2
movss dword [esp + 0xd0], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x1008e2a4]
cvttss2si esi, xmm0
mov dword [esp + 0xa0], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [esp + 0x58]
add esp, 0xc
movaps xmm2, xmm1
movaps xmm3, xmm1
mulss xmm2, dword [0x1008e2d0]
mulss xmm3, dword [0x1008e290]
movaps xmm0, xmm2
movss dword [esp + 0x68], xmm2
addss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x8c], xmm3
movaps xmm4, xmm2
subss xmm4, xmm3
movaps xmm3, xmm1
addss xmm3, dword [esp + 0x70]
movss dword [esp + 0xb8], xmm0
movss dword [esp + 0x104], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x1008e288]
mulss xmm3, dword [0x1008e2d0]
cvttss2si eax, xmm0
addss xmm3, dword [esp + 0x58]
movss dword [esp + 0x60], xmm4
movd xmm0, eax
movss dword [esp + 0xbc], xmm3
movss dword [esp + 0x100], xmm3
cvtdq2ps xmm0, xmm0
movss xmm3, dword [edi + 4]
movaps xmm1, xmm4
subss xmm1, xmm0
mov eax, dword [esp + 0x18]
movss xmm6, dword [0x1008e400]
mov ecx, eax
movss xmm7, dword [0x1008e25c]
and ecx, 0x8000000
mov dword [esp + 0x3c], 0
movss dword [esp + 0x24], xmm3
movaps xmm0, xmm1
movss dword [esp + 0x38], xmm1
mulss xmm0, dword [0x1008e540]
movaps xmm2, xmm1
mov dword [esp + 0x7c], ecx
mulss xmm2, dword [0x1008e54c]
movss dword [esp + 0x9c], xmm0
movss dword [esp + 0xf0], xmm0
movss dword [esp + 0x110], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x1008e30c]
movss xmm1, dword [edi + 8]
movss dword [esp + 0xa0], xmm2
movss dword [esp + 0xf4], xmm2
movss dword [esp + 0xa4], xmm0
movss dword [esp + 0x114], xmm0
movss xmm0, dword [edi]
movaps xmm2, xmm0
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x84], xmm2
movss dword [esp + 0x90], xmm2
movaps xmm2, xmm3
movss dword [esp + 0x78], xmm2
movss dword [esp + 0x98], xmm2
movaps xmm2, xmm1
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x74], xmm2
movss dword [esp + 0xe0], xmm6
je 0x10049920
comiss xmm1, xmm3
xorps xmm4, xmm4
movaps xmm2, xmm3
movaps xmm5, xmm1
jbe 0x1004987c
movss xmm4, dword [0x1008e550]
movaps xmm2, xmm1
movaps xmm5, xmm3
comiss xmm2, xmm0
movaps xmm3, xmm0
movss dword [esp + 0x48], xmm3
jbe 0x100498a5
movaps xmm3, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x1008e53c]
subss xmm0, xmm4
movss dword [esp + 0x48], xmm3
movaps xmm4, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x1c], xmm3
minss xmm0, xmm5
movaps xmm1, xmm3
subss xmm2, xmm5
mov ecx, edi
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x18]
movaps xmm0, xmm1
mulss xmm0, xmm6
addss xmm0, xmm7
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, xmm7
addss xmm2, xmm4
divss xmm1, xmm0
andps xmm2, xmmword [0x1008ea20]
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x2c], xmm1
call fcn.10048040
movss xmm0, dword [esp + 0x18]
add esp, 8
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x24], xmm0
jmp 0x10049975
test eax, 0x10000000
je 0x10049975
lea eax, [esp + 0x74]
movaps xmm2, xmm1
push eax
lea edx, [esp + 0x9c]
movaps xmm1, xmm3
lea ecx, [esp + 0x94]
call fcn.10017050
movss xmm0, dword [esp + 0x94]
add esp, 4
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0x98]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x44], xmm0
mov ecx, dword [0x10099cbc]
mov byte [esp + 0xf], 0
mov byte [esp + 0x22], 0
mov byte [esp + 0x17], 0
mov eax, dword [ecx + 0x1c20]
or eax, 8
mov dword [ecx + 0x1c20], eax
add ecx, 0x1d04
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
call fcn.100298b0
mov eax, dword [esp + 0x18]
mov ecx, eax
and ecx, 0x4000000
mov dword [esp + 0x64], ecx
je 0x10049fa6
movss xmm1, dword [esp + 0x4c]
lea edx, [esp + 0x50]
mov eax, dword [esp + 0x34]
movaps xmm0, xmm1
push ecx
mov ecx, 0x1008a9c8
movss dword [esp + 0x58], xmm1
addss xmm0, dword [eax + 0x156c]
addss xmm0, dword [esp + 0x74]
movss dword [esp + 0x54], xmm0
call fcn.1003e0c0
mov eax, dword [0x10099cbc]
add esp, 4
mov ecx, dword [eax + 0x1bd0]
test ecx, ecx
je 0x10049e9b
cmp ecx, dword [eax + 0x1c38]
jne 0x10049e9b
mov eax, dword [esp + 0x34]
movss xmm0, dword [eax + 0x390]
subss xmm0, dword [esp + 0xb8]
movss xmm1, dword [eax + 0x38c]
subss xmm1, dword [esp + 0xbc]
movss xmm2, dword [eax + 0xe4]
movss xmm4, dword [eax + 0xe8]
subss xmm2, dword [esp + 0xbc]
subss xmm4, dword [esp + 0xb8]
movaps xmm3, xmm0
movss dword [esp + 0xb4], xmm0
mulss xmm3, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x28], xmm1
movss xmm1, dword [0x1008e328]
addss xmm3, xmm0
movss dword [esp + 0xe8], xmm2
movss xmm0, dword [esp + 0x60]
subss xmm0, xmm1
movss dword [esp + 0xd0], xmm4
mulss xmm0, xmm0
comiss xmm3, xmm0
jb 0x10049b29
movss xmm0, dword [esp + 0x68]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm3
jb 0x10049b29
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x50], xmm0
fld qword [esp + 0x50]
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x50], xmm0
fld qword [esp + 0x50]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm2, dword [0x1008e3c0]
xorps xmm0, xmm0
fstp qword [esp + 0x50]
movsd xmm1, qword [esp + 0x50]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x1008e2d0]
comiss xmm0, xmm1
movss dword [esp + 0x1c], xmm1
jbe 0x10049b21
addss xmm1, dword [0x1008e328]
movss dword [esp + 0x1c], xmm1
mov al, 1
mov byte [esp + 0xf], al
jmp 0x10049b3b
mov al, byte [esp + 0xf]
movss xmm2, dword [0x1008e3c0]
movss xmm1, dword [esp + 0x1c]
movaps xmm0, xmm1
mov byte [esp + 0x22], al
xorps xmm0, xmmword [0x1008ea50]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x50], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x50]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x28]
xorps xmm5, xmm5
movss xmm1, dword [esp + 0xb4]
movaps xmm4, xmm3
mulss xmm4, dword [esp + 0x10]
cvtsd2ss xmm5, xmm0
movaps xmm0, xmm1
movss xmm7, dword [esp + 0x38]
mulss xmm1, dword [esp + 0x10]
movaps xmm6, xmm7
mulss xmm0, xmm5
mulss xmm3, xmm5
subss xmm4, xmm0
movss dword [esp + 0xd8], xmm5
movss xmm0, dword [esp + 0xa0]
subss xmm0, dword [esp + 0xa4]
addss xmm3, xmm1
movss xmm1, dword [esp + 0x9c]
movaps xmm5, xmm1
movaps xmm2, xmm4
subss xmm5, xmm1
subss xmm2, xmm1
movss dword [esp + 0xb4], xmm0
subss xmm6, dword [esp + 0x9c]
movss dword [esp + 0x28], xmm5
movaps xmm1, xmm2
mulss xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x50], xmm6
mulss xmm0, xmm5
xorps xmm5, xmm5
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xa0]
comiss xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x80], xmm0
movaps xmm0, xmm3
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0xa0]
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x10049e93
movss xmm0, dword [esp + 0xa4]
subss xmm4, xmm7
subss xmm0, xmm5
subss xmm3, xmm5
mulss xmm4, xmm0
movss xmm0, dword [esp + 0x9c]
subss xmm0, xmm7
mulss xmm0, xmm3
subss xmm4, xmm0
comiss xmm5, xmm4
seta al
cmp cl, al
jne 0x10049e93
movss xmm6, dword [esp + 0xe8]
movss xmm1, dword [esp + 0xd0]
movaps xmm7, xmm6
movss xmm3, dword [esp + 0xd8]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x10]
mulss xmm7, dword [esp + 0x10]
movss xmm4, dword [esp + 0x9c]
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 + 0xa4]
mulss xmm1, dword [esp + 0xb4]
mulss xmm0, dword [esp + 0x28]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0xa0]
comiss xmm5, xmm1
mulss xmm0, dword [esp + 0x50]
movaps xmm1, xmm7
subss xmm1, xmm4
seta cl
mulss xmm1, dword [esp + 0x80]
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x10049d96
movss xmm3, dword [esp + 0x38]
movaps xmm2, xmm7
movss xmm0, dword [esp + 0xa4]
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 0x10049ddc
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0xf8]
push eax
lea edx, [esp + 0x44]
lea ecx, [esp + 0xdc]
call fcn.10016650
movss xmm3, dword [esp + 0x44]
add esp, 0xc
movss xmm4, dword [esp + 0x9c]
xorps xmm5, xmm5
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
movss xmm1, dword [esp + 0xa4]
subss xmm7, xmm3
movaps xmm2, xmm4
subss xmm1, xmm5
movss xmm4, dword [esp + 0xa0]
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 [0x1008e270]
movaps xmm0, xmm7
movss dword [esp + 0x24], xmm2
mulss xmm0, xmm1
mulss xmm7, xmm4
subss xmm0, xmm6
movss xmm1, dword [0x1008e328]
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 0x10049e64
movaps xmm0, xmm2
jmp 0x10049e6b
movaps xmm0, xmm1
minss xmm0, xmm5
divss xmm3, xmm0
movss dword [esp + 0x48], xmm0
comiss xmm2, xmm3
ja 0x10049e87
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x24], xmm2
mov byte [esp + 0x17], 1
mov byte [esp + 0xf], 1
jmp 0x10049e9b
mov al, byte [esp + 0xf]
mov byte [esp + 0x22], al
test byte [esp + 0x18], 8
jne 0x10049ea7
call fcn.100242c0
movss xmm2, dword [esp + 0x2c]
cmp dword [esp + 0xe4], 0x10000
jne 0x1004a266
mov ecx, dword [0x10099cbc]
lea edx, [esp + 0xf0]
movss xmm0, dword [esp + 0xc4]
push ecx
mov eax, dword [ecx + 0x1b98]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1b98]
mov ecx, str.alpha
movss dword [eax + 0xd0], xmm0
movss dword [eax + 0xd4], xmm2
movss xmm1, dword [eax + 0xe8]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xec]
maxss xmm0, xmm2
movss dword [eax + 0xe8], xmm1
movss dword [eax + 0xec], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0xf4], xmm0
movss xmm0, dword [esp + 0x50]
movss dword [esp + 0xf8], xmm0
call fcn.1003e0c0
mov eax, dword [0x10099cbc]
add esp, 4
mov ecx, dword [eax + 0x1bd0]
test ecx, ecx
je 0x1004a266
cmp ecx, dword [eax + 0x1c38]
jne 0x1004a266
mov eax, dword [esp + 0x34]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x4c]
movss xmm1, dword [0x1008e328]
subss xmm0, xmm1
movss xmm3, dword [eax + 0xe8]
subss xmm3, dword [esp + 0x2c]
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x1004a24e
xorps xmm4, xmm4
jmp 0x1004a255
test eax, 0x2000000
je 0x10049ea7
movss xmm0, dword [esp + 0x4c]
lea edx, [esp + 0xf0]
push ecx
mov ecx, 0x1008a9cc
movss dword [esp + 0xf4], xmm0
movss dword [esp + 0xf8], xmm0
call fcn.1003e0c0
mov edx, dword [0x10099cbc]
add esp, 4
mov eax, dword [edx + 0x1bd0]
test eax, eax
je 0x1004a11b
cmp eax, dword [edx + 0x1c38]
jne 0x1004a11b
mov ecx, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x4c]
movss xmm1, dword [0x1008e328]
subss xmm4, xmm1
movss xmm3, dword [ecx + 0xe4]
subss xmm3, dword [esp + 0x58]
movss dword [esp + 0x28], xmm4
divss xmm3, xmm4
comiss xmm0, xmm3
jbe 0x1004a03c
movss dword [esp + 0x24], xmm0
jmp 0x1004a049
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x24], xmm2
movss xmm2, dword [ecx + 0xe8]
subss xmm2, dword [esp + 0x2c]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x1004a065
xorps xmm3, xmm3
jmp 0x1004a06c
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 + 0x48], xmm2
movss xmm2, dword [edi]
comiss xmm0, xmm2
jbe 0x1004a091
xorps xmm3, xmm3
jmp 0x1004a098
movaps xmm3, xmm1
minss xmm3, xmm2
comiss xmm0, xmm5
movss xmm4, dword [0x1008e4ac]
movss xmm2, dword [0x1008e2d0]
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si eax, xmm3
mov dword [esp + 0x10], eax
jbe 0x1004a0c2
xorps xmm3, xmm3
jmp 0x1004a0c9
movaps xmm3, xmm1
minss xmm3, xmm5
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si eax, xmm3
shl eax, 8
or dword [esp + 0x10], eax
comiss xmm0, xmm6
jbe 0x1004a0e6
xorps xmm1, xmm1
jmp 0x1004a0ea
minss xmm1, xmm6
mulss xmm1, xmm4
addss xmm1, xmm2
cvttss2si eax, xmm1
shl eax, 0x10
or eax, dword [esp + 0x10]
cmp dword [ecx + 0x2e90], eax
jne 0x1004a113
movss xmm0, dword [ecx + 0x2e88]
movss dword [esp + 0x1c], xmm0
mov al, 1
mov byte [esp + 0xf], al
jmp 0x1004a133
movss xmm0, dword [esp + 0x4c]
subss xmm0, dword [0x1008e328]
mov al, byte [esp + 0xf]
movss dword [esp + 0x28], xmm0
test byte [esp + 0x18], 8
mov byte [esp + 0x17], al
mov byte [esp + 0x23], al
jne 0x1004a14d
call fcn.100242c0
mov edx, dword [0x10099cbc]
mov eax, dword [edx + 0x1b98]
movss xmm0, dword [esp + 0xac]
movss xmm2, dword [esp + 0x2c]
push ecx
mov byte [eax + 0x8c], 1
mov ecx, 0x1008a9d0
mov eax, dword [edx + 0x1b98]
lea edx, [esp + 0xf4]
movss dword [eax + 0xd0], xmm0
movss dword [eax + 0xd4], xmm2
movss xmm1, dword [eax + 0xe8]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xec]
maxss xmm0, xmm2
movss dword [eax + 0xe8], xmm1
movss dword [eax + 0xec], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0xf4], xmm0
movss xmm0, dword [esp + 0x50]
movss dword [esp + 0xf8], xmm0
call fcn.1003e0c0
mov eax, dword [0x10099cbc]
add esp, 4
mov ecx, dword [eax + 0x1bd0]
test ecx, ecx
je 0x10049ea7
mov dl, byte [esp + 0xf]
movss xmm2, dword [esp + 0x2c]
mov byte [esp + 0x17], dl
cmp ecx, dword [eax + 0x1c38]
jne 0x10049ead
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0xe8]
subss xmm1, xmm2
divss xmm1, dword [esp + 0x28]
comiss xmm0, xmm1
ja 0x1004a231
movss xmm0, dword [0x1008e328]
minss xmm0, xmm1
mov al, byte [esp + 0x23]
movss dword [esp + 0x1c], xmm0
mov byte [esp + 0x22], 1
mov byte [esp + 0xf], 1
mov byte [esp + 0x17], al
jmp 0x10049ead
movaps xmm4, xmm1
minss xmm4, xmm3
movaps xmm0, xmm1
mov byte [esp + 0xf], 1
subss xmm0, xmm4
movss dword [edi + 0xc], xmm0
mov edx, dword [0x10099cbc]
dec dword [edx + 0x1d04]
mov ecx, dword [edx + 0x1d04]
mov eax, dword [edx + 0x1d0c]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1c20], eax
mov eax, dword [esp + 0x18]
mov ecx, eax
and ecx, 0x100
mov dword [esp + 0x10], ecx
jne 0x1004a2b7
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x156c]
call fcn.10022fc0
call fcn.10023200
mov eax, dword [esp + 0x18]
and eax, 0x80
mov dword [esp + 0x80], eax
jne 0x1004a32a
mov ecx, dword [esp + 0xcc]
cmp ecx, 0xffffffff
jae 0x1004a32a
mov dl, byte [ecx]
test dl, dl
je 0x1004a2e7
cmp dl, 0x23
jne 0x1004a2e1
cmp byte [ecx + 1], dl
je 0x1004a2e7
inc ecx
cmp ecx, 0xffffffff
jb 0x1004a2d1
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x28], ecx
cmp eax, ecx
je 0x1004a32a
cmp dword [esp + 0x10], 0
je 0x1004a31c
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x156c]
call fcn.10022fc0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0xcc]
mov edx, ecx
mov ecx, eax
push 0
call fcn.1003cb20
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x1004a518
mov ecx, dword [0x10099cbc]
mov eax, dword [ecx + 0x1c20]
or eax, 0x10
mov dword [ecx + 0x1c20], eax
add ecx, 0x1d04
mov dword [esp + 0x50], eax
lea eax, [esp + 0x50]
push eax
call fcn.100298b0
cmp dword [esp + 0x6c], 0
je 0x1004a36f
movss xmm1, dword [0x1008e328]
jmp 0x1004a374
movss xmm1, dword [edi + 0xc]
cmp dword [esp + 0x80], 0
movss xmm0, dword [edi]
movss dword [esp + 0xf0], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0xf4], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0xf8], xmm0
movss dword [esp + 0xfc], xmm1
je 0x1004a3bd
push str.Current
call fcn.1003d200
add esp, 4
movss xmm1, dword [esp + 0x70]
lea edx, [esp + 0xf0]
mov eax, dword [esp + 0x18]
movaps xmm0, xmm1
mulss xmm0, dword [0x1008e3bc]
and eax, 0x180e0040
mov ecx, str.current
mov dword [esp + 0xd8], eax
movss dword [esp + 0xd0], xmm0
movss dword [esp + 0x50], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0xd4], xmm0
push dword [esp + 0xd4]
movss dword [esp + 0x84], xmm0
push dword [esp + 0xd4]
push eax
call fcn.1004bc20
add esp, 0xc
cmp dword [esp + 0xc8], 0
je 0x1004a4f1
push str.Original
call fcn.1003d200
mov eax, dword [esp + 0xcc]
add esp, 4
cmp dword [esp + 0x6c], 0
je 0x1004a45c
movss xmm1, dword [0x1008e328]
jmp 0x1004a461
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0x110]
movss dword [esp + 0x110], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0x114], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x118], xmm0
movss xmm0, dword [esp + 0x50]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0x54], xmm0
push dword [esp + 0x54]
movss dword [esp + 0x120], xmm1
push dword [esp + 0x54]
push dword [esp + 0xe0]
call fcn.1004bc20
add esp, 0xc
test al, al
je 0x1004a4f1
push dword [esp + 0xa8]
push dword [esp + 0xcc]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xf], 1
mov edx, dword [0x10099cbc]
dec dword [edx + 0x1d04]
mov eax, dword [edx + 0x1d0c]
mov ecx, dword [edx + 0x1d04]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1c20], eax
call fcn.10023330
cmp byte [esp + 0x22], 0
jne 0x1004a52a
cmp byte [esp + 0x17], 0
je 0x1004a605
cmp dword [esp + 0x7c], 0
je 0x1004a62e
movss xmm2, dword [esp + 0x48]
lea eax, [edi + 8]
movss xmm1, dword [esp + 0x24]
lea edx, [edi + 4]
movss xmm0, dword [esp + 0x1c]
mov ecx, edi
push eax
call fcn.10017050
mov ecx, dword [esp + 0x38]
add esp, 4
movss xmm0, dword [esp + 0x1c]
movss xmm1, dword [0x1008e328]
movss dword [ecx + 0x2e88], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [ecx + 0x2e8c], xmm0
xorps xmm0, xmm0
movss xmm2, dword [edi]
comiss xmm0, xmm2
movss xmm5, dword [edi + 4]
movss xmm6, dword [edi + 8]
jbe 0x1004a59b
xorps xmm3, xmm3
jmp 0x1004a5a2
movaps xmm3, xmm1
minss xmm3, xmm2
comiss xmm0, xmm5
movss xmm4, dword [0x1008e4ac]
movss xmm2, dword [0x1008e2d0]
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si edx, xmm3
jbe 0x1004a5c8
xorps xmm3, xmm3
jmp 0x1004a5cf
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 0x1004a5ea
xorps xmm1, xmm1
jmp 0x1004a5ee
minss xmm1, xmm6
mulss xmm1, xmm4
addss xmm1, xmm2
cvttss2si eax, xmm1
shl eax, 0x10
or eax, edx
mov dword [ecx + 0x2e90], eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0x23], 0
test al, 0x20
jne 0x1004a9ae
cmp dword [esp + 0xe4], 0x10000
jne 0x1004a65b
movss xmm0, dword [esp + 0xc4]
jmp 0x1004a664
mov eax, dword [esp + 0x18]
test eax, 0x10000000
je 0x1004a609
movss xmm0, dword [esp + 0x1c]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [edi + 8], xmm0
jmp 0x1004a609
movss xmm0, dword [esp + 0xac]
addss xmm0, dword [esp + 0x70]
subss xmm0, dword [esp + 0x58]
call fcn.10023080
mov eax, dword [esp + 0x18]
mov edx, eax
and edx, 0x198e001a
mov dword [esp + 0x6c], edx
test eax, 0x100000
jne 0x1004a6a0
mov ecx, eax
and ecx, 0x700000
mov dword [esp + 0x10], ecx
jne 0x1004a6fe
mov dword [esp + 0x10], ecx
jmp 0x1004a6a9
and eax, 0x700000
mov dword [esp + 0x10], eax
or edx, 0x100004
mov ecx, str.rgb
push edx
mov edx, edi
call fcn.10048130
add esp, 4
test al, al
je 0x1004a6f2
mov eax, dword [esp + 0x34]
cmp dword [eax + 0x1bd0], 0
je 0x1004a6de
cmp byte [eax + 0x1bdd], 0
mov byte [esp + 0x23], 1
je 0x1004a6e3
mov byte [esp + 0x23], 0
mov ecx, dword [esp + 0x10]
mov byte [esp + 0xf], 1
mov dword [esp + 0x10], ecx
jmp 0x1004a6f6
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x18]
test eax, 0x200000
jne 0x1004a709
test ecx, ecx
jne 0x1004a72b
or edx, 0x200004
mov ecx, str.hsv
push edx
mov edx, edi
call fcn.10048130
mov ecx, dword [esp + 0x14]
add esp, 4
or byte [esp + 0xf], al
mov eax, dword [esp + 0x18]
test eax, 0x400000
jne 0x1004a736
test ecx, ecx
jne 0x1004a753
mov eax, dword [esp + 0x6c]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.10048130
add esp, 4
or byte [esp + 0xf], al
cmp byte [esp + 0x23], 0
mov ecx, dword [0x10099cbc]
mov eax, dword [ecx + 0x1b98]
mov byte [eax + 0x8c], 1
mov edx, dword [ecx + 0x1b98]
mov ecx, dword [edx + 0x184]
mov eax, dword [edx + 0x18c]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x17c], eax
lea eax, [ecx - 1]
mov dword [edx + 0x184], eax
lea ecx, [edi + 8]
lea edx, [edi + 4]
je 0x1004a881
cmp dword [esp + 0x7c], 0
je 0x1004a881
movss xmm3, dword [edx]
xorps xmm2, xmm2
movss xmm5, dword [ecx]
xorps xmm6, xmm6
comiss xmm5, xmm3
movss xmm4, dword [edi]
jbe 0x1004a7cf
movss xmm6, dword [0x1008e550]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1004a7ec
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x1008e53c]
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 [0x1008e25c]
movaps xmm7, xmm1
mulss xmm1, dword [0x1008e400]
divss xmm7, xmm0
addss xmm1, dword [0x1008e25c]
divss xmm3, xmm1
addss xmm3, xmm6
movss xmm6, dword [0x1008ea20]
andps xmm3, xmm6
comiss xmm2, xmm3
jb 0x1004a889
movss xmm0, dword [esp + 0x1c]
comiss xmm0, xmm2
jbe 0x1004a889
comiss xmm2, xmm4
jb 0x1004a98f
movss xmm1, dword [esp + 0x48]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1004a98f
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x24]
mulss xmm2, dword [0x1008e2d0]
push ecx
mov ecx, edi
call fcn.10017050
add esp, 4
lea ecx, [edi + 8]
lea edx, [edi + 4]
movss xmm6, dword [0x1008ea20]
mov eax, dword [esp + 0x18]
cmp byte [esp + 0xf], 0
je 0x1004aa34
cmp dword [esp + 0x7c], 0
je 0x1004a9c1
movss xmm0, dword [edx]
xorps xmm4, xmm4
movss xmm1, dword [ecx]
movaps xmm2, xmm0
comiss xmm1, xmm0
movss xmm7, dword [edi]
movaps xmm5, xmm1
movss dword [esp + 0x84], xmm7
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x44], xmm1
jbe 0x1004a8e0
movss xmm4, dword [0x1008e550]
movaps xmm2, xmm1
movaps xmm5, xmm0
comiss xmm2, xmm7
movaps xmm3, xmm7
movss dword [esp + 0x48], xmm3
jbe 0x1004a909
movss xmm0, dword [0x1008e53c]
movaps xmm3, xmm2
subss xmm0, xmm4
movss dword [esp + 0x48], xmm3
movaps xmm2, xmm7
movaps xmm4, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x1c], xmm3
minss xmm0, xmm5
movaps xmm1, xmm3
subss xmm2, xmm5
mov ecx, edi
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x18]
movaps xmm0, xmm1
mulss xmm0, dword [0x1008e400]
addss xmm0, dword [0x1008e25c]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x1008e25c]
addss xmm2, xmm4
divss xmm1, xmm0
andps xmm2, xmm6
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x2c], xmm1
call fcn.10048040
movss xmm3, dword [esp + 0x18]
add esp, 8
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x1c], xmm3
movss dword [esp + 0x24], xmm0
jmp 0x1004aa3a
comiss xmm2, xmm7
jb 0x1004a889
movss xmm1, dword [esp + 0x24]
movaps xmm2, xmm4
mulss xmm1, dword [0x1008e2d0]
jmp 0x1004a870
movss xmm6, dword [0x1008ea20]
lea ecx, [edi + 8]
lea edx, [edi + 4]
jmp 0x1004a88d
test eax, 0x10000000
je 0x1004aa34
movss xmm1, dword [ecx]
lea eax, [esp + 0x74]
movss xmm3, dword [edx]
lea ecx, [esp + 0x90]
movss xmm0, dword [edi]
lea edx, [esp + 0x98]
movss dword [esp + 0x48], xmm1
movaps xmm2, xmm1
push eax
movaps xmm1, xmm3
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x28], xmm3
call fcn.10017050
movss xmm0, dword [esp + 0x94]
add esp, 4
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0x98]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x44], xmm0
movss xmm3, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm2, dword [eax + 0x1518]
comiss xmm0, xmm2
movss xmm0, dword [0x1008e328]
jbe 0x1004aa5b
xorps xmm1, xmm1
jmp 0x1004aa62
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x1008e4ac]
mov dword [esp + 0xf0], 0x3f800000
movss dword [esp + 0xfc], xmm2
movaps xmm2, xmm0
mov dword [esp + 0xf4], 0x3f800000
addss xmm1, dword [0x1008e2d0]
mov dword [esp + 0xf8], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x90], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x10], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x110], ecx
or eax, 0x808080
mov dword [esp + 0x128], ecx
mov dword [esp + 0x74], eax
lea ecx, [esp + 0xf0]
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x114], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x118], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x11c], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0x120], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0xf4]
mov dword [esp + 0x124], eax
lea eax, [esp + 0xf8]
push eax
call fcn.10017050
movss xmm3, dword [esp + 0xf4]
xorps xmm1, xmm1
movss xmm2, dword [0x1008e328]
add esp, 4
comiss xmm1, xmm3
jbe 0x1004ab61
xorps xmm0, xmm0
jmp 0x1004ab68
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm5, dword [0x1008e4ac]
movss xmm3, dword [0x1008e2d0]
movss xmm4, dword [esp + 0xf4]
comiss xmm1, xmm4
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si ecx, xmm0
jbe 0x1004ab97
xorps xmm0, xmm0
jmp 0x1004ab9e
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0xf8]
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm4
jbe 0x1004abc2
xorps xmm0, xmm0
jmp 0x1004abc9
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0xfc]
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm4
jbe 0x1004abed
xorps xmm0, xmm0
jmp 0x1004abf4
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x84]
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si edx, xmm0
shl edx, 0x18
or edx, ecx
comiss xmm1, xmm4
mov dword [esp + 0x98], edx
jbe 0x1004ac1f
xorps xmm0, xmm0
jmp 0x1004ac26
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x78]
comiss xmm1, xmm4
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si ecx, xmm0
jbe 0x1004ac42
xorps xmm0, xmm0
jmp 0x1004ac49
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x44]
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm4
jbe 0x1004ac6a
xorps xmm0, xmm0
jmp 0x1004ac71
movaps xmm0, xmm2
minss xmm0, xmm4
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x34]
movss xmm4, dword [eax + 0x1518]
comiss xmm1, xmm4
jbe 0x1004ac98
xorps xmm0, xmm0
jmp 0x1004ac9f
movaps xmm0, xmm2
minss xmm0, xmm4
mulss xmm0, xmm5
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
cmp dword [esp + 0x64], 0
mov dword [esp + 0x78], eax
je 0x1004b4ec
movss xmm1, dword [esp + 0x68]
movaps xmm4, xmm3
movss xmm0, dword [esp + 0x60]
mov eax, 0x2aaaaaab
divss xmm4, xmm1
mov esi, dword [esp + 0x30]
addss xmm0, xmm1
cvttss2si ecx, xmm1
movaps xmm5, xmm0
movss dword [esp + 0xd8], xmm4
imul ecx
mulss xmm5, xmm3
movss dword [esp + 0xb4], xmm0
mov eax, 4
movss dword [esp + 0xd0], xmm5
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0xe8], ecx
mov dword [esp + 0x44], eax
nop dword [eax]
movd xmm1, eax
lea eax, [esp + 0x100]
cvtdq2ps xmm1, xmm1
mov edi, dword [esi + 0x18]
push ecx
push ecx
mov ecx, esi
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x1008e400]
divss xmm1, dword [0x1008e400]
addss xmm0, xmm0
movaps xmm2, xmm5
addss xmm1, xmm1
mulss xmm0, dword [0x1008e3c0]
mulss xmm1, dword [0x1008e3c0]
subss xmm0, xmm4
addss xmm1, xmm4
movaps xmm3, xmm0
movss dword [esp + 0x70], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x34], xmm1
call fcn.10033b00
movss xmm0, dword [esp + 0x8c]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0x18]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.10032610
movss xmm0, dword [esp + 0x68]
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 + 0x68]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x60]
addss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x50], 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 + 0x60]
addss xmm0, dword [esp + 0xb8]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x28]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x28]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x60]
addss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x64], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x64]
xorps xmm4, xmm4
movss xmm5, dword [esp + 0x50]
movss xmm6, dword [esp + 0x80]
subss xmm3, xmm5
mov eax, dword [esp + 0x44]
cvtsd2ss xmm4, xmm0
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + eax*4 + 0x110]
mov eax, dword [esi + 0x18]
movss xmm2, dword [0x1008e328]
movaps xmm0, xmm3
mulss xmm4, dword [esp + 0x60]
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 + 0x64], eax
movzx eax, cl
mov dword [esp + 0x7c], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x28], eax
shr ecx, 0x10
movzx eax, cl
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + eax*4 + 0x114]
movzx eax, cl
sub eax, dword [esp + 0x7c]
mov dword [esp + 0x50], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x28]
shr ecx, 0x10
mov dword [esp + 0x6c], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0x64]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x68]
mov dword [esp + 0x80], ecx
cmp edx, edi
jae 0x1004afff
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x50]
nop word [eax + eax]
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 0x1004af6e
xorps xmm2, xmm2
jmp 0x1004af72
minss xmm2, xmm1
movd xmm1, dword [esp + 0x68]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
addss xmm0, xmm1
movd xmm1, dword [esp + 0x28]
cvtdq2ps xmm1, xmm1
cvttss2si ecx, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
shl ecx, 8
mulss xmm0, xmm2
addss xmm0, xmm1
movd xmm1, dword [esp + 0x7c]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
or ecx, eax
shl ecx, 8
mulss xmm0, xmm2
movss xmm2, dword [0x1008e328]
addss xmm0, xmm1
cvttss2si eax, xmm0
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov eax, dword [esp + 0x6c]
mov dword [edx + 0x10], ecx
add edx, 0x14
mov ecx, dword [esp + 0x80]
cmp edx, edi
jb 0x1004af40
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x44]
movss xmm4, dword [esp + 0xd8]
inc eax
movss xmm5, dword [esp + 0xd0]
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0x44], eax
cmp eax, 6
jl 0x1004ad40
movss xmm0, dword [esp + 0x1c]
mulss xmm0, dword [0x1008e390]
mulss xmm0, dword [0x1008e3c0]
movss dword [esp + 0x1c], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm3, dword [esp + 0x1c]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x60], xmm0
cvtps2pd xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0x22], 0
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
movss xmm0, dword [esp + 0x60]
mulss xmm0, dword [esp + 0xb4]
movss xmm1, dword [esp + 0x8c]
movss dword [esp + 0x64], xmm2
mulss xmm0, dword [0x1008e2d0]
addss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0xb4]
mulss xmm0, dword [0x1008e2d0]
addss xmm0, dword [esp + 0xb8]
movss dword [esp + 0x5c], xmm0
je 0x1004b0d6
mulss xmm1, dword [0x1008e2e0]
jmp 0x1004b0de
mulss xmm1, dword [0x1008e2d4]
movaps xmm0, xmm1
movss dword [esp + 0x8c], xmm1
divss xmm0, dword [0x1008e350]
cvttss2si esi, xmm0
cmp esi, 9
jge 0x1004b102
mov esi, 9
jmp 0x1004b10c
mov eax, 0x20
cmp esi, eax
cmovg esi, eax
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x58]
push esi
push dword [esp + 0x9c]
movaps xmm2, xmm1
mov ecx, edi
push eax
call fcn.10034d50
movss xmm2, dword [esp + 0x8c]
lea eax, [esp + 0x58]
addss xmm2, dword [0x1008e328]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
push dword [esp + 0x7c]
push eax
call fcn.10034c90
movss xmm2, dword [esp + 0x8c]
lea eax, [esp + 0x58]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
mov esi, dword [esp + 0x18]
push esi
push eax
call fcn.10034c90
movss xmm3, dword [esp + 0x60]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x64]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x38]
movaps xmm0, xmm5
mov eax, dword [0x10099cbc]
movss xmm6, dword [esp + 0xbc]
movaps xmm4, xmm3
mulss xmm0, xmm1
push 6
movss xmm7, dword [esp + 0xbc]
mulss xmm4, dword [esp + 0xa0]
push 6
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0xa4]
addss xmm2, xmm6
movss dword [esp + 0x70], xmm2
movss dword [esp + 0xf8], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x40]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xa8]
mulss xmm5, dword [esp + 0xac]
addss xmm2, xmm7
movss dword [esp + 0x84], xmm2
movss dword [esp + 0xfc], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xa8]
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 + 0x30], xmm4
addss xmm3, xmm7
movss dword [esp + 0x108], xmm4
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x44], xmm0
movss xmm0, dword [eax + 0x193c]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [eax + 0x1940]
movss dword [esp + 0x68], xmm3
movss dword [esp + 0x10c], xmm3
movss dword [esp + 0x58], xmm0
mov ecx, edi
call fcn.100323f0
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
movss xmm2, dword [esp + 0x68]
movss xmm3, dword [esp + 0x7c]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss xmm0, dword [esp + 0x64]
movss xmm1, dword [esp + 0x50]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
mov edx, dword [esp + 0x98]
movss xmm5, dword [esp + 0x38]
movss xmm4, dword [esp + 0x3c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
movss xmm7, dword [esp + 0x28]
movss xmm6, dword [esp + 0x60]
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 + 0x90]
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 + 0x78]
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 + 0x108]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x100]
push eax
call fcn.10034a60
movss xmm0, dword [0x1008e328]
xorps xmm1, xmm1
movaps xmm2, xmm0
subss xmm2, dword [esp + 0x48]
comiss xmm1, xmm2
jbe 0x1004b460
xorps xmm5, xmm5
jmp 0x1004b467
movaps xmm5, xmm0
minss xmm5, xmm2
movss xmm2, dword [esp + 0x24]
comiss xmm1, xmm2
jbe 0x1004b477
xorps xmm4, xmm4
jmp 0x1004b47e
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm0, dword [esp + 0x68]
subss xmm0, dword [esp + 0x28]
movss xmm3, dword [esp + 0x38]
movss xmm2, dword [esp + 0x3c]
mov esi, dword [esp + 0x94]
mulss xmm0, xmm4
addss xmm0, dword [esp + 0x28]
subss xmm3, xmm0
mulss xmm3, xmm5
addss xmm3, xmm0
movss xmm0, dword [esp + 0x7c]
subss xmm0, dword [esp + 0x60]
movss dword [esp + 0x84], xmm3
mulss xmm0, xmm4
addss xmm0, dword [esp + 0x60]
subss xmm2, xmm0
mulss xmm2, xmm5
addss xmm2, xmm0
movss dword [esp + 0x88], xmm2
jmp 0x1004b85d
test dword [esp + 0x18], 0x2000000
je 0x1004b868
mov eax, dword [esp + 0x10]
movss xmm0, dword [esp + 0xc0]
mov ecx, dword [esp + 0x30]
push eax
push edx
push edx
movss dword [esp + 0x10c], xmm0
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [esp + 0x58]
push eax
lea eax, [esp + 0x110]
push eax
lea eax, [esp + 0x6c]
push eax
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x11c], xmm0
call fcn.100348e0
mov ecx, dword [esp + 0x90]
lea eax, [esp + 0x100]
movss xmm0, dword [esp + 0xc0]
push ecx
push ecx
mov ecx, dword [esp + 0x38]
push 0
push 0
push eax
movss dword [esp + 0x114], xmm0
lea eax, [esp + 0x6c]
movss xmm0, dword [esp + 0x58]
push eax
movss dword [esp + 0x11c], xmm0
call fcn.100348e0
movss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x3c], xmm0
xorps xmm0, xmm0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.10017f20
movss xmm3, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm1, dword [0x1008e328]
add esp, 0x10
comiss xmm0, xmm3
jbe 0x1004b5da
xorps xmm2, xmm2
jmp 0x1004b5e1
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm6, dword [esp + 0x4c]
movss xmm7, dword [esp + 0x58]
movss xmm3, dword [0x1008e2d0]
mulss xmm2, xmm6
movss xmm5, dword [0x1008e390]
movss xmm4, dword [esp + 0xc0]
addss xmm2, xmm7
addss xmm7, xmm5
subss xmm4, xmm5
addss xmm2, xmm3
cvttss2si eax, xmm2
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm7, xmm2
jbe 0x1004b635
movss dword [esp + 0x84], xmm7
jmp 0x1004b64e
comiss xmm2, xmm4
jbe 0x1004b645
movss dword [esp + 0x84], xmm4
jmp 0x1004b64e
movss dword [esp + 0x84], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x48]
comiss xmm0, xmm2
jbe 0x1004b661
xorps xmm1, xmm1
jmp 0x1004b665
minss xmm1, xmm2
movss xmm4, dword [esp + 0x2c]
mulss xmm1, xmm6
movss xmm0, dword [esp + 0x44]
subss xmm0, xmm5
addss xmm1, xmm4
addss xmm1, xmm3
cvttss2si eax, xmm1
movaps xmm1, xmm4
addss xmm1, xmm5
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x1004b6a3
movss dword [esp + 0x88], xmm1
jmp 0x1004b6bc
comiss xmm2, xmm0
jbe 0x1004b6b3
movss dword [esp + 0x88], xmm0
jmp 0x1004b6bc
movss dword [esp + 0x88], xmm2
movss xmm0, dword [esp + 0xec]
movaps xmm1, xmm6
divss xmm1, dword [0x1008e400]
mov esi, dword [esp + 0x30]
xor ecx, ecx
movss dword [esp + 0x100], xmm0
movss xmm0, dword [esp + 0xac]
movss dword [esp + 0x64], xmm1
movss dword [esp + 0xf0], xmm0
nop word [eax + eax]
mov eax, dword [esp + ecx*4 + 0x114]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0x108]
mulss xmm0, xmm1
addss xmm0, xmm4
movss dword [esp + 0x10c], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x118]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x104]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm4
movss dword [esp + 0x10c], xmm0
call fcn.100348e0
movss xmm1, dword [esp + 0x64]
mov ecx, edi
movss xmm4, dword [esp + 0x2c]
cmp ecx, 6
jl 0x1004b700
movss xmm0, dword [esp + 0xec]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0xac]
push dword [esp + 0x3c]
movss dword [esp + 0x5c], xmm0
movaps xmm0, xmm4
push dword [esp + 0x3c]
movss dword [esp + 0x64], xmm0
xorps xmm0, xmm0
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.10017f20
mov esi, dword [esp + 0xa4]
movss xmm1, dword [esp + 0x80]
addss xmm1, dword [0x1008e390]
mov ecx, dword [esp + 0x40]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x4c], xmm2
addss xmm0, dword [0x1008e328]
movss xmm2, dword [esp + 0xbc]
push dword [esp + 0x4c]
subss xmm2, dword [0x1008e328]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x30]
mulss xmm0, dword [esp + 0x60]
push dword [esp + 0x4c]
movss dword [esp + 0x70], xmm2
addss xmm0, dword [esp + 0x44]
addss xmm0, dword [0x1008e2d0]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x4c]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x1518]
movss dword [esp + 0x74], xmm0
push dword [esp + 0x74]
push dword [esp + 0x74]
call fcn.10049200
add esp, 0x20
xorps xmm1, xmm1
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0xb0]
cmp byte [esp + 0x17], 0
je 0x1004b882
movss xmm2, dword [0x1008e414]
movss dword [esp + 0xe0], xmm2
jmp 0x1004b88a
movss xmm2, dword [0x1008e400]
test eax, 0xff000000
je 0x1004b8d6
comiss xmm1, xmm2
jae 0x1004b8d6
push 0xb
push ecx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x8c]
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
call fcn.10033b00
mov eax, dword [esp + 0x30]
mov ecx, eax
push dword [esp + 0x78]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10033330
mov eax, dword [esp + 0x30]
mov dword [eax + 0x54], 0
jmp 0x1004b8da
mov eax, dword [esp + 0x30]
test dword [esp + 0x74], 0xff000000
xorps xmm0, xmm0
movss xmm1, dword [esp + 0xe0]
movaps xmm2, xmm1
addss xmm2, dword [0x1008e328]
je 0x1004b95a
comiss xmm0, xmm2
jae 0x1004b95a
subss xmm2, dword [0x1008e2d0]
push 0xb
push ecx
lea ecx, [esp + 0x8c]
mov dword [esp], 0x40b84e89
push ecx
xorps xmm3, xmm3
mov ecx, eax
call fcn.10033b00
mov eax, dword [esp + 0x30]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x7c]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10032610
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
movss xmm1, dword [esp + 0xe0]
mov dword [eax + 0x54], 0
test dword [esp + 0x10], 0xff000000
je 0x1004b9ba
comiss xmm0, xmm1
jae 0x1004b9ba
subss xmm1, dword [0x1008e2d0]
push 0xb
push ecx
lea ecx, [esp + 0x8c]
mov dword [esp], 0x40b84e89
push ecx
xorps xmm3, xmm3
movaps xmm2, xmm1
mov ecx, eax
call fcn.10033b00
mov eax, dword [esp + 0x30]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x18]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10032610
mov eax, dword [esp + 0x30]
mov dword [eax + 0x54], 0
cmp dword [esp + 0xe4], 0x10000
jne 0x1004bb71
movss xmm2, dword [edi + 0xc]
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x1004b9e3
movss dword [esp + 0x94], xmm1
jmp 0x1004b9f8
movss xmm0, dword [0x1008e328]
minss xmm0, xmm2
movss dword [esp + 0x94], xmm0
movss xmm3, dword [esp + 0xc4]
xor edx, edx
movss xmm0, dword [esp + 0x2c]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x70]
movss dword [esp + 0x104], xmm0
mov ecx, eax
addss xmm0, dword [esp + 0x4c]
mov dword [esp + 0x3c], 0
push dword [esp + 0x3c]
mov dword [esp + 0x3c], 0
push dword [esp + 0x3c]
movss dword [esp + 0x110], xmm2
subss xmm2, xmm3
movss dword [esp + 0x114], xmm0
push dword [esp + 0x114]
movss dword [esp + 0x10c], xmm3
xorps xmm3, xmm3
push dword [esp + 0x114]
mov edi, dword [esp + 0x110]
push dword [esp + 0x114]
mulss xmm2, dword [0x1008e2d0]
push edi
push 0
call fcn.10039ad0
mov ecx, dword [esp + 0x94]
add esp, 0x1c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x114]
push eax
call fcn.100348e0
push dword [esp + 0x10c]
xorps xmm0, xmm0
push dword [esp + 0x10c]
push dword [esp + 0x10c]
push edi
call fcn.10017f20
movss xmm1, dword [0x1008e328]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x40]
movaps xmm0, xmm2
movss dword [esp + 0x4c], xmm2
movss xmm2, dword [esp + 0xd4]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0xa4]
push dword [esp + 0x4c]
movss dword [esp + 0x4c], xmm0
push dword [esp + 0x4c]
mulss xmm1, dword [esp + 0x64]
movss dword [esp + 0x70], xmm2
addss xmm1, dword [esp + 0x44]
addss xmm1, dword [0x1008e2d0]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x88]
addss xmm1, dword [0x1008e390]
movd xmm0, eax
mov eax, dword [esp + 0x4c]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x1518]
movss dword [esp + 0x74], xmm0
push dword [esp + 0x74]
push dword [esp + 0x74]
call fcn.10049200
add esp, 0x20
call fcn.10023330
cmp byte [esp + 0xf], 0
mov esi, dword [0x10099cbc]
je 0x1004bbfa
mov edi, dword [esp + 0xa8]
lea ecx, [esp + 0x12c]
mov edx, dword [esp + 0xb0]
sub edi, 4
jb 0x1004bbb1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1004bbb6
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1004bba0
cmp edi, 0xfffffffc
je 0x1004bbf5
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1004bbe3
cmp edi, 0xfffffffd
je 0x1004bbf5
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1004bbe3
cmp edi, 0xfffffffe
je 0x1004bbf5
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1004bbe3
cmp edi, 0xffffffff
je 0x1004bbf5
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1004bbf5
or dword [esi + 0x1c40], 4
mov word [esi + 0x1be0], 0x101
jmp 0x1004bbfa
mov byte [esp + 0xf], 0
mov ecx, dword [esi + 0x1b98]
mov al, byte [esp + 0xf]
pop edi
pop esi
dec dword [ecx + 0xc4]
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.1007a095
mov esp, ebp
pop ebp
ret