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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x130
mov eax, dword [0x100b1040]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x88], ecx
mov ecx, dword [0x100b2110]
mov dword [esp + 0x8c], eax
push esi
push edi
mov eax, dword [ecx + 0x3f8c]
mov edi, edx
mov dword [esp + 0xb0], edi
mov dword [esp + 0x2c], ecx
mov byte [eax + 0xb0], 1
mov eax, dword [ecx + 0x3f8c]
mov dword [esp + 0xa8], eax
cmp byte [eax + 0xb3], 0
je 0x1004fbd9
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.1007c18b
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x48e8], 1
mov edx, dword [eax + 0x270]
mov dword [esp + 0x28], edx
je 0x1004fbf6
movss xmm1, dword [ecx + 0x48f8]
jmp 0x1004fbfe
movss xmm1, dword [eax + 0x1ac]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1004fc40
cmp dword [eax + 0x198], 0
jne 0x1004fc1e
cmp dword [ecx + 0x4ce0], 0
lea edx, [eax + 0x234]
je 0x1004fc24
lea edx, [eax + 0x204]
movss xmm0, dword [edx]
subss xmm0, dword [eax + 0xf8]
addss xmm0, xmm1
movss xmm1, dword [0x100ab010]
maxss xmm1, xmm0
mov edx, dword [ecx + 0x48ec]
mov eax, dword [ecx + 0x48dc]
shr edx, 7
shr eax, 7
or dl, al
mov dword [ecx + 0x48e8], 0
and edx, 0xffffff01
mov dword [ecx + 0x48ec], 0
mov ecx, dword [esp + 0x90]
cvttss2si esi, xmm1
mov dword [esp + 0x14], edx
call fcn.100225a0
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x5c98]
mov dword [esp + 0xe4], eax
test eax, eax
jne 0x1004fcb4
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0xec]
mov eax, dword [eax + 0xf4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x5c98], eax
call fcn.10025270
mov edx, dword [ebp + 8]
mov ecx, edx
or ecx, 0x10
test edx, 0x100
cmovne ecx, edx
mov dword [esp + 0xac], ecx
test cl, 8
jne 0x1004fce6
mov edx, ecx
mov ecx, edi
call fcn.10053330
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x2c]
test ecx, 0x6000000
jne 0x1004fd12
mov eax, dword [edx + 0x5c94]
mov ecx, 0xa900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, dword [esp + 0xac]
mov dword [esp + 0xc], ecx
test ecx, 0x18000000
jne 0x1004fd49
mov eax, dword [edx + 0x5c94]
mov edi, 0xa900000
test eax, 0x18000000
cmovne edi, eax
mov eax, edi
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0xb0]
and eax, 0x18000000
or ecx, eax
mov dword [esp + 0xc], ecx
test cl, 8
jne 0x1004fd5f
mov eax, dword [edx + 0x5c94]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0xc], ecx
mov eax, ecx
movss xmm2, dword [edx + 0x38fc]
and eax, 2
and ecx, 0x10002
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xd8], ecx
movss xmm3, dword [eax + 0xf8]
movss xmm0, dword [eax + 0xfc]
mov eax, dword [0x100b2110]
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x60], xmm3
movss xmm4, dword [eax + 0x38e8]
addss xmm4, xmm4
movss dword [esp + 0x40], xmm3
addss xmm4, dword [eax + 0x3cf4]
xor eax, eax
cmp ecx, 0x10000
sete al
inc eax
addss xmm0, xmm4
movss dword [esp + 0x58], xmm4
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0xac], eax
sete al
mulss xmm1, xmm0
lea eax, [eax*4 + 0xc]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push eax
lea eax, [esp + 0x128]
push edi
push eax
subss xmm0, xmm1
movaps xmm1, xmm4
maxss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [esp + 0x28], xmm1
addss xmm0, xmm2
movss dword [esp + 0x80], xmm0
addss xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0xe0], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x100aafac]
cvttss2si esi, xmm0
mov dword [esp + 0x70], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [esp + 0x28]
add esp, 0xc
movaps xmm4, xmm1
movaps xmm2, xmm1
mulss xmm4, dword [0x100aafcc]
mulss xmm2, dword [0x100aaf9c]
movaps xmm0, xmm4
movss dword [esp + 0xa8], xmm4
addss xmm0, dword [esp + 0x24]
movss dword [esp + 0x5c], xmm2
movaps xmm3, xmm4
subss xmm3, xmm2
movaps xmm2, xmm1
addss xmm2, dword [esp + 0x58]
movss dword [esp + 0xc4], xmm0
movss dword [esp + 0xfc], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100aaf88]
movaps xmm1, xmm3
mulss xmm2, dword [0x100aafcc]
cvttss2si eax, xmm0
addss xmm2, dword [esp + 0x60]
movss dword [esp + 0x8c], xmm3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc0], xmm2
movss dword [esp + 0xf8], xmm2
subss xmm1, xmm0
movss xmm7, dword [edi + 8]
movaps xmm0, xmm1
mulss xmm0, dword [0x100ab1dc]
movaps xmm2, xmm1
mov eax, dword [esp + 0xc]
mulss xmm2, dword [0x100ab1e8]
mov dword [esp + 0x34], 0
movss xmm5, dword [0x100aaf64]
movss dword [esp + 0xb8], xmm0
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x108], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100ab000]
movss dword [esp + 0xb4], xmm2
movss dword [esp + 0x9c], xmm2
movss dword [esp + 0xc8], xmm0
movss dword [esp + 0x10c], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x30], xmm1
movaps xmm2, xmm0
movss xmm1, dword [edi + 4]
movss dword [esp + 0x78], xmm2
movss dword [esp + 0x88], xmm2
movaps xmm2, xmm1
movss dword [esp + 0x54], xmm2
movss dword [esp + 0x7c], xmm2
movaps xmm2, xmm7
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x4c], xmm7
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x68], xmm2
test eax, 0x8000000
je 0x10050096
comiss xmm7, xmm1
xorps xmm3, xmm3
movaps xmm2, xmm1
movaps xmm4, xmm7
jbe 0x1004ffee
movss xmm3, dword [0x100ab1ec]
movaps xmm2, xmm7
movaps xmm4, xmm1
comiss xmm2, xmm0
movaps xmm7, xmm0
movss dword [esp + 0x4c], xmm7
jbe 0x10050017
movaps xmm7, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x100ab1d8]
subss xmm0, xmm3
movss dword [esp + 0x4c], xmm7
movaps xmm3, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x10], xmm7
minss xmm0, xmm4
movaps xmm1, xmm7
subss xmm2, xmm4
mov ecx, edi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x40]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x28]
movaps xmm0, xmm1
mulss xmm0, dword [0x100ab0d4]
addss xmm0, xmm5
divss xmm2, xmm0
movaps xmm0, xmm7
addss xmm0, xmm5
addss xmm2, xmm3
divss xmm1, xmm0
andps xmm2, xmmword [0x100ab6c0]
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x44], xmm1
call fcn.1004e7c0
movss xmm0, dword [esp + 0x28]
add esp, 8
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x20], xmm0
jmp 0x100500e2
test eax, 0x10000000
je 0x100500e2
lea eax, [esp + 0x68]
movaps xmm2, xmm7
push eax
lea edx, [esp + 0x80]
lea ecx, [esp + 0x8c]
call fcn.10014bc0
movss xmm0, dword [esp + 0x8c]
add esp, 4
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x38], xmm0
mov ecx, dword [0x100b2110]
lea edx, [ecx + 0x49f0]
mov byte [esp + 9], 0
mov byte [esp + 0x1b], 0
mov byte [esp + 0xa], 0
mov eax, dword [ecx + 0x48dc]
or eax, 8
mov dword [esp + 0x3c], edx
mov dword [ecx + 0x48dc], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x50], eax
cmp dword [edx], ecx
jne 0x1005014e
test ecx, ecx
je 0x1005012e
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x3c]
sar eax, 1
add eax, ecx
jmp 0x10050133
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.1002d910
mov edi, dword [esp + 0xb0]
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x50]
mov dword [eax + ecx*4], esi
inc dword [edx]
mov eax, dword [esp + 0xc]
test eax, 0x4000000
je 0x1005073a
movss xmm1, dword [esp + 0x1c]
lea edx, [esp + 0xe8]
mov eax, dword [esp + 0x2c]
movaps xmm0, xmm1
push ecx
mov ecx, 0x100a4f4c
movss dword [esp + 0xf0], xmm1
addss xmm0, dword [eax + 0x38fc]
addss xmm0, dword [esp + 0x5c]
movss dword [esp + 0xec], xmm0
call fcn.10044d80
mov eax, dword [0x100b2110]
add esp, 4
mov ecx, dword [eax + 0x3fdc]
test ecx, ecx
je 0x1005064b
cmp ecx, dword [eax + 0x4908]
jne 0x1005064b
cmp byte [esp + 0x14], 0
jne 0x1005064b
mov eax, dword [esp + 0x2c]
movss xmm0, dword [eax + 0x37d4]
subss xmm0, dword [esp + 0xc4]
movss xmm1, dword [eax + 0x37d0]
subss xmm1, dword [esp + 0xc0]
movss xmm4, dword [eax + 0xe00]
movss xmm3, dword [eax + 0xe04]
subss xmm4, dword [esp + 0xc0]
subss xmm3, dword [esp + 0xc4]
movaps xmm2, xmm0
movss dword [esp + 0xcc], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x3c], xmm1
movss xmm1, dword [0x100ab010]
addss xmm2, xmm0
movss dword [esp + 0x14], xmm4
movss xmm0, dword [esp + 0x8c]
subss xmm0, xmm1
movss dword [esp + 0xdc], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x100502fa
movss xmm0, dword [esp + 0xa8]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x100502fa
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 [0x100ab0a4]
mulss xmm1, dword [0x100aafcc]
comiss xmm0, xmm1
movss dword [esp + 0x10], xmm1
jbe 0x100502f2
addss xmm1, dword [0x100ab010]
movss dword [esp + 0x10], xmm1
mov cl, 1
mov byte [esp + 9], cl
jmp 0x10050304
mov cl, byte [esp + 9]
movss xmm1, dword [esp + 0x10]
movaps xmm0, xmm1
mov byte [esp + 0x1b], cl
xorps xmm0, xmmword [0x100ab6e0]
addss xmm0, xmm0
mulss xmm0, dword [0x100ab0a4]
cvtss2sd xmm0, xmm0
movsd qword [esp + 0xe8], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x50], xmm0
movsd xmm0, qword [esp + 0xe8]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm4, dword [esp + 0x50]
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm0
movss xmm1, dword [esp + 0xb8]
movaps xmm5, xmm4
mulss xmm5, dword [esp + 0x3c]
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xcc]
movaps xmm7, xmm4
mulss xmm7, dword [esp + 0xcc]
subss xmm5, xmm0
movss dword [esp + 0xbc], xmm3
movaps xmm0, xmm3
movss xmm6, dword [esp + 0x30]
mulss xmm0, dword [esp + 0x3c]
movaps xmm3, xmm1
subss xmm3, xmm1
movaps xmm2, xmm5
addss xmm7, xmm0
movss xmm0, dword [esp + 0xb4]
subss xmm0, dword [esp + 0xc8]
subss xmm2, xmm1
subss xmm6, dword [esp + 0xb8]
movss dword [esp + 0x50], xmm3
movss dword [esp + 0xcc], xmm0
movaps xmm1, xmm2
mulss xmm1, xmm0
movaps xmm0, xmm7
subss xmm0, dword [esp + 0xc8]
movss dword [esp + 0x6c], xmm6
mulss xmm0, xmm3
xorps xmm3, xmm3
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xb4]
comiss xmm3, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x3c], xmm0
movaps xmm0, xmm7
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0xb4]
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x10050643
movss xmm6, dword [esp + 0xc8]
subss xmm7, xmm3
movss xmm2, dword [esp + 0xb8]
subss xmm6, xmm3
subss xmm2, dword [esp + 0x30]
subss xmm5, dword [esp + 0x30]
movss dword [esp + 0x70], xmm6
mulss xmm7, xmm2
mulss xmm5, xmm6
movss dword [esp + 0x80], xmm2
subss xmm5, xmm7
comiss xmm3, xmm5
seta al
cmp cl, al
jne 0x10050643
movss xmm1, dword [esp + 0xbc]
movaps xmm5, xmm4
mulss xmm5, dword [esp + 0x14]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x14]
mulss xmm0, dword [esp + 0xdc]
mulss xmm4, dword [esp + 0xdc]
subss xmm5, xmm0
addss xmm4, xmm1
movaps xmm1, xmm5
movss dword [esp + 0xe8], xmm5
subss xmm1, dword [esp + 0xb8]
movaps xmm0, xmm4
movss dword [esp + 0xec], xmm4
subss xmm0, dword [esp + 0xc8]
mulss xmm1, dword [esp + 0xcc]
mulss xmm0, dword [esp + 0x50]
subss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xb4]
comiss xmm3, xmm1
mulss xmm0, dword [esp + 0x6c]
movaps xmm1, xmm5
subss xmm1, dword [esp + 0xb8]
seta cl
mulss xmm1, dword [esp + 0x3c]
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x1005055b
movaps xmm1, xmm5
movaps xmm0, xmm4
subss xmm1, dword [esp + 0x30]
subss xmm0, xmm3
mulss xmm1, xmm6
mulss xmm0, xmm2
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp cl, al
je 0x10050598
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x10c]
push eax
lea eax, [esp + 0xa0]
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0xe8]
call fcn.100140b0
movss xmm6, dword [esp + 0x7c]
add esp, 0xc
xorps xmm3, xmm3
movss xmm5, dword [eax]
movss xmm4, dword [eax + 4]
movss xmm2, dword [esp + 0xb4]
subss xmm4, xmm3
movss xmm7, dword [esp + 0x80]
subss xmm2, xmm3
subss xmm5, dword [esp + 0x30]
movaps xmm1, xmm7
movss xmm3, dword [0x100aaf78]
movaps xmm0, xmm7
mulss xmm1, xmm6
mulss xmm4, xmm7
mulss xmm0, xmm2
mulss xmm6, xmm5
subss xmm1, xmm0
mulss xmm5, xmm2
subss xmm6, xmm4
movss xmm0, dword [0x100ab010]
movaps xmm7, xmm0
movss dword [esp + 0x20], xmm3
subss xmm4, xmm5
divss xmm6, xmm1
divss xmm4, xmm1
subss xmm7, xmm6
comiss xmm3, xmm7
movaps xmm2, xmm7
subss xmm2, xmm4
jbe 0x10050614
movaps xmm1, xmm3
jmp 0x1005061b
movaps xmm1, xmm0
minss xmm1, xmm7
divss xmm2, xmm1
movss dword [esp + 0x4c], xmm1
comiss xmm3, xmm2
ja 0x10050637
movaps xmm3, xmm0
minss xmm3, xmm2
movss dword [esp + 0x20], xmm3
mov byte [esp + 0xa], 1
mov byte [esp + 9], 1
jmp 0x1005064b
mov al, byte [esp + 9]
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0xc]
test al, 8
jne 0x10050658
call fcn.10026620
movss xmm3, dword [esp + 0x1c]
movss xmm4, dword [esp + 0x24]
cmp dword [esp + 0xd8], 0x10000
mov esi, dword [esp + 0x64]
jne 0x100509ef
mov ecx, dword [0x100b2110]
lea edx, [esp + 0x98]
movss xmm0, dword [esp + 0xd4]
push ecx
movss dword [esp + 0xa0], xmm3
mov eax, dword [ecx + 0x3f8c]
mov byte [eax + 0xb0], 1
mov eax, dword [ecx + 0x3f8c]
mov ecx, str.alpha
movss dword [eax + 0xf8], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [eax + 0xfc], xmm4
mov byte [eax + 0x139], 1
movss dword [esp + 0x9c], xmm0
call fcn.10044d80
mov eax, dword [0x100b2110]
add esp, 4
mov ecx, dword [eax + 0x3fdc]
test ecx, ecx
je 0x100509ef
cmp ecx, dword [eax + 0x4908]
jne 0x100509ef
mov eax, dword [esp + 0x2c]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x1c]
movss xmm1, dword [0x100ab010]
subss xmm0, xmm1
movss xmm3, dword [eax + 0xe04]
subss xmm3, dword [esp + 0x24]
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x100509d7
xorps xmm4, xmm4
jmp 0x100509de
test eax, 0x2000000
je 0x10050658
movss xmm0, dword [esp + 0x1c]
lea edx, [esp + 0x98]
push ecx
mov ecx, 0x100a4f50
movss dword [esp + 0x9c], xmm0
movss dword [esp + 0xa0], xmm0
call fcn.10044d80
mov ecx, dword [0x100b2110]
add esp, 4
mov eax, dword [ecx + 0x3fdc]
test eax, eax
je 0x100508be
cmp eax, dword [ecx + 0x4908]
jne 0x100508be
cmp byte [esp + 0x14], 0
jne 0x100508be
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x1c]
movss xmm1, dword [0x100ab010]
subss xmm4, xmm1
movss xmm2, dword [eax + 0xe00]
subss xmm2, dword [esp + 0x60]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x100507d5
movss dword [esp + 0x20], xmm0
jmp 0x100507e2
movaps xmm3, xmm1
minss xmm3, xmm2
movss dword [esp + 0x20], xmm3
movss xmm2, dword [eax + 0xe04]
subss xmm2, dword [esp + 0x24]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x100507fe
xorps xmm3, xmm3
jmp 0x10050805
movaps xmm3, xmm1
minss xmm3, xmm2
mov eax, dword [ecx + 0x5c9c]
movaps xmm2, xmm1
subss xmm2, xmm3
movss dword [esp + 0x4c], xmm2
cmp eax, dword [ecx + 0x5c98]
jne 0x100508b6
movss xmm3, dword [edi]
comiss xmm0, xmm3
movss xmm4, dword [edi + 4]
movss xmm5, dword [edi + 8]
jbe 0x1005083c
xorps xmm2, xmm2
jmp 0x10050843
movaps xmm2, xmm1
minss xmm2, xmm3
comiss xmm0, xmm4
movss xmm6, dword [0x100ab17c]
movss xmm3, dword [0x100aafcc]
mulss xmm2, xmm6
addss xmm2, xmm3
cvttss2si edx, xmm2
jbe 0x10050869
xorps xmm2, xmm2
jmp 0x10050870
movaps xmm2, xmm1
minss xmm2, xmm4
mulss xmm2, xmm6
addss xmm2, xmm3
cvttss2si eax, xmm2
shl eax, 8
or edx, eax
comiss xmm0, xmm5
jbe 0x1005088b
xorps xmm1, xmm1
jmp 0x1005088f
minss xmm1, xmm5
mulss xmm1, xmm6
addss xmm1, xmm3
cvttss2si eax, xmm1
shl eax, 0x10
or eax, edx
cmp dword [ecx + 0x5ca8], eax
jne 0x100508b6
movss xmm0, dword [ecx + 0x5ca0]
movss dword [esp + 0x10], xmm0
mov al, 1
mov byte [esp + 9], al
jmp 0x100508c2
mov al, byte [esp + 9]
mov byte [esp + 0xa], al
mov byte [esp + 0xb], al
mov eax, dword [esp + 0xc]
test al, 8
jne 0x100508dd
call fcn.10026620
mov ecx, dword [0x100b2110]
mov eax, dword [ecx + 0x3f8c]
lea edx, [esp + 0x98]
movss xmm0, dword [esp + 0x74]
push ecx
mov byte [eax + 0xb0], 1
mov eax, dword [ecx + 0x3f8c]
mov ecx, 0x100a4f54
movss dword [eax + 0xf8], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [eax + 0xfc], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [esp + 0x20]
mov byte [eax + 0x139], 1
movss dword [esp + 0xa0], xmm0
call fcn.10044d80
mov eax, dword [0x100b2110]
add esp, 4
mov ecx, dword [eax + 0x3fdc]
test ecx, ecx
je 0x10050658
mov dl, byte [esp + 9]
mov byte [esp + 0xa], dl
cmp ecx, dword [eax + 0x4908]
jne 0x10050658
cmp byte [esp + 0x14], 0
movss xmm4, dword [esp + 0x24]
movss xmm3, dword [esp + 0x1c]
mov byte [esp + 0xa], dl
jne 0x10050664
mov eax, dword [esp + 0x2c]
movaps xmm0, xmm3
movss xmm1, dword [0x100ab010]
subss xmm0, xmm1
movss xmm2, dword [eax + 0xe04]
subss xmm2, xmm4
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x100509ba
movaps xmm0, xmm1
minss xmm0, xmm2
mov al, byte [esp + 0xb]
movss dword [esp + 0x10], xmm0
mov byte [esp + 0x1b], 1
mov byte [esp + 9], 1
mov byte [esp + 0xa], al
jmp 0x10050664
movaps xmm4, xmm1
minss xmm4, xmm3
movaps xmm0, xmm1
mov byte [esp + 9], 1
subss xmm0, xmm4
movss dword [edi + 0xc], xmm0
mov edx, dword [0x100b2110]
dec dword [edx + 0x49f0]
mov eax, dword [edx + 0x49f8]
mov ecx, dword [edx + 0x49f0]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x48dc], eax
mov edx, dword [esp + 0xc]
test edx, 0x100
jne 0x10050a3a
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x38fc]
call fcn.10024fd0
call fcn.10025270
mov edx, dword [esp + 0xc]
test dl, dl
js 0x10050ab1
mov ecx, dword [esp + 0x90]
cmp ecx, 0xffffffff
jae 0x10050ab1
nop word [eax + eax]
mov al, byte [ecx]
mov byte [esp + 0xb], al
test al, al
je 0x10050a69
cmp al, 0x23
jne 0x10050a63
cmp byte [ecx + 1], al
je 0x10050a69
inc ecx
cmp ecx, 0xffffffff
jb 0x10050a50
mov eax, dword [esp + 0x90]
mov dword [esp + 0x14], ecx
cmp eax, ecx
je 0x10050ab1
test edx, 0x100
je 0x10050a9f
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x38fc]
call fcn.10024fd0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x90]
mov edx, ecx
mov ecx, eax
push 0
call fcn.10043ac0
mov edx, dword [esp + 0x10]
add esp, 4
test edx, 0x100
jne 0x10050d00
mov eax, dword [0x100b2110]
mov ecx, dword [eax + 0x48dc]
or ecx, 0x10
mov dword [eax + 0x48dc], ecx
add eax, 0x49f0
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x14], eax
mov ecx, dword [eax + 4]
mov dword [esp + 0x80], ecx
cmp dword [eax], ecx
jne 0x10050b2b
mov edx, dword [eax]
inc edx
mov dword [esp + 0x70], edx
test ecx, ecx
je 0x10050b11
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x70]
mov ecx, eax
mov eax, dword [esp + 0x14]
sar ecx, 1
add ecx, dword [esp + 0x80]
jmp 0x10050b16
mov ecx, 8
cmp ecx, edx
cmovg edx, ecx
mov ecx, eax
push edx
call fcn.1002d910
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x6c]
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0x14]
inc dword [eax]
test dl, 2
je 0x10050b4c
movss xmm1, dword [0x100ab010]
jmp 0x10050b51
movss xmm1, dword [edi + 0xc]
movss xmm0, dword [edi]
mov esi, dword [esp + 0x64]
movss dword [esp + 0x108], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x10c], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x110], xmm0
movss dword [esp + 0x114], xmm1
test dl, dl
jns 0x10050b9c
push str.Current
call fcn.100441b0
mov edx, dword [esp + 0x10]
add esp, 4
movss xmm1, dword [esp + 0x58]
lea ecx, [esp + 0x98]
movaps xmm0, xmm1
and edx, 0x180e0040
mulss xmm0, dword [0x100ab09c]
push ecx
mov dword [esp + 0x70], edx
mov ecx, str.current
push edx
movss dword [esp + 0x88], xmm0
lea edx, [esp + 0x110]
movss dword [esp + 0xa0], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x78], xmm0
movss dword [esp + 0xa4], xmm0
call fcn.10052420
add esp, 8
cmp dword [esp + 0x94], 0
je 0x10050cd5
push str.Original
call fcn.100441b0
mov eax, dword [esp + 0x10]
add esp, 4
test al, 2
mov eax, dword [esp + 0x94]
je 0x10050c30
movss xmm1, dword [0x100ab010]
jmp 0x10050c35
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0xe8]
movss dword [esp + 0xe8], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0xec], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x98]
movss dword [esp + 0xf0], xmm0
movss xmm0, dword [esp + 0x80]
push eax
push dword [esp + 0x70]
movss dword [esp + 0xa0], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0xfc], xmm1
movss dword [esp + 0xa4], xmm0
call fcn.10052420
add esp, 8
test al, al
je 0x10050cd5
xor eax, eax
cmp dword [esp + 0xac], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x98]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 9], 1
mov edx, dword [0x100b2110]
dec dword [edx + 0x49f0]
mov eax, dword [edx + 0x49f8]
mov ecx, dword [edx + 0x49f0]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x48dc], eax
call fcn.100253d0
mov edx, dword [esp + 0xc]
cmp byte [esp + 0x1b], 0
jne 0x10050d12
cmp byte [esp + 0xa], 0
je 0x10050e24
test edx, 0x8000000
je 0x10050dfc
movss xmm2, dword [esp + 0x4c]
lea eax, [edi + 8]
movss xmm1, dword [esp + 0x20]
lea edx, [edi + 4]
movss xmm0, dword [esp + 0x10]
mov ecx, edi
push eax
call fcn.10014bc0
mov ecx, dword [esp + 0x30]
add esp, 4
movss xmm0, dword [esp + 0x10]
movss xmm1, dword [0x100ab010]
mov eax, dword [ecx + 0x5c98]
movss dword [ecx + 0x5ca0], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [ecx + 0x5ca4], xmm0
xorps xmm0, xmm0
mov dword [ecx + 0x5c9c], eax
movss xmm3, dword [edi]
comiss xmm0, xmm3
movss xmm4, dword [edi + 4]
movss xmm5, dword [edi + 8]
jbe 0x10050d90
xorps xmm2, xmm2
jmp 0x10050d97
movaps xmm2, xmm1
minss xmm2, xmm3
comiss xmm0, xmm4
movss xmm6, dword [0x100ab17c]
movss xmm3, dword [0x100aafcc]
mulss xmm2, xmm6
addss xmm2, xmm3
cvttss2si edx, xmm2
jbe 0x10050dbd
xorps xmm2, xmm2
jmp 0x10050dc4
movaps xmm2, xmm1
minss xmm2, xmm4
mulss xmm2, xmm6
addss xmm2, xmm3
cvttss2si eax, xmm2
shl eax, 8
or edx, eax
comiss xmm0, xmm5
jbe 0x10050ddf
xorps xmm1, xmm1
jmp 0x10050de3
minss xmm1, xmm5
mulss xmm1, xmm6
addss xmm1, xmm3
cvttss2si eax, xmm1
shl eax, 0x10
or eax, edx
mov dword [ecx + 0x5ca8], eax
jmp 0x10050e24
test edx, 0x10000000
je 0x10050e24
movss xmm0, dword [esp + 0x10]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [edi + 8], xmm0
mov eax, dword [esp + 0xc]
mov byte [esp + 0xb], 0
test al, 0x20
jne 0x10051066
cmp dword [esp + 0xd8], 0x10000
jne 0x10050e4d
movss xmm0, dword [esp + 0xd4]
jmp 0x10050e53
movss xmm0, dword [esp + 0x74]
addss xmm0, dword [esp + 0x58]
subss xmm0, dword [esp + 0x60]
call fcn.10025080
mov eax, dword [esp + 0xc]
mov ecx, eax
and ecx, 0x198e005a
mov dword [esp + 0x14], ecx
test eax, 0x100000
jne 0x10050e82
test eax, 0x700000
jne 0x10050ec9
or ecx, 0x100004
mov edx, edi
push ecx
mov ecx, str.rgb
call fcn.1004e8d0
add esp, 4
test al, al
je 0x10050ec1
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0x3fdc], 0
je 0x10050eb7
cmp byte [eax + 0x3fe9], 0
mov byte [esp + 0xb], 1
je 0x10050ebc
mov byte [esp + 0xb], 0
mov byte [esp + 9], 1
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
test eax, 0x200000
jne 0x10050ed7
test eax, 0x700000
jne 0x10050ef5
or ecx, 0x200004
mov edx, edi
push ecx
mov ecx, str.hsv
call fcn.1004e8d0
add esp, 4
or byte [esp + 9], al
mov eax, dword [esp + 0xc]
test eax, 0x400000
jne 0x10050f03
test eax, 0x700000
jne 0x10050f20
mov eax, dword [esp + 0x14]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.1004e8d0
add esp, 4
or byte [esp + 9], al
cmp byte [esp + 0xb], 0
mov ecx, dword [0x100b2110]
mov eax, dword [ecx + 0x3f8c]
mov byte [eax + 0xb0], 1
mov edx, dword [ecx + 0x3f8c]
mov ecx, dword [edx + 0x1b4]
mov eax, dword [edx + 0x1bc]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1ac], eax
lea eax, [ecx - 1]
mov dword [edx + 0x1b4], eax
mov eax, dword [esp + 0xc]
je 0x10051066
test eax, 0x8000000
je 0x10051066
movss xmm3, dword [edi + 4]
xorps xmm2, xmm2
movss xmm5, dword [edi + 8]
xorps xmm6, xmm6
comiss xmm5, xmm3
movss xmm4, dword [edi]
jbe 0x10050f9c
movss xmm6, dword [0x100ab1ec]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x10050fb9
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x100ab1d8]
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 [0x100aaf64]
movaps xmm7, xmm1
mulss xmm1, dword [0x100ab0d4]
divss xmm7, xmm0
addss xmm1, dword [0x100aaf64]
divss xmm3, xmm1
addss xmm3, xmm6
movss xmm6, dword [0x100ab6c0]
andps xmm3, xmm6
comiss xmm2, xmm3
jb 0x1005106e
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm2
jbe 0x1005106e
comiss xmm2, xmm4
jb 0x1005103b
movss xmm1, dword [esp + 0x4c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10051037
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x20]
mulss xmm2, dword [0x100aafcc]
jmp 0x10051051
mov eax, dword [esp + 0xc]
comiss xmm2, xmm7
jb 0x1005106e
movss xmm1, dword [esp + 0x20]
movaps xmm2, xmm4
mulss xmm1, dword [0x100aafcc]
lea eax, [edi + 8]
mov ecx, edi
push eax
lea edx, [edi + 4]
call fcn.10014bc0
mov eax, dword [esp + 0x10]
add esp, 4
movss xmm6, dword [0x100ab6c0]
cmp byte [esp + 9], 0
je 0x100511d8
test eax, 0x8000000
je 0x1005116c
movss xmm0, dword [edi + 4]
xorps xmm4, xmm4
movss xmm1, dword [edi + 8]
movaps xmm2, xmm0
comiss xmm1, xmm0
movss xmm7, dword [edi]
movaps xmm5, xmm1
movss dword [esp + 0x78], xmm7
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x38], xmm1
jbe 0x100510c0
movss xmm4, dword [0x100ab1ec]
movaps xmm2, xmm1
movaps xmm5, xmm0
comiss xmm2, xmm7
movaps xmm3, xmm7
movss dword [esp + 0x4c], xmm3
jbe 0x100510e9
movss xmm0, dword [0x100ab1d8]
movaps xmm3, xmm2
subss xmm0, xmm4
movss dword [esp + 0x4c], xmm3
movaps xmm2, xmm7
movaps xmm4, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x10], xmm3
minss xmm0, xmm5
movaps xmm1, xmm3
subss xmm2, xmm5
mov ecx, edi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x40]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x28]
movaps xmm0, xmm1
mulss xmm0, dword [0x100ab0d4]
addss xmm0, dword [0x100aaf64]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x100aaf64]
addss xmm2, xmm4
divss xmm1, xmm0
andps xmm2, xmm6
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x44], xmm1
call fcn.1004e7c0
movss xmm3, dword [esp + 0x28]
add esp, 8
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x10], xmm3
movss dword [esp + 0x20], xmm0
jmp 0x100511de
test eax, 0x10000000
je 0x100511d8
movss xmm1, dword [edi + 8]
lea eax, [esp + 0x68]
movss xmm3, dword [edi + 4]
lea edx, [esp + 0x7c]
movss xmm0, dword [edi]
lea ecx, [esp + 0x88]
movss dword [esp + 0x4c], xmm1
movaps xmm2, xmm1
push eax
movaps xmm1, xmm3
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x24], xmm3
call fcn.10014bc0
movss xmm0, dword [esp + 0x8c]
add esp, 4
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x38], xmm0
movss xmm3, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm2, dword [eax + 0x38a8]
comiss xmm0, xmm2
movss xmm0, dword [0x100ab010]
jbe 0x100511ff
xorps xmm1, xmm1
jmp 0x10051206
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x100ab17c]
mov dword [esp + 0x98], 0x3f800000
movss dword [esp + 0xa4], xmm2
movaps xmm2, xmm0
mov dword [esp + 0x9c], 0x3f800000
addss xmm1, dword [0x100aafcc]
mov dword [esp + 0xa0], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x50], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x68], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x108], ecx
or eax, 0x808080
mov dword [esp + 0x120], ecx
mov dword [esp + 0x7c], eax
lea ecx, [esp + 0x98]
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x10c], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x110], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x114], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0x118], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0x9c]
mov dword [esp + 0x11c], eax
lea eax, [esp + 0xa0]
push eax
call fcn.10014bc0
movss xmm3, dword [esp + 0x9c]
xorps xmm0, xmm0
movss xmm2, dword [0x100ab010]
add esp, 4
comiss xmm0, xmm3
jbe 0x10051302
xorps xmm1, xmm1
jmp 0x10051309
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm5, dword [0x100ab17c]
movss xmm4, dword [0x100aafcc]
movss xmm3, dword [esp + 0x9c]
comiss xmm0, xmm3
mulss xmm1, xmm5
addss xmm1, xmm4
cvttss2si ecx, xmm1
jbe 0x10051338
xorps xmm1, xmm1
jmp 0x1005133f
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm3, dword [esp + 0xa0]
mulss xmm1, xmm5
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm3
jbe 0x10051363
xorps xmm1, xmm1
jmp 0x1005136a
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm3, dword [esp + 0xa4]
mulss xmm1, xmm5
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm3
jbe 0x1005138e
xorps xmm1, xmm1
jmp 0x10051395
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm3, dword [esp + 0x78]
mulss xmm1, xmm5
addss xmm1, xmm4
cvttss2si edx, xmm1
shl edx, 0x18
or edx, ecx
comiss xmm0, xmm3
mov dword [esp + 0x3c], edx
jbe 0x100513ba
xorps xmm1, xmm1
jmp 0x100513c1
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm3, dword [esp + 0x54]
comiss xmm0, xmm3
mulss xmm1, xmm5
addss xmm1, xmm4
cvttss2si ecx, xmm1
jbe 0x100513dd
xorps xmm1, xmm1
jmp 0x100513e4
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm3, dword [esp + 0x38]
mulss xmm1, xmm5
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm3
jbe 0x10051405
xorps xmm1, xmm1
jmp 0x1005140c
movaps xmm1, xmm2
minss xmm1, xmm3
mulss xmm1, xmm5
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x2c]
movss xmm1, dword [eax + 0x38a8]
comiss xmm0, xmm1
ja 0x10051435
movaps xmm0, xmm2
minss xmm0, xmm1
mulss xmm0, xmm5
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xc]
test eax, 0x4000000
je 0x10051c5e
movss xmm0, dword [esp + 0xa8]
movaps xmm3, xmm4
movss xmm5, dword [esp + 0x8c]
mov eax, 0x2aaaaaab
divss xmm3, xmm0
cvttss2si ecx, xmm0
addss xmm5, xmm0
movss dword [esp + 0x60], xmm3
imul ecx
mulss xmm5, xmm4
mov eax, 4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movss dword [esp + 0xcc], xmm5
cmp ecx, eax
cmovle ecx, eax
xor esi, esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x74], esi
nop word [eax + eax]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mov eax, dword [esp + 0x28]
push ecx
push ecx
lea ecx, [esp + 0x100]
mov edi, dword [eax + 0x18]
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x100ab0d4]
divss xmm1, dword [0x100ab0d4]
addss xmm0, xmm0
movaps xmm2, xmm5
addss xmm1, xmm1
mulss xmm0, dword [0x100ab0a4]
mulss xmm1, dword [0x100ab0a4]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x1c], xmm0
movss dword [esp], xmm1
push ecx
mov ecx, eax
movss dword [esp + 0x44], xmm1
call fcn.100382e0
movss xmm0, dword [esp + 0x5c]
mov eax, dword [esp + 0x28]
push ecx
movss dword [esp], xmm0
mov ecx, eax
push 0
push dword [esp + 0x70]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10036e10
movss xmm0, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
cvtps2pd xmm0, xmm0
mov dword [eax + 0x54], 0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x14]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x8c]
addss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x90], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x8c]
addss xmm0, dword [esp + 0xc4]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [esp + 0x38]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x38]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x8c]
addss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x14], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm2, dword [esp + 0x14]
subss xmm2, dword [esp + 0x90]
cvtsd2ss xmm0, xmm0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + esi*4 + 0x108]
movss dword [esp + 0x14], xmm2
mulss xmm0, dword [esp + 0x8c]
mov edx, dword [eax + 0x20]
addss xmm0, dword [esp + 0xc4]
subss xmm0, dword [esp + 0x94]
movaps xmm1, xmm0
movss dword [esp + 0xdc], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
movss xmm2, dword [0x100ab010]
addss xmm1, xmm0
movaps xmm0, xmm2
divss xmm0, xmm1
movss dword [esp + 0xbc], xmm0
mov eax, dword [eax + 0x18]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [esp + 0x80], eax
movzx eax, cl
mov dword [esp + 0x88], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x54], eax
shr ecx, 0x10
movzx eax, cl
mov ecx, dword [esp + esi*4 + 0x10c]
mov dword [esp + 0x38], eax
movzx eax, cl
sub eax, dword [esp + 0x88]
mov dword [esp + 0x6c], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x54]
shr ecx, 0x10
mov dword [esp + 0x70], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0x80]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x38]
cmp edx, edi
jae 0x100517c7
movd xmm4, dword [esp + 0x38]
movd xmm5, dword [esp + 0x70]
movd xmm6, dword [esp + 0x54]
movd xmm7, dword [esp + 0x6c]
mov esi, dword [esp + 0x88]
movd xmm3, ecx
cvtdq2ps xmm3, xmm3
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm5, xmm5
cvtdq2ps xmm6, xmm6
cvtdq2ps xmm7, xmm7
nop dword [eax + eax]
movss xmm0, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm1, dword [esp + 0x94]
subss xmm0, dword [esp + 0x90]
mulss xmm1, dword [esp + 0xdc]
mulss xmm0, dword [esp + 0x14]
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [esp + 0xbc]
comiss xmm0, xmm1
jbe 0x10051764
xorps xmm2, xmm2
jmp 0x10051768
minss xmm2, xmm1
movaps xmm0, xmm2
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ecx, xmm0
movaps xmm0, xmm2
mulss xmm2, xmm7
shl ecx, 8
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
or ecx, eax
shl ecx, 8
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [0x100ab010]
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 0x10051720
mov esi, dword [esp + 0x74]
movss xmm5, dword [esp + 0xcc]
inc esi
movss xmm3, dword [esp + 0x60]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x74], esi
cmp esi, 6
jl 0x100514d0
movss xmm0, dword [esp + 0x10]
mulss xmm0, dword [0x100ab060]
mulss xmm0, dword [0x100ab0a4]
movss dword [esp + 0x10], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm3, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x54], xmm0
cvtps2pd xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0x1b], 0
xorps xmm2, xmm2
movss xmm3, dword [esp + 0x8c]
addss xmm3, dword [esp + 0xa8]
cvtsd2ss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x54]
mulss xmm3, xmm2
mulss xmm0, dword [0x100aafcc]
mulss xmm3, dword [0x100aafcc]
addss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x80], xmm2
addss xmm3, dword [esp + 0xc4]
movss xmm2, dword [esp + 0x5c]
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm3
je 0x10051898
mulss xmm2, dword [0x100aafd8]
jmp 0x100518a0
mulss xmm2, dword [0x100aafd0]
mov esi, dword [esp + 0x28]
movaps xmm0, xmm2
addss xmm0, dword [0x100ab00c]
movss dword [esp + 0x38], xmm2
mov ecx, dword [esi + 0x2c]
cvttss2si eax, xmm0
cmp eax, 0x3f
ja 0x100518cb
movzx edi, byte [eax + ecx + 0x1bc]
jmp 0x10051931
movss xmm1, dword [ecx + 0x14]
minss xmm1, xmm2
movss xmm0, dword [0x100ab010]
divss xmm1, xmm2
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x100ab0a4]
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm1
call fcn.1002eb80
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
mov edi, eax
and edi, 0xfffffffe
cmp edi, 4
jge 0x1005191d
mov edi, 4
jmp 0x1005192b
cmp edi, 0x200
mov eax, 0x200
cmovg edi, eax
movss xmm2, dword [esp + 0x38]
push edi
push dword [esp + 0x40]
lea eax, [esp + 0x48]
mov ecx, esi
push eax
call fcn.10039390
movss xmm2, dword [esp + 0x38]
lea eax, [esp + 0x40]
addss xmm2, dword [0x100ab010]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
push dword [esp + 0x84]
push eax
call fcn.100392d0
movss xmm2, dword [esp + 0x38]
lea eax, [esp + 0x40]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
mov edi, dword [esp + 0x70]
push edi
push eax
call fcn.100392d0
movss xmm3, dword [esp + 0x54]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x80]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x30]
movaps xmm0, xmm5
mov eax, dword [0x100b2110]
mov ecx, esi
movss xmm6, dword [esp + 0xc0]
movaps xmm4, xmm3
mulss xmm0, xmm1
push 3
movss xmm7, dword [esp + 0xc8]
mulss xmm4, dword [esp + 0xbc]
push 3
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0xc0]
addss xmm2, xmm6
movss dword [esp + 0x74], xmm2
movss dword [esp + 0xd4], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x38]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xbc]
mulss xmm5, dword [esp + 0xd0]
addss xmm2, xmm7
movss dword [esp + 0xc4], xmm2
movss dword [esp + 0xd8], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xbc]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0xd0]
addss xmm0, xmm1
addss xmm4, xmm6
addss xmm3, xmm1
addss xmm2, xmm6
addss xmm0, xmm7
movss dword [esp + 0xe4], xmm4
addss xmm3, xmm7
movss dword [esp + 0x48], xmm4
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [eax + 0x3cfc]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [eax + 0x3d00]
movss dword [esp + 0x5c], xmm3
movss dword [esp + 0x4c], xmm3
movss dword [esp + 0x78], xmm0
call fcn.10036bf0
mov ecx, dword [esi + 0x38]
mov ax, word [esi + 0x28]
mov edx, dword [esp + 0xd0]
movss xmm0, dword [esp + 0x80]
mov word [ecx], ax
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
mov ecx, dword [esp + 0xcc]
movss xmm1, dword [esp + 0x70]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esi + 0x34]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], ecx
add dword [esi + 0x34], 0x14
mov eax, dword [esi + 0x38]
inc dword [esi + 0x28]
mov ecx, dword [esi + 0x28]
mov word [eax], cx
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esi + 0x34]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], ecx
mov eax, dword [esi + 0x38]
add dword [esi + 0x34], 0x14
inc dword [esi + 0x28]
mov ecx, dword [esi + 0x28]
mov word [eax], cx
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
mov ecx, dword [esp + 0x40]
push ecx
mov dword [eax], ecx
mov ecx, esi
mov dword [eax + 4], edx
mov eax, dword [esi + 0x34]
mov dword [esp], 0x3fc00000
push dword [esp + 0x80]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], edi
lea eax, [esp + 0x48]
add dword [esi + 0x34], 0x14
inc dword [esi + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.100390a0
movss xmm2, dword [0x100ab010]
xorps xmm0, xmm0
movaps xmm1, xmm2
subss xmm1, dword [esp + 0x4c]
comiss xmm0, xmm1
jbe 0x10051bc5
xorps xmm4, xmm4
jmp 0x10051bcc
movaps xmm4, xmm2
minss xmm4, xmm1
movss xmm3, dword [esp + 0x20]
comiss xmm0, xmm3
jbe 0x10051bdc
xorps xmm1, xmm1
jmp 0x10051be3
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm0, dword [esp + 0x6c]
subss xmm0, dword [esp + 0xdc]
movss xmm3, dword [esp + 0x30]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0xb0]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0xdc]
subss xmm3, xmm0
mulss xmm3, xmm4
addss xmm3, xmm0
movss xmm0, dword [esp + 0xbc]
subss xmm0, dword [esp + 0x54]
movss dword [esp + 0xe8], xmm3
mulss xmm0, xmm1
movss xmm1, dword [esp + 0x34]
addss xmm0, dword [esp + 0x54]
subss xmm1, xmm0
mulss xmm1, xmm4
addss xmm1, xmm0
movss dword [esp + 0xec], xmm1
jmp 0x10051fa3
test eax, 0x2000000
je 0x10051f9b
movss xmm0, dword [esp + 0x60]
addss xmm0, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x28]
push eax
push edx
push edx
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [esp + 0x28]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x54]
push eax
movss dword [esp + 0x4c], xmm0
call fcn.10038f20
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0xf8]
movss xmm0, dword [esp + 0x60]
addss xmm0, dword [esp + 0x1c]
push ecx
push ecx
mov ecx, dword [esp + 0x30]
push 0
push 0
push eax
movss dword [esp + 0x10c], xmm0
lea eax, [esp + 0x54]
movss xmm0, dword [esp + 0x48]
push eax
movss dword [esp + 0x114], xmm0
call fcn.10038f20
movss xmm0, dword [esp + 0x60]
addss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0x84], xmm0
xorps xmm0, xmm0
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.100164a0
movss xmm3, dword [esp + 0x30]
xorps xmm0, xmm0
movss xmm1, dword [0x100ab010]
add esp, 0x10
comiss xmm0, xmm3
jbe 0x10051d4c
xorps xmm2, xmm2
jmp 0x10051d53
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm6, dword [esp + 0x1c]
movss xmm7, dword [esp + 0x60]
movss xmm4, dword [0x100aafcc]
mulss xmm2, xmm6
movss xmm5, dword [0x100ab060]
addss xmm2, xmm7
addss xmm2, xmm4
cvttss2si eax, xmm2
movaps xmm2, xmm7
addss xmm2, xmm5
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm2, xmm3
ja 0x10051da1
movaps xmm2, xmm7
addss xmm2, xmm6
subss xmm2, xmm5
minss xmm2, xmm3
movss dword [esp + 0xe8], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x4c]
comiss xmm0, xmm2
jbe 0x10051dbd
xorps xmm1, xmm1
jmp 0x10051dc1
minss xmm1, xmm2
movss xmm2, dword [esp + 0x24]
mulss xmm1, xmm6
movaps xmm0, xmm2
addss xmm0, xmm5
addss xmm1, xmm2
addss xmm1, xmm4
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10051df8
movss xmm0, dword [esp + 0x34]
subss xmm0, xmm5
minss xmm0, xmm1
movss xmm3, dword [esp + 0x74]
movaps xmm1, xmm6
divss xmm1, dword [0x100ab0d4]
mov esi, dword [esp + 0x28]
xor ecx, ecx
movss dword [esp + 0xec], xmm0
movaps xmm0, xmm3
addss xmm0, dword [esp + 0x58]
movss dword [esp + 0x80], xmm1
movss dword [esp + 0x98], xmm3
movss dword [esp + 0xf8], xmm0
nop dword [eax]
mov eax, dword [esp + ecx*4 + 0x10c]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0x100]
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0x104], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x110]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0xac]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0xb4], xmm0
call fcn.10038f20
movss xmm1, dword [esp + 0x80]
mov ecx, edi
movss xmm2, dword [esp + 0x24]
cmp ecx, 6
jl 0x10051e40
movss xmm3, dword [esp + 0x74]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x1c]
movaps xmm1, xmm3
movss dword [esp + 0x34], xmm2
addss xmm1, dword [esp + 0x58]
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x44], xmm0
xorps xmm0, xmm0
push dword [esp + 0x44]
movss dword [esp + 0x44], xmm1
push dword [esp + 0x44]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.100164a0
mov esi, dword [esp + 0x74]
movss xmm1, dword [esp + 0x68]
addss xmm1, dword [0x100ab060]
mov ecx, dword [esp + 0x38]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x54], xmm2
addss xmm0, dword [0x100ab010]
movss xmm2, dword [esp + 0x84]
push dword [esp + 0x54]
subss xmm2, dword [0x100ab010]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x24]
mulss xmm0, dword [esp + 0x30]
push dword [esp + 0x54]
movss dword [esp + 0x48], xmm2
addss xmm0, dword [esp + 0x3c]
addss xmm0, dword [0x100aafcc]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x44]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x38a8]
movss dword [esp + 0x4c], xmm0
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.1004f950
mov edi, dword [esp + 0xd0]
add esp, 0x20
movss xmm2, dword [0x100ab010]
cmp byte [esp + 0xa], 0
movss xmm4, dword [esp + 0x5c]
je 0x10051fba
mulss xmm4, dword [0x100aafd0]
jmp 0x10051fc2
mulss xmm4, dword [0x100aafbc]
mov edx, dword [esp + 0x28]
movaps xmm0, xmm4
addss xmm0, dword [0x100ab00c]
movss dword [esp + 0x5c], xmm4
mov ecx, dword [edx + 0x2c]
cvttss2si eax, xmm0
cmp eax, 0x3f
ja 0x10051fed
movzx eax, byte [eax + ecx + 0x1bc]
jmp 0x1005204f
movss xmm1, dword [ecx + 0x14]
movaps xmm0, xmm2
minss xmm1, xmm4
divss xmm1, xmm4
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x100ab0a4]
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm1
call fcn.1002eb80
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x10052038
mov eax, 4
jmp 0x10052045
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
movss xmm4, dword [esp + 0x5c]
mov edx, dword [esp + 0x28]
test dword [esp + 0x78], 0xff000000
mov dword [esp + 0x64], eax
je 0x1005210e
movss xmm0, dword [0x100aafcc]
comiss xmm0, xmm4
ja 0x1005210e
test eax, eax
jg 0x10052096
push ecx
push 0x30
push 0
lea eax, [esp + 0xf4]
movaps xmm2, xmm4
push eax
mov ecx, edx
call fcn.10037e90
mov eax, dword [esp + 0x28]
dec dword [eax + 0x54]
jmp 0x100520f2
cmp eax, 3
jge 0x100520a2
mov ecx, 3
jmp 0x100520b1
mov ecx, eax
cmp eax, 0x200
mov eax, 0x200
cmovg ecx, eax
movd xmm1, ecx
lea eax, [ecx - 1]
cvtdq2ps xmm1, xmm1
push eax
push ecx
lea eax, [esp + 0xf0]
mov ecx, edx
xorps xmm3, xmm3
movaps xmm2, xmm4
movaps xmm0, xmm1
subss xmm0, dword [0x100ab010]
mulss xmm0, dword [0x100ab0dc]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.100382e0
mov eax, dword [esp + 0x28]
push dword [esp + 0x78]
mov ecx, eax
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10037ad0
mov edx, dword [esp + 0x28]
mov dword [edx + 0x54], 0
movss xmm2, dword [esp + 0x5c]
lea eax, [esp + 0xe8]
addss xmm2, dword [0x100ab010]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edx
push dword [esp + 0x68]
push dword [esp + 0x84]
push eax
call fcn.100392d0
movss xmm2, dword [esp + 0x5c]
lea eax, [esp + 0xe8]
push ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp], 0x3f800000
push dword [esp + 0x68]
push dword [esp + 0x70]
push eax
call fcn.100392d0
cmp dword [esp + 0xd8], 0x10000
jne 0x10052314
movss xmm2, dword [edi + 0xc]
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x1005218b
movss dword [esp + 0x50], xmm1
jmp 0x1005219d
movss xmm0, dword [0x100ab010]
minss xmm0, xmm2
movss dword [esp + 0x50], xmm0
movss xmm3, dword [esp + 0xd4]
xor edx, edx
movss xmm0, dword [esp + 0x24]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x58]
mov ecx, dword [esp + 0x28]
movss dword [esp + 0xfc], xmm0
addss xmm0, dword [esp + 0x1c]
mov dword [esp + 0x44], 0
push dword [esp + 0x44]
mov dword [esp + 0x44], 0
push dword [esp + 0x44]
movss dword [esp + 0x108], xmm2
subss xmm2, xmm3
movss dword [esp + 0x10c], xmm0
push dword [esp + 0x10c]
movss dword [esp + 0x104], xmm3
xorps xmm3, xmm3
push dword [esp + 0x10c]
mov edi, dword [esp + 0x108]
push dword [esp + 0x10c]
mulss xmm2, dword [0x100aafcc]
push edi
push 0
call fcn.1003e040
mov ecx, dword [esp + 0x94]
add esp, 0x1c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x110]
push eax
lea eax, [esp + 0x10c]
push eax
call fcn.10038f20
push dword [esp + 0x104]
xorps xmm0, xmm0
push dword [esp + 0x104]
push dword [esp + 0x104]
push edi
call fcn.100164a0
movss xmm1, dword [0x100ab010]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
movaps xmm0, xmm2
movss dword [esp + 0x54], xmm2
movss xmm2, dword [esp + 0xe4]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0x60]
push dword [esp + 0x54]
movss dword [esp + 0x54], xmm0
push dword [esp + 0x54]
mulss xmm1, dword [esp + 0x34]
movss dword [esp + 0x48], xmm2
movss xmm2, dword [edi + 0x38a8]
addss xmm1, dword [esp + 0x3c]
addss xmm1, dword [0x100aafcc]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x70]
addss xmm1, dword [0x100ab060]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x4c], xmm0
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.1004f950
add esp, 0x20
jmp 0x10052318
mov edi, dword [esp + 0x2c]
call fcn.100253d0
mov dl, byte [esp + 9]
test dl, dl
je 0x10052412
mov ecx, dword [esp + 0xb0]
lea esi, [esp + 0x124]
xor edx, edx
cmp dword [esp + 0xac], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x10052361
nop
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x1005236a
add esi, 4
add ecx, 4
sub edx, 4
jae 0x10052350
cmp edx, 0xfffffffc
je 0x10052410
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x1005239f
cmp edx, 0xfffffffd
je 0x10052410
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x1005239f
cmp edx, 0xfffffffe
je 0x10052410
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x1005239f
cmp edx, 0xffffffff
je 0x10052410
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x10052410
mov ecx, dword [edi + 0x4908]
mov eax, dword [0x100b2110]
test ecx, ecx
je 0x100523d6
cmp word [eax + 0x5d1e], 0
jg 0x100523d6
mov edx, dword [eax + 0x3fdc]
cmp edx, ecx
je 0x100523c6
test edx, edx
jne 0x100523cf
mov word [eax + 0x3fec], 0x101
or dword [eax + 0x4910], 4
mov dl, byte [esp + 9]
cmp dword [esp + 0xe4], 0
jne 0x100523ee
mov dword [edi + 0x5c98], 0
mov ecx, dword [eax + 0x3f8c]
mov al, dl
pop edi
pop esi
dec dword [ecx + 0xec]
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.1007c18b
mov esp, ebp
pop ebp
ret
xor dl, dl
mov eax, dword [0x100b2110]
jmp 0x100523da