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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x130
mov eax, dword [0x100aa040]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x88], ecx
mov ecx, dword [0x100ab038]
mov dword [esp + 0x8c], eax
push esi
push edi
mov eax, dword [ecx + 0x3f8c]
mov edi, edx
mov dword [esp + 0xb0], edi
mov dword [esp + 0x2c], ecx
mov byte [eax + 0xb0], 1
mov eax, dword [ecx + 0x3f8c]
mov dword [esp + 0xa8], eax
cmp byte [eax + 0xb3], 0
je 0x1004d339
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.10075ccd
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x48e8], 1
mov edx, dword [eax + 0x270]
mov dword [esp + 0x28], edx
je 0x1004d356
movss xmm1, dword [ecx + 0x48f8]
jmp 0x1004d35e
movss xmm1, dword [eax + 0x1ac]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1004d3a0
cmp dword [eax + 0x198], 0
jne 0x1004d37e
cmp dword [ecx + 0x4ce0], 0
lea edx, [eax + 0x234]
je 0x1004d384
lea edx, [eax + 0x204]
movss xmm0, dword [edx]
subss xmm0, dword [eax + 0xf8]
addss xmm0, xmm1
movss xmm1, dword [0x100a3bb0]
maxss xmm1, xmm0
mov edx, dword [ecx + 0x48ec]
mov eax, dword [ecx + 0x48dc]
shr edx, 7
shr eax, 7
or dl, al
mov dword [ecx + 0x48e8], 0
and edx, 0xffffff01
mov dword [ecx + 0x48ec], 0
mov ecx, dword [esp + 0x90]
cvttss2si esi, xmm1
mov dword [esp + 0x14], edx
call fcn.100219d0
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x5c98]
mov dword [esp + 0xe4], eax
test eax, eax
jne 0x1004d414
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0xec]
mov eax, dword [eax + 0xf4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x5c98], eax
call fcn.100246a0
mov edx, dword [ebp + 8]
mov ecx, edx
or ecx, 0x10
test edx, 0x100
cmovne ecx, edx
mov dword [esp + 0xac], ecx
test cl, 8
jne 0x1004d446
mov edx, ecx
mov ecx, edi
call fcn.10050a90
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x2c]
test ecx, 0x6000000
jne 0x1004d472
mov eax, dword [edx + 0x5c94]
mov ecx, 0xa900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, dword [esp + 0xac]
mov dword [esp + 0xc], ecx
test ecx, 0x18000000
jne 0x1004d4a9
mov eax, dword [edx + 0x5c94]
mov edi, 0xa900000
test eax, 0x18000000
cmovne edi, eax
mov eax, edi
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0xb0]
and eax, 0x18000000
or ecx, eax
mov dword [esp + 0xc], ecx
test cl, 8
jne 0x1004d4bf
mov eax, dword [edx + 0x5c94]
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 + 0xac], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xd8], ecx
movss xmm3, dword [eax + 0xf8]
movss xmm0, dword [eax + 0xfc]
mov eax, dword [0x100ab038]
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x60], xmm3
movss xmm4, dword [eax + 0x38e8]
addss xmm4, xmm4
movss dword [esp + 0x40], xmm3
addss xmm4, dword [eax + 0x3cf4]
xor eax, eax
cmp ecx, 0x10000
sete al
inc eax
addss xmm0, xmm4
movss dword [esp + 0x58], xmm4
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0xac], eax
sete al
mulss xmm1, xmm0
lea eax, [eax*4 + 0xc]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push eax
lea eax, [esp + 0x128]
push edi
push eax
subss xmm0, xmm1
movaps xmm1, xmm4
maxss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [esp + 0x28], xmm1
addss xmm0, xmm2
movss dword [esp + 0x80], xmm0
addss xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0xe0], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x100a3b4c]
cvttss2si esi, xmm0
mov dword [esp + 0x70], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [esp + 0x28]
add esp, 0xc
movaps xmm4, xmm1
movaps xmm2, xmm1
mulss xmm4, dword [0x100a3b6c]
mulss xmm2, dword [0x100a3b3c]
movaps xmm0, xmm4
movss dword [esp + 0xa8], xmm4
addss xmm0, dword [esp + 0x24]
movss dword [esp + 0x5c], xmm2
movaps xmm3, xmm4
subss xmm3, xmm2
movaps xmm2, xmm1
addss xmm2, dword [esp + 0x58]
movss dword [esp + 0xc4], xmm0
movss dword [esp + 0xfc], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100a3b28]
movaps xmm1, xmm3
mulss xmm2, dword [0x100a3b6c]
cvttss2si eax, xmm0
addss xmm2, dword [esp + 0x60]
movss dword [esp + 0x8c], xmm3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc0], xmm2
movss dword [esp + 0xf8], xmm2
subss xmm1, xmm0
movss xmm7, dword [edi + 8]
movaps xmm0, xmm1
mulss xmm0, dword [0x100a3d2c]
movaps xmm2, xmm1
mov eax, dword [esp + 0xc]
mulss xmm2, dword [0x100a3d38]
mov dword [esp + 0x34], 0
movss xmm5, dword [0x100a3b04]
movss dword [esp + 0xb8], xmm0
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x108], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100a3b9c]
movss dword [esp + 0xb4], xmm2
movss dword [esp + 0x9c], xmm2
movss dword [esp + 0xc8], xmm0
movss dword [esp + 0x10c], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x30], xmm1
movaps xmm2, xmm0
movss xmm1, dword [edi + 4]
movss dword [esp + 0x78], xmm2
movss dword [esp + 0x88], xmm2
movaps xmm2, xmm1
movss dword [esp + 0x54], xmm2
movss dword [esp + 0x7c], xmm2
movaps xmm2, xmm7
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x4c], xmm7
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x68], xmm2
test eax, 0x8000000
je 0x1004d7f6
comiss xmm7, xmm1
xorps xmm3, xmm3
movaps xmm2, xmm1
movaps xmm4, xmm7
jbe 0x1004d74e
movss xmm3, dword [0x100a3d3c]
movaps xmm2, xmm7
movaps xmm4, xmm1
comiss xmm2, xmm0
movaps xmm7, xmm0
movss dword [esp + 0x4c], xmm7
jbe 0x1004d777
movaps xmm7, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x100a3d28]
subss xmm0, xmm3
movss dword [esp + 0x4c], 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 + 0x40]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x28]
movaps xmm0, xmm1
mulss xmm0, dword [0x100a3c38]
addss xmm0, xmm5
divss xmm2, xmm0
movaps xmm0, xmm7
addss xmm0, xmm5
addss xmm2, xmm3
divss xmm1, xmm0
andps xmm2, xmmword [0x100a4220]
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x44], xmm1
call fcn.1004bf30
movss xmm0, dword [esp + 0x28]
add esp, 8
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x20], xmm0
jmp 0x1004d842
test eax, 0x10000000
je 0x1004d842
lea eax, [esp + 0x68]
movaps xmm2, xmm7
push eax
lea edx, [esp + 0x80]
lea ecx, [esp + 0x8c]
call fcn.10014b90
movss xmm0, dword [esp + 0x8c]
add esp, 4
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x38], xmm0
mov ecx, dword [0x100ab038]
lea edx, [ecx + 0x49f0]
mov byte [esp + 9], 0
mov byte [esp + 0x1b], 0
mov byte [esp + 0xa], 0
mov eax, dword [ecx + 0x48dc]
or eax, 8
mov dword [esp + 0x3c], edx
mov dword [ecx + 0x48dc], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x50], eax
cmp dword [edx], ecx
jne 0x1004d8ae
test ecx, ecx
je 0x1004d88e
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x3c]
sar eax, 1
add eax, ecx
jmp 0x1004d893
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.1002cc00
mov edi, dword [esp + 0xb0]
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x50]
mov dword [eax + ecx*4], esi
inc dword [edx]
mov eax, dword [esp + 0xc]
test eax, 0x4000000
je 0x1004de9e
movss xmm1, dword [esp + 0x1c]
lea edx, [esp + 0xe8]
mov eax, dword [esp + 0x2c]
movaps xmm0, xmm1
push ecx
mov ecx, 0x1009ded8
movss dword [esp + 0xf0], xmm1
addss xmm0, dword [eax + 0x38fc]
addss xmm0, dword [esp + 0x5c]
movss dword [esp + 0xec], xmm0
call fcn.10042540
mov eax, dword [0x100ab038]
add esp, 4
mov ecx, dword [eax + 0x3fdc]
test ecx, ecx
je 0x1004ddaf
cmp ecx, dword [eax + 0x4908]
jne 0x1004ddaf
cmp byte [esp + 0x14], 0
jne 0x1004ddaf
mov eax, dword [esp + 0x2c]
movss xmm0, dword [eax + 0x37d4]
subss xmm0, dword [esp + 0xc4]
movss xmm1, dword [eax + 0x37d0]
subss xmm1, dword [esp + 0xc0]
movss xmm4, dword [eax + 0xe00]
movss xmm3, dword [eax + 0xe04]
subss xmm4, dword [esp + 0xc0]
subss xmm3, dword [esp + 0xc4]
movaps xmm2, xmm0
movss dword [esp + 0xcc], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x3c], xmm1
movss xmm1, dword [0x100a3bb0]
addss xmm2, xmm0
movss dword [esp + 0x14], xmm4
movss xmm0, dword [esp + 0x8c]
subss xmm0, xmm1
movss dword [esp + 0xdc], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x1004da5a
movss xmm0, dword [esp + 0xa8]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x1004da5a
cvtps2pd xmm0, xmm3
movsd qword [esp + 0xe8], xmm0
fld qword [esp + 0xe8]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0xe8], xmm0
fld qword [esp + 0xe8]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
fstp qword [esp + 0xe8]
movsd xmm1, qword [esp + 0xe8]
xorps xmm0, xmm0
cvtpd2ps xmm1, xmm1
divss xmm1, dword [0x100a3c18]
mulss xmm1, dword [0x100a3b6c]
comiss xmm0, xmm1
movss dword [esp + 0x10], xmm1
jbe 0x1004da52
addss xmm1, dword [0x100a3bb0]
movss dword [esp + 0x10], xmm1
mov cl, 1
mov byte [esp + 9], cl
jmp 0x1004da64
mov cl, byte [esp + 9]
movss xmm1, dword [esp + 0x10]
movaps xmm0, xmm1
mov byte [esp + 0x1b], cl
xorps xmm0, xmmword [0x100a4240]
addss xmm0, xmm0
mulss xmm0, dword [0x100a3c18]
cvtss2sd xmm0, xmm0
movsd qword [esp + 0xe8], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x50], xmm0
movsd xmm0, qword [esp + 0xe8]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm4, dword [esp + 0x50]
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm0
movss xmm1, dword [esp + 0xb8]
movaps xmm5, xmm4
mulss xmm5, dword [esp + 0x3c]
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xcc]
movaps xmm6, xmm4
mulss xmm6, dword [esp + 0xcc]
subss xmm5, xmm0
movss dword [esp + 0xbc], xmm3
movaps xmm0, xmm3
movss xmm7, dword [esp + 0x30]
mulss xmm0, dword [esp + 0x3c]
movaps xmm3, xmm1
subss xmm3, xmm1
movaps xmm2, xmm5
addss xmm6, xmm0
movss xmm0, dword [esp + 0xb4]
subss xmm0, dword [esp + 0xc8]
subss xmm2, xmm1
subss xmm7, dword [esp + 0xb8]
movss dword [esp + 0x50], xmm3
movss dword [esp + 0xcc], xmm0
movaps xmm1, xmm2
mulss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0xc8]
movss dword [esp + 0x6c], xmm7
mulss xmm0, xmm3
xorps xmm3, xmm3
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xb4]
comiss xmm3, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x3c], xmm0
movaps xmm0, xmm6
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0xb4]
mulss xmm0, xmm7
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x1004dda7
movss xmm2, dword [esp + 0xc8]
subss xmm6, xmm3
movss xmm7, dword [esp + 0xb8]
subss xmm2, xmm3
subss xmm7, dword [esp + 0x30]
subss xmm5, dword [esp + 0x30]
movss dword [esp + 0x80], xmm2
mulss xmm6, xmm7
mulss xmm5, xmm2
movss dword [esp + 0x70], xmm7
subss xmm5, xmm6
comiss xmm3, xmm5
seta al
cmp cl, al
jne 0x1004dda7
movss xmm1, dword [esp + 0xbc]
movaps xmm5, xmm4
mulss xmm5, dword [esp + 0x14]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x14]
mulss xmm0, dword [esp + 0xdc]
mulss xmm4, dword [esp + 0xdc]
subss xmm5, xmm0
addss xmm4, xmm1
movaps xmm1, xmm5
movss dword [esp + 0xe8], xmm5
subss xmm1, dword [esp + 0xb8]
movaps xmm0, xmm4
movss dword [esp + 0xec], xmm4
subss xmm0, dword [esp + 0xc8]
mulss xmm1, dword [esp + 0xcc]
mulss xmm0, dword [esp + 0x50]
subss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xb4]
comiss xmm3, xmm1
mulss xmm0, dword [esp + 0x6c]
movaps xmm1, xmm5
subss xmm1, dword [esp + 0xb8]
seta cl
mulss xmm1, dword [esp + 0x3c]
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x1004dcbb
movaps xmm1, xmm5
movaps xmm0, xmm4
subss xmm1, dword [esp + 0x30]
subss xmm0, xmm3
mulss xmm1, xmm2
mulss xmm0, xmm7
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp cl, al
je 0x1004dcf8
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x10c]
push eax
lea eax, [esp + 0xa0]
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0xe8]
call fcn.10014080
movss xmm7, dword [esp + 0x7c]
add esp, 0xc
xorps xmm3, xmm3
movss xmm5, dword [eax]
movss xmm4, dword [eax + 4]
movss xmm2, dword [esp + 0xb4]
subss xmm4, xmm3
subss xmm5, dword [esp + 0x30]
subss xmm2, xmm3
movaps xmm1, xmm7
mulss xmm1, dword [esp + 0x80]
movaps xmm0, xmm7
mulss xmm4, xmm7
mulss xmm0, xmm2
movss xmm3, dword [0x100a3bb0]
movaps xmm6, xmm3
subss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x80]
mulss xmm5, xmm2
subss xmm0, xmm4
movss xmm2, dword [0x100a3b18]
movss dword [esp + 0x20], xmm2
subss xmm4, xmm5
divss xmm0, xmm1
divss xmm4, xmm1
subss xmm6, xmm0
comiss xmm2, xmm6
movaps xmm1, xmm6
subss xmm1, xmm4
jbe 0x1004dd78
movaps xmm0, xmm2
jmp 0x1004dd7f
movaps xmm0, xmm3
minss xmm0, xmm6
divss xmm1, xmm0
movss dword [esp + 0x4c], xmm0
comiss xmm2, xmm1
ja 0x1004dd9b
movaps xmm2, xmm3
minss xmm2, xmm1
movss dword [esp + 0x20], xmm2
mov byte [esp + 0xa], 1
mov byte [esp + 9], 1
jmp 0x1004ddaf
mov al, byte [esp + 9]
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0xc]
test al, 8
jne 0x1004ddbc
call fcn.10025a50
movss xmm3, dword [esp + 0x1c]
movss xmm4, dword [esp + 0x24]
cmp dword [esp + 0xd8], 0x10000
mov esi, dword [esp + 0x64]
jne 0x1004e153
mov ecx, dword [0x100ab038]
lea edx, [esp + 0x98]
movss xmm0, dword [esp + 0xd4]
push ecx
movss dword [esp + 0xa0], xmm3
mov eax, dword [ecx + 0x3f8c]
mov byte [eax + 0xb0], 1
mov eax, dword [ecx + 0x3f8c]
mov ecx, str.alpha
movss dword [eax + 0xf8], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [eax + 0xfc], xmm4
mov byte [eax + 0x139], 1
movss dword [esp + 0x9c], xmm0
call fcn.10042540
mov eax, dword [0x100ab038]
add esp, 4
mov ecx, dword [eax + 0x3fdc]
test ecx, ecx
je 0x1004e153
cmp ecx, dword [eax + 0x4908]
jne 0x1004e153
mov eax, dword [esp + 0x2c]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x1c]
movss xmm1, dword [0x100a3bb0]
subss xmm0, xmm1
movss xmm3, dword [eax + 0xe04]
subss xmm3, dword [esp + 0x24]
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x1004e13b
xorps xmm4, xmm4
jmp 0x1004e142
test eax, 0x2000000
je 0x1004ddbc
movss xmm0, dword [esp + 0x1c]
lea edx, [esp + 0x98]
push ecx
mov ecx, 0x1009dedc
movss dword [esp + 0x9c], xmm0
movss dword [esp + 0xa0], xmm0
call fcn.10042540
mov ecx, dword [0x100ab038]
add esp, 4
mov eax, dword [ecx + 0x3fdc]
test eax, eax
je 0x1004e022
cmp eax, dword [ecx + 0x4908]
jne 0x1004e022
cmp byte [esp + 0x14], 0
jne 0x1004e022
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x1c]
movss xmm1, dword [0x100a3bb0]
subss xmm4, xmm1
movss xmm2, dword [eax + 0xe00]
subss xmm2, dword [esp + 0x60]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x1004df39
movss dword [esp + 0x20], xmm0
jmp 0x1004df46
movaps xmm3, xmm1
minss xmm3, xmm2
movss dword [esp + 0x20], xmm3
movss xmm2, dword [eax + 0xe04]
subss xmm2, dword [esp + 0x24]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x1004df62
xorps xmm3, xmm3
jmp 0x1004df69
movaps xmm3, xmm1
minss xmm3, xmm2
mov eax, dword [ecx + 0x5c9c]
movaps xmm2, xmm1
subss xmm2, xmm3
movss dword [esp + 0x4c], xmm2
cmp eax, dword [ecx + 0x5c98]
jne 0x1004e01a
movss xmm3, dword [edi]
comiss xmm0, xmm3
movss xmm4, dword [edi + 4]
movss xmm5, dword [edi + 8]
jbe 0x1004dfa0
xorps xmm2, xmm2
jmp 0x1004dfa7
movaps xmm2, xmm1
minss xmm2, xmm3
comiss xmm0, xmm4
movss xmm6, dword [0x100a3cd0]
movss xmm3, dword [0x100a3b6c]
mulss xmm2, xmm6
addss xmm2, xmm3
cvttss2si edx, xmm2
jbe 0x1004dfcd
xorps xmm2, xmm2
jmp 0x1004dfd4
movaps xmm2, xmm1
minss xmm2, xmm4
mulss xmm2, xmm6
addss xmm2, xmm3
cvttss2si eax, xmm2
shl eax, 8
or edx, eax
comiss xmm0, xmm5
jbe 0x1004dfef
xorps xmm1, xmm1
jmp 0x1004dff3
minss xmm1, xmm5
mulss xmm1, xmm6
addss xmm1, xmm3
cvttss2si eax, xmm1
shl eax, 0x10
or eax, edx
cmp dword [ecx + 0x5ca8], eax
jne 0x1004e01a
movss xmm0, dword [ecx + 0x5ca0]
movss dword [esp + 0x10], xmm0
mov al, 1
mov byte [esp + 9], al
jmp 0x1004e026
mov al, byte [esp + 9]
mov byte [esp + 0xa], al
mov byte [esp + 0xb], al
mov eax, dword [esp + 0xc]
test al, 8
jne 0x1004e041
call fcn.10025a50
mov ecx, dword [0x100ab038]
mov eax, dword [ecx + 0x3f8c]
lea edx, [esp + 0x98]
movss xmm0, dword [esp + 0x74]
push ecx
mov byte [eax + 0xb0], 1
mov eax, dword [ecx + 0x3f8c]
mov ecx, 0x1009dee0
movss dword [eax + 0xf8], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [eax + 0xfc], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [esp + 0x20]
mov byte [eax + 0x139], 1
movss dword [esp + 0xa0], xmm0
call fcn.10042540
mov eax, dword [0x100ab038]
add esp, 4
mov ecx, dword [eax + 0x3fdc]
test ecx, ecx
je 0x1004ddbc
mov dl, byte [esp + 9]
mov byte [esp + 0xa], dl
cmp ecx, dword [eax + 0x4908]
jne 0x1004ddbc
cmp byte [esp + 0x14], 0
movss xmm4, dword [esp + 0x24]
movss xmm3, dword [esp + 0x1c]
mov byte [esp + 0xa], dl
jne 0x1004ddc8
mov eax, dword [esp + 0x2c]
movaps xmm0, xmm3
movss xmm1, dword [0x100a3bb0]
subss xmm0, xmm1
movss xmm2, dword [eax + 0xe04]
subss xmm2, xmm4
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x1004e11e
movaps xmm0, xmm1
minss xmm0, xmm2
mov al, byte [esp + 0xb]
movss dword [esp + 0x10], xmm0
mov byte [esp + 0x1b], 1
mov byte [esp + 9], 1
mov byte [esp + 0xa], al
jmp 0x1004ddc8
movaps xmm4, xmm1
minss xmm4, xmm3
movaps xmm0, xmm1
mov byte [esp + 9], 1
subss xmm0, xmm4
movss dword [edi + 0xc], xmm0
mov edx, dword [0x100ab038]
dec dword [edx + 0x49f0]
mov eax, dword [edx + 0x49f8]
mov ecx, dword [edx + 0x49f0]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x48dc], eax
mov edx, dword [esp + 0xc]
test edx, 0x100
jne 0x1004e19e
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x38fc]
call fcn.10024400
call fcn.100246a0
mov edx, dword [esp + 0xc]
test dl, dl
js 0x1004e211
mov ecx, dword [esp + 0x90]
cmp ecx, 0xffffffff
jae 0x1004e211
nop
mov al, byte [ecx]
mov byte [esp + 0xb], al
test al, al
je 0x1004e1c9
cmp al, 0x23
jne 0x1004e1c3
cmp byte [ecx + 1], al
je 0x1004e1c9
inc ecx
cmp ecx, 0xffffffff
jb 0x1004e1b0
mov eax, dword [esp + 0x90]
mov dword [esp + 0x14], ecx
cmp eax, ecx
je 0x1004e211
test edx, 0x100
je 0x1004e1ff
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x38fc]
call fcn.10024400
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x90]
mov edx, ecx
mov ecx, eax
push 0
call fcn.10041290
mov edx, dword [esp + 0x10]
add esp, 4
test edx, 0x100
jne 0x1004e460
mov eax, dword [0x100ab038]
mov ecx, dword [eax + 0x48dc]
or ecx, 0x10
mov dword [eax + 0x48dc], ecx
add eax, 0x49f0
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x14], eax
mov ecx, dword [eax + 4]
mov dword [esp + 0x80], ecx
cmp dword [eax], ecx
jne 0x1004e28b
mov edx, dword [eax]
inc edx
mov dword [esp + 0x70], edx
test ecx, ecx
je 0x1004e271
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x70]
mov ecx, eax
mov eax, dword [esp + 0x14]
sar ecx, 1
add ecx, dword [esp + 0x80]
jmp 0x1004e276
mov ecx, 8
cmp ecx, edx
cmovg edx, ecx
mov ecx, eax
push edx
call fcn.1002cc00
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x6c]
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0x14]
inc dword [eax]
test dl, 2
je 0x1004e2ac
movss xmm1, dword [0x100a3bb0]
jmp 0x1004e2b1
movss xmm1, dword [edi + 0xc]
movss xmm0, dword [edi]
mov esi, dword [esp + 0x64]
movss dword [esp + 0x108], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x10c], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x110], xmm0
movss dword [esp + 0x114], xmm1
test dl, dl
jns 0x1004e2fc
push str.Current
call fcn.10041980
mov edx, dword [esp + 0x10]
add esp, 4
movss xmm1, dword [esp + 0x58]
lea ecx, [esp + 0x98]
movaps xmm0, xmm1
and edx, 0x180e0040
mulss xmm0, dword [0x100a3c14]
push ecx
mov dword [esp + 0x70], edx
mov ecx, str.current
push edx
movss dword [esp + 0x88], xmm0
lea edx, [esp + 0x110]
movss dword [esp + 0xa0], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x78], xmm0
movss dword [esp + 0xa4], xmm0
call fcn.1004fb80
add esp, 8
cmp dword [esp + 0x94], 0
je 0x1004e435
push str.Original
call fcn.10041980
mov eax, dword [esp + 0x10]
add esp, 4
test al, 2
mov eax, dword [esp + 0x94]
je 0x1004e390
movss xmm1, dword [0x100a3bb0]
jmp 0x1004e395
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0xe8]
movss dword [esp + 0xe8], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0xec], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x98]
movss dword [esp + 0xf0], xmm0
movss xmm0, dword [esp + 0x80]
push eax
push dword [esp + 0x70]
movss dword [esp + 0xa0], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0xfc], xmm1
movss dword [esp + 0xa4], xmm0
call fcn.1004fb80
add esp, 8
test al, al
je 0x1004e435
xor eax, eax
cmp dword [esp + 0xac], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x98]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 9], 1
mov edx, dword [0x100ab038]
dec dword [edx + 0x49f0]
mov eax, dword [edx + 0x49f8]
mov ecx, dword [edx + 0x49f0]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x48dc], eax
call fcn.10024800
mov edx, dword [esp + 0xc]
cmp byte [esp + 0x1b], 0
jne 0x1004e472
cmp byte [esp + 0xa], 0
je 0x1004e584
test edx, 0x8000000
je 0x1004e55c
movss xmm2, dword [esp + 0x4c]
lea eax, [edi + 8]
movss xmm1, dword [esp + 0x20]
lea edx, [edi + 4]
movss xmm0, dword [esp + 0x10]
mov ecx, edi
push eax
call fcn.10014b90
mov ecx, dword [esp + 0x30]
add esp, 4
movss xmm0, dword [esp + 0x10]
movss xmm1, dword [0x100a3bb0]
mov eax, dword [ecx + 0x5c98]
movss dword [ecx + 0x5ca0], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [ecx + 0x5ca4], xmm0
xorps xmm0, xmm0
mov dword [ecx + 0x5c9c], eax
movss xmm3, dword [edi]
comiss xmm0, xmm3
movss xmm4, dword [edi + 4]
movss xmm5, dword [edi + 8]
jbe 0x1004e4f0
xorps xmm2, xmm2
jmp 0x1004e4f7
movaps xmm2, xmm1
minss xmm2, xmm3
comiss xmm0, xmm4
movss xmm6, dword [0x100a3cd0]
movss xmm3, dword [0x100a3b6c]
mulss xmm2, xmm6
addss xmm2, xmm3
cvttss2si edx, xmm2
jbe 0x1004e51d
xorps xmm2, xmm2
jmp 0x1004e524
movaps xmm2, xmm1
minss xmm2, xmm4
mulss xmm2, xmm6
addss xmm2, xmm3
cvttss2si eax, xmm2
shl eax, 8
or edx, eax
comiss xmm0, xmm5
jbe 0x1004e53f
xorps xmm1, xmm1
jmp 0x1004e543
minss xmm1, xmm5
mulss xmm1, xmm6
addss xmm1, xmm3
cvttss2si eax, xmm1
shl eax, 0x10
or eax, edx
mov dword [ecx + 0x5ca8], eax
jmp 0x1004e584
test edx, 0x10000000
je 0x1004e584
movss xmm0, dword [esp + 0x10]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [edi + 8], xmm0
mov eax, dword [esp + 0xc]
mov byte [esp + 0xb], 0
test al, 0x20
jne 0x1004e7c6
cmp dword [esp + 0xd8], 0x10000
jne 0x1004e5ad
movss xmm0, dword [esp + 0xd4]
jmp 0x1004e5b3
movss xmm0, dword [esp + 0x74]
addss xmm0, dword [esp + 0x58]
subss xmm0, dword [esp + 0x60]
call fcn.100244b0
mov eax, dword [esp + 0xc]
mov ecx, eax
and ecx, 0x198e005a
mov dword [esp + 0x14], ecx
test eax, 0x100000
jne 0x1004e5e2
test eax, 0x700000
jne 0x1004e629
or ecx, 0x100004
mov edx, edi
push ecx
mov ecx, str.rgb
call fcn.1004c030
add esp, 4
test al, al
je 0x1004e621
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0x3fdc], 0
je 0x1004e617
cmp byte [eax + 0x3fe9], 0
mov byte [esp + 0xb], 1
je 0x1004e61c
mov byte [esp + 0xb], 0
mov byte [esp + 9], 1
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
test eax, 0x200000
jne 0x1004e637
test eax, 0x700000
jne 0x1004e655
or ecx, 0x200004
mov edx, edi
push ecx
mov ecx, str.hsv
call fcn.1004c030
add esp, 4
or byte [esp + 9], al
mov eax, dword [esp + 0xc]
test eax, 0x400000
jne 0x1004e663
test eax, 0x700000
jne 0x1004e680
mov eax, dword [esp + 0x14]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.1004c030
add esp, 4
or byte [esp + 9], al
cmp byte [esp + 0xb], 0
mov ecx, dword [0x100ab038]
mov eax, dword [ecx + 0x3f8c]
mov byte [eax + 0xb0], 1
mov edx, dword [ecx + 0x3f8c]
mov ecx, dword [edx + 0x1b4]
mov eax, dword [edx + 0x1bc]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1ac], eax
lea eax, [ecx - 1]
mov dword [edx + 0x1b4], eax
mov eax, dword [esp + 0xc]
je 0x1004e7c6
test eax, 0x8000000
je 0x1004e7c6
movss xmm3, dword [edi + 4]
xorps xmm2, xmm2
movss xmm5, dword [edi + 8]
xorps xmm6, xmm6
comiss xmm5, xmm3
movss xmm4, dword [edi]
jbe 0x1004e6fc
movss xmm6, dword [0x100a3d3c]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1004e719
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x100a3d28]
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 [0x100a3b04]
movaps xmm7, xmm1
mulss xmm1, dword [0x100a3c38]
divss xmm7, xmm0
addss xmm1, dword [0x100a3b04]
divss xmm3, xmm1
addss xmm3, xmm6
movss xmm6, dword [0x100a4220]
andps xmm3, xmm6
comiss xmm2, xmm3
jb 0x1004e7ce
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm2
jbe 0x1004e7ce
comiss xmm2, xmm4
jb 0x1004e79b
movss xmm1, dword [esp + 0x4c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1004e797
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x20]
mulss xmm2, dword [0x100a3b6c]
jmp 0x1004e7b1
mov eax, dword [esp + 0xc]
comiss xmm2, xmm7
jb 0x1004e7ce
movss xmm1, dword [esp + 0x20]
movaps xmm2, xmm4
mulss xmm1, dword [0x100a3b6c]
lea eax, [edi + 8]
mov ecx, edi
push eax
lea edx, [edi + 4]
call fcn.10014b90
mov eax, dword [esp + 0x10]
add esp, 4
movss xmm6, dword [0x100a4220]
cmp byte [esp + 9], 0
je 0x1004e938
test eax, 0x8000000
je 0x1004e8cc
movss xmm0, dword [edi + 4]
xorps xmm4, xmm4
movss xmm1, dword [edi + 8]
movaps xmm2, xmm0
comiss xmm1, xmm0
movss xmm7, dword [edi]
movaps xmm5, xmm1
movss dword [esp + 0x78], xmm7
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x38], xmm1
jbe 0x1004e820
movss xmm4, dword [0x100a3d3c]
movaps xmm2, xmm1
movaps xmm5, xmm0
comiss xmm2, xmm7
movaps xmm3, xmm7
movss dword [esp + 0x4c], xmm3
jbe 0x1004e849
movss xmm0, dword [0x100a3d28]
movaps xmm3, xmm2
subss xmm0, xmm4
movss dword [esp + 0x4c], xmm3
movaps xmm2, xmm7
movaps xmm4, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x10], xmm3
minss xmm0, xmm5
movaps xmm1, xmm3
subss xmm2, xmm5
mov ecx, edi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x40]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x28]
movaps xmm0, xmm1
mulss xmm0, dword [0x100a3c38]
addss xmm0, dword [0x100a3b04]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x100a3b04]
addss xmm2, xmm4
divss xmm1, xmm0
andps xmm2, xmm6
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x44], xmm1
call fcn.1004bf30
movss xmm3, dword [esp + 0x28]
add esp, 8
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x10], xmm3
movss dword [esp + 0x20], xmm0
jmp 0x1004e93e
test eax, 0x10000000
je 0x1004e938
movss xmm1, dword [edi + 8]
lea eax, [esp + 0x68]
movss xmm3, dword [edi + 4]
lea edx, [esp + 0x7c]
movss xmm0, dword [edi]
lea ecx, [esp + 0x88]
movss dword [esp + 0x4c], xmm1
movaps xmm2, xmm1
push eax
movaps xmm1, xmm3
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x24], xmm3
call fcn.10014b90
movss xmm0, dword [esp + 0x8c]
add esp, 4
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x38], xmm0
movss xmm3, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm2, dword [eax + 0x38a8]
comiss xmm0, xmm2
movss xmm0, dword [0x100a3bb0]
jbe 0x1004e95f
xorps xmm1, xmm1
jmp 0x1004e966
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x100a3cd0]
mov dword [esp + 0x98], 0x3f800000
movss dword [esp + 0xa4], xmm2
movaps xmm2, xmm0
mov dword [esp + 0x9c], 0x3f800000
addss xmm1, dword [0x100a3b6c]
mov dword [esp + 0xa0], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x50], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x68], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x108], ecx
or eax, 0x808080
mov dword [esp + 0x120], ecx
mov dword [esp + 0x7c], eax
lea ecx, [esp + 0x98]
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x10c], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x110], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x114], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0x118], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0x9c]
mov dword [esp + 0x11c], eax
lea eax, [esp + 0xa0]
push eax
call fcn.10014b90
movss xmm3, dword [esp + 0x9c]
xorps xmm0, xmm0
movss xmm2, dword [0x100a3bb0]
add esp, 4
comiss xmm0, xmm3
jbe 0x1004ea62
xorps xmm1, xmm1
jmp 0x1004ea69
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm5, dword [0x100a3cd0]
movss xmm4, dword [0x100a3b6c]
movss xmm3, dword [esp + 0x9c]
comiss xmm0, xmm3
mulss xmm1, xmm5
addss xmm1, xmm4
cvttss2si ecx, xmm1
jbe 0x1004ea98
xorps xmm1, xmm1
jmp 0x1004ea9f
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm3, dword [esp + 0xa0]
mulss xmm1, xmm5
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm3
jbe 0x1004eac3
xorps xmm1, xmm1
jmp 0x1004eaca
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm3, dword [esp + 0xa4]
mulss xmm1, xmm5
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm3
jbe 0x1004eaee
xorps xmm1, xmm1
jmp 0x1004eaf5
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm3, dword [esp + 0x78]
mulss xmm1, xmm5
addss xmm1, xmm4
cvttss2si edx, xmm1
shl edx, 0x18
or edx, ecx
comiss xmm0, xmm3
mov dword [esp + 0x3c], edx
jbe 0x1004eb1a
xorps xmm1, xmm1
jmp 0x1004eb21
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm3, dword [esp + 0x54]
comiss xmm0, xmm3
mulss xmm1, xmm5
addss xmm1, xmm4
cvttss2si ecx, xmm1
jbe 0x1004eb3d
xorps xmm1, xmm1
jmp 0x1004eb44
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm3, dword [esp + 0x38]
mulss xmm1, xmm5
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm3
jbe 0x1004eb65
xorps xmm1, xmm1
jmp 0x1004eb6c
movaps xmm1, xmm2
minss xmm1, xmm3
mulss xmm1, xmm5
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x2c]
movss xmm1, dword [eax + 0x38a8]
comiss xmm0, xmm1
ja 0x1004eb95
movaps xmm0, xmm2
minss xmm0, xmm1
mulss xmm0, xmm5
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xc]
test eax, 0x4000000
je 0x1004f3be
movss xmm0, dword [esp + 0xa8]
movaps xmm3, xmm4
movss xmm5, dword [esp + 0x8c]
mov eax, 0x2aaaaaab
divss xmm3, xmm0
cvttss2si ecx, xmm0
addss xmm5, xmm0
movss dword [esp + 0x60], xmm3
imul ecx
mulss xmm5, xmm4
mov eax, 4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movss dword [esp + 0xcc], xmm5
cmp ecx, eax
cmovle ecx, eax
xor esi, esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x74], esi
nop word [eax + eax]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mov eax, dword [esp + 0x28]
push ecx
push ecx
lea ecx, [esp + 0x100]
mov edi, dword [eax + 0x18]
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x100a3c38]
divss xmm1, dword [0x100a3c38]
addss xmm0, xmm0
movaps xmm2, xmm5
addss xmm1, xmm1
mulss xmm0, dword [0x100a3c18]
mulss xmm1, dword [0x100a3c18]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x1c], xmm0
movss dword [esp], xmm1
push ecx
mov ecx, eax
movss dword [esp + 0x44], xmm1
call fcn.10036f80
movss xmm0, dword [esp + 0x5c]
mov eax, dword [esp + 0x28]
push ecx
movss dword [esp], xmm0
mov ecx, eax
push 0
push dword [esp + 0x70]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10035aa0
movss xmm0, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
cvtps2pd xmm0, xmm0
mov dword [eax + 0x54], 0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x14]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x8c]
addss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x90], 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 + 0x8c]
addss xmm0, dword [esp + 0xc4]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [esp + 0x38]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x38]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x8c]
addss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x14], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm2, dword [esp + 0x14]
subss xmm2, dword [esp + 0x90]
cvtsd2ss xmm0, xmm0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + esi*4 + 0x108]
movss dword [esp + 0x14], xmm2
mulss xmm0, dword [esp + 0x8c]
mov edx, dword [eax + 0x20]
addss xmm0, dword [esp + 0xc4]
subss xmm0, dword [esp + 0x94]
movaps xmm1, xmm0
movss dword [esp + 0xdc], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
movss xmm2, dword [0x100a3bb0]
addss xmm1, xmm0
movaps xmm0, xmm2
divss xmm0, xmm1
movss dword [esp + 0xbc], xmm0
mov eax, dword [eax + 0x18]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [esp + 0x80], eax
movzx eax, cl
mov dword [esp + 0x88], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x54], eax
shr ecx, 0x10
movzx eax, cl
mov ecx, dword [esp + esi*4 + 0x10c]
mov dword [esp + 0x38], eax
movzx eax, cl
sub eax, dword [esp + 0x88]
mov dword [esp + 0x6c], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x54]
shr ecx, 0x10
mov dword [esp + 0x70], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0x80]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x38]
cmp edx, edi
jae 0x1004ef27
movd xmm4, dword [esp + 0x38]
movd xmm5, dword [esp + 0x70]
movd xmm6, dword [esp + 0x54]
movd xmm7, dword [esp + 0x6c]
mov esi, dword [esp + 0x88]
movd xmm3, ecx
cvtdq2ps xmm3, xmm3
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm5, xmm5
cvtdq2ps xmm6, xmm6
cvtdq2ps xmm7, xmm7
nop dword [eax + eax]
movss xmm0, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm1, dword [esp + 0x94]
subss xmm0, dword [esp + 0x90]
mulss xmm1, dword [esp + 0xdc]
mulss xmm0, dword [esp + 0x14]
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [esp + 0xbc]
comiss xmm0, xmm1
jbe 0x1004eec4
xorps xmm2, xmm2
jmp 0x1004eec8
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 [0x100a3bb0]
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 0x1004ee80
mov esi, dword [esp + 0x74]
movss xmm5, dword [esp + 0xcc]
inc esi
movss xmm3, dword [esp + 0x60]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x74], esi
cmp esi, 6
jl 0x1004ec30
movss xmm0, dword [esp + 0x10]
mulss xmm0, dword [0x100a3be8]
mulss xmm0, dword [0x100a3c18]
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 + 0x54], xmm0
cvtps2pd xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0x1b], 0
xorps xmm2, xmm2
movss xmm3, dword [esp + 0x8c]
addss xmm3, dword [esp + 0xa8]
cvtsd2ss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x54]
mulss xmm3, xmm2
mulss xmm0, dword [0x100a3b6c]
mulss xmm3, dword [0x100a3b6c]
addss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x80], xmm2
addss xmm3, dword [esp + 0xc4]
movss xmm2, dword [esp + 0x5c]
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm3
je 0x1004eff8
mulss xmm2, dword [0x100a3b78]
jmp 0x1004f000
mulss xmm2, dword [0x100a3b70]
mov esi, dword [esp + 0x28]
movaps xmm0, xmm2
addss xmm0, dword [0x100a3bac]
movss dword [esp + 0x38], xmm2
mov ecx, dword [esi + 0x2c]
cvttss2si eax, xmm0
cmp eax, 0x3f
ja 0x1004f02b
movzx edi, byte [eax + ecx + 0x1bc]
jmp 0x1004f091
movss xmm1, dword [ecx + 0x14]
minss xmm1, xmm2
movss xmm0, dword [0x100a3bb0]
divss xmm1, xmm2
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x100a3c18]
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm1
call fcn.1002d740
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
mov edi, eax
and edi, 0xfffffffe
cmp edi, 4
jge 0x1004f07d
mov edi, 4
jmp 0x1004f08b
cmp edi, 0x200
mov eax, 0x200
cmovg edi, eax
movss xmm2, dword [esp + 0x38]
push edi
push dword [esp + 0x40]
lea eax, [esp + 0x48]
mov ecx, esi
push eax
call fcn.10038030
movss xmm2, dword [esp + 0x38]
lea eax, [esp + 0x40]
addss xmm2, dword [0x100a3bb0]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
push dword [esp + 0x84]
push eax
call fcn.10037f70
movss xmm2, dword [esp + 0x38]
lea eax, [esp + 0x40]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
mov edi, dword [esp + 0x70]
push edi
push eax
call fcn.10037f70
movss xmm3, dword [esp + 0x54]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x80]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x30]
movaps xmm0, xmm5
mov eax, dword [0x100ab038]
mov ecx, esi
movss xmm6, dword [esp + 0xc0]
movaps xmm4, xmm3
mulss xmm0, xmm1
push 3
movss xmm7, dword [esp + 0xc8]
mulss xmm4, dword [esp + 0xbc]
push 3
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0xc0]
addss xmm2, xmm6
movss dword [esp + 0x74], xmm2
movss dword [esp + 0xd4], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x38]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xbc]
mulss xmm5, dword [esp + 0xd0]
addss xmm2, xmm7
movss dword [esp + 0xc4], xmm2
movss dword [esp + 0xd8], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xbc]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0xd0]
addss xmm0, xmm1
addss xmm4, xmm6
addss xmm3, xmm1
addss xmm2, xmm6
addss xmm0, xmm7
movss dword [esp + 0xe4], xmm4
addss xmm3, xmm7
movss dword [esp + 0x48], xmm4
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [eax + 0x3cfc]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [eax + 0x3d00]
movss dword [esp + 0x5c], xmm3
movss dword [esp + 0x4c], xmm3
movss dword [esp + 0x78], xmm0
call fcn.10035880
mov ecx, dword [esi + 0x38]
mov ax, word [esi + 0x28]
mov edx, dword [esp + 0xd0]
movss xmm0, dword [esp + 0x80]
mov word [ecx], ax
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
mov ecx, dword [esp + 0xcc]
movss xmm1, dword [esp + 0x70]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esi + 0x34]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], ecx
add dword [esi + 0x34], 0x14
mov eax, dword [esi + 0x38]
inc dword [esi + 0x28]
mov ecx, dword [esi + 0x28]
mov word [eax], cx
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esi + 0x34]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], ecx
mov eax, dword [esi + 0x38]
add dword [esi + 0x34], 0x14
inc dword [esi + 0x28]
mov ecx, dword [esi + 0x28]
mov word [eax], cx
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
mov ecx, dword [esp + 0x40]
push ecx
mov dword [eax], ecx
mov ecx, esi
mov dword [eax + 4], edx
mov eax, dword [esi + 0x34]
mov dword [esp], 0x3fc00000
push dword [esp + 0x80]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], edi
lea eax, [esp + 0x48]
add dword [esi + 0x34], 0x14
inc dword [esi + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.10037d40
movss xmm2, dword [0x100a3bb0]
xorps xmm0, xmm0
movaps xmm1, xmm2
subss xmm1, dword [esp + 0x4c]
comiss xmm0, xmm1
jbe 0x1004f325
xorps xmm4, xmm4
jmp 0x1004f32c
movaps xmm4, xmm2
minss xmm4, xmm1
movss xmm3, dword [esp + 0x20]
comiss xmm0, xmm3
jbe 0x1004f33c
xorps xmm1, xmm1
jmp 0x1004f343
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm0, dword [esp + 0x6c]
subss xmm0, dword [esp + 0xdc]
movss xmm3, dword [esp + 0x30]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0xb0]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0xdc]
subss xmm3, xmm0
mulss xmm3, xmm4
addss xmm3, xmm0
movss xmm0, dword [esp + 0xbc]
subss xmm0, dword [esp + 0x54]
movss dword [esp + 0xe8], xmm3
mulss xmm0, xmm1
movss xmm1, dword [esp + 0x34]
addss xmm0, dword [esp + 0x54]
subss xmm1, xmm0
mulss xmm1, xmm4
addss xmm1, xmm0
movss dword [esp + 0xec], xmm1
jmp 0x1004f703
test eax, 0x2000000
je 0x1004f6fb
movss xmm0, dword [esp + 0x60]
addss xmm0, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x28]
push eax
push edx
push edx
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [esp + 0x28]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x54]
push eax
movss dword [esp + 0x4c], xmm0
call fcn.10037bc0
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0xf8]
movss xmm0, dword [esp + 0x60]
addss xmm0, dword [esp + 0x1c]
push ecx
push ecx
mov ecx, dword [esp + 0x30]
push 0
push 0
push eax
movss dword [esp + 0x10c], xmm0
lea eax, [esp + 0x54]
movss xmm0, dword [esp + 0x48]
push eax
movss dword [esp + 0x114], xmm0
call fcn.10037bc0
movss xmm0, dword [esp + 0x60]
addss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0x84], xmm0
xorps xmm0, xmm0
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.10016670
movss xmm3, dword [esp + 0x30]
xorps xmm0, xmm0
movss xmm1, dword [0x100a3bb0]
add esp, 0x10
comiss xmm0, xmm3
jbe 0x1004f4ac
xorps xmm2, xmm2
jmp 0x1004f4b3
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm6, dword [esp + 0x1c]
movss xmm7, dword [esp + 0x60]
movss xmm4, dword [0x100a3b6c]
mulss xmm2, xmm6
movss xmm5, dword [0x100a3be8]
addss xmm2, xmm7
addss xmm2, xmm4
cvttss2si eax, xmm2
movaps xmm2, xmm7
addss xmm2, xmm5
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm2, xmm3
ja 0x1004f501
movaps xmm2, xmm7
addss xmm2, xmm6
subss xmm2, xmm5
minss xmm2, xmm3
movss dword [esp + 0xe8], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x4c]
comiss xmm0, xmm2
jbe 0x1004f51d
xorps xmm1, xmm1
jmp 0x1004f521
minss xmm1, xmm2
movss xmm2, dword [esp + 0x24]
mulss xmm1, xmm6
movaps xmm0, xmm2
addss xmm0, xmm5
addss xmm1, xmm2
addss xmm1, xmm4
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1004f558
movss xmm0, dword [esp + 0x34]
subss xmm0, xmm5
minss xmm0, xmm1
movss xmm3, dword [esp + 0x74]
movaps xmm1, xmm6
divss xmm1, dword [0x100a3c38]
mov esi, dword [esp + 0x28]
xor ecx, ecx
movss dword [esp + 0xec], xmm0
movaps xmm0, xmm3
addss xmm0, dword [esp + 0x58]
movss dword [esp + 0x80], xmm1
movss dword [esp + 0x98], xmm3
movss dword [esp + 0xf8], xmm0
nop dword [eax]
mov eax, dword [esp + ecx*4 + 0x10c]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0x100]
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0x104], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x110]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0xac]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0xb4], xmm0
call fcn.10037bc0
movss xmm1, dword [esp + 0x80]
mov ecx, edi
movss xmm2, dword [esp + 0x24]
cmp ecx, 6
jl 0x1004f5a0
movss xmm3, dword [esp + 0x74]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x1c]
movaps xmm1, xmm3
movss dword [esp + 0x34], xmm2
addss xmm1, dword [esp + 0x58]
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x44], xmm0
xorps xmm0, xmm0
push dword [esp + 0x44]
movss dword [esp + 0x44], xmm1
push dword [esp + 0x44]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.10016670
mov esi, dword [esp + 0x74]
movss xmm1, dword [esp + 0x68]
addss xmm1, dword [0x100a3be8]
mov ecx, dword [esp + 0x38]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x54], xmm2
addss xmm0, dword [0x100a3bb0]
movss xmm2, dword [esp + 0x84]
push dword [esp + 0x54]
subss xmm2, dword [0x100a3bb0]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x24]
mulss xmm0, dword [esp + 0x30]
push dword [esp + 0x54]
movss dword [esp + 0x48], xmm2
addss xmm0, dword [esp + 0x3c]
addss xmm0, dword [0x100a3b6c]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x44]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x38a8]
movss dword [esp + 0x4c], xmm0
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.1004d0b0
mov edi, dword [esp + 0xd0]
add esp, 0x20
movss xmm2, dword [0x100a3bb0]
cmp byte [esp + 0xa], 0
movss xmm4, dword [esp + 0x5c]
je 0x1004f71a
mulss xmm4, dword [0x100a3b70]
jmp 0x1004f722
mulss xmm4, dword [0x100a3b5c]
mov edx, dword [esp + 0x28]
movaps xmm0, xmm4
addss xmm0, dword [0x100a3bac]
movss dword [esp + 0x5c], xmm4
mov ecx, dword [edx + 0x2c]
cvttss2si eax, xmm0
cmp eax, 0x3f
ja 0x1004f74d
movzx eax, byte [eax + ecx + 0x1bc]
jmp 0x1004f7af
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 [0x100a3c18]
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm1
call fcn.1002d740
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x1004f798
mov eax, 4
jmp 0x1004f7a5
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
movss xmm4, dword [esp + 0x5c]
mov edx, dword [esp + 0x28]
test dword [esp + 0x78], 0xff000000
mov dword [esp + 0x64], eax
je 0x1004f86e
movss xmm0, dword [0x100a3b6c]
comiss xmm0, xmm4
ja 0x1004f86e
test eax, eax
jg 0x1004f7f6
push ecx
push 0x30
push 0
lea eax, [esp + 0xf4]
movaps xmm2, xmm4
push eax
mov ecx, edx
call fcn.10036b30
mov eax, dword [esp + 0x28]
dec dword [eax + 0x54]
jmp 0x1004f852
cmp eax, 3
jge 0x1004f802
mov ecx, 3
jmp 0x1004f811
mov ecx, eax
cmp eax, 0x200
mov eax, 0x200
cmovg ecx, eax
movd xmm1, ecx
lea eax, [ecx - 1]
cvtdq2ps xmm1, xmm1
push eax
push ecx
lea eax, [esp + 0xf0]
mov ecx, edx
xorps xmm3, xmm3
movaps xmm2, xmm4
movaps xmm0, xmm1
subss xmm0, dword [0x100a3bb0]
mulss xmm0, dword [0x100a3c3c]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.10036f80
mov eax, dword [esp + 0x28]
push dword [esp + 0x78]
mov ecx, eax
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10036770
mov edx, dword [esp + 0x28]
mov dword [edx + 0x54], 0
movss xmm2, dword [esp + 0x5c]
lea eax, [esp + 0xe8]
addss xmm2, dword [0x100a3bb0]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edx
push dword [esp + 0x68]
push dword [esp + 0x84]
push eax
call fcn.10037f70
movss xmm2, dword [esp + 0x5c]
lea eax, [esp + 0xe8]
push ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp], 0x3f800000
push dword [esp + 0x68]
push dword [esp + 0x70]
push eax
call fcn.10037f70
cmp dword [esp + 0xd8], 0x10000
jne 0x1004fa74
movss xmm2, dword [edi + 0xc]
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x1004f8eb
movss dword [esp + 0x50], xmm1
jmp 0x1004f8fd
movss xmm0, dword [0x100a3bb0]
minss xmm0, xmm2
movss dword [esp + 0x50], xmm0
movss xmm3, dword [esp + 0xd4]
xor edx, edx
movss xmm0, dword [esp + 0x24]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x58]
mov ecx, dword [esp + 0x28]
movss dword [esp + 0xfc], xmm0
addss xmm0, dword [esp + 0x1c]
mov dword [esp + 0x44], 0
push dword [esp + 0x44]
mov dword [esp + 0x44], 0
push dword [esp + 0x44]
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 [0x100a3b6c]
push edi
push 0
call fcn.1003c7a0
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 + 0x38]
lea eax, [esp + 0x110]
push eax
lea eax, [esp + 0x10c]
push eax
call fcn.10037bc0
push dword [esp + 0x104]
xorps xmm0, xmm0
push dword [esp + 0x104]
push dword [esp + 0x104]
push edi
call fcn.10016670
movss xmm1, dword [0x100a3bb0]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
movaps xmm0, xmm2
movss dword [esp + 0x54], xmm2
movss xmm2, dword [esp + 0xe4]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0x60]
push dword [esp + 0x54]
movss dword [esp + 0x54], xmm0
push dword [esp + 0x54]
mulss xmm1, dword [esp + 0x34]
movss dword [esp + 0x48], xmm2
movss xmm2, dword [edi + 0x38a8]
addss xmm1, dword [esp + 0x3c]
addss xmm1, dword [0x100a3b6c]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x70]
addss xmm1, dword [0x100a3be8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x4c], xmm0
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.1004d0b0
add esp, 0x20
jmp 0x1004fa78
mov edi, dword [esp + 0x2c]
call fcn.10024800
mov dl, byte [esp + 9]
test dl, dl
je 0x1004fb72
mov ecx, dword [esp + 0xb0]
lea esi, [esp + 0x124]
xor edx, edx
cmp dword [esp + 0xac], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x1004fac1
nop
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x1004faca
add esi, 4
add ecx, 4
sub edx, 4
jae 0x1004fab0
cmp edx, 0xfffffffc
je 0x1004fb70
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x1004faff
cmp edx, 0xfffffffd
je 0x1004fb70
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x1004faff
cmp edx, 0xfffffffe
je 0x1004fb70
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x1004faff
cmp edx, 0xffffffff
je 0x1004fb70
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x1004fb70
mov ecx, dword [edi + 0x4908]
mov eax, dword [0x100ab038]
test ecx, ecx
je 0x1004fb36
cmp word [eax + 0x5d1e], 0
jg 0x1004fb36
mov edx, dword [eax + 0x3fdc]
cmp edx, ecx
je 0x1004fb26
test edx, edx
jne 0x1004fb2f
mov word [eax + 0x3fec], 0x101
or dword [eax + 0x4910], 4
mov dl, byte [esp + 9]
cmp dword [esp + 0xe4], 0
jne 0x1004fb4e
mov dword [edi + 0x5c98], 0
mov ecx, dword [eax + 0x3f8c]
mov al, dl
pop edi
pop esi
dec dword [ecx + 0xec]
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.10075ccd
mov esp, ebp
pop ebp
ret
xor dl, dl
mov eax, dword [0x100ab038]
jmp 0x1004fb3a