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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x128
mov eax, dword [0x10089040]
xor eax, esp
mov dword [esp + 0x124], eax
mov dword [esp + 0x7c], ecx
mov ecx, dword [0x1008b850]
mov dword [esp + 0x98], edx
push esi
push edi
mov eax, dword [ecx + 0x1b9c]
mov dword [esp + 0x34], ecx
mov byte [eax + 0x8c], 1
mov edx, dword [ecx + 0x1b9c]
mov dword [esp + 0xd0], edx
cmp byte [edx + 0x8f], 0
je 0x100508fa
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.100714c0
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x1c80], 1
mov eax, dword [edx + 0x284]
mov dword [esp + 0x3c], eax
je 0x10050917
movss xmm1, dword [ecx + 0x1c84]
jmp 0x1005091f
movss xmm1, dword [edx + 0x1b0]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10050961
cmp dword [edx + 0x198], 0
movss xmm0, dword [edx + 0x248]
jne 0x10050941
cmp dword [ecx + 0x1ed4], 0
je 0x10050949
movss xmm0, dword [edx + 0x218]
subss xmm0, dword [edx + 0xd0]
addss xmm0, xmm1
movss xmm1, dword [0x10082268]
maxss xmm1, xmm0
mov edi, edx
mov dword [ecx + 0x1c80], 0
mov ecx, dword [esp + 0x84]
cvttss2si esi, xmm1
mov edx, dword [edi + 0xc4]
mov eax, dword [edi + 0xcc]
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.100200d0
add esp, 4
mov dword [esp + 0x84], eax
lea eax, [esp + 0x84]
lea ecx, [edi + 0xc4]
push eax
call fcn.10032520
call fcn.1002c670
mov edx, dword [ebp + 8]
mov ecx, edx
mov edi, dword [esp + 0xa0]
or ecx, 0x10
test edx, 0x100
cmovne ecx, edx
mov dword [esp + 0xbc], ecx
test cl, 8
jne 0x100509e5
mov edx, ecx
mov ecx, edi
call fcn.10053290
mov ecx, dword [esp + 0xbc]
test ecx, 0x6000000
jne 0x10050a13
mov ecx, dword [esp + 0x34]
mov edx, 0xa900000
mov eax, dword [ecx + 0x2e2c]
test eax, 0x6000000
cmovne edx, eax
and edx, 0x6000000
or edx, dword [esp + 0xbc]
jmp 0x10050a19
mov edx, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x30], edx
test edx, 0x18000000
jne 0x10050a53
mov eax, dword [ecx + 0x2e2c]
mov edi, 0xa900000
test eax, 0x18000000
cmovne edi, eax
mov eax, edi
mov dword [esp + 0x84], edi
mov edi, dword [esp + 0xa0]
and eax, 0x18000000
or edx, eax
mov dword [esp + 0x30], edx
test dl, 8
jne 0x10050a69
mov eax, dword [ecx + 0x2e2c]
and eax, 0x10000
or edx, eax
mov dword [esp + 0x30], edx
mov eax, edx
movss xmm2, dword [ecx + 0x1568]
and eax, 2
movd xmm4, esi
mov dword [esp + 0x84], eax
and edx, 0x10002
mov eax, dword [esp + 0xd0]
cvtdq2ps xmm4, xmm4
mov dword [esp + 0xc0], edx
movss xmm0, dword [eax + 0xd4]
movss xmm3, dword [eax + 0xd0]
mov eax, dword [0x1008b850]
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x24], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x20], xmm3
movss xmm5, dword [eax + 0x1554]
addss xmm5, xmm5
addss xmm5, dword [eax + 0x1930]
xor eax, eax
cmp edx, 0x10000
sete al
inc eax
addss xmm0, xmm5
movss dword [esp + 0x64], xmm5
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0x84], eax
sete al
mulss xmm1, xmm0
movaps xmm0, xmm5
lea eax, [eax*4 + 0xc]
push eax
lea eax, [esp + 0x120]
subss xmm4, xmm1
movaps xmm1, xmm3
push edi
push eax
maxss xmm0, xmm4
addss xmm1, xmm0
movss dword [esp + 0x20], xmm0
addss xmm1, xmm2
movaps xmm0, xmm1
movss dword [esp + 0x58], xmm1
addss xmm0, xmm5
addss xmm0, xmm2
movss dword [esp + 0xc8], xmm0
movaps xmm0, xmm5
mulss xmm0, dword [0x10082204]
cvttss2si esi, xmm0
mov dword [esp + 0xdc], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm0, dword [esp + 0x20]
add esp, 0xc
movaps xmm4, xmm0
movaps xmm3, xmm0
mulss xmm3, dword [0x100821f0]
mulss xmm4, dword [0x10082224]
movss dword [esp + 0x9c], xmm3
movaps xmm2, xmm4
movss dword [esp + 0x48], xmm4
subss xmm2, xmm3
movaps xmm1, xmm4
addss xmm1, dword [esp + 0x2c]
movaps xmm3, xmm0
mulss xmm0, dword [0x100821dc]
addss xmm3, dword [esp + 0x64]
movss dword [esp + 0x98], xmm2
cvttss2si eax, xmm0
mulss xmm3, dword [0x10082224]
movss dword [esp + 0xc4], xmm1
movss dword [esp + 0x110], xmm1
movaps xmm1, xmm2
addss xmm3, dword [esp + 0x20]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xcc], xmm3
subss xmm1, xmm0
movss dword [esp + 0x10c], xmm3
movss dword [esp + 0x18], xmm1
movss xmm3, dword [edi + 4]
movaps xmm0, xmm1
mulss xmm0, dword [0x1008243c]
movaps xmm2, xmm1
mov eax, dword [esp + 0x30]
mulss xmm2, dword [0x10082448]
mov dword [esp + 0x1c], 0
movss dword [esp + 0xa8], xmm0
movss dword [esp + 0xe0], xmm0
movss dword [esp + 0xe8], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x10082254]
movss dword [esp + 0xb8], xmm2
movss dword [esp + 0xe4], xmm2
movss xmm2, dword [edi + 8]
movss dword [esp + 0xb4], xmm0
movss dword [esp + 0xec], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0xc], xmm0
movaps xmm1, xmm0
movss dword [esp + 0x88], xmm1
movss dword [esp + 0xa4], xmm1
movaps xmm1, xmm3
movss dword [esp + 0x8c], xmm1
movss dword [esp + 0x6c], xmm1
movaps xmm1, xmm2
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x68], xmm1
movss xmm1, dword [0x10082304]
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x44], xmm2
movss dword [esp + 0xdc], xmm1
test eax, 0x8000000
je 0x10050ddb
comiss xmm2, xmm3
xorps xmm1, xmm1
xorps xmm6, xmm6
movaps xmm5, xmm3
movaps xmm7, xmm2
jbe 0x10050d04
movss xmm6, dword [0x1008244c]
movaps xmm5, xmm2
movaps xmm7, xmm3
comiss xmm5, xmm0
movaps xmm4, xmm0
movss dword [esp + 0x44], xmm4
jbe 0x10050d2d
movaps xmm4, xmm5
movaps xmm5, xmm0
movss xmm0, dword [0x10082438]
subss xmm0, xmm6
movss dword [esp + 0x44], xmm4
movaps xmm6, xmm0
movaps xmm0, xmm5
mov ecx, dword [esp + 0x34]
minss xmm0, xmm7
movaps xmm3, xmm4
movaps xmm2, xmm5
subss xmm2, xmm7
mov eax, dword [ecx + 0x2e38]
subss xmm3, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x10082304]
addss xmm0, dword [0x100821b0]
divss xmm2, xmm0
movaps xmm0, xmm4
addss xmm2, xmm6
addss xmm0, dword [0x100821b0]
andps xmm2, xmmword [0x10082800]
divss xmm3, xmm0
movss dword [esp + 0xc], xmm2
movss dword [esp + 0x38], xmm3
cmp eax, dword [edi]
jne 0x10050e2a
mov eax, dword [ecx + 0x2e3c]
cmp eax, dword [edi + 4]
jne 0x10050e2a
mov eax, dword [ecx + 0x2e40]
cmp eax, dword [edi + 8]
jne 0x10050e2a
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jp 0x10050dc2
movss xmm0, dword [ecx + 0x2e30]
movss dword [esp + 0xc], xmm0
ucomiss xmm4, xmm1
lahf
test ah, 0x44
jp 0x10050e2a
movss xmm0, dword [ecx + 0x2e34]
movss dword [esp + 0x38], xmm0
jmp 0x10050e2a
test eax, 0x10000000
je 0x10050e2a
lea eax, [esp + 0x68]
movaps xmm1, xmm3
push eax
lea edx, [esp + 0x70]
lea ecx, [esp + 0xa8]
call fcn.10020600
movss xmm0, dword [esp + 0xa8]
add esp, 4
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x40], xmm0
mov ecx, dword [0x1008b850]
mov byte [esp + 0xa], 0
mov byte [esp + 0x13], 0
mov byte [esp + 0xb], 0
mov eax, dword [ecx + 0x1bbc]
or eax, 8
mov dword [ecx + 0x1bbc], eax
add ecx, 0x1cc4
mov dword [esp + 0x80], eax
lea eax, [esp + 0x80]
push eax
call fcn.10032520
mov eax, dword [esp + 0x30]
test eax, 0x4000000
je 0x10051465
movss xmm1, dword [esp + 0x14]
lea edx, [esp + 0x50]
mov eax, dword [esp + 0x34]
movaps xmm0, xmm1
push ecx
mov ecx, 0x1007f0d8
movss dword [esp + 0x58], xmm1
addss xmm0, dword [eax + 0x1568]
addss xmm0, dword [esp + 0x68]
movss dword [esp + 0x54], xmm0
call fcn.10045a70
mov eax, dword [0x1008b850]
add esp, 4
mov ecx, dword [eax + 0x1bd4]
test ecx, ecx
je 0x1005135f
mov eax, dword [eax + 0x1b9c]
cmp ecx, dword [eax + 0x11c]
jne 0x1005135f
mov eax, dword [esp + 0x34]
movss xmm0, dword [eax + 0x38c]
subss xmm0, dword [esp + 0xc4]
movss xmm1, dword [eax + 0x388]
subss xmm1, dword [esp + 0xcc]
movss xmm2, dword [eax + 0xe4]
movss xmm3, dword [eax + 0xe8]
subss xmm2, dword [esp + 0xcc]
subss xmm3, dword [esp + 0xc4]
movaps xmm4, xmm0
movss dword [esp + 0xc8], xmm0
mulss xmm4, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x80], xmm1
movss xmm1, dword [0x10082268]
addss xmm4, xmm0
movss dword [esp + 0xd4], xmm2
movss xmm0, dword [esp + 0x98]
subss xmm0, xmm1
movss dword [esp + 0xd8], xmm3
mulss xmm0, xmm0
comiss xmm4, xmm0
jb 0x10050fe9
movss xmm0, dword [esp + 0x48]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm4
jb 0x10050fe9
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x50], xmm0
fld qword [esp + 0x50]
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x50], xmm0
fld qword [esp + 0x50]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm2, dword [0x100822e8]
xorps xmm0, xmm0
fstp qword [esp + 0x50]
movsd xmm1, qword [esp + 0x50]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x10082224]
comiss xmm0, xmm1
movss dword [esp + 0xc], xmm1
jbe 0x10050fe1
addss xmm1, dword [0x10082268]
movss dword [esp + 0xc], xmm1
mov al, 1
mov byte [esp + 0xa], al
jmp 0x10050ffb
mov al, byte [esp + 0xa]
movss xmm2, dword [0x100822e8]
movss xmm1, dword [esp + 0xc]
movaps xmm0, xmm1
mov byte [esp + 0x13], al
xorps xmm0, xmmword [0x10082820]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x50], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x7c], xmm0
movsd xmm0, qword [esp + 0x50]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x80]
xorps xmm5, xmm5
movss xmm1, dword [esp + 0xc8]
movaps xmm4, xmm3
mulss xmm4, dword [esp + 0x7c]
cvtsd2ss xmm5, xmm0
movaps xmm0, xmm1
movss xmm7, dword [esp + 0x18]
mulss xmm1, dword [esp + 0x7c]
movaps xmm6, xmm7
mulss xmm0, xmm5
mulss xmm3, xmm5
subss xmm4, xmm0
movss dword [esp + 0xac], xmm5
movss xmm0, dword [esp + 0xb8]
subss xmm0, dword [esp + 0xb4]
addss xmm3, xmm1
movss xmm1, dword [esp + 0xa8]
movaps xmm5, xmm1
subss xmm5, xmm1
movaps xmm2, xmm4
subss xmm6, dword [esp + 0xa8]
movss dword [esp + 0xc8], xmm0
subss xmm2, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x80], xmm5
movss dword [esp + 0x70], xmm6
mulss xmm1, xmm2
mulss xmm0, xmm5
xorps xmm5, xmm5
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xb8]
comiss xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x94], xmm0
movaps xmm0, xmm3
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0xb8]
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x10051357
movss xmm0, dword [esp + 0xb4]
subss xmm4, xmm7
subss xmm0, xmm5
subss xmm3, xmm5
mulss xmm4, xmm0
movss xmm0, dword [esp + 0xa8]
subss xmm0, xmm7
mulss xmm0, xmm3
subss xmm4, xmm0
comiss xmm5, xmm4
seta al
cmp cl, al
jne 0x10051357
movss xmm6, dword [esp + 0xd4]
movss xmm1, dword [esp + 0xd8]
movaps xmm7, xmm6
mulss xmm7, dword [esp + 0x7c]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x7c]
mulss xmm0, dword [esp + 0xac]
mulss xmm6, dword [esp + 0xac]
movss xmm4, dword [esp + 0xa8]
subss xmm7, xmm0
addss xmm6, xmm1
movaps xmm1, xmm7
movss dword [esp + 0x50], xmm7
subss xmm1, xmm4
movaps xmm0, xmm6
movss dword [esp + 0x54], xmm6
subss xmm0, dword [esp + 0xb4]
mulss xmm1, dword [esp + 0xc8]
mulss xmm0, dword [esp + 0x80]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0xb8]
comiss xmm5, xmm1
mulss xmm0, dword [esp + 0x70]
movaps xmm1, xmm7
subss xmm1, xmm4
seta cl
mulss xmm1, dword [esp + 0x94]
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x1005125a
movss xmm3, dword [esp + 0x18]
movaps xmm2, xmm7
movss xmm0, dword [esp + 0xb4]
subss xmm2, xmm3
subss xmm0, xmm5
movaps xmm1, xmm4
subss xmm1, xmm3
mulss xmm2, xmm0
movaps xmm0, xmm6
subss xmm0, xmm5
mulss xmm1, xmm0
subss xmm2, xmm1
comiss xmm5, xmm2
seta al
cmp cl, al
je 0x1005129a
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0xe8]
push eax
lea edx, [esp + 0x24]
lea ecx, [esp + 0x7c]
call fcn.1001fdf0
movss xmm3, dword [esp + 0x24]
add esp, 0xc
movss xmm4, dword [esp + 0xa8]
xorps xmm5, xmm5
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
movss xmm1, dword [esp + 0xb4]
subss xmm7, xmm3
movaps xmm2, xmm4
subss xmm1, xmm5
movss xmm4, dword [esp + 0xb8]
subss xmm2, xmm3
subss xmm4, xmm5
subss xmm6, xmm5
movaps xmm3, xmm2
mulss xmm3, xmm1
movaps xmm0, xmm4
mulss xmm0, xmm2
mulss xmm6, xmm2
subss xmm3, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm1
mulss xmm7, xmm4
subss xmm0, xmm6
movss xmm1, dword [0x10082268]
movaps xmm5, xmm1
subss xmm6, xmm7
divss xmm0, xmm3
divss xmm6, xmm3
subss xmm5, xmm0
movss xmm0, dword [0x100821c4]
movss dword [esp + 0x38], xmm0
comiss xmm0, xmm5
movaps xmm3, xmm5
subss xmm3, xmm6
jbe 0x10051328
movaps xmm2, xmm0
movss dword [esp + 0x44], xmm0
jmp 0x10051335
movaps xmm2, xmm1
minss xmm2, xmm5
movss dword [esp + 0x44], xmm2
divss xmm3, xmm2
comiss xmm0, xmm3
ja 0x1005134b
movaps xmm0, xmm1
minss xmm0, xmm3
movss dword [esp + 0x38], xmm0
mov byte [esp + 0xb], 1
mov byte [esp + 0xa], 1
jmp 0x1005135f
mov al, byte [esp + 0xa]
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x30]
test al, 8
jne 0x1005136c
call fcn.1002d670
mov edx, dword [0x1008b850]
movss xmm2, dword [esp + 0x2c]
movss xmm4, dword [esp + 0x14]
cmp dword [esp + 0xc0], 0x10000
jne 0x10051686
mov eax, dword [edx + 0x1b9c]
movss xmm0, dword [esp + 0xbc]
push ecx
mov ecx, str.alpha
movss dword [esp + 0x58], xmm4
mov byte [eax + 0x8c], 1
mov eax, dword [edx + 0x1b9c]
lea edx, [esp + 0x54]
movss dword [eax + 0xd0], xmm0
movss dword [eax + 0xd4], xmm2
movss xmm1, dword [eax + 0xe8]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xec]
maxss xmm0, xmm2
movss dword [eax + 0xe8], xmm1
movss dword [eax + 0xec], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x54], xmm0
call fcn.10045a70
mov edx, dword [0x1008b850]
add esp, 4
xorps xmm1, xmm1
mov ecx, dword [edx + 0x1bd4]
test ecx, ecx
je 0x10051689
mov eax, dword [edx + 0x1b9c]
cmp ecx, dword [eax + 0x11c]
jne 0x10051689
mov eax, dword [esp + 0x34]
movss xmm0, dword [esp + 0x14]
subss xmm0, dword [0x10082268]
movss xmm2, dword [eax + 0xe8]
subss xmm2, dword [esp + 0x2c]
divss xmm2, xmm0
comiss xmm1, xmm2
jbe 0x10051662
xorps xmm3, xmm3
jmp 0x1005166e
test eax, 0x2000000
je 0x1005136c
movss xmm0, dword [esp + 0x14]
lea edx, [esp + 0x50]
push ecx
mov ecx, 0x1007f0e8
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x58], xmm0
call fcn.10045a70
mov ecx, dword [0x1008b850]
add esp, 4
mov edx, dword [ecx + 0x1bd4]
test edx, edx
je 0x10051533
mov eax, dword [ecx + 0x1b9c]
cmp edx, dword [eax + 0x11c]
jne 0x10051533
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x14]
movss xmm1, dword [0x10082268]
subss xmm4, xmm1
movss xmm3, dword [eax + 0xe4]
subss xmm3, dword [esp + 0x20]
divss xmm3, xmm4
comiss xmm0, xmm3
jbe 0x100514ee
movss dword [esp + 0x38], xmm0
jmp 0x100514fb
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x38], xmm2
movss xmm2, dword [eax + 0xe8]
subss xmm2, dword [esp + 0x2c]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x10051517
xorps xmm3, xmm3
jmp 0x1005151e
movaps xmm3, xmm1
minss xmm3, xmm2
movaps xmm0, xmm1
mov al, 1
subss xmm0, xmm3
mov byte [esp + 0xa], al
movss dword [esp + 0x44], xmm0
jmp 0x10051537
mov al, byte [esp + 0xa]
mov byte [esp + 0xb], al
mov byte [esp + 0x93], al
mov eax, dword [esp + 0x30]
test al, 8
jne 0x10051555
call fcn.1002d670
mov ecx, dword [0x1008b850]
mov eax, dword [ecx + 0x1b9c]
lea edx, [esp + 0x50]
movss xmm0, dword [esp + 0x4c]
movss xmm2, dword [esp + 0x2c]
push ecx
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1b9c]
mov ecx, 0x1007f0e4
movss dword [eax + 0xd0], xmm0
movss dword [eax + 0xd4], xmm2
movss xmm1, dword [eax + 0xe8]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xec]
maxss xmm0, xmm2
movss dword [eax + 0xe8], xmm1
movss dword [eax + 0xec], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [esp + 0x58], xmm0
call fcn.10045a70
mov edx, dword [0x1008b850]
add esp, 4
mov ecx, dword [edx + 0x1bd4]
test ecx, ecx
je 0x10051372
mov al, byte [esp + 0xa]
mov byte [esp + 0xb], al
mov eax, dword [edx + 0x1b9c]
cmp ecx, dword [eax + 0x11c]
jne 0x10051372
mov eax, dword [esp + 0x34]
movss xmm4, dword [esp + 0x14]
movss xmm2, dword [esp + 0x2c]
movaps xmm0, xmm4
movss xmm1, dword [0x10082268]
movss xmm3, dword [eax + 0xe8]
subss xmm0, xmm1
subss xmm3, xmm2
divss xmm3, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm3
ja 0x10051642
movaps xmm0, xmm1
minss xmm0, xmm3
mov al, byte [esp + 0x93]
movss dword [esp + 0xc], xmm0
mov byte [esp + 0x13], 1
mov byte [esp + 0xa], 1
mov byte [esp + 0xb], al
jmp 0x1005137e
movss xmm3, dword [0x10082268]
minss xmm3, xmm2
movss xmm0, dword [0x10082268]
subss xmm0, xmm3
mov byte [esp + 0xa], 1
movss dword [edi + 0xc], xmm0
jmp 0x10051689
xorps xmm1, xmm1
dec dword [edx + 0x1cc4]
cmp byte [esp + 0x13], 0
mov eax, dword [edx + 0x1ccc]
mov ecx, dword [edx + 0x1cc4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1bbc], eax
jne 0x100516b7
cmp byte [esp + 0xb], 0
je 0x10051784
mov eax, dword [esp + 0x30]
test eax, 0x8000000
je 0x10051757
movss xmm0, dword [esp + 0x44]
lea eax, [edi + 8]
comiss xmm0, xmm1
lea edx, [edi + 4]
jbe 0x100516dc
movaps xmm2, xmm0
jmp 0x100516e4
movss xmm2, dword [0x100821b4]
movss xmm0, dword [esp + 0x38]
comiss xmm0, xmm1
movss xmm1, dword [0x100821b8]
jbe 0x100516fc
movaps xmm3, xmm0
jmp 0x100516ff
movaps xmm3, xmm1
movss xmm0, dword [esp + 0xc]
comiss xmm0, dword [0x10082268]
jb 0x10051712
subss xmm0, xmm1
push eax
mov ecx, edi
movaps xmm1, xmm3
call fcn.10020600
mov ecx, dword [esp + 0x38]
add esp, 4
movss xmm0, dword [esp + 0x38]
movss xmm3, dword [esp + 0xc]
movss dword [ecx + 0x2e30], xmm3
movss dword [ecx + 0x2e34], xmm0
movq xmm0, qword [edi]
movq qword [ecx + 0x2e38], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 0x2e40], eax
jmp 0x1005178e
movss xmm3, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
test eax, 0x10000000
je 0x10051792
movss xmm0, dword [esp + 0x38]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [edi], xmm3
movss dword [edi + 8], xmm0
jmp 0x10051792
movss xmm3, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
cmp byte [esp + 0xa], 0
je 0x10051a4b
test eax, 0x8000000
je 0x100518cb
movss xmm0, dword [edi + 4]
xorps xmm1, xmm1
movss xmm3, dword [edi + 8]
xorps xmm5, xmm5
comiss xmm3, xmm0
movss xmm7, dword [edi]
movaps xmm2, xmm0
movss dword [esp + 0x88], xmm7
movaps xmm6, xmm3
movss dword [esp + 0x8c], xmm0
movss dword [esp + 0x40], xmm3
jbe 0x100517ed
movss xmm5, dword [0x1008244c]
movaps xmm2, xmm3
movaps xmm6, xmm0
comiss xmm2, xmm7
movaps xmm3, xmm7
movss dword [esp + 0x44], xmm3
jbe 0x10051816
movss xmm0, dword [0x10082438]
movaps xmm3, xmm2
subss xmm0, xmm5
movss dword [esp + 0x44], xmm3
movaps xmm2, xmm7
movaps xmm5, xmm0
movaps xmm0, xmm2
mov eax, dword [ecx + 0x2e38]
minss xmm0, xmm6
movaps xmm4, xmm3
subss xmm2, xmm6
subss xmm4, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x10082304]
addss xmm0, dword [0x100821b0]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm2, xmm5
addss xmm0, dword [0x100821b0]
andps xmm2, xmmword [0x10082800]
divss xmm4, xmm0
movss dword [esp + 0xc], xmm2
movss dword [esp + 0x38], xmm4
cmp eax, dword [edi]
jne 0x1005193e
mov eax, dword [ecx + 0x2e3c]
cmp eax, dword [edi + 4]
jne 0x1005193e
mov eax, dword [ecx + 0x2e40]
cmp eax, dword [edi + 8]
jne 0x1005193e
ucomiss xmm4, xmm1
lahf
test ah, 0x44
jp 0x100518a8
movss xmm0, dword [ecx + 0x2e30]
movss dword [esp + 0xc], xmm0
ucomiss xmm3, xmm1
movss xmm3, dword [esp + 0xc]
lahf
test ah, 0x44
jp 0x10051944
movss xmm0, dword [ecx + 0x2e34]
movss dword [esp + 0x38], xmm0
jmp 0x10051944
test eax, 0x10000000
je 0x10051a4b
movss xmm0, dword [edi]
lea eax, [esp + 0x68]
movss xmm1, dword [edi + 4]
lea edx, [esp + 0x6c]
movss xmm2, dword [edi + 8]
lea ecx, [esp + 0xa4]
push eax
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0x48], xmm2
call fcn.10020600
movss xmm0, dword [esp + 0xa8]
add esp, 4
movss dword [esp + 0x88], xmm0
xorps xmm1, xmm1
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x40], xmm0
movss xmm3, dword [esp + 0xc]
mov eax, dword [esp + 0x34]
movss xmm0, dword [0x10082268]
movss xmm4, dword [eax + 0x1518]
comiss xmm1, xmm4
ja 0x10051964
movaps xmm1, xmm0
minss xmm1, xmm4
mulss xmm1, dword [0x100823cc]
movaps xmm2, xmm0
mov dword [esp + 0x50], 0x3f800000
mov dword [esp + 0x54], 0x3f800000
mov dword [esp + 0x58], 0x3f800000
addss xmm1, dword [0x10082224]
movss dword [esp + 0x5c], xmm4
cvttss2si edx, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x80], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x6c], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0xf0], ecx
or eax, 0x808080
mov dword [esp + 0x108], ecx
mov dword [esp + 0x68], eax
lea ecx, [esp + 0x50]
mov eax, edx
or eax, 0xffff
mov dword [esp + 0xf4], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0xf8], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0xfc], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0x100], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0x54]
mov dword [esp + 0x104], eax
lea eax, [esp + 0x58]
push eax
call fcn.10020600
movss xmm1, dword [esp + 0x54]
xorps xmm0, xmm0
movss xmm2, dword [0x10082268]
add esp, 4
comiss xmm0, xmm1
jbe 0x10051a53
xorps xmm3, xmm3
jmp 0x10051a5a
xorps xmm1, xmm1
jmp 0x10051944
movaps xmm3, xmm2
minss xmm3, xmm1
movss xmm1, dword [0x100823cc]
movss xmm4, dword [0x10082224]
movss xmm5, dword [esp + 0x54]
comiss xmm0, xmm5
mulss xmm3, xmm1
addss xmm3, xmm4
cvttss2si ecx, xmm3
jbe 0x10051a86
xorps xmm3, xmm3
jmp 0x10051a8d
movaps xmm3, xmm2
minss xmm3, xmm5
movss xmm5, dword [esp + 0x58]
mulss xmm3, xmm1
addss xmm3, xmm4
cvttss2si eax, xmm3
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x10051aae
xorps xmm3, xmm3
jmp 0x10051ab5
movaps xmm3, xmm2
minss xmm3, xmm5
movss xmm5, dword [esp + 0x5c]
mulss xmm3, xmm1
addss xmm3, xmm4
cvttss2si eax, xmm3
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm5
jbe 0x10051ad6
xorps xmm3, xmm3
jmp 0x10051add
movaps xmm3, xmm2
minss xmm3, xmm5
movss xmm5, dword [esp + 0x88]
mulss xmm3, xmm1
addss xmm3, xmm4
cvttss2si edx, xmm3
shl edx, 0x18
or edx, ecx
comiss xmm0, xmm5
mov dword [esp + 0xa4], edx
jbe 0x10051b08
xorps xmm3, xmm3
jmp 0x10051b0f
movaps xmm3, xmm2
minss xmm3, xmm5
movss xmm5, dword [esp + 0x8c]
comiss xmm0, xmm5
mulss xmm3, xmm1
addss xmm3, xmm4
cvttss2si ecx, xmm3
jbe 0x10051b2e
xorps xmm3, xmm3
jmp 0x10051b35
movaps xmm3, xmm2
minss xmm3, xmm5
movss xmm5, dword [esp + 0x40]
mulss xmm3, xmm1
addss xmm3, xmm4
cvttss2si eax, xmm3
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x10051b56
xorps xmm3, xmm3
jmp 0x10051b5d
movaps xmm3, xmm2
minss xmm3, xmm5
mulss xmm3, xmm1
addss xmm3, xmm4
cvttss2si eax, xmm3
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x34]
movss xmm5, dword [eax + 0x1518]
comiss xmm0, xmm5
jbe 0x10051b84
xorps xmm3, xmm3
jmp 0x10051b8b
movaps xmm3, xmm2
minss xmm3, xmm5
movss xmm5, dword [edi]
movss xmm6, dword [edi + 4]
movss xmm7, dword [edi + 8]
mulss xmm3, xmm1
addss xmm3, xmm4
cvttss2si eax, xmm3
shl eax, 0x18
or eax, ecx
comiss xmm0, xmm5
mov dword [esp + 0xe0], eax
jbe 0x10051bbb
xorps xmm3, xmm3
jmp 0x10051bc2
movaps xmm3, xmm2
minss xmm3, xmm5
comiss xmm0, xmm6
mulss xmm3, xmm1
addss xmm3, xmm4
cvttss2si ecx, xmm3
jbe 0x10051bd8
xorps xmm3, xmm3
jmp 0x10051bdf
movaps xmm3, xmm2
minss xmm3, xmm6
mulss xmm3, xmm1
addss xmm3, xmm4
cvttss2si eax, xmm3
shl eax, 8
or ecx, eax
comiss xmm0, xmm7
ja 0x10051bfc
movaps xmm0, xmm2
minss xmm0, xmm7
mulss xmm0, xmm1
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x30]
or ecx, 0xff000000
mov dword [esp + 0xe8], ecx
test eax, 0x4000000
je 0x1005258f
movss xmm0, dword [esp + 0x48]
movaps xmm3, xmm4
movss xmm5, dword [esp + 0x98]
mov eax, 0x2aaaaaab
divss xmm3, xmm0
mov esi, dword [esp + 0x3c]
addss xmm5, xmm0
cvttss2si ecx, xmm0
mulss xmm5, xmm4
imul ecx
movss dword [esp + 0xd4], xmm3
movss dword [esp + 0xd8], xmm5
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 + 0xc8], ecx
mov dword [esp + 0x40], eax
nop dword [eax + eax]
movd xmm1, eax
lea eax, [esp + 0x10c]
cvtdq2ps xmm1, xmm1
mov edi, dword [esi + 0x18]
push ecx
push ecx
mov ecx, esi
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x10082304]
divss xmm1, dword [0x10082304]
addss xmm0, xmm0
movaps xmm2, xmm5
addss xmm1, xmm1
mulss xmm0, dword [0x100822e8]
mulss xmm1, dword [0x100822e8]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x84], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x58], xmm1
call fcn.1003c150
movss xmm0, dword [esp + 0x9c]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0x74]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.1003acb0
movss xmm0, dword [esp + 0x7c]
cvtps2pd xmm0, xmm0
mov dword [esi + 0x54], 0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x7c]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x98]
addss xmm0, dword [esp + 0xcc]
movss dword [esp + 0x94], 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 + 0x98]
addss xmm0, dword [esp + 0xc4]
movss dword [esp + 0xac], xmm0
movss xmm0, dword [esp + 0x4c]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x4c]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x98]
addss xmm0, dword [esp + 0xcc]
movss dword [esp + 0x70], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x70]
xorps xmm4, xmm4
movss xmm6, dword [esp + 0xac]
movss xmm5, dword [esp + 0x94]
cvtsd2ss xmm4, xmm0
mov eax, dword [esp + 0x40]
mov edx, dword [esi + 0x20]
movss xmm2, dword [0x10082268]
subss xmm3, xmm5
mulss xmm4, dword [esp + 0x98]
mov ecx, dword [esp + eax*4 + 0xf0]
mov eax, dword [esi + 0x18]
addss xmm4, dword [esp + 0xc4]
movaps xmm0, xmm3
mulss xmm0, xmm3
lea eax, [eax + eax*4]
subss xmm4, xmm6
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
movaps xmm0, xmm2
divss xmm0, xmm1
movss dword [esp + 0xac], xmm0
lea eax, [edx + eax*4]
mov dword [esp + 0x70], eax
movzx eax, cl
mov dword [esp + 0x8c], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x7c], eax
shr ecx, 0x10
movzx eax, cl
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + eax*4 + 0xf4]
movzx eax, cl
sub eax, dword [esp + 0x8c]
mov dword [esp + 0x94], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x7c]
shr ecx, 0x10
mov dword [esp + 0x88], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0x70]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x4c]
cmp edx, edi
jae 0x10051f91
mov eax, dword [esp + 0x88]
mov esi, dword [esp + 0x94]
movd xmm7, ecx
mov ecx, dword [esp + 0x4c]
cvtdq2ps xmm7, xmm7
nop dword [eax]
movss xmm0, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm0, xmm5
subss xmm1, xmm6
mulss xmm0, xmm3
mulss xmm1, xmm4
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [esp + 0xac]
comiss xmm0, xmm1
jbe 0x10051f03
xorps xmm2, xmm2
jmp 0x10051f07
minss xmm2, xmm1
movd xmm1, ecx
movaps xmm0, xmm7
mulss xmm0, xmm2
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
movd xmm1, dword [esp + 0x7c]
cvtdq2ps xmm1, xmm1
cvttss2si ecx, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
shl ecx, 8
mulss xmm0, xmm2
addss xmm0, xmm1
movd xmm1, dword [esp + 0x8c]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
or ecx, eax
shl ecx, 8
mulss xmm0, xmm2
movss xmm2, dword [0x10082268]
addss xmm0, xmm1
cvttss2si eax, xmm0
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov eax, dword [esp + 0x88]
mov dword [edx + 0x10], ecx
add edx, 0x14
mov ecx, dword [esp + 0x4c]
cmp edx, edi
jb 0x10051ed0
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
movss xmm5, dword [esp + 0xd8]
inc eax
movss xmm3, dword [esp + 0xd4]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x40], eax
cmp eax, 6
jl 0x10051ca0
movss xmm0, dword [esp + 0xc]
addss xmm0, xmm0
mulss xmm0, dword [0x100822e8]
movss dword [esp + 0xc], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm3, dword [esp + 0xc]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x30], xmm0
cvtps2pd xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0x13], 0
xorps xmm3, xmm3
movss xmm4, dword [esp + 0x98]
addss xmm4, dword [esp + 0x48]
movss xmm1, dword [esp + 0x9c]
cvtsd2ss xmm3, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0x30]
mulss xmm4, xmm3
mulss xmm0, dword [0x10082224]
mulss xmm4, dword [0x10082224]
addss xmm0, dword [esp + 0xcc]
movss dword [esp + 0x70], xmm3
addss xmm4, dword [esp + 0xc4]
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x24], xmm4
je 0x10052065
mulss xmm1, dword [0x10082234]
jmp 0x1005206d
mulss xmm1, dword [0x10082228]
movaps xmm0, xmm1
movss dword [esp + 0x9c], xmm1
divss xmm0, dword [0x10082290]
cvttss2si esi, xmm0
cmp esi, 9
jge 0x10052091
mov esi, 9
jmp 0x1005209b
mov eax, 0x20
cmp esi, eax
cmovg esi, eax
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x20]
push esi
push dword [esp + 0xa8]
movaps xmm2, xmm1
mov ecx, edi
push eax
call fcn.1003d1b0
movss xmm2, dword [esp + 0x9c]
lea eax, [esp + 0x20]
addss xmm2, dword [0x10082268]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
push dword [esp + 0x70]
push eax
call fcn.1003d060
movss xmm2, dword [esp + 0x9c]
lea eax, [esp + 0x20]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
mov esi, dword [esp + 0x74]
push esi
push eax
call fcn.1003d060
movss xmm3, dword [esp + 0x30]
xorps xmm1, xmm1
movss xmm4, dword [esp + 0x70]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x18]
movaps xmm0, xmm4
mov eax, dword [0x1008b850]
mov ecx, edi
movss xmm6, dword [esp + 0xcc]
movaps xmm5, xmm3
mulss xmm0, xmm1
push 6
movss xmm7, dword [esp + 0xc8]
mulss xmm5, dword [esp + 0xac]
push 6
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm4
mulss xmm1, dword [esp + 0xb0]
addss xmm2, xmm6
movss dword [esp + 0x28], xmm2
movaps xmm2, xmm4
mulss xmm2, dword [esp + 0x20]
addss xmm2, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0xc0]
mulss xmm4, dword [esp + 0xbc]
addss xmm2, xmm7
movss dword [esp + 0x2c], xmm2
movaps xmm2, xmm5
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xc0]
subss xmm5, xmm4
mulss xmm3, dword [esp + 0xbc]
addss xmm0, xmm1
addss xmm2, xmm6
addss xmm3, xmm1
addss xmm5, xmm6
addss xmm0, xmm7
movss dword [esp + 0xb4], xmm2
addss xmm3, xmm7
movss dword [esp + 0x20], xmm5
movss dword [esp + 0xb8], xmm0
movss xmm0, dword [eax + 0x1938]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [eax + 0x193c]
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x9c], xmm0
call fcn.1003aa90
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
mov word [ecx], ax
add dword [edi + 0x38], 2
mov eax, dword [edi + 0x34]
movss xmm3, dword [esp + 0x20]
movss xmm4, dword [esp + 0x24]
movss xmm0, dword [esp + 0x70]
movss dword [eax], xmm3
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss xmm1, dword [esp + 0x94]
mov edx, dword [esp + 0xa4]
movss xmm6, dword [esp + 0xac]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
movss xmm5, dword [esp + 0xb0]
movss xmm7, dword [esp + 0x18]
movss xmm2, dword [esp + 0x30]
mov dword [eax + 0x10], edx
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm6
movss dword [eax + 4], xmm5
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], edx
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm7
movss dword [eax + 4], xmm2
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], esi
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm3
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
mov eax, dword [edi + 0x38]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov ecx, dword [esp + 0x80]
movss dword [eax], xmm6
movss dword [eax + 4], xmm5
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], ecx
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov eax, dword [edi + 0x38]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov esi, dword [esp + 0xd0]
movss dword [eax], xmm7
movss dword [eax + 4], xmm2
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
test dword [esp + 0x68], 0xff000000
je 0x1005250d
mov edx, dword [edi + 0x54]
lea eax, [edi + 0x54]
mov edi, dword [eax + 4]
mov dword [esp + 0x40], eax
cmp edx, edi
jne 0x100523f4
inc edx
mov dword [esp + 0x70], edx
test edi, edi
je 0x100523de
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x70]
mov ecx, eax
mov eax, dword [esp + 0x40]
sar ecx, 1
add ecx, edi
jmp 0x100523e3
mov ecx, 8
cmp ecx, edx
cmovg edx, ecx
mov ecx, eax
push edx
call fcn.100421a0
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
add eax, 0x54
mov dword [esp + 0x48], eax
mov edx, dword [ecx]
inc edx
mov dword [ecx], edx
mov edi, dword [ecx + 4]
cmp edx, edi
jne 0x10052451
lea ecx, [edx + 1]
test edi, edi
je 0x10052435
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1005243a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.100421a0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0xac]
mov edi, dword [esp + 0xb0]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x3c]
add eax, 0x54
mov dword [esp + 0x48], eax
mov edx, dword [ecx]
inc edx
mov dword [ecx], edx
mov edi, dword [eax + 4]
cmp edx, edi
jne 0x100524b0
lea ecx, [edx + 1]
test edi, edi
je 0x10052498
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1005249d
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.100421a0
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
push ecx
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x40]
mov ecx, edi
mov dword [esp], 0x3fc00000
push 1
push dword [esp + 0x70]
inc dword [eax]
push dword [eax]
push dword [edi + 0x5c]
call fcn.1003acb0
movss xmm3, dword [esp + 0x20]
movss xmm4, dword [esp + 0x24]
movss xmm5, dword [esp + 0xb0]
movss xmm6, dword [esp + 0xac]
mov dword [edi + 0x54], 0
movss xmm1, dword [0x10082268]
xorps xmm0, xmm0
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x44]
comiss xmm0, xmm2
jbe 0x1005252b
xorps xmm7, xmm7
jmp 0x10052532
movaps xmm7, xmm1
minss xmm7, xmm2
movss xmm2, dword [esp + 0x38]
comiss xmm0, xmm2
jbe 0x10052542
xorps xmm1, xmm1
jmp 0x10052546
minss xmm1, xmm2
subss xmm3, dword [esp + 0x18]
subss xmm4, dword [esp + 0x30]
mulss xmm3, xmm1
mulss xmm4, xmm1
addss xmm3, dword [esp + 0x18]
addss xmm4, dword [esp + 0x30]
subss xmm6, xmm3
subss xmm5, xmm4
mulss xmm6, xmm7
mulss xmm5, xmm7
addss xmm6, xmm3
addss xmm5, xmm4
movss dword [esp + 0x50], xmm6
movss dword [esp + 0x54], xmm5
jmp 0x100528cb
test eax, 0x2000000
je 0x100528d2
movss xmm0, dword [esp + 0x20]
addss xmm0, dword [esp + 0x14]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x3c]
push eax
push edx
push edx
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [esp + 0x20]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x34]
push eax
movss dword [esp + 0x34], xmm0
call fcn.1003cdd0
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x10c]
movss xmm0, dword [esp + 0x20]
addss xmm0, dword [esp + 0x14]
push ecx
push ecx
mov ecx, dword [esp + 0x44]
push 0
push 0
push eax
movss dword [esp + 0x120], xmm0
lea eax, [esp + 0x34]
movss xmm0, dword [esp + 0x30]
push eax
movss dword [esp + 0x128], xmm0
call fcn.1003cdd0
movss xmm0, dword [esp + 0x20]
addss xmm0, dword [esp + 0x14]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x74], xmm0
xorps xmm0, xmm0
push dword [esp + 0x74]
push dword [esp + 0x74]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.10021400
movss xmm2, dword [esp + 0x48]
xorps xmm0, xmm0
movss xmm1, dword [0x10082268]
add esp, 0x10
comiss xmm0, xmm2
jbe 0x10052674
xorps xmm3, xmm3
jmp 0x1005267b
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm4, dword [esp + 0x14]
movss xmm2, dword [esp + 0x20]
movss xmm5, dword [0x10082224]
mulss xmm3, xmm4
movss xmm7, dword [0x100822b8]
addss xmm3, xmm2
addss xmm3, xmm5
cvttss2si eax, xmm3
movaps xmm3, xmm2
addss xmm2, xmm4
addss xmm3, xmm7
movd xmm6, eax
cvtdq2ps xmm6, xmm6
subss xmm2, xmm7
comiss xmm3, xmm6
jbe 0x100526ca
movss dword [esp + 0x50], xmm3
jmp 0x100526dd
comiss xmm6, xmm2
jbe 0x100526d7
movss dword [esp + 0x50], xmm2
jmp 0x100526dd
movss dword [esp + 0x50], xmm6
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x44]
comiss xmm0, xmm2
jbe 0x100526f0
xorps xmm1, xmm1
jmp 0x100526f4
minss xmm1, xmm2
movss xmm2, dword [esp + 0x2c]
mulss xmm1, xmm4
movss xmm0, dword [esp + 0x1c]
subss xmm0, xmm7
addss xmm1, xmm2
addss xmm1, xmm5
cvttss2si eax, xmm1
movaps xmm1, xmm2
addss xmm1, xmm7
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm1, xmm3
jbe 0x1005272f
movss dword [esp + 0x54], xmm1
jmp 0x10052742
comiss xmm3, xmm0
jbe 0x1005273c
movss dword [esp + 0x54], xmm0
jmp 0x10052742
movss dword [esp + 0x54], xmm3
movss xmm3, dword [esp + 0x4c]
movaps xmm1, xmm4
divss xmm1, dword [0x10082304]
mov esi, dword [esp + 0x3c]
xor ecx, ecx
movaps xmm0, xmm3
movss dword [esp + 0x18], xmm3
addss xmm0, dword [esp + 0x64]
movss dword [esp + 0x70], xmm1
movss dword [esp + 0x10c], xmm0
nop word [eax + eax]
mov eax, dword [esp + ecx*4 + 0xf4]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0x114]
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0x118], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0xf8]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0x34], xmm0
call fcn.1003cdd0
movss xmm1, dword [esp + 0x70]
mov ecx, edi
movss xmm2, dword [esp + 0x2c]
cmp ecx, 6
jl 0x10052780
movss xmm3, dword [esp + 0x4c]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x14]
movaps xmm1, xmm3
movss dword [esp + 0x24], xmm2
addss xmm1, dword [esp + 0x64]
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x1c], xmm0
xorps xmm0, xmm0
push dword [esp + 0x1c]
movss dword [esp + 0x1c], xmm1
push dword [esp + 0x1c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.10021400
mov esi, dword [esp + 0xe0]
movss xmm3, dword [esp + 0x5c]
subss xmm3, dword [0x10082268]
movss xmm1, dword [esp + 0x74]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x4c]
addss xmm1, dword [0x100822b8]
movaps xmm0, xmm2
movss dword [esp + 0x2c], xmm2
addss xmm0, dword [0x10082268]
push dword [esp + 0x2c]
movss dword [esp + 0x34], xmm3
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x20]
mulss xmm0, dword [esp + 0x28]
push dword [esp + 0x2c]
addss xmm0, dword [esp + 0x44]
addss xmm0, dword [0x10082224]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x4c]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x1518]
movss dword [esp + 0x3c], xmm0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.10050680
add esp, 0x20
mov edi, dword [esp + 0xa0]
cmp byte [esp + 0xb], 0
je 0x100528ec
movss xmm0, dword [0x10082318]
movss dword [esp + 0xdc], xmm0
jmp 0x100528f4
movss xmm0, dword [0x10082304]
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x50]
push 0xc
push dword [esp + 0xe4]
movaps xmm2, xmm0
push eax
call fcn.1003d1b0
movss xmm2, dword [esp + 0xdc]
lea eax, [esp + 0x50]
addss xmm2, dword [0x10082268]
push ecx
mov ecx, dword [esp + 0x40]
mov dword [esp], 0x3f800000
push 0xc
push dword [esp + 0x70]
push eax
call fcn.1003d060
movss xmm2, dword [esp + 0xdc]
lea eax, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x40]
mov dword [esp], 0x3f800000
push 0xc
push dword [esp + 0x74]
push eax
call fcn.1003d060
cmp dword [esp + 0xc0], 0x10000
jne 0x10052b0b
movss xmm1, dword [edi + 0xc]
xorps xmm2, xmm2
comiss xmm2, xmm1
jbe 0x10052989
movss dword [esp + 0xc0], xmm2
jmp 0x1005299e
movss xmm0, dword [0x10082268]
minss xmm0, xmm1
movss dword [esp + 0xc0], xmm0
movss xmm3, dword [esp + 0xbc]
xor edx, edx
movss xmm0, dword [esp + 0x2c]
movaps xmm1, xmm3
addss xmm1, dword [esp + 0x64]
movss dword [esp + 0x110], xmm0
xor ecx, ecx
addss xmm0, dword [esp + 0x14]
mov dword [esp + 0x1c], 0
push dword [esp + 0x1c]
movss dword [esp + 0x118], xmm1
subss xmm1, xmm3
mov dword [esp + 0x1c], 0
push dword [esp + 0x1c]
movss dword [esp + 0x120], xmm0
push dword [esp + 0x120]
mulss xmm1, dword [0x10082224]
push dword [esp + 0x120]
movss dword [esp + 0x11c], xmm3
push dword [esp + 0x120]
mov edi, dword [esp + 0x120]
push edi
call fcn.10041880
mov ecx, dword [esp + 0x100]
add esp, 0x18
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0x120]
push eax
call fcn.1003cdd0
push dword [esp + 0x118]
xorps xmm0, xmm0
push dword [esp + 0x118]
push dword [esp + 0x118]
push edi
call fcn.10021400
movss xmm1, dword [0x10082268]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x4c]
movaps xmm0, xmm2
movss dword [esp + 0x2c], xmm2
movss xmm2, dword [esp + 0xcc]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0xd0]
push dword [esp + 0x2c]
movss dword [esp + 0x2c], xmm0
push dword [esp + 0x2c]
mulss xmm1, dword [esp + 0x2c]
movss dword [esp + 0x38], xmm2
movss xmm2, dword [0x10082248]
addss xmm1, dword [esp + 0x44]
addss xmm1, dword [0x10082224]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x7c]
addss xmm1, dword [0x100822b8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x3c], xmm0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.10050680
add esp, 0x20
call fcn.1002c7a0
cmp byte [esp + 0xa], 0
mov edi, dword [0x1008b850]
je 0x10052ba7
mov edx, dword [esp + 0xa0]
lea esi, [esp + 0x11c]
xor ecx, ecx
cmp dword [esp + 0x84], ecx
sete cl
lea ecx, [ecx*4 + 0xc]
sub ecx, 4
jb 0x10052b58
mov eax, dword [esi]
cmp eax, dword [edx]
jne 0x10052b5d
add esi, 4
add edx, 4
sub ecx, 4
jae 0x10052b47
cmp ecx, 0xfffffffc
je 0x10052ba2
mov al, byte [esi]
cmp al, byte [edx]
jne 0x10052b8a
cmp ecx, 0xfffffffd
je 0x10052ba2
mov al, byte [esi + 1]
cmp al, byte [edx + 1]
jne 0x10052b8a
cmp ecx, 0xfffffffe
je 0x10052ba2
mov al, byte [esi + 2]
cmp al, byte [edx + 2]
jne 0x10052b8a
cmp ecx, 0xffffffff
je 0x10052ba2
mov al, byte [esi + 3]
cmp al, byte [edx + 3]
je 0x10052ba2
mov eax, dword [edi + 0x1b9c]
mov word [edi + 0x1be4], 0x101
or dword [eax + 0x120], 4
jmp 0x10052ba7
mov byte [esp + 0xa], 0
mov ecx, dword [edi + 0x1b9c]
mov al, byte [esp + 0xa]
pop edi
pop esi
dec dword [ecx + 0xc4]
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.100714c0
mov esp, ebp
pop ebp
ret