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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x128
mov eax, dword [0x10067040]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x38], edx
mov edx, ecx
mov ecx, dword [0x100dd8ec]
mov dword [esp + 0x44], eax
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx + 0x1a20]
push edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x8c], edx
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x1a20]
mov ecx, edx
mov dword [esp + 0xd4], eax
mov edi, dword [eax + 0x27c]
mov dword [esp + 0x58], edi
call fcn.10025300
call fcn.100339e0
mov ecx, esi
or ecx, 0x10
test esi, 0x100
cmovne ecx, esi
mov dword [esp + 0xbc], ecx
test cl, 8
jne 0x10030e74
mov edx, dword [esp + 0x40]
call fcn.1002f760
mov ecx, dword [esp + 0xbc]
mov esi, dword [esp + 0x1c]
test ecx, 0x6000000
jne 0x10030ea0
mov eax, dword [esi + 0x2c40]
mov ecx, 0x2900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, dword [esp + 0xbc]
mov dword [esp + 0x18], ecx
test cl, 8
jne 0x10030eba
mov eax, dword [esi + 0x2c40]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x18], ecx
mov eax, ecx
movss xmm1, dword [0x10062bac]
and eax, 2
mov edx, ecx
mov dword [esp + 0xbc], eax
and edx, 0x10002
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xf8], edx
movss xmm0, dword [eax + 0xcc]
movss xmm6, dword [eax + 0xc8]
mov eax, dword [0x100dd8ec]
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x3c], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x38], xmm6
movss xmm5, dword [eax + 0x1548]
addss xmm5, xmm5
movss dword [esp + 0x10], xmm0
addss xmm5, dword [eax + 0x1938]
mov eax, dword [eax + 0x1a20]
mov dword [esp + 0x34], eax
movss xmm4, dword [eax + 0x168]
comiss xmm0, xmm4
movss dword [esp + 0x54], xmm5
jbe 0x10030fc4
mov ecx, dword [eax + 0x1c4]
movss xmm3, dword [eax + 0xc8]
movss xmm2, dword [eax + 0x21c]
mov dword [esp + 0xd4], ecx
subss xmm3, dword [eax + 0xc]
subss xmm2, dword [eax + 0xc]
test ecx, ecx
je 0x10030fb5
mov edx, dword [ecx + 0xc]
movss xmm0, dword [ecx + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
lea ecx, [edx*8]
sub ecx, edx
mov edx, dword [esp + 0xd4]
movss xmm2, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm2, xmm0
mov edx, dword [esp + 0xf8]
mulss xmm2, dword [eax + ecx*4]
mov eax, dword [esp + 0x34]
addss xmm2, xmm0
subss xmm2, dword [eax + 0x3c]
subss xmm2, xmm3
addss xmm2, xmm4
movaps xmm4, xmm1
maxss xmm4, xmm2
movss xmm3, dword [esi + 0x155c]
cvttss2si eax, xmm4
movaps xmm0, xmm3
addss xmm0, xmm5
movd xmm2, eax
xor eax, eax
cmp edx, 0x10000
cvtdq2ps xmm2, xmm2
sete al
inc eax
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0xbc], eax
sete al
mulss xmm1, xmm0
movaps xmm0, xmm6
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x44]
subss xmm2, xmm1
movaps xmm1, xmm5
lea eax, [esp + 0x124]
push eax
maxss xmm1, xmm2
addss xmm0, xmm1
movss dword [esp + 0x38], xmm1
addss xmm0, xmm3
movss dword [esp + 0x94], xmm0
addss xmm0, xmm5
addss xmm0, xmm3
movss dword [esp + 0x100], xmm0
movaps xmm0, xmm5
mulss xmm0, dword [0x10062b68]
cvttss2si esi, xmm0
mov dword [esp + 0x108], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm2, dword [esp + 0x38]
add esp, 0xc
movaps xmm4, xmm2
movaps xmm3, xmm2
mulss xmm4, dword [0x10062b80]
mulss xmm3, dword [0x10062b58]
movaps xmm0, xmm4
movss dword [esp + 0x94], xmm4
addss xmm0, dword [esp + 0x30]
movss dword [esp + 0x98], xmm3
movaps xmm1, xmm4
subss xmm1, xmm3
movaps xmm3, xmm2
addss xmm3, dword [esp + 0x54]
movss dword [esp + 0xd0], xmm0
movss dword [esp + 0xe8], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x10062b48]
mulss xmm3, dword [0x10062b80]
cvttss2si eax, xmm0
addss xmm3, dword [esp + 0x38]
movss dword [esp + 0x90], xmm1
movd xmm0, eax
mov eax, dword [esp + 0x40]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xdc], xmm3
subss xmm1, xmm0
movss dword [esp + 0xe4], xmm3
movss xmm0, dword [esp + 0x10]
movss dword [esp + 0xc4], xmm0
movaps xmm3, xmm1
movss dword [esp + 0x7c], xmm1
mulss xmm3, dword [0x10062cfc]
movaps xmm2, xmm1
mulss xmm2, dword [0x10062d08]
movss dword [esp + 0xc0], xmm1
mulss xmm1, dword [0x10062ba4]
movss dword [esp + 0x78], xmm3
movss dword [esp + 0x70], xmm3
movss dword [esp + 0x80], xmm2
movss dword [esp + 0x74], xmm2
movss dword [esp + 0xa0], xmm3
movss dword [esp + 0x60], xmm1
movss dword [esp + 0xa4], xmm1
movss xmm1, dword [eax + 4]
movaps xmm4, xmm0
movss xmm3, dword [eax + 8]
comiss xmm3, xmm1
movss xmm5, dword [eax]
movss xmm2, dword [0x10062d0c]
movss dword [esp + 0x84], xmm5
jbe 0x100311ab
movaps xmm0, xmm1
movaps xmm4, xmm2
movaps xmm1, xmm3
movaps xmm3, xmm0
comiss xmm1, xmm5
movss xmm2, dword [0x10062cf8]
jbe 0x100311d4
movaps xmm0, xmm5
movss dword [esp + 0x84], xmm1
movaps xmm5, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm2
subss xmm0, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm1
mov byte [esp + 0xf], 0
minss xmm0, xmm3
mov byte [esp + 0x17], 0
movaps xmm2, xmm5
mov byte [esp + 0x16], 0
subss xmm1, xmm3
mov ecx, 8
movss xmm3, dword [0x10062c2c]
movss dword [esp + 0x9c], xmm3
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm3
addss xmm0, dword [0x10062b24]
divss xmm1, xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x10062b24]
addss xmm1, xmm4
divss xmm2, xmm0
andps xmm1, xmmword [0x100636d0]
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x64], xmm2
call fcn.10022cd0
mov eax, dword [esp + 0x18]
test eax, 0x4000000
je 0x10031824
movss xmm1, dword [esp + 0x2c]
lea edx, [esp + 0x20]
mov eax, dword [esp + 0x1c]
movaps xmm0, xmm1
mov ecx, 0x100629d0
movss dword [esp + 0x24], xmm1
addss xmm0, dword [eax + 0x155c]
addss xmm0, dword [esp + 0x54]
movss dword [esp + 0x20], xmm0
call fcn.10024540
mov eax, dword [0x100dd8ec]
mov ecx, dword [eax + 0x1a3c]
test ecx, ecx
je 0x10031717
mov eax, dword [eax + 0x1a20]
cmp ecx, dword [eax + 0x104]
jne 0x10031717
mov eax, dword [esp + 0x1c]
movss xmm0, dword [eax + 0x398]
subss xmm0, dword [esp + 0xd0]
movss xmm1, dword [eax + 0x394]
subss xmm1, dword [esp + 0xdc]
movss xmm4, dword [eax + 0xd8]
movss xmm3, dword [eax + 0xdc]
subss xmm4, dword [esp + 0xdc]
subss xmm3, dword [esp + 0xd0]
movaps xmm2, xmm0
movss dword [esp + 0x5c], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x34], xmm1
movss xmm1, dword [0x10062bac]
addss xmm2, xmm0
movss dword [esp + 0x44], xmm4
movss xmm0, dword [esp + 0x90]
subss xmm0, xmm1
movss dword [esp + 0xb4], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x100313c3
movss xmm0, dword [esp + 0x94]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x100313c3
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm2, dword [0x10062c10]
fstp qword [esp + 0x20]
movsd xmm1, qword [esp + 0x20]
cvtpd2ps xmm1, xmm1
movss xmm0, dword [esp + 0x10]
divss xmm1, xmm2
mulss xmm1, dword [0x10062b80]
comiss xmm0, xmm1
movss dword [esp + 0x50], xmm1
jbe 0x100313bb
addss xmm1, dword [0x10062bac]
movss dword [esp + 0x50], xmm1
mov al, 1
mov byte [esp + 0xf], al
jmp 0x100313d5
mov al, byte [esp + 0xf]
movss xmm2, dword [0x10062c10]
movss xmm1, dword [esp + 0x50]
movaps xmm0, xmm1
mov byte [esp + 0x17], al
xorps xmm0, xmmword [0x10063700]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0xd4], xmm0
movsd xmm0, qword [esp + 0x20]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm6, dword [esp + 0xd4]
xorps xmm5, xmm5
cvtsd2ss xmm5, xmm0
movss xmm1, dword [esp + 0x78]
movaps xmm3, xmm6
mulss xmm3, dword [esp + 0x34]
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x5c]
movaps xmm4, xmm6
mulss xmm4, dword [esp + 0x5c]
subss xmm3, xmm0
movss dword [esp + 0xe0], xmm5
movaps xmm0, xmm5
movss xmm7, dword [esp + 0x7c]
mulss xmm0, dword [esp + 0x34]
movaps xmm5, xmm1
subss xmm5, xmm1
movaps xmm2, xmm3
addss xmm4, xmm0
movss xmm0, dword [esp + 0x80]
subss xmm0, dword [esp + 0x60]
subss xmm2, xmm1
subss xmm7, dword [esp + 0x78]
movss dword [esp + 0x34], xmm5
movss dword [esp + 0xd4], xmm0
movaps xmm1, xmm2
mulss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0x60]
movss dword [esp + 0x68], xmm7
mulss xmm0, xmm5
movss xmm5, dword [esp + 0x10]
subss xmm1, xmm0
movaps xmm0, xmm5
subss xmm0, dword [esp + 0x80]
comiss xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x5c], xmm0
movaps xmm0, xmm4
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0x80]
mulss xmm0, xmm7
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x1003170f
movss xmm0, dword [esp + 0x60]
subss xmm4, xmm5
subss xmm3, dword [esp + 0x7c]
subss xmm0, xmm5
mulss xmm3, xmm0
movss xmm0, dword [esp + 0x78]
subss xmm0, dword [esp + 0x7c]
mulss xmm0, xmm4
subss xmm3, xmm0
comiss xmm5, xmm3
seta al
cmp cl, al
jne 0x1003170f
movss xmm1, dword [esp + 0xe0]
movaps xmm7, xmm6
mulss xmm7, dword [esp + 0x44]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x44]
mulss xmm0, dword [esp + 0xb4]
mulss xmm6, dword [esp + 0xb4]
movss xmm4, dword [esp + 0x78]
subss xmm7, xmm0
addss xmm6, xmm1
movaps xmm1, xmm7
movss dword [esp + 0x20], xmm7
subss xmm1, xmm4
movaps xmm0, xmm6
movss dword [esp + 0x24], xmm6
subss xmm0, dword [esp + 0x60]
mulss xmm1, dword [esp + 0xd4]
mulss xmm0, dword [esp + 0x34]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0x80]
comiss xmm5, xmm1
mulss xmm0, dword [esp + 0x68]
movaps xmm1, xmm7
subss xmm1, xmm4
seta cl
mulss xmm1, dword [esp + 0x5c]
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x1003160c
movss xmm3, dword [esp + 0x7c]
movaps xmm2, xmm7
movss xmm0, dword [esp + 0x60]
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 0x1003164f
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x78]
push eax
lea edx, [esp + 0xcc]
lea ecx, [esp + 0xe0]
call fcn.10013c00
movss xmm5, dword [esp + 0x1c]
add esp, 0xc
movss xmm3, dword [esp + 0x7c]
movss xmm4, dword [esp + 0x78]
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
movss xmm1, dword [esp + 0x60]
subss xmm7, xmm3
movaps xmm2, xmm4
subss xmm1, xmm5
movss xmm4, dword [esp + 0x80]
subss xmm2, xmm3
subss xmm4, xmm5
subss xmm6, xmm5
movaps xmm3, xmm2
movaps xmm0, xmm4
mulss xmm3, xmm1
mulss xmm0, xmm2
mulss xmm6, xmm2
subss xmm3, xmm0
movss xmm2, dword [0x10062b38]
movaps xmm0, xmm7
movss dword [esp + 0x64], xmm2
mulss xmm0, xmm1
mulss xmm7, xmm4
subss xmm0, xmm6
movss xmm1, dword [0x10062bac]
movaps xmm5, xmm1
subss xmm6, xmm7
divss xmm0, xmm3
divss xmm6, xmm3
subss xmm5, xmm0
comiss xmm2, xmm5
movaps xmm0, xmm5
subss xmm0, xmm6
jbe 0x100316dd
movaps xmm3, xmm2
movss dword [esp + 0x84], xmm2
jmp 0x100316ed
movaps xmm3, xmm1
minss xmm3, xmm5
movss dword [esp + 0x84], xmm3
divss xmm0, xmm3
comiss xmm2, xmm0
ja 0x10031703
movaps xmm2, xmm1
minss xmm2, xmm0
movss dword [esp + 0x64], xmm2
mov byte [esp + 0x16], 1
mov byte [esp + 0xf], 1
jmp 0x10031717
mov al, byte [esp + 0xf]
mov byte [esp + 0x17], al
test byte [esp + 0x18], 8
jne 0x10031723
call fcn.1001d230
movss xmm4, dword [esp + 0x2c]
movss xmm3, dword [esp + 0x30]
cmp dword [esp + 0xf8], 0x10000
jne 0x10031a42
mov ecx, dword [0x100dd8ec]
lea edx, [esp + 0xc0]
movss xmm0, dword [esp + 0xf4]
movss dword [esp + 0xc4], xmm4
mov eax, dword [ecx + 0x1a20]
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x1a20]
mov ecx, str.alpha
movss dword [eax + 0xc8], xmm0
movss dword [eax + 0xcc], xmm3
movss xmm1, dword [eax + 0xe0]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe4]
maxss xmm0, xmm3
movss dword [eax + 0xe0], xmm1
movss dword [eax + 0xe4], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0xc0], xmm0
call fcn.10024540
mov eax, dword [0x100dd8ec]
movss xmm1, dword [esp + 0x10]
mov ecx, dword [eax + 0x1a3c]
test ecx, ecx
je 0x10031a48
mov eax, dword [eax + 0x1a20]
cmp ecx, dword [eax + 0x104]
mov ecx, dword [esp + 0x1c]
jne 0x10031a4c
movss xmm3, dword [ecx + 0xdc]
movss xmm0, dword [esp + 0x2c]
movss xmm2, dword [0x10062bac]
subss xmm3, dword [esp + 0x30]
subss xmm0, xmm2
divss xmm3, xmm0
comiss xmm1, xmm3
jbe 0x10031a24
movaps xmm4, xmm1
jmp 0x10031a2b
test eax, 0x2000000
je 0x10031723
movss xmm0, dword [esp + 0x2c]
lea edx, [esp + 0xc0]
mov ecx, 0x100629d4
movss dword [esp + 0xc0], xmm0
movss dword [esp + 0xc4], xmm0
call fcn.10024540
mov ecx, dword [0x100dd8ec]
mov edx, dword [ecx + 0x1a3c]
test edx, edx
je 0x100318f5
mov eax, dword [ecx + 0x1a20]
cmp edx, dword [eax + 0x104]
jne 0x100318f5
mov eax, dword [esp + 0x1c]
movss xmm4, dword [esp + 0x2c]
movss xmm1, dword [0x10062bac]
subss xmm4, xmm1
movss xmm0, dword [esp + 0x10]
movss xmm2, dword [eax + 0xd8]
subss xmm2, dword [esp + 0x38]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x100318b5
movss dword [esp + 0x64], xmm0
jmp 0x100318c2
movaps xmm3, xmm1
minss xmm3, xmm2
movss dword [esp + 0x64], xmm3
movss xmm2, dword [eax + 0xdc]
subss xmm2, dword [esp + 0x30]
divss xmm2, xmm4
comiss xmm0, xmm2
ja 0x100318e0
movaps xmm0, xmm1
minss xmm0, xmm2
subss xmm1, xmm0
mov al, 1
mov byte [esp + 0xf], al
movss dword [esp + 0x84], xmm1
jmp 0x100318f9
mov al, byte [esp + 0xf]
test byte [esp + 0x18], 8
mov byte [esp + 0x16], al
mov byte [esp + 0x4b], al
jne 0x10031913
call fcn.1001d230
mov ecx, dword [0x100dd8ec]
mov eax, dword [ecx + 0x1a20]
lea edx, [esp + 0xc0]
movss xmm0, dword [esp + 0x88]
movss xmm2, dword [esp + 0x30]
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x1a20]
mov ecx, 0x100629d8
movss dword [eax + 0xc8], xmm0
movss dword [eax + 0xcc], xmm2
movss xmm1, dword [eax + 0xe0]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe4]
maxss xmm0, xmm2
movss dword [eax + 0xe0], xmm1
movss dword [eax + 0xe4], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0xc0], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0xc4], xmm0
call fcn.10024540
mov eax, dword [0x100dd8ec]
mov ecx, dword [eax + 0x1a3c]
test ecx, ecx
je 0x10031723
mov eax, dword [eax + 0x1a20]
mov dl, byte [esp + 0xf]
movss xmm3, dword [esp + 0x30]
movss xmm4, dword [esp + 0x2c]
mov byte [esp + 0x16], dl
cmp ecx, dword [eax + 0x104]
jne 0x1003172f
mov eax, dword [esp + 0x1c]
movaps xmm0, xmm4
movss xmm1, dword [0x10062bac]
subss xmm0, xmm1
movss xmm2, dword [eax + 0xdc]
subss xmm2, xmm3
divss xmm2, xmm0
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm2
ja 0x10031a07
movaps xmm0, xmm1
minss xmm0, xmm2
mov al, byte [esp + 0x4b]
movss dword [esp + 0x50], xmm0
mov byte [esp + 0x17], 1
mov byte [esp + 0xf], 1
mov byte [esp + 0x16], al
jmp 0x1003172f
movaps xmm4, xmm2
minss xmm4, xmm3
mov eax, dword [esp + 0x40]
movaps xmm0, xmm2
subss xmm0, xmm4
mov byte [esp + 0xf], 1
movss dword [eax + 0xc], xmm0
jmp 0x10031a4c
movss xmm1, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x100dd8ec]
mov eax, dword [edx + 0x1a20]
mov byte [eax + 0x78], 1
mov eax, dword [edx + 0x1a20]
mov dword [esp + 0x44], eax
mov eax, dword [eax + 0x170]
add eax, 0xffffffff
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x68]
mov dword [eax + 0x170], esi
jne 0x10031a8a
mov esi, 1
jmp 0x10031a98
mov eax, dword [eax + 0x178]
mov esi, dword [eax + esi*4 - 4]
mov eax, dword [esp + 0x44]
mov dword [eax + 0x164], esi
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0xfc]
test eax, 0x100
jne 0x10031b1c
mov eax, dword [edx + 0x1a20]
movss xmm2, dword [ecx + 0x155c]
mov byte [eax + 0x78], 1
mov ecx, dword [edx + 0x1a20]
cmp byte [ecx + 0x7b], 0
jne 0x10031b13
comiss xmm1, xmm2
jbe 0x10031adb
movss xmm2, dword [edx + 0x1554]
addss xmm2, dword [ecx + 0xd0]
movss xmm0, dword [ecx + 0xd4]
movss dword [ecx + 0xc8], xmm2
movss dword [ecx + 0xcc], xmm0
mov eax, dword [ecx + 0xf0]
mov dword [ecx + 0xe8], eax
mov eax, dword [ecx + 0xf4]
mov dword [ecx + 0xec], eax
call fcn.100339e0
mov eax, dword [esp + 0x18]
test al, al
js 0x10031be9
mov edx, dword [esp + 0x8c]
cmp edx, 0xffffffff
jae 0x10031be9
mov cl, byte [edx]
mov byte [esp + 0x4b], cl
test cl, cl
je 0x10031b4e
cmp cl, 0x23
jne 0x10031b48
cmp byte [edx + 1], cl
je 0x10031b4e
inc edx
cmp edx, 0xffffffff
jb 0x10031b34
cmp dword [esp + 0x8c], edx
je 0x10031be9
test eax, 0x100
je 0x10031bd9
mov eax, dword [esp + 0x1c]
movss xmm1, dword [eax + 0x155c]
mov eax, dword [0x100dd8ec]
mov eax, dword [eax + 0x1a20]
mov byte [eax + 0x78], 1
mov eax, dword [0x100dd8ec]
mov ecx, dword [eax + 0x1a20]
cmp byte [ecx + 0x7b], 0
jne 0x10031bd9
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm1
jbe 0x10031ba1
movss xmm1, dword [eax + 0x1554]
addss xmm1, dword [ecx + 0xd0]
movss xmm0, dword [ecx + 0xd4]
movss dword [ecx + 0xc8], xmm1
movss dword [ecx + 0xcc], xmm0
mov eax, dword [ecx + 0xf0]
mov dword [ecx + 0xe8], eax
mov eax, dword [ecx + 0xf4]
mov dword [ecx + 0xec], eax
mov ecx, dword [esp + 0x8c]
call fcn.100234b0
mov eax, dword [esp + 0x18]
test eax, 0x100
jne 0x10031dd0
mov ecx, 0x10
call fcn.10022cd0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
test cl, 2
je 0x10031c15
movss xmm1, dword [0x10062bac]
jmp 0x10031c1a
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
movss dword [esp + 0xc0], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0xc4], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0xc8], xmm0
movss dword [esp + 0xcc], xmm1
test cl, cl
jns 0x10031c61
push str.Current
call fcn.100233c0
mov ecx, dword [esp + 0x1c]
add esp, 4
movss xmm1, dword [esp + 0x54]
lea edx, [esp + 0xc0]
movaps xmm0, xmm1
and ecx, 0xe0040
mulss xmm0, dword [0x10062c0c]
mov dword [esp + 0xe0], ecx
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x68], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x24], xmm0
push dword [esp + 0x24]
movss dword [esp + 0xb8], xmm0
push dword [esp + 0x24]
push ecx
mov ecx, str.current
call fcn.1002ed10
add esp, 0xc
cmp dword [esp + 0x4c], 0
je 0x10031d8d
push str.Original
call fcn.100233c0
mov eax, dword [esp + 0x50]
add esp, 4
test byte [esp + 0x18], 2
je 0x10031ceb
movss xmm1, dword [0x10062bac]
jmp 0x10031cf0
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0xa0]
movss dword [esp + 0xa0], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0xa8], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x24], xmm0
push dword [esp + 0x24]
movss dword [esp + 0xb0], xmm1
push dword [esp + 0x24]
push dword [esp + 0xe8]
call fcn.1002ed10
add esp, 0xc
test al, al
je 0x10031d8d
xor eax, eax
cmp dword [esp + 0xbc], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x50]
push dword [esp + 0x48]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xf], 1
mov ecx, dword [0x100dd8ec]
mov eax, dword [ecx + 0x1a20]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x1a20]
mov edx, dword [ecx + 0x170]
sub edx, 1
mov dword [ecx + 0x170], edx
jne 0x10031dbb
mov eax, 1
jmp 0x10031dc5
mov eax, dword [ecx + 0x178]
mov eax, dword [eax + edx*4 - 4]
mov dword [ecx + 0x164], eax
call fcn.10033b00
cmp byte [esp + 0x17], 0
jne 0x10031dde
cmp byte [esp + 0x16], 0
je 0x10031e40
mov eax, dword [esp + 0x40]
movss xmm0, dword [esp + 0x10]
movss xmm1, dword [esp + 0x84]
comiss xmm1, xmm0
lea ecx, [eax + 8]
lea edx, [eax + 4]
jbe 0x10031e01
movaps xmm3, xmm1
jmp 0x10031e09
movss xmm3, dword [0x10062b28]
movss xmm1, dword [esp + 0x64]
comiss xmm1, xmm0
movss xmm2, dword [0x10062b2c]
ja 0x10031e1f
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x50]
comiss xmm0, dword [0x10062bac]
jb 0x10031e32
subss xmm0, xmm2
push ecx
mov ecx, eax
movaps xmm2, xmm3
call fcn.100146d0
add esp, 4
test byte [esp + 0x18], 0x20
jne 0x10032017
cmp dword [esp + 0xf8], 0x10000
jne 0x10031e63
movss xmm0, dword [esp + 0xf4]
jmp 0x10031e6c
movss xmm0, dword [esp + 0x88]
addss xmm0, dword [esp + 0x54]
mov ecx, dword [0x100dd8ec]
subss xmm0, dword [esp + 0x38]
mov eax, dword [ecx + 0x1a20]
ucomiss xmm0, dword [esp + 0x10]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x1a20]
mov dword [esp + 0x44], ecx
lahf
test ah, 0x44
jp 0x10031ea5
movss xmm0, dword [ecx + 0x228]
movss dword [ecx + 0x168], xmm0
add ecx, 0x17c
mov dword [esp + 0xb4], ecx
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x10031ef1
inc edx
mov dword [esp + 0x68], edx
test eax, eax
je 0x10031eda
cdq
sub eax, edx
mov edx, dword [esp + 0x68]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10031edf
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10034c60
mov ecx, dword [esp + 0xb4]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x168]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x44]
inc dword [eax + 0x17c]
mov eax, dword [esp + 0x18]
mov ecx, eax
and ecx, 0x18e001a
mov dword [esp + 0x44], ecx
test eax, 0x100000
jne 0x10031f2b
test eax, 0x700000
jne 0x10031f4f
mov edx, dword [esp + 0x40]
or ecx, 0x100004
push ecx
mov ecx, str.rgb
call fcn.1002fa60
mov ecx, dword [esp + 0x48]
add esp, 4
or byte [esp + 0xf], al
mov eax, dword [esp + 0x18]
test eax, 0x200000
jne 0x10031f5d
test eax, 0x700000
jne 0x10031f85
mov edx, dword [esp + 0x40]
or ecx, 0x200004
push ecx
mov ecx, str.hsv
call fcn.1002fa60
mov dl, byte [esp + 0x13]
add esp, 4
or dl, al
mov eax, dword [esp + 0x18]
mov byte [esp + 0xf], dl
jmp 0x10031f89
mov dl, byte [esp + 0xf]
test eax, 0x400000
jne 0x10031f97
test eax, 0x700000
jne 0x10031fbc
mov eax, dword [esp + 0x44]
mov ecx, str.hex
mov edx, dword [esp + 0x40]
or eax, 0x400004
push eax
call fcn.1002fa60
mov dl, byte [esp + 0x13]
add esp, 4
or dl, al
mov byte [esp + 0xf], dl
mov ecx, dword [0x100dd8ec]
mov eax, dword [ecx + 0x1a20]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x1a20]
mov eax, dword [ecx + 0x17c]
add eax, 0xffffffff
mov dword [esp + 0x68], eax
mov dword [ecx + 0x17c], eax
jne 0x10031ff9
movss xmm0, dword [ecx + 0x228]
movss dword [ecx + 0x168], xmm0
jmp 0x1003201b
mov eax, dword [ecx + 0x184]
mov edi, dword [esp + 0x68]
movss xmm0, dword [eax + edi*4 - 4]
mov edi, dword [esp + 0x58]
movss dword [ecx + 0x168], xmm0
jmp 0x1003201b
mov dl, byte [esp + 0xf]
test dl, dl
je 0x10032114
mov ecx, dword [esp + 0x40]
movss xmm2, dword [esp + 0x10]
movaps xmm6, xmm2
movss xmm3, dword [ecx + 4]
movss xmm5, dword [ecx + 8]
comiss xmm5, xmm3
movss xmm4, dword [ecx]
jbe 0x10032054
movss xmm6, dword [0x10062d0c]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x10032071
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x10062cf8]
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 [0x10062b24]
movaps xmm7, xmm1
mulss xmm1, dword [esp + 0x9c]
divss xmm7, xmm0
addss xmm1, dword [0x10062b24]
divss xmm3, xmm1
addss xmm3, xmm6
andps xmm3, xmmword [0x100636d0]
comiss xmm2, xmm3
jb 0x10032114
movss xmm0, dword [esp + 0x50]
comiss xmm0, xmm2
jbe 0x10032114
comiss xmm2, xmm4
jb 0x100320ef
movss xmm1, dword [esp + 0x84]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x100320ef
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x64]
mulss xmm2, dword [0x10062b80]
jmp 0x10032105
comiss xmm2, xmm7
jb 0x10032114
movss xmm1, dword [esp + 0x64]
movaps xmm2, xmm4
mulss xmm1, dword [0x10062b80]
lea eax, [ecx + 8]
push eax
lea edx, [ecx + 4]
call fcn.100146d0
add esp, 4
movaps xmm0, xmmword [0x10063210]
lea eax, [esp + 0xc8]
movss xmm2, dword [0x10062bac]
lea edx, [esp + 0xc4]
movups xmmword [esp + 0xc0], xmm0
lea ecx, [esp + 0xc0]
movss xmm0, dword [esp + 0x50]
movaps xmm1, xmm2
push eax
call fcn.100146d0
movups xmm3, xmmword [esp + 0xc4]
add esp, 4
movss xmm1, dword [esp + 0x10]
comiss xmm1, xmm3
movss xmm2, dword [0x10062bac]
jbe 0x10032172
movaps xmm0, xmm1
jmp 0x10032179
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm3, dword [0x10062ca4]
movss xmm4, dword [0x10062b80]
movss xmm5, dword [esp + 0xc4]
comiss xmm1, xmm5
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ecx, xmm0
jbe 0x100321a8
movaps xmm0, xmm1
jmp 0x100321af
movaps xmm0, xmm2
minss xmm0, xmm5
movss xmm5, dword [esp + 0xc8]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm5
jbe 0x100321d3
movaps xmm0, xmm1
jmp 0x100321da
movaps xmm0, xmm2
minss xmm0, xmm5
movss xmm5, dword [esp + 0xcc]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm5
jbe 0x100321fe
movaps xmm0, xmm1
jmp 0x10032205
movaps xmm0, xmm2
minss xmm0, xmm5
mov eax, dword [esp + 0x40]
mulss xmm0, xmm3
movss xmm5, dword [eax]
movss xmm6, dword [eax + 4]
addss xmm0, xmm4
movss xmm7, dword [eax + 8]
cvttss2si edx, xmm0
shl edx, 0x18
or edx, ecx
comiss xmm1, xmm5
mov dword [esp + 0x8c], edx
jbe 0x10032239
movaps xmm0, xmm1
jmp 0x10032240
movaps xmm0, xmm2
minss xmm0, xmm5
comiss xmm1, xmm6
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ecx, xmm0
jbe 0x10032256
movaps xmm0, xmm1
jmp 0x1003225d
movaps xmm0, xmm2
minss xmm0, xmm6
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm7
jbe 0x10032278
movaps xmm0, xmm1
jmp 0x1003227f
movaps xmm0, xmm2
minss xmm0, xmm7
mulss xmm0, xmm3
mov dword [esp + 0x100], 0xff0000ff
mov dword [esp + 0x104], 0xff00ffff
mov dword [esp + 0x108], 0xff00ff00
addss xmm0, xmm4
mov dword [esp + 0x10c], 0xffffff00
mov dword [esp + 0x110], 0xffff0000
mov dword [esp + 0x114], 0xffff00ff
mov dword [esp + 0x118], 0xff0000ff
mov dword [esp + 0x24], 0
cvttss2si eax, xmm0
mov dword [esp + 0x20], 0
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x18]
or ecx, 0xff000000
mov dword [esp + 0xd4], ecx
test eax, 0x4000000
je 0x10032e1d
movss xmm0, dword [esp + 0x94]
mov eax, 0x2aaaaaab
movss xmm3, dword [0x10062bb8]
movss xmm5, dword [esp + 0x90]
divss xmm3, xmm0
cvttss2si ecx, xmm0
addss xmm5, xmm0
movss dword [esp + 0x70], xmm3
imul ecx
mulss xmm5, xmm4
mov eax, 4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movss dword [esp + 0xa0], xmm5
cmp ecx, eax
cmovle ecx, eax
xor esi, esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], esi
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov eax, dword [edi + 0x18]
push ecx
push ecx
mov dword [esp + 0x64], eax
mov ecx, edi
lea eax, [esp + 0xec]
movaps xmm1, xmm0
addss xmm0, xmm2
divss xmm1, dword [esp + 0xa4]
divss xmm0, dword [esp + 0xa4]
addss xmm1, xmm1
movaps xmm2, xmm5
addss xmm0, xmm0
mulss xmm1, dword [0x10062c10]
mulss xmm0, dword [0x10062c10]
subss xmm1, xmm3
addss xmm0, xmm3
movaps xmm3, xmm1
movss dword [esp + 0x4c], xmm1
movss dword [esp], xmm0
push eax
movss dword [esp + 0x58], xmm0
call fcn.10049310
movss xmm0, dword [esp + 0x98]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push 0
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10048140
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1003241b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x54]
call fcn.10035270
lea eax, [edi + 0x54]
movss xmm0, dword [esp + 0x44]
cvtps2pd xmm0, xmm0
mov dword [eax], 0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x44]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x90]
addss xmm0, dword [esp + 0xdc]
movss dword [esp + 0xb4], 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 + 0x90]
addss xmm0, dword [esp + 0xd0]
movss dword [esp + 0xe0], 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 + 0x90]
addss xmm0, dword [esp + 0xdc]
movss dword [esp + 0x68], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x68]
lea eax, [esp + 0x104]
mov eax, dword [eax + esi*4]
xorps xmm4, xmm4
movss xmm5, dword [esp + 0xb4]
movss xmm6, dword [esp + 0xe0]
subss xmm3, xmm5
mov ecx, dword [edi + 0x20]
cvtsd2ss xmm4, xmm0
mov edx, dword [esp + esi*4 + 0x100]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x18]
movss xmm2, dword [0x10062bac]
movaps xmm0, xmm3
mulss xmm4, dword [esp + 0x90]
movaps xmm7, xmm2
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mulss xmm0, xmm3
mov dword [esp + 0x88], eax
addss xmm4, dword [esp + 0xd0]
mov eax, dword [esp + 0x5c]
subss xmm4, xmm6
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x18], eax
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
divss xmm7, xmm1
cmp eax, dword [esp + 0x88]
jae 0x10032680
movzx eax, dl
mov dword [esp + 0x4c], eax
mov eax, edx
shr eax, 8
movzx esi, al
mov eax, dword [esp + 0x44]
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0x44]
shr edx, 0x10
movzx edx, dl
shr eax, 8
sub ecx, edx
mov dword [esp + 0x5c], edx
movzx edx, al
mov eax, dword [esp + 0x44]
sub edx, esi
movzx edi, al
sub edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x5c]
nop dword [eax + eax]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
subss xmm0, xmm5
subss xmm1, xmm6
mulss xmm0, xmm3
mulss xmm1, xmm4
addss xmm1, xmm0
movss xmm0, dword [esp + 0x10]
mulss xmm1, xmm7
comiss xmm0, xmm1
jbe 0x100325d1
movaps xmm2, xmm0
jmp 0x100325d5
minss xmm2, xmm1
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movd xmm1, esi
mulss xmm0, xmm2
mov esi, dword [esp + 0x18]
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
movd xmm1, dword [esp + 0x68]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
shl eax, 8
mov dword [esp + 0x1c], eax
mulss xmm0, xmm2
addss xmm0, xmm1
movd xmm1, dword [esp + 0x4c]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm0, edi
or dword [esp + 0x1c], eax
shl dword [esp + 0x1c], 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss xmm2, dword [0x10062bac]
addss xmm0, xmm1
cvttss2si eax, xmm0
or dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
and eax, 0xff000000
or dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x10], eax
mov eax, esi
mov esi, dword [esp + 0x5c]
add eax, 0x14
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x88]
jb 0x100325a0
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x34]
movss xmm3, dword [esp + 0x70]
inc esi
movss xmm5, dword [esp + 0xa0]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x34], esi
cmp esi, 6
jl 0x10032366
movss xmm0, dword [esp + 0x50]
addss xmm0, xmm0
mulss xmm0, dword [0x10062c10]
movss dword [esp + 0x50], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm3, dword [esp + 0x50]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x5c], xmm0
cvtps2pd xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0x17], 0
xorps xmm3, xmm3
movss xmm1, dword [esp + 0x90]
addss xmm1, dword [esp + 0x94]
cvtsd2ss xmm3, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x5c]
mulss xmm1, xmm3
mulss xmm0, dword [0x10062b80]
mulss xmm1, dword [0x10062b80]
addss xmm0, dword [esp + 0xdc]
movss dword [esp + 0xa0], xmm3
addss xmm1, dword [esp + 0xd0]
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x74], xmm1
movss xmm1, dword [esp + 0x98]
je 0x10032750
mulss xmm1, dword [0x10062b8c]
jmp 0x10032758
mulss xmm1, dword [0x10062b84]
movaps xmm0, xmm1
movss dword [esp + 0x98], xmm1
divss xmm0, dword [0x10062bb4]
cvttss2si esi, xmm0
cmp esi, 9
jge 0x1003277c
mov esi, 9
jmp 0x10032786
mov eax, 0x20
cmp esi, eax
cmovg esi, eax
test dword [esp + 0x8c], 0xff000000
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov dword [esp + 0x34], esi
movss dword [esp + 0x38], xmm2
je 0x1003281d
movaps xmm0, xmm2
movss xmm3, dword [esp + 0x10]
subss xmm0, dword [0x10062bac]
push esi
push ecx
lea eax, [esp + 0x78]
mov ecx, edi
mulss xmm0, dword [0x10062c30]
divss xmm0, xmm2
movaps xmm2, xmm1
movss dword [esp], xmm0
push eax
call fcn.10049310
push dword [esp + 0x8c]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10048d90
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x10032811
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x54]
call fcn.10035270
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0x38]
mov dword [eax], 0
movaps xmm1, xmm2
movss xmm3, dword [esp + 0x10]
subss xmm1, dword [0x10062bac]
push esi
push ecx
lea eax, [esp + 0x78]
mov ecx, edi
mulss xmm1, dword [0x10062c30]
divss xmm1, xmm2
movss xmm2, dword [esp + 0xa0]
addss xmm2, dword [0x10062bac]
movss dword [esp], xmm1
push eax
movss dword [esp + 0x44], xmm1
subss xmm2, dword [0x10062b80]
call fcn.10049310
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xff808080
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10048140
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
mov esi, dword [esp + 0xfc]
test ecx, ecx
jns 0x100328b5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x54]
call fcn.10035270
lea eax, [edi + 0x54]
push dword [esp + 0x34]
movss xmm2, dword [esp + 0x9c]
movss xmm0, dword [esp + 0x3c]
subss xmm2, dword [0x10062b80]
movss xmm3, dword [esp + 0x14]
push ecx
mov dword [eax], 0
mov ecx, edi
lea eax, [esp + 0x78]
movss dword [esp], xmm0
push eax
call fcn.10049310
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10048140
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1003292d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x54]
call fcn.10035270
lea eax, [edi + 0x54]
movss xmm5, dword [esp + 0x7c]
movss xmm4, dword [esp + 0xa0]
movaps xmm2, xmm5
movss xmm3, dword [esp + 0x5c]
movss xmm0, dword [esp + 0x10]
movss xmm6, dword [esp + 0xdc]
movss xmm7, dword [esp + 0xd0]
mulss xmm0, xmm4
mov dword [eax], 0
mulss xmm2, xmm3
mov eax, dword [0x100dd8ec]
mulss xmm5, xmm4
subss xmm2, xmm0
movss xmm0, dword [esp + 0x10]
mulss xmm0, xmm3
addss xmm5, xmm0
movss xmm0, dword [esp + 0x78]
addss xmm2, xmm6
addss xmm5, xmm7
movss dword [esp + 0x70], xmm2
movaps xmm2, xmm0
mulss xmm0, xmm4
mulss xmm2, xmm3
movss dword [esp + 0x7c], xmm5
movss dword [esp + 0x74], xmm5
movss xmm5, dword [esp + 0x80]
movaps xmm1, xmm2
movss dword [esp + 0x78], xmm0
movaps xmm0, xmm5
mulss xmm5, xmm3
mulss xmm0, xmm4
addss xmm5, dword [esp + 0x78]
subss xmm1, xmm0
addss xmm5, xmm7
addss xmm1, xmm6
movss dword [esp + 0x80], xmm5
movss dword [esp + 0xb8], xmm5
movss xmm5, dword [esp + 0x60]
movaps xmm0, xmm5
movss dword [esp + 0xb4], xmm1
mulss xmm0, xmm4
mulss xmm5, xmm3
subss xmm2, xmm0
movss xmm0, dword [eax + 0x1940]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [eax + 0x1944]
mov eax, dword [edi]
addss xmm5, dword [esp + 0x78]
addss xmm2, xmm6
movss dword [esp + 0xa0], xmm0
lea ecx, [eax + eax*4]
mov eax, dword [edi + 8]
addss xmm5, xmm7
movss dword [esp + 0x68], xmm2
add dword [eax + ecx*8 - 0x28], 6
lea ecx, [edi + 0x18]
mov edi, dword [ecx]
movss dword [esp + 0x60], xmm5
movss dword [esp + 0x6c], xmm5
lea eax, [edi + 6]
push eax
call fcn.1004d0b0
mov edx, dword [esp + 0x58]
lea ecx, [edi + edi*4]
mov edi, dword [edx + 0xc]
mov eax, dword [edx + 0x20]
lea eax, [eax + ecx*4]
lea ecx, [edx + 0xc]
mov dword [edx + 0x34], eax
lea eax, [edi + 6]
push eax
call fcn.10034ec0
mov edx, dword [esp + 0x58]
movss xmm2, dword [esp + 0x70]
mov eax, dword [edx + 0x14]
lea ecx, [eax + edi*2]
mov ax, word [edx + 0x30]
mov dword [edx + 0x38], ecx
mov word [ecx], ax
add dword [edx + 0x38], 2
mov eax, dword [edx + 0x34]
movss dword [eax], xmm2
movss xmm7, dword [esp + 0x7c]
movss dword [eax + 4], xmm7
mov eax, dword [edx + 0x34]
movss xmm0, dword [esp + 0x38]
movss xmm1, dword [esp + 0xa0]
mov edi, dword [esp + 0x8c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edx + 0x34]
movss xmm3, dword [esp + 0xb4]
movss xmm5, dword [esp + 0x80]
movss xmm4, dword [esp + 0x68]
mov dword [eax + 0x10], edi
add dword [edx + 0x34], 0x14
inc dword [edx + 0x30]
mov eax, dword [edx + 0x38]
mov ecx, dword [edx + 0x30]
movss xmm6, dword [esp + 0x60]
mov word [eax], cx
mov eax, dword [edx + 0x34]
add dword [edx + 0x38], 2
movss dword [eax], xmm3
movss dword [eax + 4], xmm5
mov eax, dword [edx + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edx + 0x34]
mov dword [eax + 0x10], edi
add dword [edx + 0x34], 0x14
inc dword [edx + 0x30]
mov eax, dword [edx + 0x38]
mov ecx, dword [edx + 0x30]
mov word [eax], cx
mov eax, dword [edx + 0x34]
add dword [edx + 0x38], 2
movss dword [eax], xmm4
movss dword [eax + 4], xmm6
mov eax, dword [edx + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edx + 0x34]
mov dword [eax + 0x10], 0xffffffff
add dword [edx + 0x34], 0x14
mov eax, dword [edx + 0x38]
inc dword [edx + 0x30]
mov ecx, dword [edx + 0x30]
mov word [eax], cx
mov eax, dword [edx + 0x34]
add dword [edx + 0x38], 2
movss dword [eax], xmm2
movss dword [eax + 4], xmm7
mov eax, dword [edx + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edx + 0x34]
mov dword [eax + 0x10], 0
add dword [edx + 0x34], 0x14
mov eax, dword [edx + 0x38]
inc dword [edx + 0x30]
mov ecx, dword [edx + 0x30]
mov word [eax], cx
mov eax, dword [edx + 0x34]
add dword [edx + 0x38], 2
movss dword [eax], xmm3
movss dword [eax + 4], xmm5
mov eax, dword [edx + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edx + 0x34]
mov dword [eax + 0x10], 0xff000000
mov eax, dword [edx + 0x38]
add dword [edx + 0x34], 0x14
inc dword [edx + 0x30]
mov ecx, dword [edx + 0x30]
mov word [eax], cx
mov eax, dword [edx + 0x34]
add dword [edx + 0x38], 2
movss dword [eax], xmm4
movss dword [eax + 4], xmm6
mov eax, dword [edx + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edx + 0x34]
mov dword [eax + 0x10], 0
lea eax, [edx + 0x54]
add dword [edx + 0x34], 0x14
inc dword [edx + 0x30]
mov edi, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esp + 0x4c], eax
cmp ecx, edi
jne 0x10032c4e
inc ecx
test edi, edi
je 0x10032c36
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10032c3b
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x50]
call fcn.10035270
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [esp + 0x4c]
mov edi, dword [ecx]
inc edi
mov dword [ecx], edi
mov ecx, dword [esp + 0x58]
add ecx, 0x54
mov dword [esp + 0x34], ecx
mov eax, dword [ecx + 4]
cmp edi, eax
jne 0x10032c9c
inc edi
test eax, eax
je 0x10032c8c
cdq
sub eax, edx
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10032c91
mov eax, 8
cmp eax, edi
cmovg edi, eax
push edi
call fcn.10035270
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0xb4]
mov edi, dword [esp + 0xb8]
mov ecx, dword [ecx + 8]
mov eax, dword [eax]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x58]
add eax, 0x54
mov dword [esp + 0x94], eax
mov edx, dword [ecx]
inc edx
mov dword [ecx], edx
mov edi, dword [eax + 4]
cmp edx, edi
jne 0x10032d0c
lea ecx, [edx + 1]
test edi, edi
je 0x10032cee
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10032cf3
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x98]
call fcn.10035270
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
push ecx
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [esp + 0x98]
mov edi, dword [esp + 0x5c]
mov ecx, edi
mov dword [esp], 0x3fc00000
push 1
inc dword [eax]
push 0xff808080
push dword [eax]
push dword [edi + 0x5c]
call fcn.10048140
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x10032d6e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x54]
call fcn.10035270
lea eax, [edi + 0x54]
movss xmm0, dword [0x10062bac]
movss xmm1, dword [esp + 0x10]
movaps xmm2, xmm0
subss xmm2, dword [esp + 0x84]
mov dword [eax], 0
comiss xmm1, xmm2
jbe 0x10032d98
movaps xmm3, xmm1
jmp 0x10032d9f
movaps xmm3, xmm0
minss xmm3, xmm2
movss xmm4, dword [esp + 0x64]
comiss xmm1, xmm4
jbe 0x10032daf
movaps xmm2, xmm1
jmp 0x10032db6
movaps xmm2, xmm0
minss xmm2, xmm4
movss xmm0, dword [esp + 0x70]
subss xmm0, dword [esp + 0x68]
movss xmm4, dword [esp + 0x7c]
subss xmm4, dword [esp + 0x60]
mulss xmm0, xmm2
mulss xmm4, xmm2
addss xmm0, dword [esp + 0x68]
movss xmm2, dword [esp + 0xb4]
addss xmm4, dword [esp + 0x60]
subss xmm2, xmm0
mulss xmm2, xmm3
addss xmm2, xmm0
movss xmm0, dword [esp + 0x80]
subss xmm0, xmm4
movss dword [esp + 0x20], xmm2
mulss xmm0, xmm3
addss xmm0, xmm4
movss dword [esp + 0x24], xmm0
jmp 0x10033196
test eax, 0x2000000
je 0x10033196
movss xmm0, dword [esp + 0x38]
lea eax, [esp + 0xa0]
addss xmm0, dword [esp + 0x2c]
push 0xffffffffffffffff
push edx
push edx
push 0xffffffffffffffff
movss dword [esp + 0xb0], xmm0
mov ecx, edi
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x4c]
push eax
movss dword [esp + 0xbc], xmm0
call fcn.10049bb0
movss xmm0, dword [esp + 0xa0]
lea eax, [esp + 0xe4]
push 0xff000000
push 0xff000000
push 0
push 0
push eax
movss dword [esp + 0xf8], xmm0
lea eax, [esp + 0x4c]
movss xmm0, dword [esp + 0xb8]
mov ecx, edi
push eax
movss dword [esp + 0x100], xmm0
call fcn.10049bb0
movss xmm0, dword [esp + 0xa0]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x74], xmm0
push dword [esp + 0x74]
movss xmm0, dword [esp + 0x14]
push dword [esp + 0x74]
push dword [esp + 0x44]
push dword [esp + 0x44]
call fcn.1001c230
movss xmm0, dword [esp + 0x20]
add esp, 0x10
movss xmm3, dword [esp + 0x64]
comiss xmm0, xmm3
movss xmm1, dword [0x10062bac]
jbe 0x10032f0c
movaps xmm2, xmm0
jmp 0x10032f13
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm6, dword [esp + 0x2c]
movss xmm5, dword [esp + 0x38]
movss xmm4, dword [0x10062b80]
mulss xmm2, xmm6
movss xmm7, dword [0x10062bec]
addss xmm2, xmm5
addss xmm5, xmm7
addss xmm2, xmm4
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0xa0]
subss xmm2, xmm7
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm5, xmm3
jbe 0x10032f64
movss dword [esp + 0x20], xmm5
jmp 0x10032f77
comiss xmm3, xmm2
jbe 0x10032f71
movss dword [esp + 0x20], xmm2
jmp 0x10032f77
movss dword [esp + 0x20], xmm3
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x84]
comiss xmm0, xmm2
jbe 0x10032f8d
movaps xmm1, xmm0
jmp 0x10032f91
minss xmm1, xmm2
movss xmm2, dword [esp + 0x30]
mulss xmm1, xmm6
movss xmm0, dword [esp + 0xa4]
subss xmm0, xmm7
addss xmm1, xmm2
addss xmm1, xmm4
cvttss2si eax, xmm1
movaps xmm1, xmm2
addss xmm1, xmm7
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm1, xmm3
jbe 0x10032fcf
movss dword [esp + 0x24], xmm1
jmp 0x10032fe2
comiss xmm3, xmm0
jbe 0x10032fdc
movss dword [esp + 0x24], xmm0
jmp 0x10032fe2
movss dword [esp + 0x24], xmm3
movss xmm3, dword [esp + 0x88]
lea eax, [esp + 0x104]
movaps xmm1, xmm6
mov esi, dword [esp + 0x58]
divss xmm1, dword [esp + 0x9c]
xor ecx, ecx
movaps xmm0, xmm3
movss dword [esp + 0xc0], xmm3
addss xmm0, dword [esp + 0x54]
movss dword [esp + 0x38], xmm1
movss dword [esp + 0xe4], xmm0
mov eax, dword [eax + ecx*4]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0xec]
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0xf0], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x108]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0xd4]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0xdc], xmm0
call fcn.10049bb0
movss xmm1, dword [esp + 0x38]
lea eax, [esp + 0x104]
movss xmm2, dword [esp + 0x30]
mov ecx, edi
cmp ecx, 6
jl 0x10033025
movss xmm3, dword [esp + 0x88]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x2c]
movaps xmm1, xmm3
movss dword [esp + 0xa4], xmm2
addss xmm1, dword [esp + 0x54]
movss dword [esp + 0xa0], xmm3
movss dword [esp + 0x3c], xmm0
push dword [esp + 0x3c]
movss xmm0, dword [esp + 0x14]
movss dword [esp + 0x3c], xmm1
push dword [esp + 0x3c]
push dword [esp + 0xac]
push dword [esp + 0xac]
call fcn.1001c230
mov esi, dword [esp + 0x10c]
movss xmm1, dword [esp + 0x64]
addss xmm1, dword [0x10062bec]
mov edi, dword [esp + 0x68]
mov ecx, edi
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x4c], xmm2
addss xmm0, dword [0x10062bac]
push dword [esp + 0x4c]
movss xmm2, dword [esp + 0x9c]
subss xmm2, dword [0x10062bac]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x64]
mulss xmm0, dword [esp + 0x40]
push dword [esp + 0x4c]
movss dword [esp + 0xb8], xmm2
addss xmm0, dword [esp + 0x48]
addss xmm0, dword [0x10062b80]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xbc], xmm0
push dword [esp + 0xbc]
push dword [esp + 0xbc]
call fcn.10030c10
movss xmm1, dword [esp + 0x30]
add esp, 0x20
cmp byte [esp + 0x16], 0
je 0x100331ae
movss xmm0, dword [0x10062c3c]
movss dword [esp + 0x9c], xmm0
movss xmm2, dword [esp + 0x9c]
lea eax, [esp + 0x20]
push 0xc
push ecx
mov dword [esp], 0x40b84e89
movaps xmm3, xmm1
push eax
mov ecx, edi
call fcn.10049310
push dword [esp + 0xd4]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10048d90
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1003320a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x54]
call fcn.10035270
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0x9c]
addss xmm2, dword [0x10062bac]
movss xmm3, dword [esp + 0x10]
push 0xc
push ecx
mov dword [eax], 0
mov ecx, edi
subss xmm2, dword [0x10062b80]
lea eax, [esp + 0x28]
mov dword [esp], 0x40b84e89
push eax
call fcn.10049310
push ecx
mov dword [esp], 0x3f800000
lea eax, [edi + 0x54]
push 1
push 0xff808080
push dword [eax]
mov ecx, edi
mov dword [esp + 0x48], eax
push dword [edi + 0x5c]
call fcn.10048140
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1003328d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x54]
call fcn.10035270
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0x9c]
subss xmm2, dword [0x10062b80]
movss xmm3, dword [esp + 0x10]
push 0xc
push ecx
mov dword [eax], 0
mov ecx, edi
lea eax, [esp + 0x28]
mov dword [esp], 0x40b84e89
push eax
call fcn.10049310
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10048140
mov edi, dword [esp + 0x38]
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x100332fc
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10035270
cmp dword [esp + 0xf8], 0x10000
mov dword [edi], 0
jne 0x100334a7
mov eax, dword [esp + 0x40]
movss xmm2, dword [esp + 0x10]
movss xmm1, dword [eax + 0xc]
comiss xmm2, xmm1
jbe 0x1003332f
movss dword [esp + 0x34], xmm2
jmp 0x10033341
movss xmm0, dword [0x10062bac]
minss xmm0, xmm1
movss dword [esp + 0x34], xmm0
movss xmm3, dword [esp + 0xf4]
or edx, 0xffffffff
movss xmm0, dword [esp + 0x30]
movaps xmm1, xmm3
addss xmm1, dword [esp + 0x54]
movss dword [esp + 0xe8], xmm0
xor ecx, ecx
addss xmm0, dword [esp + 0x2c]
mov dword [esp + 0x24], 0
push dword [esp + 0x24]
movss dword [esp + 0xf0], xmm1
subss xmm1, xmm3
mov dword [esp + 0x24], 0
push dword [esp + 0x24]
movss dword [esp + 0xf8], xmm0
push dword [esp + 0xf8]
mulss xmm1, dword [0x10062b80]
push dword [esp + 0xf8]
movss dword [esp + 0xf4], xmm3
push dword [esp + 0xf8]
mov edi, dword [esp + 0xf8]
push edi
call fcn.1002ea40
mov ecx, dword [esp + 0xec]
add esp, 0x18
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0xf8]
push eax
call fcn.10049bb0
push dword [esp + 0xf0]
movss xmm0, dword [esp + 0x14]
push dword [esp + 0xf0]
push dword [esp + 0xf0]
push edi
call fcn.1001c230
movss xmm1, dword [0x10062bac]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x68]
movaps xmm0, xmm2
movss dword [esp + 0x34], xmm2
movss xmm2, dword [esp + 0x104]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0x44]
push dword [esp + 0x34]
movss dword [esp + 0x34], xmm0
push dword [esp + 0x34]
mulss xmm1, dword [esp + 0x44]
movss dword [esp + 0x50], xmm2
addss xmm1, dword [esp + 0x48]
addss xmm1, dword [0x10062b80]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x6c]
addss xmm1, dword [0x10062bec]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x54], xmm0
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.10030c10
add esp, 0x20
call fcn.10033b00
cmp byte [esp + 0xf], 0
mov edi, dword [0x100dd8ec]
je 0x10033531
mov ecx, dword [esp + 0x40]
lea esi, [esp + 0x11c]
xor edx, edx
cmp dword [esp + 0xbc], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x100334f1
nop dword [eax]
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x100334f6
add esi, 4
add ecx, 4
sub edx, 4
jae 0x100334e0
cmp edx, 0xfffffffc
je 0x1003352c
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x10033523
cmp edx, 0xfffffffd
je 0x1003352c
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x10033523
cmp edx, 0xfffffffe
je 0x1003352c
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x10033523
cmp edx, 0xffffffff
je 0x1003352c
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x1003352c
mov byte [edi + 0x1a4b], 1
jmp 0x10033531
mov byte [esp + 0xf], 0
mov ecx, dword [edi + 0x1a20]
mov al, byte [esp + 0xf]
pop edi
pop esi
dec dword [ecx + 0x1c8]
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.1004d226
mov esp, ebp
pop ebp
ret