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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x130
mov eax, dword [0x465040]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], edx
mov edx, dword [0x465538]
mov dword [esp + 0xa4], eax
push esi
push edi
mov eax, dword [edx + 0x4004]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x34], edx
mov byte [eax + 0xbc], 1
mov eax, dword [edx + 0x4004]
mov dword [esp + 0xcc], eax
cmp byte [eax + 0xbf], 0
je 0x447401
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.00457551
mov esp, ebp
pop ebp
ret
mov edi, dword [eax + 0x278]
mov dword [esp + 0x44], edi
call fcn.00417b40
mov ecx, dword [edx + 0x496c]
mov eax, dword [edx + 0x4960]
mov dword [edx + 0x4968], 0
mov dword [edx + 0x496c], 0
mov esi, dword [edx + 0x4004]
xor edx, edx
shr ecx, 0xb
shr eax, 0xb
or cl, al
movss dword [esp + 0x90], xmm0
and ecx, 0xffffff01
lea eax, [esi + 0xf4]
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 0xf4]
mov dword [esp + 0x94], eax
mov eax, dword [esi + 0xfc]
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x4c]
call fcn.004059a0
mov ecx, dword [esi]
add esp, 4
mov dword [esp + 0x4c], eax
cmp dword [ecx + 0x4044], eax
jne 0x44749e
push ecx
push dword [esp + 0x4c]
mov edx, 0xc
mov ecx, eax
call fcn.00420180
add esp, 8
mov esi, dword [esp + 0x94]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
cmp edx, ecx
jne 0x4474de
inc edx
mov dword [esp + 0x94], edx
test ecx, ecx
je 0x4474cc
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x94]
sar eax, 1
add eax, ecx
jmp 0x4474d1
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.00420f90
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4], edx
inc dword [esi]
mov esi, dword [esp + 0x34]
mov eax, dword [esi + 0x4fac]
mov dword [esp + 0xe4], eax
test eax, eax
jne 0x44751e
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 0xf4]
mov eax, dword [eax + 0xfc]
mov eax, dword [eax + ecx*4 - 4]
mov dword [esi + 0x4fac], eax
call fcn.00417bc0
mov ecx, dword [ebp + 8]
mov edx, ecx
or edx, 0x10
test ecx, 0x100
cmovne edx, ecx
mov dword [esp + 0x94], edx
test dl, 8
jne 0x447550
mov ecx, dword [esp + 0x1c]
call fcn.0044b140
mov edx, dword [esp + 0x94]
test edx, 0x6000000
jne 0x447575
mov eax, dword [esi + 0x4fa8]
mov ecx, 0xa900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x447577
mov ecx, edx
mov dword [esp + 0x10], ecx
test ecx, 0x18000000
jne 0x4475a2
mov eax, dword [esi + 0x4fa8]
mov edx, 0xa900000
test eax, 0x18000000
cmovne edx, eax
and edx, 0x18000000
or ecx, edx
mov dword [esp + 0x10], ecx
test cl, 8
jne 0x4475b8
mov eax, dword [esi + 0x4fa8]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0xcc]
mov edx, ecx
movss xmm2, dword [esi + 0x391c]
and ecx, 0x10002
and edx, 2
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x94], edx
movss xmm3, dword [eax + 0x100]
movss xmm0, dword [eax + 0x104]
mov eax, dword [0x465538]
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x74], xmm3
movss xmm4, dword [eax + 0x3908]
addss xmm4, xmm4
movss dword [esp + 0x50], xmm3
addss xmm4, dword [eax + 0x3d50]
xor eax, eax
cmp ecx, 0x10000
sete al
inc eax
addss xmm0, xmm4
movss dword [esp + 0x64], xmm4
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
test edx, edx
sete al
mulss xmm1, xmm0
lea eax, [eax*4 + 0xc]
movss xmm0, dword [esp + 0x90]
push eax
subss xmm0, xmm1
movaps xmm1, xmm4
push dword [esp + 0x20]
lea eax, [esp + 0x12c]
push eax
maxss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [esp + 0x2c], xmm1
addss xmm0, xmm2
movss dword [esp + 0xb0], xmm0
addss xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0xe0], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x461cb0]
cvttss2si esi, xmm0
mov dword [esp + 0xd8], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm2, dword [esp + 0x2c]
add esp, 0xc
movaps xmm4, xmm2
movaps xmm1, xmm2
mulss xmm4, dword [0x461cdc]
mulss xmm1, dword [0x461ca0]
movaps xmm0, xmm4
movss dword [esp + 0x98], xmm4
addss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x6c], xmm1
movaps xmm3, xmm4
subss xmm3, xmm1
movaps xmm1, xmm2
addss xmm1, dword [esp + 0x64]
movss dword [esp + 0xc0], xmm0
movss dword [esp + 0xfc], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x461c94]
movaps xmm2, xmm3
mulss xmm1, dword [0x461cdc]
cvttss2si eax, xmm0
addss xmm1, dword [esp + 0x74]
movss dword [esp + 0xbc], xmm3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc4], xmm1
subss xmm2, xmm0
movss dword [esp + 0xf8], xmm1
movss dword [esp + 0x38], xmm2
mov eax, dword [esp + 0x1c]
movaps xmm0, xmm2
mulss xmm0, dword [0x461e3c]
movaps xmm1, xmm2
mov ecx, dword [esp + 0x10]
mulss xmm1, dword [0x461e30]
mov dword [esp + 0x3c], 0
movss xmm7, dword [eax + 8]
movss xmm5, dword [0x461c6c]
movss dword [esp + 0xa0], xmm0
movss dword [esp + 0x5c], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x461d0c]
movss dword [esp + 0xc8], xmm1
movss dword [esp + 0x58], xmm1
movss dword [esp + 0x9c], xmm0
movss dword [esp + 0x10c], xmm0
movss xmm0, dword [eax]
movss dword [esp + 0x108], xmm1
movaps xmm2, xmm0
movss xmm1, dword [eax + 4]
movss dword [esp + 0x70], xmm2
movss dword [esp + 0xb0], xmm2
movaps xmm2, xmm1
movss dword [esp + 0x8c], xmm2
movss dword [esp + 0xb4], xmm2
movaps xmm2, xmm7
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x40], xmm7
movss dword [esp + 0x28], xmm2
movss dword [esp + 0xb8], xmm2
test ecx, 0x8000000
je 0x4478fa
comiss xmm7, xmm1
xorps xmm3, xmm3
movaps xmm2, xmm1
movaps xmm4, xmm7
jbe 0x447852
movss xmm3, dword [0x461e40]
movaps xmm2, xmm7
movaps xmm4, xmm1
comiss xmm2, xmm0
movaps xmm7, xmm0
movss dword [esp + 0x40], xmm7
jbe 0x44787b
movaps xmm7, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x461e2c]
subss xmm0, xmm3
movss dword [esp + 0x40], xmm7
movaps xmm3, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x14], xmm7
minss xmm0, xmm4
movaps xmm1, xmm7
subss xmm2, xmm4
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x34]
subss xmm1, xmm0
push ecx
lea edx, [esp + 0x2c]
mov ecx, eax
movaps xmm0, xmm1
mulss xmm0, dword [0x461d98]
addss xmm0, xmm5
divss xmm2, xmm0
movaps xmm0, xmm7
addss xmm0, xmm5
addss xmm2, xmm3
divss xmm1, xmm0
andps xmm2, xmmword [0x462590]
movss dword [esp + 0x2c], xmm2
movss dword [esp + 0x38], xmm1
call fcn.00445fd0
movss xmm0, dword [esp + 0x2c]
add esp, 8
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x24], xmm0
jmp 0x447950
test ecx, 0x10000000
je 0x447950
lea eax, [esp + 0xb8]
push eax
lea edx, [esp + 0xb8]
lea ecx, [esp + 0xb4]
call fcn.00405fe0
movss xmm0, dword [esp + 0xb4]
add esp, 4
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [esp + 0xb8]
movss dword [esp + 0x28], xmm0
mov ecx, dword [0x465538]
lea edx, [ecx + 0x4a90]
mov byte [esp + 9], 0
mov byte [esp + 0x1b], 0
mov byte [esp + 0xa], 0
mov eax, dword [ecx + 0x4960]
or eax, 2
mov dword [esp + 0x30], edx
mov dword [ecx + 0x4960], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x4c], eax
cmp dword [edx], ecx
jne 0x4479b5
test ecx, ecx
je 0x44799c
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
sar eax, 1
add eax, ecx
jmp 0x4479a1
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00420f90
mov edx, dword [esp + 0x30]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x4c]
mov dword [eax + ecx*4], esi
inc dword [edx]
mov eax, dword [esp + 0x10]
test eax, 0x4000000
je 0x447f9a
movss xmm1, dword [esp + 0x20]
lea edx, [esp + 0xe8]
mov eax, dword [esp + 0x34]
movaps xmm0, xmm1
push ecx
mov ecx, 0x4619ac
movss dword [esp + 0xf0], xmm1
addss xmm0, dword [eax + 0x391c]
addss xmm0, dword [esp + 0x68]
movss dword [esp + 0xec], xmm0
call fcn.0043a8a0
mov eax, dword [0x465538]
add esp, 4
mov ecx, dword [eax + 0x4060]
test ecx, ecx
je 0x447eb0
cmp ecx, dword [eax + 0x49a0]
jne 0x447eb0
cmp byte [esp + 0xc], 0
jne 0x447eb0
mov eax, dword [esp + 0x34]
movss xmm0, dword [eax + 0x2a80]
subss xmm0, dword [esp + 0xc0]
movss xmm1, dword [eax + 0x2a7c]
subss xmm1, dword [esp + 0xc4]
movss xmm4, dword [eax + 0xac]
movss xmm3, dword [eax + 0xb0]
subss xmm4, dword [esp + 0xc4]
subss xmm3, dword [esp + 0xc0]
movaps xmm2, xmm0
movss dword [esp + 0x30], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x90], xmm1
movss xmm1, dword [0x461d20]
addss xmm2, xmm0
movss dword [esp + 0xc], xmm4
movss xmm0, dword [esp + 0xbc]
subss xmm0, xmm1
movss dword [esp + 0xa8], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x447b61
movss xmm0, dword [esp + 0x98]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x447b61
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 [0x461d78]
mulss xmm1, dword [0x461cdc]
comiss xmm0, xmm1
movss dword [esp + 0x14], xmm1
jbe 0x447b59
addss xmm1, dword [0x461d20]
movss dword [esp + 0x14], xmm1
mov dl, 1
mov byte [esp + 9], dl
jmp 0x447b6b
mov dl, byte [esp + 9]
movss xmm1, dword [esp + 0x14]
movaps xmm0, xmm1
mov byte [esp + 0x1b], dl
xorps xmm0, xmmword [0x4625c0]
addss xmm0, xmm0
mulss xmm0, dword [0x461d78]
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 + 0x4c], 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 + 0x4c]
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm0
movss xmm1, dword [esp + 0xc8]
movaps xmm5, xmm4
mulss xmm5, dword [esp + 0x90]
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x30]
movaps xmm6, xmm4
mulss xmm6, dword [esp + 0x30]
subss xmm5, xmm0
movss dword [esp + 0xdc], xmm3
movaps xmm0, xmm3
movss xmm7, dword [esp + 0x38]
mulss xmm0, dword [esp + 0x90]
movaps xmm3, xmm1
subss xmm3, xmm1
movaps xmm2, xmm5
addss xmm6, xmm0
movss xmm0, dword [esp + 0xa0]
subss xmm0, dword [esp + 0x9c]
subss xmm2, xmm1
subss xmm7, dword [esp + 0xc8]
movss dword [esp + 0x90], xmm3
movss dword [esp + 0x4c], xmm0
movaps xmm1, xmm2
mulss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0x9c]
movss dword [esp + 0x68], xmm7
mulss xmm0, xmm3
xorps xmm3, xmm3
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xa0]
comiss xmm3, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x30], xmm0
movaps xmm0, xmm6
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0xa0]
mulss xmm0, xmm7
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x447ea8
movss xmm2, dword [esp + 0x9c]
subss xmm6, xmm3
movss xmm7, dword [esp + 0xc8]
subss xmm2, xmm3
subss xmm7, dword [esp + 0x38]
subss xmm5, dword [esp + 0x38]
movss dword [esp + 0x78], xmm2
mulss xmm6, xmm7
mulss xmm5, xmm2
movss dword [esp + 0x84], xmm7
subss xmm5, xmm6
comiss xmm3, xmm5
seta al
cmp cl, al
jne 0x447ea8
movss xmm1, dword [esp + 0xdc]
movaps xmm5, xmm4
mulss xmm5, dword [esp + 0xc]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0xc]
mulss xmm0, dword [esp + 0xa8]
mulss xmm4, dword [esp + 0xa8]
subss xmm5, xmm0
addss xmm4, xmm1
movaps xmm1, xmm5
movss dword [esp + 0xe8], xmm5
subss xmm1, dword [esp + 0xc8]
movaps xmm0, xmm4
movss dword [esp + 0xec], xmm4
subss xmm0, dword [esp + 0x9c]
mulss xmm1, dword [esp + 0x4c]
mulss xmm0, dword [esp + 0x90]
subss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xa0]
comiss xmm3, xmm1
mulss xmm0, dword [esp + 0x68]
movaps xmm1, xmm5
subss xmm1, dword [esp + 0xc8]
seta cl
mulss xmm1, dword [esp + 0x30]
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x447dc2
movaps xmm1, xmm5
movaps xmm0, xmm4
subss xmm1, dword [esp + 0x38]
subss xmm0, xmm3
mulss xmm1, xmm2
mulss xmm0, xmm7
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp cl, al
je 0x447dff
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x10c]
push eax
lea eax, [esp + 0x60]
push eax
lea edx, [esp + 0x44]
lea ecx, [esp + 0xe8]
call fcn.004054a0
movss xmm7, dword [esp + 0x90]
add esp, 0xc
xorps xmm3, xmm3
movss xmm5, dword [eax]
movss xmm4, dword [eax + 4]
movss xmm2, dword [esp + 0xa0]
subss xmm4, xmm3
subss xmm5, dword [esp + 0x38]
subss xmm2, xmm3
movaps xmm0, xmm7
movaps xmm1, xmm7
movss xmm3, dword [0x461d20]
mulss xmm1, dword [esp + 0x78]
movaps xmm6, xmm3
mulss xmm4, xmm7
mulss xmm0, xmm2
subss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x78]
mulss xmm5, xmm2
subss xmm0, xmm4
movss xmm2, dword [0x461c80]
movss dword [esp + 0x24], xmm2
subss xmm4, xmm5
divss xmm0, xmm1
divss xmm4, xmm1
subss xmm6, xmm0
comiss xmm2, xmm6
movaps xmm0, xmm6
subss xmm0, xmm4
jbe 0x447e79
movaps xmm1, xmm2
jmp 0x447e80
movaps xmm1, xmm3
minss xmm1, xmm6
divss xmm0, xmm1
movss dword [esp + 0x40], xmm1
comiss xmm2, xmm0
ja 0x447e9c
movaps xmm2, xmm3
minss xmm2, xmm0
movss dword [esp + 0x24], xmm2
mov byte [esp + 0xa], 1
mov byte [esp + 9], 1
jmp 0x447eb0
mov al, byte [esp + 9]
mov byte [esp + 0x1b], al
mov ecx, dword [esp + 0x10]
test cl, 8
jne 0x447ebe
call fcn.00418ee0
movss xmm2, dword [esp + 0x20]
movss xmm4, dword [esp + 0x2c]
cmp dword [esp + 0xd8], 0x10000
mov esi, dword [esp + 0xcc]
jne 0x448249
mov ecx, dword [0x465538]
lea edx, [esp + 0x58]
movss xmm0, dword [esp + 0xd4]
push ecx
movss dword [esp + 0x60], xmm2
mov eax, dword [ecx + 0x4004]
mov byte [eax + 0xbc], 1
mov eax, dword [ecx + 0x4004]
mov ecx, str.alpha
movss dword [eax + 0x100], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [eax + 0x104], xmm4
mov byte [eax + 0x141], 1
movss dword [esp + 0x5c], xmm0
call fcn.0043a8a0
mov eax, dword [0x465538]
add esp, 4
mov ecx, dword [eax + 0x4060]
test ecx, ecx
je 0x448249
cmp ecx, dword [eax + 0x49a0]
jne 0x448249
mov eax, dword [esp + 0x34]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x20]
movss xmm1, dword [0x461d20]
subss xmm0, xmm1
movss xmm3, dword [eax + 0xb0]
subss xmm3, dword [esp + 0x2c]
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x44822d
xorps xmm4, xmm4
jmp 0x448234
test eax, 0x2000000
je 0x447ebe
movss xmm0, dword [esp + 0x20]
lea edx, [esp + 0x58]
push ecx
mov ecx, 0x4619b0
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x60], xmm0
call fcn.0043a8a0
mov edx, dword [0x465538]
add esp, 4
mov eax, dword [edx + 0x4060]
test eax, eax
je 0x448119
cmp eax, dword [edx + 0x49a0]
jne 0x448119
cmp byte [esp + 0xc], 0
jne 0x448119
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm3, dword [esp + 0x20]
movss xmm1, dword [0x461d20]
subss xmm3, xmm1
movss xmm2, dword [eax + 0xac]
subss xmm2, dword [esp + 0x74]
divss xmm2, xmm3
comiss xmm0, xmm2
jbe 0x44802c
movss dword [esp + 0x24], xmm0
jmp 0x448039
movaps xmm4, xmm1
minss xmm4, xmm2
movss dword [esp + 0x24], xmm4
movss xmm2, dword [eax + 0xb0]
subss xmm2, dword [esp + 0x2c]
divss xmm2, xmm3
comiss xmm0, xmm2
jbe 0x448055
xorps xmm3, xmm3
jmp 0x44805c
movaps xmm3, xmm1
minss xmm3, xmm2
mov eax, dword [edx + 0x4fb0]
movaps xmm2, xmm1
subss xmm2, xmm3
movss dword [esp + 0x40], xmm2
cmp eax, dword [edx + 0x4fac]
jne 0x448111
mov eax, dword [esp + 0x1c]
movss xmm2, dword [eax]
comiss xmm0, xmm2
movss xmm4, dword [eax + 4]
movss xmm5, dword [eax + 8]
jbe 0x448097
xorps xmm3, xmm3
jmp 0x44809e
movaps xmm3, xmm1
minss xmm3, xmm2
comiss xmm0, xmm4
movss xmm6, dword [0x461dec]
movss xmm2, dword [0x461cdc]
mulss xmm3, xmm6
addss xmm3, xmm2
cvttss2si ecx, xmm3
jbe 0x4480c4
xorps xmm3, xmm3
jmp 0x4480cb
movaps xmm3, xmm1
minss xmm3, xmm4
mulss xmm3, xmm6
addss xmm3, xmm2
cvttss2si eax, xmm3
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x4480e6
xorps xmm1, xmm1
jmp 0x4480ea
minss xmm1, xmm5
mulss xmm1, xmm6
addss xmm1, xmm2
cvttss2si eax, xmm1
shl eax, 0x10
or eax, ecx
cmp dword [edx + 0x4fbc], eax
jne 0x448111
movss xmm0, dword [edx + 0x4fb4]
movss dword [esp + 0x14], xmm0
mov al, 1
mov byte [esp + 9], al
jmp 0x44811d
mov al, byte [esp + 9]
mov ecx, dword [esp + 0x10]
mov byte [esp + 0xa], al
mov byte [esp + 0xb], al
test cl, 8
jne 0x448139
call fcn.00418ee0
mov edx, dword [0x465538]
mov eax, dword [edx + 0x4004]
movss xmm0, dword [esp + 0xa4]
push ecx
mov ecx, 0x4619b4
mov byte [eax + 0xbc], 1
mov eax, dword [edx + 0x4004]
lea edx, [esp + 0x5c]
movss dword [eax + 0x100], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [eax + 0x104], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0x24]
mov byte [eax + 0x141], 1
movss dword [esp + 0x60], xmm0
call fcn.0043a8a0
mov eax, dword [0x465538]
add esp, 4
mov ecx, dword [eax + 0x4060]
test ecx, ecx
je 0x447ebe
mov dl, byte [esp + 9]
mov byte [esp + 0xa], dl
cmp ecx, dword [eax + 0x49a0]
jne 0x447ebe
cmp byte [esp + 0xc], 0
movss xmm4, dword [esp + 0x2c]
movss xmm2, dword [esp + 0x20]
mov byte [esp + 0xa], dl
jne 0x447eca
mov eax, dword [esp + 0x34]
movaps xmm0, xmm2
movss xmm3, dword [0x461d20]
subss xmm0, xmm3
movss xmm1, dword [eax + 0xb0]
subss xmm1, xmm4
divss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x448210
movaps xmm0, xmm3
minss xmm0, xmm1
mov al, byte [esp + 0xb]
movss dword [esp + 0x14], xmm0
mov byte [esp + 0x1b], 1
mov byte [esp + 9], 1
mov byte [esp + 0xa], al
jmp 0x447eca
movaps xmm4, xmm1
minss xmm4, xmm3
mov eax, dword [esp + 0x1c]
movaps xmm0, xmm1
subss xmm0, xmm4
mov byte [esp + 9], 1
movss dword [eax + 0xc], xmm0
mov edx, dword [0x465538]
dec dword [edx + 0x4a90]
mov eax, dword [edx + 0x4a98]
mov ecx, dword [edx + 0x4a90]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x4960], eax
mov edx, dword [esp + 0x10]
test edx, 0x100
jne 0x448294
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x391c]
call fcn.00417970
call fcn.00417bc0
mov edx, dword [esp + 0x10]
test dl, dl
js 0x4482fc
mov ecx, dword [esp + 0x48]
cmp ecx, 0xffffffff
jae 0x4482fc
mov al, byte [ecx]
mov byte [esp + 0xb], al
test al, al
je 0x4482ba
cmp al, 0x23
jne 0x4482b4
cmp byte [ecx + 1], al
je 0x4482ba
inc ecx
cmp ecx, 0xffffffff
jb 0x4482a1
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], ecx
cmp eax, ecx
je 0x4482fc
test edx, 0x100
je 0x4482ea
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x391c]
call fcn.00417970
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x48]
mov edx, ecx
mov ecx, eax
push 0
call fcn.004391a0
mov edx, dword [esp + 0x14]
add esp, 4
test edx, 0x100
jne 0x448544
mov eax, dword [0x465538]
mov ecx, dword [eax + 0x4960]
or ecx, 4
mov dword [eax + 0x4960], ecx
add eax, 0x4a90
mov dword [esp + 0x68], ecx
mov dword [esp + 0xc], eax
mov ecx, dword [eax + 4]
mov dword [esp + 0x78], ecx
cmp dword [eax], ecx
jne 0x448376
mov edx, dword [eax]
inc edx
mov dword [esp + 0x84], edx
test ecx, ecx
je 0x44835c
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x84]
mov ecx, eax
mov eax, dword [esp + 0xc]
sar ecx, 1
add ecx, dword [esp + 0x78]
jmp 0x448361
mov ecx, 8
cmp ecx, edx
cmovg edx, ecx
mov ecx, eax
push edx
call fcn.00420f90
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov edi, dword [esp + 0x68]
mov dword [eax + ecx*4], edi
mov eax, dword [esp + 0xc]
inc dword [eax]
mov eax, dword [esp + 0x1c]
test dl, 2
je 0x44839b
movss xmm1, dword [0x461d20]
jmp 0x4483a0
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
mov edi, dword [esp + 0x44]
movss dword [esp + 0x108], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x10c], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x110], xmm0
movss dword [esp + 0x114], xmm1
test dl, dl
jns 0x4483eb
push str.Current
call fcn.004398b0
mov edx, dword [esp + 0x14]
add esp, 4
movss xmm1, dword [esp + 0x64]
lea ecx, [esp + 0x58]
movaps xmm0, xmm1
and edx, 0x180e0040
mulss xmm0, dword [0x461d74]
push ecx
mov dword [esp + 0x6c], edx
mov ecx, str.current
push edx
movss dword [esp + 0x80], xmm0
lea edx, [esp + 0x110]
movss dword [esp + 0x60], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x8c], xmm0
movss dword [esp + 0x64], xmm0
call fcn.0044a020
add esp, 8
cmp dword [esp + 0xac], 0
je 0x448519
push str.Original
call fcn.004398b0
mov ecx, dword [esp + 0x14]
add esp, 4
mov eax, dword [esp + 0xac]
test cl, 2
je 0x44847a
movss xmm1, dword [0x461d20]
jmp 0x44847f
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 + 0x58]
movss dword [esp + 0xf0], xmm0
movss xmm0, dword [esp + 0x78]
push eax
push dword [esp + 0x6c]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x8c]
movss dword [esp + 0xfc], xmm1
movss dword [esp + 0x64], xmm0
call fcn.0044a020
add esp, 8
test al, al
je 0x448519
xor eax, eax
cmp dword [esp + 0x94], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0xb0]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 9], 1
mov edx, dword [0x465538]
dec dword [edx + 0x4a90]
mov eax, dword [edx + 0x4a98]
mov ecx, dword [edx + 0x4a90]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x4960], eax
call fcn.00417d20
mov edx, dword [esp + 0x10]
cmp byte [esp + 0x1b], 0
jne 0x448556
cmp byte [esp + 0xa], 0
je 0x448672
test edx, 0x8000000
je 0x448646
mov ecx, dword [esp + 0x1c]
movss xmm2, dword [esp + 0x40]
movss xmm1, dword [esp + 0x24]
movss xmm0, dword [esp + 0x14]
lea eax, [ecx + 8]
push eax
lea edx, [ecx + 4]
call fcn.00405fe0
mov edx, dword [esp + 0x38]
add esp, 4
movss xmm0, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
movss xmm1, dword [0x461d20]
mov eax, dword [edx + 0x4fac]
movss dword [edx + 0x4fb4], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [edx + 0x4fb8], xmm0
xorps xmm0, xmm0
mov dword [edx + 0x4fb0], eax
movss xmm2, dword [ecx]
comiss xmm0, xmm2
movss xmm4, dword [ecx + 4]
movss xmm5, dword [ecx + 8]
jbe 0x4485da
xorps xmm3, xmm3
jmp 0x4485e1
movaps xmm3, xmm1
minss xmm3, xmm2
comiss xmm0, xmm4
movss xmm6, dword [0x461dec]
movss xmm2, dword [0x461cdc]
mulss xmm3, xmm6
addss xmm3, xmm2
cvttss2si ecx, xmm3
jbe 0x448607
xorps xmm3, xmm3
jmp 0x44860e
movaps xmm3, xmm1
minss xmm3, xmm4
mulss xmm3, xmm6
addss xmm3, xmm2
cvttss2si eax, xmm3
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x448629
xorps xmm1, xmm1
jmp 0x44862d
minss xmm1, xmm5
mulss xmm1, xmm6
addss xmm1, xmm2
cvttss2si eax, xmm1
shl eax, 0x10
or eax, ecx
mov dword [edx + 0x4fbc], eax
jmp 0x448672
test edx, 0x10000000
je 0x448672
mov eax, dword [esp + 0x1c]
movss xmm0, dword [esp + 0x14]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [eax + 4], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [eax + 8], xmm0
mov eax, dword [esp + 0x10]
mov byte [esp + 0xb], 0
test al, 0x20
jne 0x44896b
cmp dword [esp + 0xd8], 0x10000
jne 0x44869b
movss xmm0, dword [esp + 0xd4]
jmp 0x4486a4
movss xmm0, dword [esp + 0xa4]
mov eax, dword [0x465538]
addss xmm0, dword [esp + 0x64]
mov dword [esp + 0xa8], eax
mov eax, dword [eax + 0x4004]
mov edx, dword [eax + 0x1bc]
lea ecx, [eax + 0x1bc]
subss xmm0, dword [esp + 0x74]
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x68], ecx
movss dword [esp + 0x84], xmm0
cmp edx, eax
jne 0x44871a
inc edx
mov dword [esp + 0x78], edx
test eax, eax
je 0x4486fd
cdq
sub eax, edx
mov edx, dword [esp + 0x78]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x448702
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00420f90
movss xmm0, dword [esp + 0x84]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x1b4]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0xc]
inc dword [ecx + 0x1bc]
ucomiss xmm0, dword [0x461c5c]
lahf
test ah, 0x44
jp 0x44874b
movss xmm0, dword [ecx + 0x254]
mov eax, dword [esp + 0xa8]
movss dword [ecx + 0x1b4], xmm0
and dword [eax + 0x4968], 0xfffffffe
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 0x198e005a
mov dword [esp + 0xc], ecx
test eax, 0x100000
jne 0x44877f
test eax, 0x700000
jne 0x4487c8
mov edx, dword [esp + 0x1c]
or ecx, 0x100004
push ecx
mov ecx, str.rgb
call fcn.004460d0
add esp, 4
test al, al
je 0x4487c0
mov eax, dword [esp + 0x34]
cmp dword [eax + 0x4060], 0
je 0x4487b6
cmp byte [eax + 0x406d], 0
mov byte [esp + 0xb], 1
je 0x4487bb
mov byte [esp + 0xb], 0
mov byte [esp + 9], 1
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
test eax, 0x200000
jne 0x4487d6
test eax, 0x700000
jne 0x4487f6
mov edx, dword [esp + 0x1c]
or ecx, 0x200004
push ecx
mov ecx, str.hsv
call fcn.004460d0
add esp, 4
or byte [esp + 9], al
mov eax, dword [esp + 0x10]
test eax, 0x400000
jne 0x448804
test eax, 0x700000
jne 0x448823
mov eax, dword [esp + 0xc]
mov ecx, str.hex
mov edx, dword [esp + 0x1c]
or eax, 0x400004
push eax
call fcn.004460d0
add esp, 4
or byte [esp + 9], al
cmp byte [esp + 0xb], 0
mov ecx, dword [0x465538]
mov eax, dword [ecx + 0x4004]
mov byte [eax + 0xbc], 1
mov edx, dword [ecx + 0x4004]
mov ecx, dword [edx + 0x1bc]
mov eax, dword [edx + 0x1c4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1b4], eax
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x1c]
mov dword [edx + 0x1bc], eax
mov eax, dword [esp + 0x10]
je 0x44896f
test eax, 0x8000000
je 0x44896f
movss xmm3, dword [ecx + 4]
xorps xmm2, xmm2
movss xmm5, dword [ecx + 8]
xorps xmm6, xmm6
comiss xmm5, xmm3
movss xmm4, dword [ecx]
jbe 0x4488a3
movss xmm6, dword [0x461e40]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x4488c0
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x461e2c]
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 [0x461c6c]
movaps xmm7, xmm1
mulss xmm1, dword [0x461d98]
divss xmm7, xmm0
addss xmm1, dword [0x461c6c]
divss xmm3, xmm1
addss xmm3, xmm6
movss xmm6, dword [0x462590]
andps xmm3, xmm6
comiss xmm2, xmm3
jb 0x448977
movss xmm0, dword [esp + 0x14]
comiss xmm0, xmm2
jbe 0x448977
comiss xmm2, xmm4
jb 0x448942
movss xmm1, dword [esp + 0x40]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x44893e
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x24]
mulss xmm2, dword [0x461cdc]
jmp 0x448958
mov eax, dword [esp + 0x10]
comiss xmm2, xmm7
jb 0x448977
movss xmm1, dword [esp + 0x24]
movaps xmm2, xmm4
mulss xmm1, dword [0x461cdc]
lea eax, [ecx + 8]
push eax
lea edx, [ecx + 4]
call fcn.00405fe0
mov eax, dword [esp + 0x14]
add esp, 4
mov ecx, dword [esp + 0x1c]
movss xmm6, dword [0x462590]
cmp byte [esp + 9], 0
je 0x448af4
test eax, 0x8000000
je 0x448a79
movss xmm0, dword [ecx + 4]
xorps xmm3, xmm3
movss xmm1, dword [ecx + 8]
movaps xmm2, xmm0
comiss xmm1, xmm0
movss xmm7, dword [ecx]
movaps xmm5, xmm1
movss dword [esp + 0x70], xmm7
movss dword [esp + 0x8c], xmm0
movss dword [esp + 0x28], xmm1
jbe 0x4489cc
movss xmm3, dword [0x461e40]
movaps xmm2, xmm1
movaps xmm5, xmm0
comiss xmm2, xmm7
movaps xmm4, xmm7
movss dword [esp + 0x40], xmm4
jbe 0x4489f5
movss xmm0, dword [0x461e2c]
movaps xmm4, xmm2
subss xmm0, xmm3
movss dword [esp + 0x40], xmm4
movaps xmm2, xmm7
movaps xmm3, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x14], xmm4
minss xmm0, xmm5
movaps xmm1, xmm4
subss xmm2, xmm5
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x34]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x2c]
movaps xmm0, xmm1
mulss xmm0, dword [0x461d98]
addss xmm0, dword [0x461c6c]
divss xmm2, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x461c6c]
addss xmm2, xmm3
divss xmm1, xmm0
andps xmm2, xmm6
movss dword [esp + 0x2c], xmm2
movss dword [esp + 0x38], xmm1
call fcn.00445fd0
movss xmm1, dword [esp + 0x2c]
add esp, 8
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x14], xmm1
movss dword [esp + 0x24], xmm0
jmp 0x448afa
test eax, 0x10000000
je 0x448af4
movss xmm1, dword [ecx + 8]
lea eax, [esp + 0xb8]
movss xmm3, dword [ecx + 4]
lea edx, [esp + 0xb4]
movss xmm0, dword [ecx]
movaps xmm2, xmm1
movss dword [esp + 0x40], xmm1
lea ecx, [esp + 0xb0]
push eax
movaps xmm1, xmm3
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x28], xmm3
call fcn.00405fe0
movss xmm0, dword [esp + 0xb4]
add esp, 4
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [esp + 0xb8]
movss dword [esp + 0x28], xmm0
movss xmm1, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm2, dword [eax + 0x38c8]
comiss xmm0, xmm2
ja 0x448b1a
movss xmm0, dword [0x461d20]
minss xmm0, xmm2
mulss xmm0, dword [0x461dec]
addss xmm0, dword [0x461cdc]
cvttss2si edx, xmm0
cvtps2pd xmm0, xmm1
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x4c], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x48], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x108], ecx
or eax, 0x808080
mov dword [esp + 0x120], ecx
mov dword [esp + 0x30], eax
mov eax, edx
or eax, 0xffff
movsd qword [esp + 0x58], xmm0
fld qword [esp + 0x58]
mov dword [esp + 0x10c], eax
mov eax, edx
or eax, 0xff00
fld1
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
mov dword [esp + 0x11c], eax
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [esp + 0x58]
movsd xmm1, qword [esp + 0x58]
cvtpd2ps xmm1, xmm1
movss xmm3, dword [0x461d20]
divss xmm1, dword [0x461cac]
movaps xmm4, xmm3
movaps xmm2, xmm3
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
subss xmm4, xmm1
subss xmm2, xmm4
cmp eax, 5
ja case.0x448bfb.5
jmp dword [eax*4 + 0x44a000]
movaps xmm5, xmm2
xorps xmm2, xmm2
jmp 0x448c39
movaps xmm1, xmm4
movaps xmm5, xmm3
xorps xmm2, xmm2
jmp 0x448c3c
xorps xmm1, xmm1
movaps xmm5, xmm3
jmp 0x448c3c
xorps xmm1, xmm1
movaps xmm5, xmm4
movaps xmm2, xmm3
jmp 0x448c3c
movaps xmm1, xmm2
xorps xmm5, xmm5
movaps xmm2, xmm3
jmp 0x448c3c
xorps xmm5, xmm5
movaps xmm2, xmm4
movaps xmm1, xmm3
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x448c49
xorps xmm4, xmm4
jmp 0x448c50
movaps xmm4, xmm3
minss xmm4, xmm1
comiss xmm0, xmm5
movss xmm6, dword [0x461dec]
movss xmm1, dword [0x461cdc]
mulss xmm4, xmm6
addss xmm4, xmm1
cvttss2si ecx, xmm4
jbe 0x448c76
xorps xmm4, xmm4
jmp 0x448c7d
movaps xmm4, xmm3
minss xmm4, xmm5
mulss xmm4, xmm6
addss xmm4, xmm1
cvttss2si eax, xmm4
shl eax, 8
or ecx, eax
comiss xmm0, xmm2
jbe 0x448c98
xorps xmm4, xmm4
jmp 0x448c9f
movaps xmm4, xmm3
minss xmm4, xmm2
mulss xmm4, xmm6
addss xmm4, xmm1
cvttss2si eax, xmm4
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x34]
movss xmm4, dword [eax + 0x38c8]
comiss xmm0, xmm4
jbe 0x448cc6
xorps xmm2, xmm2
jmp 0x448ccd
movaps xmm2, xmm3
minss xmm2, xmm4
movss xmm5, dword [esp + 0x70]
mulss xmm2, xmm6
addss xmm2, xmm1
cvttss2si edx, xmm2
shl edx, 0x18
or edx, ecx
comiss xmm0, xmm5
mov dword [esp + 0x90], edx
jbe 0x448cf5
xorps xmm2, xmm2
jmp 0x448cfc
movaps xmm2, xmm3
minss xmm2, xmm5
movss xmm5, dword [esp + 0x8c]
comiss xmm0, xmm5
mulss xmm2, xmm6
addss xmm2, xmm1
cvttss2si ecx, xmm2
jbe 0x448d1b
xorps xmm2, xmm2
jmp 0x448d22
movaps xmm2, xmm3
minss xmm2, xmm5
movss xmm5, dword [esp + 0x28]
mulss xmm2, xmm6
addss xmm2, xmm1
cvttss2si eax, xmm2
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x448d43
xorps xmm2, xmm2
jmp 0x448d4a
movaps xmm2, xmm3
minss xmm2, xmm5
mulss xmm2, xmm6
addss xmm2, xmm1
cvttss2si eax, xmm2
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm4
ja 0x448d67
movaps xmm0, xmm3
minss xmm0, xmm4
mulss xmm0, xmm6
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
addss xmm0, xmm1
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x10]
test eax, 0x4000000
je 0x449711
movss xmm0, dword [esp + 0x98]
movaps xmm4, xmm1
movss xmm2, dword [esp + 0xbc]
mov eax, 0x2aaaaaab
divss xmm4, xmm0
mov esi, dword [esp + 0x44]
addss xmm2, xmm0
cvttss2si ecx, xmm0
mulss xmm2, xmm1
imul ecx
movss dword [esp + 0x74], xmm4
movss dword [esp + 0xa4], xmm2
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 + 0x10], ecx
mov dword [esp + 0x28], eax
movd xmm1, eax
lea eax, [esp + 0xf8]
cvtdq2ps xmm1, xmm1
mov edi, dword [esi + 0x18]
push ecx
push ecx
mov ecx, esi
movaps xmm0, xmm1
addss xmm1, xmm3
divss xmm0, dword [0x461d98]
divss xmm1, dword [0x461d98]
addss xmm0, xmm0
addss xmm1, xmm1
mulss xmm0, dword [0x461d78]
mulss xmm1, dword [0x461d78]
subss xmm0, xmm4
addss xmm1, xmm4
movaps xmm3, xmm0
movss dword [esp + 0x14], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x7c], xmm1
call fcn.0042ecc0
movss xmm0, dword [esp + 0x6c]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0x50]
push dword [esi + 0x38]
push dword [esi + 0x40]
call fcn.0042d7e0
movss xmm0, dword [esp + 0xc]
cvtps2pd xmm0, xmm0
mov dword [esi + 0x38], 0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0xc]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xbc]
addss xmm0, dword [esp + 0xc4]
movss dword [esp + 0xb0], 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 + 0xbc]
addss xmm0, dword [esp + 0xc0]
movss dword [esp + 0xb4], xmm0
movss xmm0, dword [esp + 0x70]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x70]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xbc]
addss xmm0, dword [esp + 0xc4]
movss dword [esp + 0xc], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm2, dword [esp + 0xc]
subss xmm2, dword [esp + 0xb0]
cvtsd2ss xmm0, xmm0
mov eax, dword [esp + 0x28]
mov edx, dword [esi + 0x20]
movss xmm3, dword [0x461d20]
mulss xmm0, dword [esp + 0xbc]
mov ecx, dword [esp + eax*4 + 0x108]
mov eax, dword [esi + 0x18]
movss dword [esp + 0xc], xmm2
addss xmm0, dword [esp + 0xc0]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [esp + 0x78], eax
subss xmm0, dword [esp + 0xb4]
movaps xmm1, xmm0
movss dword [esp + 0xa8], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
movaps xmm0, xmm3
divss xmm0, xmm1
movss dword [esp + 0xdc], xmm0
movzx eax, cl
mov dword [esp + 0xac], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0xb8], eax
shr ecx, 0x10
movzx eax, cl
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + eax*4 + 0x10c]
movzx eax, cl
sub eax, dword [esp + 0xac]
mov dword [esp + 0x68], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0xb8]
shr ecx, 0x10
mov dword [esp + 0x84], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0x78]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x70]
cmp edx, edi
jae 0x4490f2
movd xmm5, dword [esp + 0x70]
movd xmm6, dword [esp + 0x84]
movd xmm7, dword [esp + 0xb8]
mov esi, dword [esp + 0x68]
movd xmm4, ecx
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm5, xmm5
cvtdq2ps xmm6, xmm6
cvtdq2ps xmm7, xmm7
nop word [eax + eax]
movss xmm0, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm1, dword [esp + 0xb4]
subss xmm0, dword [esp + 0xb0]
mulss xmm1, dword [esp + 0xa8]
mulss xmm0, xmm2
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [esp + 0xdc]
comiss xmm0, xmm1
jbe 0x449082
xorps xmm2, xmm2
jmp 0x449089
movaps xmm2, xmm3
minss xmm2, xmm1
movaps xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si ecx, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm6
shl ecx, 8
addss xmm0, xmm7
cvttss2si eax, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
or ecx, eax
shl ecx, 8
mulss xmm2, xmm0
movd xmm0, dword [esp + 0xac]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0xc]
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 0x449040
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x28]
movss xmm2, dword [esp + 0xa4]
inc eax
movss xmm4, dword [esp + 0x74]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], eax
cmp eax, 6
jl 0x448e00
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x461d60]
mulss xmm0, dword [0x461d78]
movss dword [esp + 0x14], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm3, dword [esp + 0x14]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0xc], 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 + 0xbc]
addss xmm3, dword [esp + 0x98]
cvtsd2ss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xc]
mulss xmm3, xmm2
mulss xmm0, dword [0x461cdc]
mulss xmm3, dword [0x461cdc]
addss xmm0, dword [esp + 0xc4]
movss dword [esp + 0x78], xmm2
addss xmm3, dword [esp + 0xc0]
movss xmm2, dword [esp + 0x6c]
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x88], xmm3
je 0x4491ca
mulss xmm2, dword [0x461ce8]
jmp 0x4491d2
mulss xmm2, dword [0x461ce0]
mov ecx, dword [esi + 0x2c]
movaps xmm0, xmm2
addss xmm0, dword [0x461d1c]
movss dword [esp + 0x28], xmm2
cvttss2si eax, xmm0
cmp eax, 0x3f
ja 0x4491f9
movzx edi, byte [ecx + eax + 0x1c0]
jmp 0x44925f
movss xmm1, dword [ecx + 0x18]
minss xmm1, xmm2
movss xmm0, dword [0x461d20]
divss xmm1, xmm2
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [0x461d78]
divss xmm0, xmm1
call fcn.00424b50
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
mov edi, eax
and edi, 0xfffffffe
cmp edi, 4
jge 0x44924b
mov edi, 4
jmp 0x449259
cmp edi, 0x200
mov eax, 0x200
cmovg edi, eax
movss xmm2, dword [esp + 0x28]
push edi
push dword [esp + 0x94]
lea eax, [esp + 0x8c]
mov dword [esp + 0xa0], edi
push eax
mov ecx, esi
call fcn.0042fcc0
test dword [esp + 0x30], 0xff000000
movss xmm4, dword [esp + 0x28]
movss xmm2, dword [0x461d20]
movaps xmm5, xmm4
mov esi, dword [esp + 0xcc]
addss xmm5, xmm2
movss xmm3, dword [0x461cdc]
je 0x449375
comiss xmm3, xmm5
ja 0x449375
test edi, edi
jg 0x4492e0
mov edi, dword [esp + 0x44]
subss xmm5, xmm3
push ecx
push 0x30
push 0
lea eax, [esp + 0x90]
mov ecx, edi
push eax
movaps xmm2, xmm5
call fcn.0042e860
dec dword [edi + 0x38]
jmp 0x44933b
cmp edi, 3
jge 0x4492ec
mov eax, 3
jmp 0x4492fc
cmp edi, 0x200
mov eax, edi
mov ecx, 0x200
cmovg eax, ecx
movd xmm1, eax
subss xmm5, xmm3
cvtdq2ps xmm1, xmm1
mov edi, dword [esp + 0x44]
dec eax
push eax
push ecx
lea eax, [esp + 0x8c]
mov ecx, edi
xorps xmm3, xmm3
movaps xmm0, xmm1
subss xmm0, xmm2
movaps xmm2, xmm5
mulss xmm0, dword [0x461d9c]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.0042ecc0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x38]
push dword [edi + 0x38]
push dword [edi + 0x40]
call fcn.0042d7e0
movss xmm2, dword [0x461d20]
movss xmm4, dword [esp + 0x28]
movss xmm3, dword [0x461cdc]
mov dword [edi + 0x38], 0
jmp 0x449379
mov edi, dword [esp + 0x44]
test dword [esp + 0x48], 0xff000000
je 0x449431
comiss xmm3, xmm4
ja 0x449431
mov eax, dword [esp + 0x98]
test eax, eax
jg 0x4493bb
push ecx
subss xmm4, xmm3
mov ecx, edi
push 0x30
push 0
lea eax, [esp + 0x90]
push eax
movaps xmm2, xmm4
call fcn.0042e860
dec dword [edi + 0x38]
jmp 0x44940f
cmp eax, 3
jge 0x4493c7
mov eax, 3
jmp 0x4493d4
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
movd xmm1, eax
subss xmm4, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
lea eax, [esp + 0x88]
push ecx
xorps xmm3, xmm3
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, xmm2
movaps xmm2, xmm4
mulss xmm0, dword [0x461d9c]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.0042ecc0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x50]
push dword [edi + 0x38]
push dword [edi + 0x40]
call fcn.0042d7e0
mov dword [edi + 0x38], 0
movss xmm4, dword [esp + 0x78]
xorps xmm1, xmm1
movss xmm3, dword [esp + 0xc]
movaps xmm0, xmm4
movss xmm7, dword [esp + 0xc4]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x38]
mov ecx, edi
mov eax, dword [0x465538]
mulss xmm0, xmm1
push 3
movss xmm6, dword [esp + 0xcc]
movss xmm5, dword [esp + 0xa4]
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
push 3
addss xmm2, xmm7
movss dword [esp + 0x70], xmm2
movss dword [esp + 0xd4], xmm2
movaps xmm2, xmm4
mulss xmm2, dword [esp + 0x40]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm4
mulss xmm5, xmm3
addss xmm2, dword [esp + 0xc8]
movss dword [esp + 0xe4], xmm2
movss dword [esp + 0xd8], xmm2
movaps xmm2, xmm6
mulss xmm2, xmm3
mulss xmm6, xmm4
movaps xmm1, xmm2
subss xmm1, xmm0
addss xmm5, xmm6
addss xmm1, xmm7
addss xmm5, dword [esp + 0xc8]
movss dword [esp + 0x40], xmm1
movss xmm1, dword [esp + 0xa4]
movaps xmm0, xmm1
movss dword [esp + 0xa8], xmm5
mulss xmm0, xmm4
mulss xmm1, xmm3
subss xmm2, xmm0
movss dword [esp + 0x44], xmm5
movss xmm0, dword [eax + 0x3d60]
addss xmm1, xmm6
movss dword [esp + 0x80], xmm0
movss xmm0, dword [eax + 0x3d64]
movss dword [esp + 0x8c], xmm0
addss xmm2, xmm7
addss xmm1, dword [esp + 0xc8]
movss dword [esp + 0xb0], xmm2
movss dword [esp + 0x58], xmm2
movss dword [esp + 0xa4], xmm1
movss dword [esp + 0x5c], xmm1
call fcn.0042d5c0
mov ecx, dword [edi + 0x34]
mov ax, word [edi + 0x28]
mov edx, dword [esp + 0xd0]
movss xmm0, dword [esp + 0x78]
movss xmm1, dword [esp + 0x84]
mov word [ecx], ax
mov eax, dword [edi + 0x30]
add dword [edi + 0x34], 2
mov ecx, dword [esp + 0xcc]
mov dword [eax], ecx
mov ecx, dword [esp + 0x90]
mov dword [eax + 4], edx
mov eax, dword [edi + 0x30]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x30]
mov dword [eax + 0x10], ecx
mov eax, dword [edi + 0x34]
inc dword [edi + 0x28]
add dword [edi + 0x30], 0x14
mov ecx, dword [edi + 0x28]
mov word [eax], cx
add dword [edi + 0x34], 2
mov ecx, dword [esp + 0x38]
mov eax, dword [edi + 0x30]
mov edx, dword [esp + 0x3c]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi + 0x30]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x30]
mov dword [eax + 0x10], ecx
mov eax, dword [edi + 0x34]
add dword [edi + 0x30], 0x14
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x30]
add dword [edi + 0x34], 2
mov ecx, dword [esp + 0x50]
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov eax, dword [edi + 0x30]
push ecx
mov dword [esp], 0x3fc00000
push dword [esp + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x30]
mov dword [eax + 0x10], ecx
lea eax, [esp + 0x58]
add dword [edi + 0x30], 0x14
mov ecx, edi
inc dword [edi + 0x28]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.0042fa90
movss xmm3, dword [0x461d20]
xorps xmm0, xmm0
movaps xmm1, xmm3
subss xmm1, dword [esp + 0x40]
comiss xmm0, xmm1
jbe 0x44967a
xorps xmm4, xmm4
jmp 0x449681
movaps xmm4, xmm3
minss xmm4, xmm1
movss xmm1, dword [esp + 0x24]
comiss xmm0, xmm1
jbe 0x449691
xorps xmm2, xmm2
jmp 0x449698
movaps xmm2, xmm3
minss xmm2, xmm1
movss xmm0, dword [esp + 0x68]
subss xmm0, dword [esp + 0xa8]
movss xmm1, dword [esp + 0x38]
mulss xmm0, xmm2
addss xmm0, dword [esp + 0xa8]
subss xmm1, xmm0
mulss xmm1, xmm4
addss xmm1, xmm0
movss xmm0, dword [esp + 0xdc]
subss xmm0, dword [esp + 0x9c]
movss dword [esp + 0xe8], xmm1
mulss xmm0, xmm2
movss xmm2, dword [esp + 0xa0]
addss xmm0, dword [esp + 0x9c]
subss xmm2, xmm0
mulss xmm2, xmm4
addss xmm2, xmm0
movss dword [esp + 0xec], xmm2
jmp 0x449a41
test eax, 0x2000000
je 0x449a41
movss xmm0, dword [esp + 0x74]
mov ecx, edi
addss xmm0, dword [esp + 0x20]
mov eax, dword [esp + 0x48]
push eax
push edx
push edx
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [esp + 0x2c]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x64]
push eax
movss dword [esp + 0x54], xmm0
call fcn.0042f910
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0xf8]
movss xmm0, dword [esp + 0x74]
addss xmm0, dword [esp + 0x20]
push ecx
push ecx
push 0
push 0
push eax
movss dword [esp + 0x10c], xmm0
lea eax, [esp + 0x64]
movss xmm0, dword [esp + 0x50]
mov ecx, edi
push eax
movss dword [esp + 0x114], xmm0
call fcn.0042f910
movss xmm0, dword [esp + 0x74]
addss xmm0, dword [esp + 0x20]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x7c], xmm0
xorps xmm0, xmm0
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.004081d0
movss xmm2, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm1, dword [0x461d20]
add esp, 0x10
comiss xmm0, xmm2
jbe 0x4497ef
xorps xmm3, xmm3
jmp 0x4497f6
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm6, dword [esp + 0x20]
movss xmm7, dword [esp + 0x74]
movss xmm2, dword [0x461cdc]
mulss xmm3, xmm6
movss xmm5, dword [0x461d60]
addss xmm3, xmm7
addss xmm3, xmm2
cvttss2si eax, xmm3
movaps xmm3, xmm7
addss xmm3, xmm5
movd xmm4, eax
cvtdq2ps xmm4, xmm4
comiss xmm3, xmm4
ja 0x449844
movaps xmm3, xmm7
addss xmm3, xmm6
subss xmm3, xmm5
minss xmm3, xmm4
movss dword [esp + 0xe8], xmm3
movaps xmm3, xmm1
subss xmm3, dword [esp + 0x40]
comiss xmm0, xmm3
jbe 0x449860
xorps xmm1, xmm1
jmp 0x449864
minss xmm1, xmm3
movss xmm3, dword [esp + 0x2c]
mulss xmm1, xmm6
movaps xmm0, xmm3
addss xmm0, xmm5
addss xmm1, xmm3
addss xmm1, xmm2
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x44989b
movss xmm0, dword [esp + 0x3c]
subss xmm0, xmm5
minss xmm0, xmm1
movss xmm2, dword [esp + 0xa4]
movaps xmm1, xmm6
divss xmm1, dword [0x461d98]
mov esi, dword [esp + 0x44]
xor ecx, ecx
movss dword [esp + 0xec], xmm0
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x64]
movss dword [esp + 0x78], xmm1
movss dword [esp + 0x58], xmm2
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, xmm3
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 + 0x6c]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0x74], xmm0
call fcn.0042f910
movss xmm1, dword [esp + 0x78]
mov ecx, edi
movss xmm3, dword [esp + 0x2c]
cmp ecx, 6
jl 0x4498e0
movss xmm2, dword [esp + 0x2c]
movss xmm3, dword [esp + 0xa4]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x20]
movaps xmm1, xmm3
movss dword [esp + 0x3c], xmm2
addss xmm1, dword [esp + 0x64]
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x54], xmm0
xorps xmm0, xmm0
push dword [esp + 0x54]
movss dword [esp + 0x54], xmm1
push dword [esp + 0x54]
push dword [esp + 0x44]
push dword [esp + 0x44]
call fcn.004081d0
mov esi, dword [esp + 0xdc]
movss xmm1, dword [esp + 0x74]
addss xmm1, dword [0x461d60]
mov edi, dword [esp + 0x54]
mov ecx, edi
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x64], xmm2
addss xmm0, dword [0x461d20]
movss xmm2, dword [esp + 0xb4]
push dword [esp + 0x64]
subss xmm2, dword [0x461d20]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x28]
mulss xmm0, dword [esp + 0x34]
push dword [esp + 0x64]
movss dword [esp + 0x50], xmm2
addss xmm0, dword [esp + 0x44]
addss xmm0, dword [0x461cdc]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x4c]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x38c8]
movss dword [esp + 0x54], xmm0
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.00447180
movss xmm3, dword [0x461d20]
add esp, 0x20
cmp byte [esp + 0xa], 0
movss xmm4, dword [esp + 0x6c]
je 0x449a58
mulss xmm4, dword [0x461ce0]
jmp 0x449a60
mulss xmm4, dword [0x461ccc]
mov ecx, dword [edi + 0x2c]
movaps xmm0, xmm4
addss xmm0, dword [0x461d1c]
movss dword [esp + 0x6c], xmm4
cvttss2si eax, xmm0
cmp eax, 0x3f
ja 0x449a87
movzx eax, byte [ecx + eax + 0x1c0]
jmp 0x449ae5
movss xmm2, dword [ecx + 0x18]
movaps xmm1, xmm3
minss xmm2, xmm4
divss xmm2, xmm4
subss xmm1, xmm2
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [0x461d78]
divss xmm0, xmm1
call fcn.00424b50
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x449ad2
mov eax, 4
jmp 0x449adf
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
movss xmm4, dword [esp + 0x6c]
test dword [esp + 0x8c], 0xff000000
movss xmm3, dword [0x461cdc]
mov dword [esp + 0x28], eax
je 0x449ba6
comiss xmm3, xmm4
ja 0x449ba6
test eax, eax
jg 0x449b2b
push ecx
push 0x30
push 0
lea eax, [esp + 0xf4]
movaps xmm2, xmm4
push eax
mov ecx, edi
call fcn.0042e860
dec dword [edi + 0x38]
jmp 0x449b83
cmp eax, 3
jge 0x449b37
mov ecx, 3
jmp 0x449b46
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, edi
xorps xmm3, xmm3
movaps xmm2, xmm4
movaps xmm0, xmm1
subss xmm0, dword [0x461d20]
mulss xmm0, dword [0x461d9c]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.0042ecc0
push dword [esp + 0x8c]
mov ecx, edi
push dword [edi + 0x38]
push dword [edi + 0x40]
call fcn.0042e4a0
movss xmm3, dword [0x461cdc]
mov dword [edi + 0x38], 0
test dword [esp + 0x30], 0xff000000
movss xmm5, dword [esp + 0x6c]
movss xmm2, dword [0x461d20]
movaps xmm4, xmm5
addss xmm4, xmm2
je 0x449c82
comiss xmm3, xmm4
ja 0x449c82
mov eax, dword [esp + 0x28]
test eax, eax
jg 0x449bfa
push ecx
subss xmm4, xmm3
mov ecx, edi
push 0x30
push 0
lea eax, [esp + 0xf4]
push eax
movaps xmm2, xmm4
call fcn.0042e860
dec dword [edi + 0x38]
jmp 0x449c52
cmp eax, 3
jge 0x449c06
mov ecx, 3
jmp 0x449c15
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
mov ecx, edi
lea eax, [esp + 0xf0]
subss xmm4, xmm3
xorps xmm3, xmm3
movaps xmm0, xmm1
subss xmm0, xmm2
movaps xmm2, xmm4
mulss xmm0, dword [0x461d9c]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.0042ecc0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x38]
push dword [edi + 0x38]
push dword [edi + 0x40]
call fcn.0042d7e0
movss xmm2, dword [0x461d20]
movss xmm5, dword [esp + 0x6c]
mov dword [edi + 0x38], 0
test dword [esp + 0x48], 0xff000000
movss xmm3, dword [0x461cdc]
je 0x449d47
comiss xmm3, xmm5
ja 0x449d47
mov eax, dword [esp + 0x28]
test eax, eax
jg 0x449cc9
push ecx
subss xmm5, xmm3
mov ecx, edi
push 0x30
push 0
lea eax, [esp + 0xf4]
push eax
movaps xmm2, xmm5
call fcn.0042e860
dec dword [edi + 0x38]
jmp 0x449d1d
cmp eax, 3
jge 0x449cd5
mov eax, 3
jmp 0x449ce2
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
movd xmm1, eax
subss xmm5, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
lea eax, [esp + 0xec]
push ecx
xorps xmm3, xmm3
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, xmm2
movaps xmm2, xmm5
mulss xmm0, dword [0x461d9c]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.0042ecc0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x50]
push dword [edi + 0x38]
push dword [edi + 0x40]
call fcn.0042d7e0
movss xmm3, dword [0x461cdc]
mov dword [edi + 0x38], 0
cmp dword [esp + 0xd8], 0x10000
jne 0x449ef4
mov eax, dword [esp + 0x1c]
xorps xmm1, xmm1
movss xmm2, dword [eax + 0xc]
comiss xmm1, xmm2
jbe 0x449d71
movss dword [esp + 0x4c], xmm1
jmp 0x449d83
movss xmm0, dword [0x461d20]
minss xmm0, xmm2
movss dword [esp + 0x4c], xmm0
movss xmm4, dword [esp + 0xd4]
xor edx, edx
movss xmm0, dword [esp + 0x2c]
movaps xmm2, xmm4
addss xmm2, dword [esp + 0x64]
mov ecx, dword [esp + 0x44]
movss dword [esp + 0xfc], xmm0
addss xmm0, dword [esp + 0x20]
mov dword [esp + 0x54], 0
push dword [esp + 0x54]
mov dword [esp + 0x54], 0
push dword [esp + 0x54]
movss dword [esp + 0x108], xmm2
subss xmm2, xmm4
movss dword [esp + 0x10c], xmm0
push dword [esp + 0x10c]
movss dword [esp + 0x104], xmm4
push dword [esp + 0x10c]
mov edi, dword [esp + 0x108]
push dword [esp + 0x10c]
mulss xmm2, xmm3
xorps xmm3, xmm3
push edi
push 0
call fcn.00434690
mov ecx, dword [esp + 0xa8]
add esp, 0x1c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x110]
push eax
lea eax, [esp + 0x10c]
push eax
call fcn.0042f910
push dword [esp + 0x104]
xorps xmm0, xmm0
push dword [esp + 0x104]
push dword [esp + 0x104]
push edi
call fcn.004081d0
movss xmm1, dword [0x461d20]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x54]
movaps xmm0, xmm2
movss dword [esp + 0x64], xmm2
movss xmm2, dword [esp + 0xe4]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0x5c]
push dword [esp + 0x64]
movss dword [esp + 0x64], xmm0
push dword [esp + 0x64]
mulss xmm1, dword [esp + 0x38]
movss dword [esp + 0x50], xmm2
addss xmm1, dword [esp + 0x44]
addss xmm1, dword [0x461cdc]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x7c]
addss xmm1, dword [0x461d60]
movd xmm0, eax
mov eax, dword [esp + 0x4c]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x38c8]
movss dword [esp + 0x54], xmm0
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.00447180
add esp, 0x20
call fcn.00417d20
mov dl, byte [esp + 9]
mov edi, dword [0x465538]
test dl, dl
je 0x449ff9
mov ecx, dword [esp + 0x1c]
lea esi, [esp + 0x124]
xor edx, edx
cmp dword [esp + 0x94], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x449f41
nop
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x449f4a
add esi, 4
add ecx, 4
sub edx, 4
jae 0x449f30
cmp edx, 0xfffffffc
je 0x449ff7
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x449f87
cmp edx, 0xfffffffd
je 0x449ff7
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x449f87
cmp edx, 0xfffffffe
je 0x449ff7
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x449f87
cmp edx, 0xffffffff
je 0x449ff7
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x449ff7
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x49a0]
test ecx, ecx
je 0x449fbd
cmp word [edi + 0x5032], 0
jg 0x449fbd
mov edx, dword [edi + 0x4060]
cmp edx, ecx
je 0x449fad
test edx, edx
jne 0x449fb6
mov word [edi + 0x4070], 0x101
or dword [edi + 0x49a8], 4
mov dl, byte [esp + 9]
cmp dword [esp + 0xe4], 0
jne 0x449fd5
mov dword [eax + 0x4fac], 0
mov ecx, dword [edi + 0x4004]
mov al, dl
pop edi
pop esi
dec dword [ecx + 0xf4]
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.00457551
mov esp, ebp
pop ebp
ret
xor dl, dl
mov eax, dword [esp + 0x34]
jmp 0x449fc1