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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x138
mov eax, dword [0x100c83c0]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x44], ecx
mov ecx, dword [0x101423a0]
mov dword [esp + 0xa8], eax
push esi
push edi
mov eax, dword [ecx + 0x3f14]
mov edi, edx
mov dword [esp + 0xcc], edi
mov dword [esp + 0x30], ecx
mov byte [eax + 0xc5], 1
mov edx, dword [ecx + 0x3f14]
mov dword [esp + 0xc4], edx
cmp byte [edx + 0xc8], 0
je 0x1004b966
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.100acd72
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x3fac], 1
mov eax, dword [edx + 0x288]
mov dword [esp + 0x24], eax
je 0x1004b983
movss xmm1, dword [ecx + 0x3fb0]
jmp 0x1004b98b
movss xmm1, dword [edx + 0x1bc]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1004b9cd
cmp dword [edx + 0x1ac], 0
movss xmm0, dword [edx + 0x244]
jne 0x1004b9ad
cmp dword [ecx + 0x4340], 0
je 0x1004b9b5
movss xmm0, dword [edx + 0x214]
subss xmm0, dword [edx + 0x108]
addss xmm0, xmm1
movss xmm1, dword [0x100c43b0]
maxss xmm1, xmm0
lea eax, [edx + 0xfc]
mov dword [ecx + 0x3fac], 0
mov ecx, dword [eax]
xor edx, edx
mov dword [esp + 0x8c], eax
mov eax, dword [eax + 8]
cvttss2si esi, xmm1
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x50]
call fcn.100092e0
mov ecx, dword [esp + 0x34]
add esp, 4
mov dword [esp + 0x54], eax
cmp dword [ecx + 0x3f38], eax
jne 0x1004ba27
push ecx
push dword [esp + 0x50]
mov edx, 0xb
mov ecx, eax
call fcn.10028fd0
mov eax, dword [esp + 0x5c]
add esp, 8
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x54]
push eax
call fcn.100291d0
call fcn.10018590
mov ecx, dword [ebp + 8]
mov edx, ecx
or edx, 0x10
test ecx, 0x100
cmovne edx, ecx
mov dword [esp + 0x54], edx
test dl, 8
jne 0x1004ba66
mov ecx, edi
call fcn.1004f8c0
mov edx, dword [esp + 0x54]
test edx, 0x6000000
jne 0x1004ba8f
mov eax, dword [esp + 0x30]
mov ecx, 0xa900000
mov eax, dword [eax + 0x52a0]
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x1004ba91
mov ecx, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
test ecx, 0x18000000
jne 0x1004bac8
mov eax, dword [edx + 0x52a0]
mov edi, 0xa900000
test eax, 0x18000000
cmovne edi, eax
mov eax, edi
mov edi, dword [esp + 0xcc]
and eax, 0x18000000
or ecx, eax
mov dword [esp + 0x18], ecx
test cl, 8
jne 0x1004bade
mov eax, dword [edx + 0x52a0]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x18], ecx
mov eax, ecx
movss xmm2, dword [edx + 0x38a8]
and eax, 2
and ecx, 0x10002
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x8c], ecx
movss xmm3, dword [eax + 0x108]
movss xmm0, dword [eax + 0x10c]
mov eax, dword [0x101423a0]
movss dword [esp + 0x40], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x3c], xmm3
movss xmm4, dword [eax + 0x3894]
addss xmm4, xmm4
addss xmm4, dword [eax + 0x3ca8]
xor eax, eax
cmp ecx, 0x10000
sete al
inc eax
addss xmm0, xmm4
movss dword [esp + 0x50], xmm4
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0x54], eax
sete al
mulss xmm1, xmm0
lea eax, [eax*4 + 0xc]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push 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 + 0x38], xmm1
addss xmm0, xmm2
movss dword [esp + 0xe0], xmm0
addss xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0xdc], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x100c4350]
cvttss2si esi, xmm0
mov dword [esp + 0xc8], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm2, dword [esp + 0x38]
add esp, 0xc
movaps xmm4, xmm2
mov dword [esp + 0x104], 0
mulss xmm4, dword [0x100c4368]
movaps xmm1, xmm2
mulss xmm1, dword [0x100c4338]
movaps xmm0, xmm4
movss dword [esp + 0x48], xmm4
addss xmm0, dword [esp + 0x40]
movss dword [esp + 0xa4], xmm1
movaps xmm3, xmm4
subss xmm3, xmm1
movaps xmm1, xmm2
addss xmm1, dword [esp + 0x50]
movss dword [esp + 0xac], xmm0
movss dword [esp + 0x94], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x100c432c]
mulss xmm1, dword [0x100c4368]
cvttss2si eax, xmm0
addss xmm1, dword [esp + 0x3c]
movss dword [esp + 0xa0], xmm3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc8], xmm1
movss dword [esp + 0x90], xmm1
movaps xmm1, xmm3
subss xmm1, xmm0
movss dword [esp + 0x100], xmm1
movss xmm3, dword [edi + 4]
movaps xmm0, xmm1
mulss xmm0, dword [0x100c44f4]
movaps xmm2, xmm1
mov eax, dword [esp + 0x18]
mulss xmm2, dword [0x100c44e8]
movss xmm7, dword [0x100c4420]
movss xmm6, dword [0x100c4304]
movss dword [esp + 0x80], xmm0
movss dword [esp + 0x6c], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100c439c]
movss xmm1, dword [edi + 8]
movss dword [esp + 0xa8], xmm2
movss dword [esp + 0x68], xmm2
movss dword [esp + 0x118], xmm2
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x11c], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x20], xmm0
movaps xmm2, xmm0
movss dword [esp + 0x64], xmm2
movss dword [esp + 0xb8], xmm2
movaps xmm2, xmm3
movss dword [esp + 0x88], xmm2
movss dword [esp + 0xb4], xmm2
movaps xmm2, xmm1
movss dword [esp + 0x28], xmm3
movss dword [esp + 0x44], xmm1
movss dword [esp + 0x7c], xmm2
movss dword [esp + 0x84], xmm2
movss dword [esp + 0xc4], xmm7
test eax, 0x8000000
je 0x1004be19
comiss xmm1, xmm3
xorps xmm4, xmm4
movaps xmm2, xmm3
movaps xmm5, xmm1
jbe 0x1004bd75
movss xmm4, dword [0x100c44f8]
movaps xmm2, xmm1
movaps xmm5, xmm3
comiss xmm2, xmm0
movaps xmm3, xmm0
movss dword [esp + 0x44], xmm3
jbe 0x1004bd9e
movaps xmm3, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x100c44e4]
subss xmm0, xmm4
movss dword [esp + 0x44], xmm3
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 + 0x10]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x30]
movaps xmm0, xmm1
mulss xmm0, xmm7
addss xmm0, xmm6
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, xmm6
addss xmm2, xmm4
divss xmm1, xmm0
andps xmm2, xmmword [0x100c4630]
movss dword [esp + 0x30], xmm2
movss dword [esp + 0x14], xmm1
call fcn.1004a3e0
movss xmm0, dword [esp + 0x30]
add esp, 8
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0xc]
movss dword [esp + 0x28], xmm0
jmp 0x1004be74
test eax, 0x10000000
je 0x1004be74
lea eax, [esp + 0x84]
movaps xmm2, xmm1
push eax
lea edx, [esp + 0xb8]
movaps xmm1, xmm3
lea ecx, [esp + 0xbc]
call fcn.10009900
movss xmm0, dword [esp + 0xbc]
add esp, 4
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x84]
movss dword [esp + 0x7c], xmm0
mov ecx, dword [0x101423a0]
mov byte [esp + 0xa], 0
mov byte [esp + 0x1f], 0
mov byte [esp + 0x17], 0
mov eax, dword [ecx + 0x3fa8]
or eax, 8
mov dword [ecx + 0x3fa8], eax
add ecx, 0x40b4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
call fcn.100291d0
mov eax, dword [esp + 0x18]
test eax, 0x4000000
je 0x1004c45b
movss xmm1, dword [esp + 0x2c]
lea edx, [esp + 0x108]
mov eax, dword [esp + 0x30]
movaps xmm0, xmm1
push ecx
mov ecx, 0x100c405c
movss dword [esp + 0x110], xmm1
addss xmm0, dword [eax + 0x38a8]
addss xmm0, dword [esp + 0x54]
movss dword [esp + 0x10c], xmm0
call fcn.100401f0
mov ecx, dword [0x101423a0]
add esp, 4
mov dword [esp + 0xc], ecx
mov eax, dword [ecx + 0x3f50]
test eax, eax
je 0x1004c3c5
cmp eax, dword [ecx + 0x3fc0]
jne 0x1004c3c5
mov eax, dword [esp + 0x30]
movss xmm0, dword [eax + 0x362c]
subss xmm0, dword [esp + 0xac]
movss xmm1, dword [eax + 0x3628]
subss xmm1, dword [esp + 0xc8]
movss xmm4, dword [eax + 0xd58]
movss xmm3, dword [eax + 0xd5c]
subss xmm4, dword [esp + 0xc8]
subss xmm3, dword [esp + 0xac]
movaps xmm2, xmm0
movss dword [esp + 0xc0], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0xd8], xmm1
movss xmm1, dword [0x100c43b0]
addss xmm2, xmm0
movss dword [esp + 0xdc], xmm4
movss xmm0, dword [esp + 0xa0]
subss xmm0, xmm1
movss dword [esp + 0x5c], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x1004c048
movss xmm0, dword [esp + 0x48]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x1004c048
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x108], xmm0
fld qword [esp + 0x108]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x108], xmm0
fld qword [esp + 0x108]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm2, dword [0x100c4410]
xorps xmm0, xmm0
fstp qword [esp + 0x108]
movsd xmm1, qword [esp + 0x108]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x100c4368]
comiss xmm0, xmm1
movss dword [esp + 0x20], xmm1
jbe 0x1004c040
addss xmm1, dword [0x100c43b0]
movss dword [esp + 0x20], xmm1
mov al, 1
mov byte [esp + 0xa], al
jmp 0x1004c05a
mov al, byte [esp + 0xa]
movss xmm2, dword [0x100c4410]
movss xmm1, dword [esp + 0x20]
movaps xmm0, xmm1
mov byte [esp + 0x1f], al
xorps xmm0, xmmword [0x100c4640]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x108], 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 + 0x108]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm6, dword [esp + 0x10]
xorps xmm5, xmm5
cvtsd2ss xmm5, xmm0
movss xmm1, dword [esp + 0xa8]
movaps xmm3, xmm6
mulss xmm3, dword [esp + 0xd8]
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xc0]
movaps xmm4, xmm6
mulss xmm4, dword [esp + 0xc0]
subss xmm3, xmm0
movss dword [esp + 0x58], xmm5
movaps xmm0, xmm5
movss xmm7, dword [esp + 0x100]
mulss xmm0, dword [esp + 0xd8]
movaps xmm5, xmm1
subss xmm5, xmm1
movaps xmm2, xmm3
addss xmm4, xmm0
movss xmm0, dword [esp + 0x80]
subss xmm0, dword [esp + 0x78]
subss xmm2, xmm1
subss xmm7, dword [esp + 0xa8]
movss dword [esp + 0xd8], xmm5
movss dword [esp + 0xc0], xmm0
movaps xmm1, xmm2
mulss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0x78]
movss dword [esp + 0x34], xmm7
mulss xmm0, xmm5
xorps xmm5, xmm5
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0x80]
comiss xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x10], xmm0
movaps xmm0, xmm4
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0x80]
mulss xmm0, xmm7
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x1004c3b9
movss xmm0, dword [esp + 0x78]
subss xmm4, xmm5
subss xmm3, dword [esp + 0x100]
subss xmm0, xmm5
mulss xmm3, xmm0
movss xmm0, dword [esp + 0xa8]
subss xmm0, dword [esp + 0x100]
mulss xmm0, xmm4
subss xmm3, xmm0
comiss xmm5, xmm3
seta al
cmp cl, al
jne 0x1004c3b9
movss xmm1, dword [esp + 0x58]
movaps xmm7, xmm6
mulss xmm7, dword [esp + 0xdc]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0xdc]
mulss xmm0, dword [esp + 0x5c]
mulss xmm6, dword [esp + 0x5c]
movss xmm4, dword [esp + 0x78]
subss xmm7, xmm0
addss xmm6, xmm1
movaps xmm1, xmm7
movss dword [esp + 0x108], xmm7
subss xmm1, dword [esp + 0xa8]
movaps xmm0, xmm6
movss dword [esp + 0x10c], xmm6
subss xmm0, xmm4
mulss xmm1, dword [esp + 0xc0]
mulss xmm0, dword [esp + 0xd8]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0x80]
comiss xmm5, xmm1
mulss xmm0, dword [esp + 0x34]
movaps xmm1, xmm7
subss xmm1, dword [esp + 0xa8]
seta cl
mulss xmm1, dword [esp + 0x10]
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x1004c2c1
movss xmm1, dword [esp + 0xa8]
movaps xmm0, xmm4
subss xmm1, dword [esp + 0x100]
movaps xmm2, xmm7
subss xmm0, xmm5
subss xmm2, dword [esp + 0x100]
mulss xmm2, xmm0
movaps xmm0, xmm6
subss xmm0, xmm5
mulss xmm1, xmm0
subss xmm2, xmm1
comiss xmm5, xmm2
seta al
cmp cl, al
je 0x1004c2f8
lea eax, [esp + 0x108]
push eax
lea eax, [esp + 0x11c]
push eax
lea eax, [esp + 0x70]
push eax
lea edx, [esp + 0x10c]
lea ecx, [esp + 0xe8]
call fcn.10009000
add esp, 0xc
xorps xmm5, xmm5
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
movss xmm3, dword [esp + 0x78]
subss xmm6, xmm5
movss xmm4, dword [esp + 0x80]
subss xmm3, xmm5
movss xmm1, dword [esp + 0xa8]
subss xmm4, xmm5
subss xmm1, dword [esp + 0x100]
subss xmm7, dword [esp + 0x100]
movaps xmm2, xmm3
movaps xmm0, xmm4
mulss xmm2, xmm1
mulss xmm3, xmm7
mulss xmm6, xmm1
mulss xmm0, xmm1
subss xmm3, xmm6
mulss xmm7, xmm4
subss xmm2, xmm0
movss xmm0, dword [0x100c43b0]
movaps xmm5, xmm0
subss xmm6, xmm7
divss xmm3, xmm2
divss xmm6, xmm2
subss xmm5, xmm3
movss xmm3, dword [0x100c4318]
movss dword [esp + 0x28], xmm3
comiss xmm3, xmm5
movaps xmm2, xmm5
subss xmm2, xmm6
jbe 0x1004c38a
movaps xmm1, xmm3
jmp 0x1004c391
movaps xmm1, xmm0
minss xmm1, xmm5
divss xmm2, xmm1
movss dword [esp + 0x44], xmm1
comiss xmm3, xmm2
ja 0x1004c3ad
movaps xmm3, xmm0
minss xmm3, xmm2
movss dword [esp + 0x28], xmm3
mov byte [esp + 0x17], 1
mov byte [esp + 0xa], 1
jmp 0x1004c3c1
mov al, byte [esp + 0xa]
mov byte [esp + 0x1f], al
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
test al, 8
jne 0x1004c74a
cmp byte [ecx + 0x3697], 0
je 0x1004c74a
mov ecx, 0x20
call fcn.1000bde0
test al, al
je 0x1004c74a
mov eax, dword [esp + 0xc]
xor edx, edx
mov eax, dword [eax + 0x3f14]
mov ecx, dword [eax + 0xfc]
mov eax, dword [eax + 0x104]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.100092e0
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], ecx
cmp dword [eax + 0x3f38], ecx
jne 0x1004c442
push ecx
push str.context
mov edx, 0xb
call fcn.10028fd0
mov ecx, dword [esp + 0x3c]
add esp, 8
mov edx, 1
call fcn.100190b0
mov edx, dword [0x101423a0]
mov dword [esp + 0xc], edx
jmp 0x1004c74e
test eax, 0x2000000
je 0x1004c44c
movss xmm0, dword [esp + 0x2c]
lea edx, [esp + 0x68]
push ecx
mov ecx, 0x100c4060
movss dword [esp + 0x6c], xmm0
movss dword [esp + 0x70], xmm0
call fcn.100401f0
mov ecx, dword [0x101423a0]
add esp, 4
mov eax, dword [ecx + 0x3f50]
test eax, eax
je 0x1004c5bb
cmp eax, dword [ecx + 0x3fc0]
jne 0x1004c5bb
mov ecx, dword [esp + 0x30]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x2c]
movss xmm1, dword [0x100c43b0]
subss xmm4, xmm1
movss xmm2, dword [ecx + 0xd58]
subss xmm2, dword [esp + 0x3c]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x1004c4de
movss dword [esp + 0x28], xmm0
jmp 0x1004c4eb
movaps xmm3, xmm1
minss xmm3, xmm2
movss dword [esp + 0x28], xmm3
movss xmm2, dword [ecx + 0xd5c]
subss xmm2, dword [esp + 0x40]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x1004c507
xorps xmm3, xmm3
jmp 0x1004c50e
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 + 0x44], xmm2
movss xmm2, dword [edi]
comiss xmm0, xmm2
jbe 0x1004c533
xorps xmm3, xmm3
jmp 0x1004c53a
movaps xmm3, xmm1
minss xmm3, xmm2
comiss xmm0, xmm5
movss xmm4, dword [0x100c449c]
movss xmm2, dword [0x100c4368]
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si edx, xmm3
jbe 0x1004c560
xorps xmm3, xmm3
jmp 0x1004c567
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 0x1004c582
xorps xmm1, xmm1
jmp 0x1004c586
minss xmm1, xmm6
mulss xmm1, xmm4
addss xmm1, xmm2
cvttss2si eax, xmm1
shl eax, 0x10
or eax, edx
cmp dword [ecx + 0x52ac], eax
jne 0x1004c5ad
movss xmm0, dword [ecx + 0x52a4]
movss dword [esp + 0x20], xmm0
mov ecx, dword [0x101423a0]
mov al, 1
mov byte [esp + 0xa], al
jmp 0x1004c5bf
mov al, byte [esp + 0xa]
mov byte [esp + 0x17], al
mov byte [esp + 0xb], al
mov eax, dword [esp + 0x18]
test al, 8
jne 0x1004c644
cmp byte [ecx + 0x3697], 0
je 0x1004c644
mov ecx, 0x20
call fcn.1000bde0
test al, al
je 0x1004c644
mov eax, dword [0x101423a0]
xor edx, edx
mov eax, dword [eax + 0x3f14]
mov ecx, dword [eax + 0xfc]
mov eax, dword [eax + 0x104]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.100092e0
mov ecx, eax
add esp, 4
mov eax, dword [0x101423a0]
mov dword [esp + 0x34], ecx
cmp dword [eax + 0x3f38], ecx
jne 0x1004c63a
push ecx
push str.context
mov edx, 0xb
call fcn.10028fd0
mov ecx, dword [esp + 0x3c]
add esp, 8
mov edx, 1
call fcn.100190b0
mov ecx, dword [0x101423a0]
lea edx, [esp + 0x68]
movss xmm0, dword [esp + 0xd4]
movss xmm2, dword [esp + 0x40]
push ecx
mov eax, dword [ecx + 0x3f14]
mov byte [eax + 0xc5], 1
mov eax, dword [ecx + 0x3f14]
mov ecx, 0x100c4064
movss dword [eax + 0x108], xmm0
movss dword [eax + 0x10c], xmm2
movss xmm1, dword [eax + 0x120]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0x124]
maxss xmm0, xmm2
movss dword [eax + 0x120], xmm1
movss dword [eax + 0x124], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x70], xmm0
call fcn.100401f0
mov edx, dword [0x101423a0]
add esp, 4
mov dword [esp + 0xc], edx
mov eax, dword [edx + 0x3f50]
test eax, eax
je 0x1004c74e
mov cl, byte [esp + 0xa]
mov byte [esp + 0x17], cl
cmp eax, dword [edx + 0x3fc0]
jne 0x1004c74e
mov eax, dword [esp + 0x30]
movss xmm4, dword [esp + 0x2c]
movss xmm2, dword [esp + 0x40]
movaps xmm0, xmm4
movss xmm1, dword [0x100c43b0]
movss xmm3, dword [eax + 0xd5c]
subss xmm0, xmm1
subss xmm3, xmm2
divss xmm3, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm3
ja 0x1004c730
movaps xmm0, xmm1
minss xmm0, xmm3
mov al, byte [esp + 0xb]
movss dword [esp + 0x20], xmm0
mov byte [esp + 0x1f], 1
mov byte [esp + 0xa], 1
mov byte [esp + 0x17], al
jmp 0x1004c75a
mov edx, dword [esp + 0xc]
movss xmm2, dword [esp + 0x40]
movss xmm4, dword [esp + 0x2c]
cmp dword [esp + 0x8c], 0x10000
jne 0x1004c84c
mov eax, dword [edx + 0x3f14]
movss xmm0, dword [esp + 0xd0]
push ecx
mov ecx, str.alpha
movss dword [esp + 0x70], xmm4
mov byte [eax + 0xc5], 1
mov eax, dword [edx + 0x3f14]
lea edx, [esp + 0x6c]
movss dword [eax + 0x108], xmm0
movss dword [eax + 0x10c], xmm2
movss xmm1, dword [eax + 0x120]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0x124]
maxss xmm0, xmm2
movss dword [eax + 0x120], xmm1
movss dword [eax + 0x124], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0x6c], xmm0
call fcn.100401f0
mov edx, dword [0x101423a0]
add esp, 4
mov dword [esp + 0xc], edx
mov eax, dword [edx + 0x3f50]
test eax, eax
je 0x1004c84c
cmp eax, dword [edx + 0x3fc0]
jne 0x1004c84c
mov eax, dword [esp + 0x30]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x2c]
movss xmm1, dword [0x100c43b0]
subss xmm0, xmm1
movss xmm3, dword [eax + 0xd5c]
subss xmm3, dword [esp + 0x40]
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x1004c834
xorps xmm4, xmm4
jmp 0x1004c83b
movaps xmm4, xmm1
minss xmm4, xmm3
movaps xmm0, xmm1
mov byte [esp + 0xa], 1
subss xmm0, xmm4
movss dword [edi + 0xc], xmm0
dec dword [edx + 0x40b4]
mov eax, dword [edx + 0x40bc]
mov ecx, dword [edx + 0x40b4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x3fa8], eax
mov eax, dword [esp + 0x18]
test eax, 0x100
jne 0x1004c89a
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x38a8]
call fcn.100183f0
call fcn.10018590
mov edx, dword [0x101423a0]
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], edx
test al, al
js 0x1004c916
mov ecx, dword [esp + 0x4c]
cmp ecx, 0xffffffff
jae 0x1004c916
mov esi, ecx
nop dword [eax]
mov cl, byte [esi]
mov byte [esp + 0xb], cl
test cl, cl
je 0x1004c8ca
cmp cl, 0x23
jne 0x1004c8c4
cmp byte [esi + 1], cl
je 0x1004c8ca
inc esi
cmp esi, 0xffffffff
jb 0x1004c8b0
cmp dword [esp + 0x4c], esi
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0xbc]
je 0x1004c916
test eax, 0x100
je 0x1004c8f6
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x38a8]
call fcn.100183f0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x4c]
push 0
call fcn.1003ee40
mov edx, dword [0x101423a0]
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], edx
test eax, 0x100
jne 0x1004caf3
mov eax, dword [edx + 0x3fa8]
lea ecx, [edx + 0x40b4]
or eax, 0x10
mov dword [esp + 0x34], eax
mov dword [edx + 0x3fa8], eax
lea eax, [esp + 0x34]
push eax
call fcn.100291d0
mov eax, dword [esp + 0x18]
test al, 2
je 0x1004c956
movss xmm1, dword [0x100c43b0]
jmp 0x1004c95b
movss xmm1, dword [edi + 0xc]
movss xmm0, dword [edi]
movss dword [esp + 0x118], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x11c], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x120], xmm0
movss dword [esp + 0x124], xmm1
test al, al
jns 0x1004c9a2
push str.Current
call fcn.1003f510
mov eax, dword [esp + 0x1c]
add esp, 4
movss xmm1, dword [esp + 0x50]
lea ecx, [esp + 0x68]
movaps xmm0, xmm1
lea edx, [esp + 0x118]
mulss xmm0, dword [0x100c4408]
and eax, 0x180e0040
push ecx
push eax
mov ecx, str.current
mov dword [esp + 0x60], eax
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x70], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x64], xmm0
movss dword [esp + 0x74], xmm0
call fcn.1004e760
add esp, 8
cmp dword [esp + 0xb0], 0
je 0x1004cabf
push str.Original
call fcn.1003f510
mov eax, dword [esp + 0x1c]
add esp, 4
test al, 2
mov eax, dword [esp + 0xb0]
je 0x1004ca29
movss xmm1, dword [0x100c43b0]
jmp 0x1004ca2e
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0x108]
movss dword [esp + 0x108], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0x10c], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x68]
movss dword [esp + 0x110], xmm0
movss xmm0, dword [esp + 0x34]
push eax
push dword [esp + 0x5c]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0x11c], xmm1
movss dword [esp + 0x74], xmm0
call fcn.1004e760
add esp, 8
test al, al
je 0x1004cabf
xor eax, eax
cmp dword [esp + 0x54], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0xb4]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xa], 1
mov edx, dword [0x101423a0]
dec dword [edx + 0x40b4]
mov eax, dword [edx + 0x40bc]
mov ecx, dword [edx + 0x40b4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x3fa8], eax
call fcn.100186c0
mov eax, dword [0x101423a0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
cmp byte [esp + 0x1f], 0
jne 0x1004cb05
cmp byte [esp + 0x17], 0
je 0x1004cc09
test eax, 0x8000000
je 0x1004cbe2
movss xmm2, dword [esp + 0x44]
lea eax, [edi + 8]
movss xmm1, dword [esp + 0x28]
lea edx, [edi + 4]
movss xmm0, dword [esp + 0x20]
mov ecx, edi
push eax
call fcn.10009900
mov ecx, dword [esp + 0x34]
add esp, 4
movss xmm0, dword [esp + 0x20]
movss xmm1, dword [0x100c43b0]
movss dword [ecx + 0x52a4], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [ecx + 0x52a8], xmm0
xorps xmm0, xmm0
movss xmm2, dword [edi]
comiss xmm0, xmm2
movss xmm5, dword [edi + 4]
movss xmm6, dword [edi + 8]
jbe 0x1004cb76
xorps xmm3, xmm3
jmp 0x1004cb7d
movaps xmm3, xmm1
minss xmm3, xmm2
comiss xmm0, xmm5
movss xmm4, dword [0x100c449c]
movss xmm2, dword [0x100c4368]
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si edx, xmm3
jbe 0x1004cba3
xorps xmm3, xmm3
jmp 0x1004cbaa
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 0x1004cbc5
xorps xmm1, xmm1
jmp 0x1004cbc9
minss xmm1, xmm6
mulss xmm1, xmm4
addss xmm1, xmm2
cvttss2si eax, xmm1
shl eax, 0x10
or eax, edx
mov dword [ecx + 0x52ac], eax
jmp 0x1004cc09
test eax, 0x10000000
je 0x1004cc09
movss xmm0, dword [esp + 0x20]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [edi + 8], xmm0
mov eax, dword [esp + 0x18]
mov byte [esp + 0xb], 0
test al, 0x20
jne 0x1004cea5
cmp dword [esp + 0x8c], 0x10000
jne 0x1004cc32
movss xmm0, dword [esp + 0xd0]
jmp 0x1004cc3b
movss xmm0, dword [esp + 0xd4]
mov eax, dword [esp + 0xc]
addss xmm0, dword [esp + 0x50]
mov eax, dword [eax + 0x3f14]
mov dword [esp + 0x5c], eax
subss xmm0, dword [esp + 0x3c]
lea ecx, [eax + 0x1bc]
mov dword [esp + 0x58], ecx
push ecx
lea ecx, [eax + 0x1c4]
movss dword [esp + 0x38], xmm0
call fcn.100291d0
movss xmm0, dword [esp + 0x34]
ucomiss xmm0, dword [0x100c42f4]
lahf
test ah, 0x44
jp 0x1004cc90
mov eax, dword [esp + 0x5c]
movss xmm0, dword [eax + 0x260]
mov eax, dword [esp + 0x58]
movss dword [eax], xmm0
mov eax, dword [esp + 0xc]
and dword [eax + 0x3fac], 0xfffffffe
mov eax, dword [esp + 0x18]
mov ecx, eax
and ecx, 0x198e001a
mov dword [esp + 0x10], ecx
test eax, 0x100000
jne 0x1004ccc1
test eax, 0x700000
jne 0x1004cd08
or ecx, 0x100004
mov edx, edi
push ecx
mov ecx, str.rgb
call fcn.1004a4d0
add esp, 4
test al, al
je 0x1004cd00
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x3f50], 0
je 0x1004ccf6
cmp byte [eax + 0x3f5d], 0
mov byte [esp + 0xb], 1
je 0x1004ccfb
mov byte [esp + 0xb], 0
mov byte [esp + 0xa], 1
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
test eax, 0x200000
jne 0x1004cd16
test eax, 0x700000
jne 0x1004cd34
or ecx, 0x200004
mov edx, edi
push ecx
mov ecx, str.hsv
call fcn.1004a4d0
add esp, 4
or byte [esp + 0xa], al
mov eax, dword [esp + 0x18]
test eax, 0x400000
jne 0x1004cd42
test eax, 0x700000
jne 0x1004cd5f
mov eax, dword [esp + 0x10]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.1004a4d0
add esp, 4
or byte [esp + 0xa], al
cmp byte [esp + 0xb], 0
mov ecx, dword [0x101423a0]
mov eax, dword [ecx + 0x3f14]
mov byte [eax + 0xc5], 1
mov edx, dword [ecx + 0x3f14]
mov ecx, dword [edx + 0x1c4]
mov eax, dword [edx + 0x1cc]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1bc], eax
lea eax, [ecx - 1]
mov dword [edx + 0x1c4], eax
mov eax, dword [esp + 0x18]
je 0x1004cea5
test eax, 0x8000000
je 0x1004cea5
movss xmm3, dword [edi + 4]
xorps xmm2, xmm2
movss xmm5, dword [edi + 8]
xorps xmm6, xmm6
comiss xmm5, xmm3
movss xmm4, dword [edi]
jbe 0x1004cddb
movss xmm6, dword [0x100c44f8]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1004cdf8
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x100c44e4]
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 [0x100c4304]
movaps xmm7, xmm1
mulss xmm1, dword [0x100c4420]
divss xmm7, xmm0
addss xmm1, dword [0x100c4304]
divss xmm3, xmm1
addss xmm3, xmm6
movss xmm6, dword [0x100c4630]
andps xmm3, xmm6
comiss xmm2, xmm3
jb 0x1004cead
movss xmm0, dword [esp + 0x20]
comiss xmm0, xmm2
jbe 0x1004cead
comiss xmm2, xmm4
jb 0x1004ce7a
movss xmm1, dword [esp + 0x44]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1004ce76
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x28]
mulss xmm2, dword [0x100c4368]
jmp 0x1004ce90
mov eax, dword [esp + 0x18]
comiss xmm2, xmm7
jb 0x1004cead
movss xmm1, dword [esp + 0x28]
movaps xmm2, xmm4
mulss xmm1, dword [0x100c4368]
lea eax, [edi + 8]
mov ecx, edi
push eax
lea edx, [edi + 4]
call fcn.10009900
mov eax, dword [esp + 0x1c]
add esp, 4
movss xmm6, dword [0x100c4630]
cmp byte [esp + 0xa], 0
je 0x1004d02c
test eax, 0x8000000
je 0x1004cfb1
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 + 0x64], xmm7
movss dword [esp + 0x88], xmm0
movss dword [esp + 0x7c], xmm1
jbe 0x1004cf02
movss xmm4, dword [0x100c44f8]
movaps xmm2, xmm1
movaps xmm5, xmm0
comiss xmm2, xmm7
movaps xmm3, xmm7
movss dword [esp + 0x44], xmm3
jbe 0x1004cf2b
movss xmm0, dword [0x100c44e4]
movaps xmm3, xmm2
subss xmm0, xmm4
movss dword [esp + 0x44], 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 + 0x10]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x30]
movaps xmm0, xmm1
mulss xmm0, dword [0x100c4420]
addss xmm0, dword [0x100c4304]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x100c4304]
addss xmm2, xmm4
divss xmm1, xmm0
andps xmm2, xmm6
movss dword [esp + 0x30], xmm2
movss dword [esp + 0x14], xmm1
call fcn.1004a3e0
movss xmm3, dword [esp + 0x30]
add esp, 8
movss xmm0, dword [esp + 0xc]
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x28], xmm0
jmp 0x1004d032
test eax, 0x10000000
je 0x1004d02c
movss xmm1, dword [edi + 8]
lea eax, [esp + 0x84]
movss xmm3, dword [edi + 4]
lea edx, [esp + 0xb4]
movss xmm0, dword [edi]
lea ecx, [esp + 0xb8]
movss dword [esp + 0x44], xmm1
movaps xmm2, xmm1
push eax
movaps xmm1, xmm3
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x2c], xmm3
call fcn.10009900
movss xmm0, dword [esp + 0xbc]
add esp, 4
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x84]
movss dword [esp + 0x7c], xmm0
movss xmm3, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
movss xmm2, dword [eax + 0x3854]
comiss xmm0, xmm2
movss xmm0, dword [0x100c43b0]
jbe 0x1004d053
xorps xmm1, xmm1
jmp 0x1004d05a
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x100c449c]
mov dword [esp + 0x68], 0x3f800000
movss dword [esp + 0x74], xmm2
movaps xmm2, xmm0
mov dword [esp + 0x6c], 0x3f800000
addss xmm1, dword [0x100c4368]
mov dword [esp + 0x70], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
shl edx, 0x18
mov eax, edx
mov dword [esp + 0xb0], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0xc], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0xe4], ecx
or eax, 0x808080
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0x68]
mov eax, edx
or eax, 0xffff
mov dword [esp + 0xe8], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0xec], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0xf0], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0xf4], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0x6c]
mov dword [esp + 0xf8], eax
lea eax, [esp + 0x70]
push eax
call fcn.10009900
movss xmm0, dword [esp + 0x6c]
xorps xmm1, xmm1
movss xmm2, dword [0x100c43b0]
add esp, 4
comiss xmm1, xmm0
jbe 0x1004d141
xorps xmm3, xmm3
jmp 0x1004d148
movaps xmm3, xmm2
minss xmm3, xmm0
movss xmm5, dword [0x100c449c]
movss xmm0, dword [0x100c4368]
movss xmm4, dword [esp + 0x6c]
comiss xmm1, xmm4
mulss xmm3, xmm5
addss xmm3, xmm0
cvttss2si ecx, xmm3
jbe 0x1004d174
xorps xmm3, xmm3
jmp 0x1004d17b
movaps xmm3, xmm2
minss xmm3, xmm4
movss xmm4, dword [esp + 0x70]
mulss xmm3, xmm5
addss xmm3, xmm0
cvttss2si eax, xmm3
shl eax, 8
or ecx, eax
comiss xmm1, xmm4
jbe 0x1004d19c
xorps xmm3, xmm3
jmp 0x1004d1a3
movaps xmm3, xmm2
minss xmm3, xmm4
movss xmm4, dword [esp + 0x74]
mulss xmm3, xmm5
addss xmm3, xmm0
cvttss2si eax, xmm3
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm4
jbe 0x1004d1c4
xorps xmm3, xmm3
jmp 0x1004d1cb
movaps xmm3, xmm2
minss xmm3, xmm4
movss xmm4, dword [esp + 0x64]
mulss xmm3, xmm5
addss xmm3, xmm0
cvttss2si edx, xmm3
shl edx, 0x18
or edx, ecx
comiss xmm1, xmm4
mov dword [esp + 0x84], edx
jbe 0x1004d1f3
xorps xmm3, xmm3
jmp 0x1004d1fa
movaps xmm3, xmm2
minss xmm3, xmm4
movss xmm4, dword [esp + 0x88]
comiss xmm1, xmm4
mulss xmm3, xmm5
addss xmm3, xmm0
cvttss2si ecx, xmm3
jbe 0x1004d219
xorps xmm3, xmm3
jmp 0x1004d220
movaps xmm3, xmm2
minss xmm3, xmm4
movss xmm4, dword [esp + 0x7c]
mulss xmm3, xmm5
addss xmm3, xmm0
cvttss2si eax, xmm3
shl eax, 8
or ecx, eax
comiss xmm1, xmm4
jbe 0x1004d241
xorps xmm3, xmm3
jmp 0x1004d248
movaps xmm3, xmm2
minss xmm3, xmm4
mulss xmm3, xmm5
addss xmm3, xmm0
cvttss2si eax, xmm3
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x30]
movss xmm4, dword [eax + 0x3854]
comiss xmm1, xmm4
jbe 0x1004d26f
xorps xmm3, xmm3
jmp 0x1004d276
movaps xmm3, xmm2
minss xmm3, xmm4
mulss xmm3, xmm5
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
addss xmm3, xmm0
cvttss2si eax, xmm3
shl eax, 0x18
or eax, ecx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x18]
test eax, 0x4000000
je 0x1004dcfc
movss xmm1, dword [esp + 0x48]
movaps xmm3, xmm0
movss xmm4, dword [esp + 0xa0]
mov eax, 0x2aaaaaab
divss xmm3, xmm1
mov esi, dword [esp + 0x24]
addss xmm4, xmm1
cvttss2si ecx, xmm1
mulss xmm4, xmm0
imul ecx
movss dword [esp + 0xc0], xmm3
movss dword [esp + 0xdc], xmm4
mov eax, 4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x7c], eax
movd xmm1, eax
lea eax, [esp + 0x90]
cvtdq2ps xmm1, xmm1
mov edi, dword [esi + 0x18]
push ecx
push ecx
mov ecx, esi
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x100c4420]
divss xmm1, dword [0x100c4420]
addss xmm0, xmm0
movaps xmm2, xmm4
addss xmm1, xmm1
mulss xmm0, dword [0x100c4410]
mulss xmm1, dword [0x100c4410]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x18], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x70], xmm1
call fcn.10033f60
movss xmm0, dword [esp + 0xa4]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0x14]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.10032ad0
movss xmm0, dword [esp + 0x10]
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 + 0x10]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xa0]
addss xmm0, dword [esp + 0xc8]
movss dword [esp + 0x5c], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xa0]
addss xmm0, dword [esp + 0xac]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x64]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x64]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xa0]
addss xmm0, dword [esp + 0xc8]
movss dword [esp + 0x34], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x34]
xorps xmm4, xmm4
movss xmm6, dword [esp + 0x58]
movss xmm5, dword [esp + 0x5c]
cvtsd2ss xmm4, xmm0
mov eax, dword [esp + 0x7c]
mov edx, dword [esi + 0x20]
movss xmm2, dword [0x100c43b0]
subss xmm3, xmm5
mulss xmm4, dword [esp + 0xa0]
mov ecx, dword [esp + eax*4 + 0xe4]
mov eax, dword [esi + 0x18]
addss xmm4, dword [esp + 0xac]
movaps xmm0, xmm3
mulss xmm0, xmm3
lea eax, [eax + eax*4]
subss xmm4, xmm6
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
movaps xmm0, xmm2
divss xmm0, xmm1
movss dword [esp + 0x58], xmm0
lea eax, [edx + eax*4]
mov dword [esp + 0x34], eax
movzx eax, cl
mov dword [esp + 0xb4], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x64], eax
shr ecx, 0x10
movzx eax, cl
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + eax*4 + 0xe8]
movzx eax, cl
sub eax, dword [esp + 0xb4]
mov dword [esp + 0x5c], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x64]
shr ecx, 0x10
mov dword [esp + 0xb8], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0x34]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x10]
cmp edx, edi
jae 0x1004d5e4
mov eax, dword [esp + 0xb8]
mov esi, dword [esp + 0x5c]
movd xmm7, ecx
mov ecx, dword [esp + 0x10]
cvtdq2ps xmm7, xmm7
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, dword [esp + 0x58]
comiss xmm0, xmm1
jbe 0x1004d553
xorps xmm2, xmm2
jmp 0x1004d557
minss xmm2, xmm1
movd xmm1, ecx
movaps xmm0, xmm2
mulss xmm0, xmm7
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvttss2si ecx, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm1
shl ecx, 8
movd xmm1, dword [esp + 0x64]
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
or ecx, eax
shl ecx, 8
mulss xmm2, xmm0
movd xmm0, dword [esp + 0xb4]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [0x100c43b0]
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov eax, dword [esp + 0xb8]
mov dword [edx + 0x10], ecx
add edx, 0x14
mov ecx, dword [esp + 0x10]
cmp edx, edi
jb 0x1004d523
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x7c]
movss xmm4, dword [esp + 0xdc]
inc eax
movss xmm3, dword [esp + 0xc0]
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x7c], eax
cmp eax, 6
jl 0x1004d312
movss xmm0, dword [esp + 0x20]
mulss xmm0, dword [0x100c43e8]
mulss xmm0, dword [0x100c4410]
movss dword [esp + 0x20], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm3, dword [esp + 0x20]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
cvtps2pd xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0x1f], 0
xorps xmm1, xmm1
movss xmm2, dword [esp + 0xa0]
addss xmm2, dword [esp + 0x48]
movss xmm4, dword [0x100c4368]
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x10]
mulss xmm0, xmm2
movss xmm7, dword [esp + 0xa4]
movss dword [esp + 0x34], xmm1
mulss xmm0, xmm4
addss xmm0, dword [esp + 0xc8]
movss dword [esp + 0x5c], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, dword [esp + 0xac]
movss dword [esp + 0x60], xmm0
je 0x1004d6c0
mulss xmm7, dword [0x100c4374]
jmp 0x1004d6c8
mulss xmm7, dword [0x100c436c]
movaps xmm0, xmm7
movss dword [esp + 0xa4], xmm7
divss xmm0, dword [0x100c43d0]
cvttss2si eax, xmm0
cmp eax, 9
jge 0x1004d6ec
mov eax, 9
jmp 0x1004d6f7
cmp eax, 0x20
mov ecx, 0x20
cmovg eax, ecx
test dword [esp + 0x84], 0xff000000
mov edx, 0x200
movss xmm6, dword [0x100c4424]
xorps xmm2, xmm2
mov esi, dword [esp + 0xbc]
mov dword [esp + 0x48], eax
je 0x1004d7db
comiss xmm2, xmm7
jae 0x1004d7db
test eax, eax
jg 0x1004d74d
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x5c]
push ecx
push 0x30
push 0
push eax
movaps xmm2, xmm7
mov ecx, edi
call fcn.10033b90
dec dword [edi + 0x54]
jmp 0x1004d79d
cmp eax, 3
jge 0x1004d759
mov ecx, 3
jmp 0x1004d763
cmp eax, 0x200
mov ecx, eax
cmovg ecx, edx
movd xmm1, ecx
lea eax, [ecx - 1]
cvtdq2ps xmm1, xmm1
mov edi, dword [esp + 0x24]
push eax
lea eax, [esp + 0x60]
push ecx
xorps xmm3, xmm3
movaps xmm2, xmm7
movaps xmm0, xmm1
mov ecx, edi
subss xmm0, dword [0x100c43b0]
mulss xmm0, xmm6
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.10033f60
push dword [esp + 0x84]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.100337b0
movss xmm4, dword [0x100c4368]
xorps xmm2, xmm2
movss xmm6, dword [0x100c4424]
mov edx, 0x200
movss xmm7, dword [esp + 0xa4]
mov dword [edi + 0x54], 0
jmp 0x1004d7df
mov edi, dword [esp + 0x24]
test dword [esp + 0x4c], 0xff000000
movaps xmm5, xmm7
movss xmm3, dword [0x100c43b0]
addss xmm5, xmm3
je 0x1004d8a9
comiss xmm2, xmm5
jae 0x1004d8a9
mov eax, dword [esp + 0x48]
test eax, eax
jg 0x1004d82a
push ecx
subss xmm5, xmm4
mov ecx, edi
push 0x30
push 0
lea eax, [esp + 0x68]
push eax
movaps xmm2, xmm5
call fcn.10033b90
dec dword [edi + 0x54]
jmp 0x1004d876
cmp eax, 3
jge 0x1004d836
mov ecx, 3
jmp 0x1004d840
cmp eax, 0x200
mov ecx, eax
cmovg ecx, edx
movd xmm1, ecx
lea eax, [ecx - 1]
cvtdq2ps xmm1, xmm1
push eax
push ecx
mov ecx, edi
lea eax, [esp + 0x64]
subss xmm5, xmm4
movaps xmm0, xmm1
subss xmm0, xmm3
xorps xmm3, xmm3
movaps xmm2, xmm5
mulss xmm0, xmm6
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.10033f60
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x54]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10032ad0
movss xmm3, dword [0x100c43b0]
movss xmm7, dword [esp + 0xa4]
mov dword [edi + 0x54], 0
test dword [esp + 0xc], 0xff000000
xorps xmm2, xmm2
je 0x1004d966
comiss xmm2, xmm7
jae 0x1004d966
mov eax, dword [esp + 0x48]
test eax, eax
jg 0x1004d8ec
subss xmm7, dword [0x100c4368]
push ecx
push 0x30
push 0
lea eax, [esp + 0x68]
mov ecx, edi
push eax
movaps xmm2, xmm7
call fcn.10033b90
dec dword [edi + 0x54]
jmp 0x1004d941
cmp eax, 3
jge 0x1004d8f8
mov eax, 3
jmp 0x1004d905
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
movd xmm1, eax
dec eax
cvtdq2ps xmm1, xmm1
push eax
push ecx
lea eax, [esp + 0x64]
mov ecx, edi
subss xmm7, dword [0x100c4368]
movaps xmm0, xmm1
subss xmm0, xmm3
xorps xmm3, xmm3
movaps xmm2, xmm7
mulss xmm0, dword [0x100c4424]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.10033f60
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x14]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10032ad0
mov dword [edi + 0x54], 0
xorps xmm2, xmm2
movss xmm3, dword [esp + 0x10]
mov ecx, edi
movss xmm4, dword [esp + 0x34]
movaps xmm1, xmm3
mulss xmm1, dword [esp + 0x100]
movaps xmm0, xmm4
mov eax, dword [0x101423a0]
movss xmm7, dword [esp + 0xc8]
mulss xmm0, xmm2
push 6
movss xmm6, dword [esp + 0xac]
movss xmm5, dword [esp + 0x84]
subss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm2
movaps xmm2, xmm6
push 6
mulss xmm2, xmm3
addss xmm1, xmm7
mulss xmm6, xmm4
movss dword [esp + 0xc4], xmm1
movss dword [esp + 0x70], xmm1
movaps xmm1, xmm4
mulss xmm1, dword [esp + 0x108]
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm4
mulss xmm5, xmm3
addss xmm1, dword [esp + 0xb4]
addss xmm5, xmm6
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x74], xmm1
movaps xmm1, xmm2
subss xmm1, xmm0
addss xmm5, dword [esp + 0xb4]
addss xmm1, xmm7
movss dword [esp + 0x88], xmm5
movss dword [esp + 0x10c], xmm5
movss dword [esp + 0x108], xmm1
movss xmm1, dword [esp + 0x80]
movaps xmm0, xmm1
mulss xmm1, xmm3
mulss xmm0, xmm4
addss xmm1, xmm6
subss xmm2, xmm0
movss xmm0, dword [eax + 0x3cb0]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [eax + 0x3cb4]
addss xmm1, dword [esp + 0xb4]
movss dword [esp + 0x64], xmm0
addss xmm2, xmm7
movss dword [esp + 0x80], xmm1
movss dword [esp + 0x9c], xmm1
movss dword [esp + 0x50], xmm2
movss dword [esp + 0x98], xmm2
call fcn.100328b0
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
movss xmm2, dword [esp + 0xbc]
movss xmm3, dword [esp + 0x10]
movss xmm0, dword [esp + 0x34]
movss xmm1, dword [esp + 0x5c]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov edx, dword [esp + 0x84]
movss xmm4, dword [esp + 0x100]
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], edx
mov eax, dword [edi + 0x38]
inc dword [edi + 0x28]
add dword [edi + 0x34], 0x14
mov ecx, dword [edi + 0x28]
mov word [eax], cx
add dword [edi + 0x38], 2
mov eax, dword [edi + 0x34]
movss dword [eax], xmm4
movss xmm6, dword [esp + 0x80]
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
movss xmm5, dword [esp + 0x48]
movss xmm7, dword [esp + 0x78]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], edx
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov ecx, dword [esp + 0xc]
movss dword [eax], xmm5
movss dword [eax + 4], xmm7
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]
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
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
mov ecx, dword [esp + 0xb0]
movss dword [eax], xmm4
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], ecx
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
push ecx
mov dword [esp], 0x3fc00000
mov ecx, edi
push dword [esp + 0x50]
movss dword [eax], xmm5
movss dword [eax + 4], xmm7
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 + 0x98]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
push eax
lea eax, [esp + 0x10c]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.10034cd0
movss xmm2, dword [esp + 0x28]
xorps xmm1, xmm1
comiss xmm1, xmm2
movss xmm0, dword [0x100c43b0]
jbe 0x1004dc6b
xorps xmm4, xmm4
jmp 0x1004dc72
movaps xmm4, xmm0
minss xmm4, xmm2
movaps xmm2, xmm0
subss xmm2, dword [esp + 0x44]
comiss xmm1, xmm2
jbe 0x1004dc85
xorps xmm3, xmm3
jmp 0x1004dc8c
movaps xmm3, xmm0
minss xmm3, xmm2
movss xmm0, dword [esp + 0xbc]
subss xmm0, dword [esp + 0x48]
movss xmm2, dword [esp + 0x100]
mulss xmm0, xmm4
addss xmm0, dword [esp + 0x48]
subss xmm2, xmm0
mulss xmm2, xmm3
addss xmm2, xmm0
movss xmm0, dword [esp + 0x10]
subss xmm0, dword [esp + 0x78]
movss dword [esp + 0x108], xmm2
mulss xmm0, xmm4
movss xmm4, dword [esp + 0x80]
addss xmm0, dword [esp + 0x78]
subss xmm4, xmm0
mulss xmm4, xmm3
addss xmm4, xmm0
movss dword [esp + 0x10c], xmm4
jmp 0x1004e241
test eax, 0x2000000
je 0x1004e248
movss xmm1, dword [esp + 0x3c]
movss xmm2, dword [esp + 0x2c]
movaps xmm0, xmm1
mov eax, dword [esp + 0xc]
addss xmm0, xmm2
mov ecx, dword [esp + 0x24]
addss xmm1, xmm2
push eax
push edx
push edx
movss dword [esp + 0x10c], xmm0
movss xmm0, dword [esp + 0x4c]
push eax
addss xmm0, xmm2
movss dword [esp + 0x58], xmm1
lea eax, [esp + 0x110]
push eax
lea eax, [esp + 0x50]
push eax
movss dword [esp + 0x11c], xmm0
call fcn.10034b50
mov ecx, dword [esp + 0xb0]
lea eax, [esp + 0x90]
movss xmm0, dword [esp + 0x48]
push ecx
push ecx
mov ecx, dword [esp + 0x2c]
push 0
push 0
push eax
movss dword [esp + 0xa4], xmm0
lea eax, [esp + 0x50]
movss xmm0, dword [esp + 0x118]
push eax
movss dword [esp + 0xac], xmm0
call fcn.10034b50
mov eax, dword [0x101423a0]
xorps xmm0, xmm0
movss xmm2, dword [esp + 0x104]
movss xmm3, dword [esp + 0x48]
movss xmm6, dword [esp + 0x3c]
movss xmm5, dword [eax + 0x389c]
comiss xmm5, xmm0
mov edi, dword [eax + 0x3f14]
movss xmm4, dword [esp + 0x40]
movss dword [esp + 0x118], xmm3
movss dword [esp + 0x11c], xmm2
movss dword [esp + 0x100], xmm6
movss dword [esp + 0x104], xmm4
movss dword [esp + 0x34], xmm5
jbe 0x1004ded0
movss xmm1, dword [0x100c43b0]
movaps xmm0, xmm6
addss xmm0, xmm1
sub esp, 0x10
addss xmm3, xmm1
mov ecx, 7
addss xmm2, xmm1
movss dword [esp + 0xc], xmm5
movss dword [esp + 0x78], xmm0
movaps xmm0, xmm4
addss xmm0, xmm1
movss dword [esp + 0xa0], xmm3
movss dword [esp + 0xa4], xmm2
mov dword [esp + 4], 0
movss dword [esp + 0x7c], xmm0
call fcn.10009ce0
mov ecx, dword [edi + 0x288]
add esp, 4
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.10034910
movss xmm0, dword [esp + 0x34]
sub esp, 0x10
movss xmm1, dword [0x100c43b0]
mov ecx, 6
movss dword [esp + 0xc], xmm0
mov dword [esp + 4], 0
call fcn.10009ce0
mov ecx, dword [edi + 0x288]
add esp, 4
push eax
lea eax, [esp + 0x128]
push eax
lea eax, [esp + 0x114]
push eax
call fcn.10034910
movss xmm4, dword [esp + 0x40]
xorps xmm0, xmm0
movss xmm6, dword [esp + 0x3c]
movss xmm3, dword [esp + 0x28]
comiss xmm0, xmm3
movss xmm1, dword [0x100c43b0]
jbe 0x1004dee8
xorps xmm2, xmm2
jmp 0x1004deef
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm7, dword [esp + 0x2c]
movss xmm3, dword [0x100c4368]
mulss xmm2, xmm7
addss xmm2, xmm6
addss xmm2, xmm3
cvttss2si eax, xmm2
movaps xmm2, xmm6
addss xmm6, xmm7
addss xmm2, dword [0x100c43e8]
movd xmm5, eax
subss xmm6, dword [0x100c43e8]
cvtdq2ps xmm5, xmm5
comiss xmm2, xmm5
jbe 0x1004df3b
movss dword [esp + 0x108], xmm2
jmp 0x1004df54
comiss xmm5, xmm6
jbe 0x1004df4b
movss dword [esp + 0x108], xmm6
jmp 0x1004df54
movss dword [esp + 0x108], xmm5
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x44]
comiss xmm0, xmm2
jbe 0x1004df67
xorps xmm1, xmm1
jmp 0x1004df6b
minss xmm1, xmm2
mulss xmm1, xmm7
movaps xmm0, xmm4
addss xmm0, xmm7
addss xmm1, xmm4
subss xmm0, dword [0x100c43e8]
addss xmm1, xmm3
cvttss2si eax, xmm1
movaps xmm1, xmm4
addss xmm1, dword [0x100c43e8]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x1004dfac
movss dword [esp + 0x10c], xmm1
jmp 0x1004dfc5
comiss xmm2, xmm0
jbe 0x1004dfbc
movss dword [esp + 0x10c], xmm0
jmp 0x1004dfc5
movss dword [esp + 0x10c], xmm2
movss xmm0, dword [esp + 0xd4]
movaps xmm1, xmm7
divss xmm1, dword [0x100c4420]
mov esi, dword [esp + 0x24]
xor ecx, ecx
movss dword [esp + 0x68], xmm0
addss xmm0, dword [esp + 0x50]
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x90], xmm0
nop word [eax + eax]
mov eax, dword [esp + ecx*4 + 0xe8]
lea edi, [ecx + 1]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov ecx, dword [esp + ecx*4 + 0xe4]
push eax
push eax
push ecx
push ecx
mulss xmm0, xmm1
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x7c]
mov ecx, esi
push eax
addss xmm0, xmm4
movss dword [esp + 0x84], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
addss xmm0, xmm4
movss dword [esp + 0xac], xmm0
call fcn.10034b50
movss xmm1, dword [esp + 0x34]
mov ecx, edi
movss xmm4, dword [esp + 0x40]
cmp ecx, 6
jl 0x1004e000
movss xmm0, dword [esp + 0x20]
movaps xmm2, xmm4
mulss xmm0, dword [esp + 0x2c]
movaps xmm3, xmm2
mov eax, dword [0x101423a0]
movss xmm5, dword [esp + 0xd4]
addss xmm3, dword [esp + 0x2c]
mov esi, dword [esp + 0xbc]
addss xmm0, xmm2
movss xmm4, dword [eax + 0x389c]
comiss xmm4, dword [0x100c42f4]
mov edx, dword [eax + 0x3f14]
mov dword [esp + 0x5c], edx
addss xmm0, dword [0x100c4368]
movss dword [esp + 0x11c], xmm3
movss dword [esp + 0x100], xmm5
movss dword [esp + 0x104], xmm2
movss dword [esp + 0x34], xmm4
cvttss2si edi, xmm0
movaps xmm0, xmm5
addss xmm0, dword [esp + 0x50]
movss dword [esp + 0x118], xmm0
jbe 0x1004e1c3
movss xmm1, dword [0x100c43b0]
sub esp, 0x10
addss xmm0, xmm1
mov ecx, 7
addss xmm3, xmm1
movss dword [esp + 0xc], xmm4
mov dword [esp + 4], 0
movss dword [esp + 0xa0], xmm0
movaps xmm0, xmm5
addss xmm0, xmm1
movss dword [esp + 0xa4], xmm3
movss dword [esp + 0x78], xmm0
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [esp + 0x7c], xmm0
call fcn.10009ce0
mov ecx, dword [edx + 0x288]
add esp, 4
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.10034910
movss xmm0, dword [esp + 0x34]
sub esp, 0x10
movss xmm1, dword [0x100c43b0]
mov ecx, 6
movss dword [esp + 0xc], xmm0
mov dword [esp + 4], 0
call fcn.10009ce0
mov ecx, dword [esp + 0x6c]
add esp, 4
mov ecx, dword [ecx + 0x288]
push eax
lea eax, [esp + 0x128]
push eax
lea eax, [esp + 0x114]
push eax
call fcn.10034910
movss xmm5, dword [esp + 0xd4]
subss xmm5, dword [0x100c43b0]
movss xmm1, dword [esp + 0x50]
mov eax, dword [esp + 0x30]
addss xmm1, dword [0x100c43e8]
mov ecx, dword [esp + 0x24]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movss dword [esp + 0x38], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x104], xmm2
addss xmm0, dword [0x100c43b0]
push dword [esp + 0x104]
movss xmm2, dword [eax + 0x3854]
movss dword [esp + 0x38], xmm5
movss dword [esp + 0x104], xmm0
push dword [esp + 0x104]
push dword [esp + 0x40]
push dword [esp + 0x40]
call fcn.1004b700
add esp, 0x10
xorps xmm1, xmm1
mov edi, dword [esp + 0xcc]
cmp byte [esp + 0x17], 0
je 0x1004e262
movss xmm2, dword [0x100c4434]
movss dword [esp + 0xc4], xmm2
jmp 0x1004e26a
movss xmm2, dword [0x100c4420]
test dword [esp + 0x88], 0xff000000
je 0x1004e2bf
comiss xmm1, xmm2
jae 0x1004e2bf
push 0xb
push ecx
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x110]
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
call fcn.10033f60
mov eax, dword [esp + 0x24]
mov ecx, eax
push dword [esp + 0x88]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.100337b0
mov eax, dword [esp + 0x24]
mov dword [eax + 0x54], 0
jmp 0x1004e2c3
mov eax, dword [esp + 0x24]
test dword [esp + 0x4c], 0xff000000
xorps xmm0, xmm0
movss xmm1, dword [esp + 0xc4]
movaps xmm2, xmm1
addss xmm2, dword [0x100c43b0]
je 0x1004e343
comiss xmm0, xmm2
jae 0x1004e343
subss xmm2, dword [0x100c4368]
push 0xb
push ecx
lea ecx, [esp + 0x110]
mov dword [esp], 0x40b84e89
push ecx
xorps xmm3, xmm3
mov ecx, eax
call fcn.10033f60
mov eax, dword [esp + 0x24]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x54]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10032ad0
mov eax, dword [esp + 0x24]
xorps xmm0, xmm0
movss xmm1, dword [esp + 0xc4]
mov dword [eax + 0x54], 0
test dword [esp + 0xc], 0xff000000
je 0x1004e3a3
comiss xmm0, xmm1
jae 0x1004e3a3
subss xmm1, dword [0x100c4368]
push 0xb
push ecx
lea ecx, [esp + 0x110]
mov dword [esp], 0x40b84e89
push ecx
xorps xmm3, xmm3
movaps xmm2, xmm1
mov ecx, eax
call fcn.10033f60
mov eax, dword [esp + 0x24]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x14]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10032ad0
mov eax, dword [esp + 0x24]
mov dword [eax + 0x54], 0
cmp dword [esp + 0x8c], 0x10000
jne 0x1004e6a3
movss xmm2, dword [edi + 0xc]
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x1004e3cc
movss dword [esp + 0x8c], xmm0
jmp 0x1004e3e1
movss xmm3, dword [0x100c43b0]
minss xmm3, xmm2
movss dword [esp + 0x8c], xmm3
movss xmm3, dword [esp + 0xd0]
xor edx, edx
movss xmm1, dword [esp + 0x40]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x50]
movss dword [esp + 0x94], xmm1
mov ecx, eax
addss xmm1, dword [esp + 0x2c]
mov dword [esp + 0x104], 0
push dword [esp + 0x104]
mov dword [esp + 0x104], 0
push dword [esp + 0x104]
movss dword [esp + 0xa0], xmm2
movss dword [esp + 0xa4], xmm1
push dword [esp + 0xa4]
movss dword [esp + 0x40], xmm2
subss xmm2, xmm3
push dword [esp + 0xa4]
movss dword [esp + 0xa0], xmm3
xorps xmm3, xmm3
push dword [esp + 0xa4]
mov edi, dword [esp + 0xa4]
mulss xmm2, dword [0x100c4368]
push edi
push 0
movss dword [esp + 0x78], xmm1
call fcn.10039710
mov ecx, dword [esp + 0xa4]
add esp, 0x1c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.10034b50
movss xmm1, dword [0x100c43b0]
movss xmm2, dword [esp + 0x40]
movaps xmm0, xmm1
subss xmm0, dword [esp + 0x8c]
mov dword [esp + 0x100], edi
mulss xmm0, dword [esp + 0x2c]
addss xmm0, xmm2
addss xmm0, dword [0x100c4368]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x104], eax
mov eax, dword [0x101423a0]
cvtdq2ps xmm0, xmm0
mov edi, dword [eax + 0x3f14]
movss xmm3, dword [eax + 0x389c]
comiss xmm3, dword [0x100c42f4]
movss dword [esp + 0xdc], xmm0
movss dword [esp + 0x58], xmm3
jbe 0x1004e622
movss xmm0, dword [esp + 0x34]
addss xmm2, xmm1
addss xmm0, xmm1
sub esp, 0x10
mov ecx, 7
movss dword [esp + 0xc], xmm3
movss dword [esp + 0xa0], xmm0
movss xmm0, dword [esp + 0x6c]
addss xmm0, xmm1
movss dword [esp + 0x7c], xmm2
mov dword [esp + 4], 0
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [esp + 0xe0]
addss xmm0, xmm1
movss dword [esp + 0x78], xmm0
call fcn.10009ce0
mov ecx, dword [edi + 0x288]
add esp, 4
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.10034910
movss xmm0, dword [esp + 0x58]
sub esp, 0x10
movss xmm1, dword [0x100c43b0]
mov ecx, 6
movss dword [esp + 0xc], xmm0
mov dword [esp + 4], 0
call fcn.10009ce0
mov ecx, dword [edi + 0x288]
add esp, 4
push eax
lea eax, [esp + 0x128]
push eax
lea eax, [esp + 0x114]
push eax
call fcn.10034910
movss xmm1, dword [0x100c43b0]
movss xmm0, dword [esp + 0xdc]
movss xmm2, dword [esp + 0xd0]
subss xmm2, xmm1
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
movss dword [esp + 0x10c], xmm0
movss dword [esp + 0x108], xmm2
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x104], xmm2
push dword [esp + 0x104]
movss xmm2, dword [eax + 0x3854]
addss xmm0, xmm1
movss xmm1, dword [esp + 0x54]
addss xmm1, dword [0x100c43e8]
movss dword [esp + 0x104], xmm0
push dword [esp + 0x104]
push dword [esp + 0x114]
push dword [esp + 0x114]
call fcn.1004b700
add esp, 0x10
call fcn.100186c0
cmp byte [esp + 0xa], 0
mov edi, dword [0x101423a0]
je 0x1004e73a
mov ecx, dword [esp + 0xcc]
lea esi, [esp + 0x12c]
xor edx, edx
cmp dword [esp + 0x54], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x1004e6f1
nop dword [eax]
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x1004e6f6
add esi, 4
add ecx, 4
sub edx, 4
jae 0x1004e6e0
cmp edx, 0xfffffffc
je 0x1004e735
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x1004e723
cmp edx, 0xfffffffd
je 0x1004e735
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x1004e723
cmp edx, 0xfffffffe
je 0x1004e735
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x1004e723
cmp edx, 0xffffffff
je 0x1004e735
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x1004e735
or dword [edi + 0x3fc8], 4
mov word [edi + 0x3f60], 0x101
jmp 0x1004e73a
mov byte [esp + 0xa], 0
mov ecx, dword [edi + 0x3f14]
mov al, byte [esp + 0xa]
pop edi
pop esi
dec dword [ecx + 0xfc]
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.100acd72
mov esp, ebp
pop ebp
ret