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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x140
mov eax, dword [0x100fa00c]
xor eax, esp
mov dword [esp + 0x13c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xec], ecx
mov ecx, dword [0x10103fe8]
mov dword [esp + 0x7c], eax
push esi
push edi
mov eax, dword [ecx + 0x3e38]
mov edi, edx
mov dword [esp + 0xe0], edi
mov dword [esp + 0x30], ecx
mov byte [eax + 0xa8], 1
mov edx, dword [ecx + 0x3e38]
mov dword [esp + 0xb4], edx
cmp byte [edx + 0xab], 0
je 0x1005d4a6
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.10068c51
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x4698], 1
mov eax, dword [edx + 0x260]
mov dword [esp + 0x2c], eax
je 0x1005d4c3
movss xmm1, dword [ecx + 0x469c]
jmp 0x1005d4cb
movss xmm1, dword [edx + 0x19c]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1005d50d
cmp dword [edx + 0x18c], 0
movss xmm0, dword [edx + 0x224]
jne 0x1005d4ed
cmp dword [ecx + 0x49dc], 0
je 0x1005d4f5
movss xmm0, dword [edx + 0x1f4]
subss xmm0, dword [edx + 0xec]
addss xmm0, xmm1
movss xmm1, dword [0x100f1ec4]
maxss xmm1, xmm0
mov dword [ecx + 0x4698], 0
mov ecx, dword [esp + 0xf4]
cvttss2si esi, xmm1
call fcn.10033880
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x595c]
mov dword [esp + 0x114], eax
test eax, eax
jne 0x1005d559
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe8]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x595c], eax
call fcn.10035f10
mov ecx, dword [ebp + 8]
mov edx, ecx
or edx, 0x10
mov eax, ecx
and eax, 0x100
cmovne edx, ecx
mov dword [esp + 0xb8], edx
test dl, 8
jne 0x1005d58a
mov ecx, edi
call fcn.10060b70
mov edx, dword [esp + 0xb8]
test edx, 0x6000000
jne 0x1005d5b8
mov edx, dword [esp + 0x30]
mov ecx, 0xa900000
mov eax, dword [edx + 0x5958]
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, dword [esp + 0xb8]
jmp 0x1005d5be
mov ecx, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
test ecx, 0x18000000
jne 0x1005d5f8
mov eax, dword [edx + 0x5958]
mov edi, 0xa900000
test eax, 0x18000000
cmovne edi, eax
mov eax, edi
mov dword [esp + 0xa8], edi
mov edi, dword [esp + 0xe0]
and eax, 0x18000000
or ecx, eax
mov dword [esp + 0x18], ecx
test cl, 8
jne 0x1005d60e
mov eax, dword [edx + 0x5958]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x18], ecx
mov eax, ecx
movss xmm4, dword [edx + 0x37ec]
and eax, 2
and ecx, 0x10002
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xb8], ecx
movss xmm0, dword [eax + 0xf0]
movss xmm2, dword [eax + 0xec]
mov eax, dword [0x10103fe8]
mov dword [esp + 0x38], eax
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x50], xmm0
movaps xmm0, xmm4
movss xmm3, dword [eax + 0x37d8]
addss xmm3, xmm3
movss dword [esp + 0x4c], xmm2
addss xmm3, dword [eax + 0x3bc8]
xor eax, eax
cmp ecx, 0x10000
sete al
inc eax
addss xmm0, xmm3
movss dword [esp + 0x68], xmm3
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0xe4], eax
sete al
mulss xmm1, xmm0
lea eax, [eax*4 + 0xc]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push eax
lea eax, [esp + 0x138]
push edi
push eax
subss xmm0, xmm1
movaps xmm1, xmm3
maxss xmm1, xmm0
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [esp + 0x34], xmm1
movss dword [esp + 0xac], xmm0
addss xmm0, xmm4
movss dword [esp + 0xe4], xmm0
addss xmm0, xmm3
addss xmm4, xmm0
movss dword [esp + 0xb4], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x100f1e68]
movss dword [esp + 0xfc], xmm4
cvttss2si esi, xmm0
mov dword [esp + 0xf8], esi
call fcn.1006bcf0
movss xmm1, dword [esp + 0x34]
add esp, 0xc
movaps xmm2, xmm1
movaps xmm3, xmm1
mulss xmm2, dword [0x100f1e80]
mulss xmm3, dword [0x100f1e58]
movaps xmm0, xmm2
movss dword [esp + 0x5c], xmm2
addss xmm0, dword [esp + 0x34]
movss dword [esp + 0x98], xmm3
movaps xmm4, xmm2
subss xmm4, xmm3
movaps xmm3, xmm1
addss xmm3, dword [esp + 0x68]
movss dword [esp + 0xd0], xmm0
movss dword [esp + 0xc0], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100f1e4c]
mulss xmm3, dword [0x100f1e80]
cvttss2si eax, xmm0
addss xmm3, dword [esp + 0x4c]
movss dword [esp + 0x54], xmm4
movd xmm0, eax
movss dword [esp + 0xcc], xmm3
movss dword [esp + 0xbc], xmm3
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm4
movss xmm7, dword [edi + 8]
subss xmm1, xmm0
mov eax, dword [esp + 0x18]
movss xmm5, dword [0x100f1fb0]
mov ecx, eax
movss xmm6, dword [0x100f1e2c]
and ecx, 0x8000000
mov dword [esp + 0x40], 0
movss dword [esp + 0x48], xmm7
movaps xmm0, xmm1
movss dword [esp + 0x3c], xmm1
mulss xmm0, dword [0x100f2080]
movaps xmm2, xmm1
mov dword [esp + 0x74], ecx
mulss xmm2, dword [0x100f208c]
movss dword [esp + 0xd4], xmm0
movss dword [esp + 0x88], xmm0
movss dword [esp + 0x118], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100f1eb0]
movss xmm1, dword [edi + 4]
movss dword [esp + 0xb0], xmm2
movss dword [esp + 0x8c], xmm2
movss dword [esp + 0xe8], xmm0
movss dword [esp + 0x11c], xmm0
movss xmm0, dword [edi]
movaps xmm2, xmm0
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0xf8], xmm2
movss dword [esp + 0xa4], xmm2
movaps xmm2, xmm1
movss dword [esp + 0x78], xmm2
movss dword [esp + 0x9c], xmm2
movaps xmm2, xmm7
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x70], xmm2
movss dword [esp + 0xb4], xmm5
je 0x1005d96f
comiss xmm7, xmm1
xorps xmm3, xmm3
movaps xmm2, xmm1
movaps xmm4, xmm7
jbe 0x1005d8cb
movss xmm3, dword [0x100f2090]
movaps xmm2, xmm7
movaps xmm4, xmm1
comiss xmm2, xmm0
movaps xmm7, xmm0
movss dword [esp + 0x48], xmm7
jbe 0x1005d8f4
movaps xmm7, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x100f207c]
subss xmm0, xmm3
movss dword [esp + 0x48], xmm7
movaps xmm3, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x1c], xmm7
minss xmm0, xmm4
movaps xmm1, xmm7
subss xmm2, xmm4
mov ecx, edi
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x18]
movaps xmm0, xmm1
mulss xmm0, xmm5
addss xmm0, xmm6
divss xmm2, xmm0
movaps xmm0, xmm7
addss xmm0, xmm6
addss xmm2, xmm3
divss xmm1, xmm0
andps xmm2, xmmword [0x100f28a0]
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x2c], xmm1
call fcn.1005c120
movss xmm0, dword [esp + 0x18]
add esp, 8
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x24], xmm0
jmp 0x1005d9c1
test eax, 0x10000000
je 0x1005d9c1
lea eax, [esp + 0x70]
movaps xmm2, xmm7
push eax
lea edx, [esp + 0xa0]
lea ecx, [esp + 0xa8]
call fcn.10028970
movss xmm0, dword [esp + 0xa8]
add esp, 4
movss dword [esp + 0xf8], xmm0
movss xmm0, dword [esp + 0x9c]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x44], xmm0
mov ecx, dword [esp + 0x38]
mov byte [esp + 0xf], 0
mov byte [esp + 0x22], 0
mov byte [esp + 0x17], 0
mov eax, dword [ecx + 0x4690]
or eax, 8
mov dword [ecx + 0x4690], eax
add ecx, 0x4778
mov dword [esp + 0x7c], eax
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x1005da29
inc edx
mov dword [esp + 0x10], edx
test eax, eax
je 0x1005da0d
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1005da12
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1003d350
mov ecx, dword [esp + 0x38]
add ecx, 0x4778
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov esi, dword [esp + 0x7c]
mov dword [eax + edx*4], esi
inc dword [ecx]
mov eax, dword [esp + 0x18]
mov ecx, eax
and ecx, 0x4000000
mov dword [esp + 0x58], ecx
je 0x1005dff8
movss xmm1, dword [esp + 0x28]
lea edx, [esp + 0x60]
mov eax, dword [esp + 0x30]
movaps xmm0, xmm1
push ecx
mov ecx, 0x100f1600
movss dword [esp + 0x68], xmm1
addss xmm0, dword [eax + 0x37ec]
addss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x64], xmm0
call fcn.10052980
mov eax, dword [0x10103fe8]
add esp, 4
mov ecx, dword [eax + 0x3e84]
test ecx, ecx
je 0x1005df07
cmp ecx, dword [eax + 0x46ac]
jne 0x1005df07
mov eax, dword [esp + 0x30]
movss xmm0, dword [eax + 0x36ac]
subss xmm0, dword [esp + 0xd0]
movss xmm1, dword [eax + 0x36a8]
subss xmm1, dword [esp + 0xcc]
movss xmm4, dword [eax + 0xdbc]
movss xmm3, dword [eax + 0xdc0]
subss xmm4, dword [esp + 0xcc]
subss xmm3, dword [esp + 0xd0]
movaps xmm2, xmm0
movss dword [esp + 0x10], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x7c], xmm1
movss xmm1, dword [0x100f1ec4]
addss xmm2, xmm0
movss dword [esp + 0x10c], xmm4
movss xmm0, dword [esp + 0x54]
subss xmm0, xmm1
movss dword [esp + 0xfc], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x1005dbae
movss xmm0, dword [esp + 0x5c]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x1005dbae
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x60], xmm0
fld qword [esp + 0x60]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x60], xmm0
fld qword [esp + 0x60]
call fcn.10084d10
movss xmm2, dword [0x100f1f90]
xorps xmm0, xmm0
fstp qword [esp + 0x60]
movsd xmm1, qword [esp + 0x60]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x100f1e80]
comiss xmm0, xmm1
movss dword [esp + 0x1c], xmm1
jbe 0x1005dba6
addss xmm1, dword [0x100f1ec4]
movss dword [esp + 0x1c], xmm1
mov cl, 1
mov byte [esp + 0xf], cl
jmp 0x1005dbc0
mov cl, byte [esp + 0xf]
movss xmm2, dword [0x100f1f90]
movss xmm1, dword [esp + 0x1c]
movaps xmm0, xmm1
mov byte [esp + 0x22], cl
xorps xmm0, xmmword [0x100f28b0]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x60], xmm0
call fcn.10085aa0
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x38], xmm0
movsd xmm0, qword [esp + 0x60]
call fcn.10086a40
movss xmm3, dword [esp + 0x38]
xorps xmm5, xmm5
mulss xmm3, dword [esp + 0x7c]
cvtsd2ss xmm5, xmm0
movss xmm7, dword [esp + 0xd4]
movaps xmm0, xmm5
movss xmm6, dword [esp + 0x3c]
mulss xmm0, dword [esp + 0x10]
subss xmm6, xmm7
movaps xmm4, xmm5
movaps xmm2, xmm7
mulss xmm4, dword [esp + 0x7c]
subss xmm2, xmm7
subss xmm3, xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x6c], xmm6
mulss xmm0, dword [esp + 0x10]
movss dword [esp + 0xdc], xmm2
movaps xmm1, xmm3
addss xmm4, xmm0
movss xmm0, dword [esp + 0xb0]
subss xmm0, dword [esp + 0xe8]
subss xmm1, xmm7
movss dword [esp + 0x7c], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xe8]
mulss xmm0, xmm2
xorps xmm2, xmm2
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xb0]
comiss xmm2, xmm1
movaps xmm1, xmm3
movss dword [esp + 0xac], xmm0
subss xmm1, xmm7
seta cl
mulss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xb0]
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm2, xmm1
seta al
cmp al, cl
jne 0x1005deff
movss xmm7, dword [esp + 0xe8]
subss xmm4, xmm2
movss xmm0, dword [esp + 0xd4]
subss xmm7, xmm2
subss xmm0, dword [esp + 0x3c]
subss xmm3, dword [esp + 0x3c]
movss dword [esp + 0x60], xmm7
mulss xmm4, xmm0
mulss xmm3, xmm7
movss dword [esp + 0x10], xmm0
subss xmm3, xmm4
comiss xmm2, xmm3
seta al
cmp cl, al
jne 0x1005deff
movss xmm1, dword [esp + 0x38]
movaps xmm0, xmm5
movss xmm3, dword [esp + 0xfc]
movaps xmm6, xmm1
mulss xmm6, dword [esp + 0x10c]
mulss xmm5, dword [esp + 0x10c]
mulss xmm1, xmm3
mulss xmm0, xmm3
movss xmm3, dword [esp + 0xd4]
addss xmm5, xmm1
subss xmm6, xmm0
movaps xmm0, xmm5
movss dword [esp + 0x100], xmm5
subss xmm0, dword [esp + 0xe8]
movaps xmm1, xmm6
movss dword [esp + 0xfc], xmm6
subss xmm1, xmm3
mulss xmm0, dword [esp + 0xdc]
mulss xmm1, dword [esp + 0x7c]
subss xmm1, xmm0
movaps xmm0, xmm5
subss xmm0, dword [esp + 0xb0]
comiss xmm2, xmm1
mulss xmm0, dword [esp + 0x6c]
movaps xmm1, xmm6
subss xmm1, xmm3
seta cl
mulss xmm1, dword [esp + 0xac]
subss xmm1, xmm0
comiss xmm2, xmm1
seta al
cmp al, cl
jne 0x1005de00
movaps xmm1, xmm6
movaps xmm0, xmm5
subss xmm1, dword [esp + 0x3c]
subss xmm0, xmm2
mulss xmm1, xmm7
mulss xmm0, dword [esp + 0x10]
subss xmm1, xmm0
comiss xmm2, xmm1
seta al
cmp cl, al
je 0x1005de46
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0x11c]
push eax
lea eax, [esp + 0x90]
push eax
lea edx, [esp + 0x48]
lea ecx, [esp + 0x118]
call fcn.10027f80
movss xmm7, dword [esp + 0x6c]
add esp, 0xc
movss xmm3, dword [esp + 0xd4]
xorps xmm2, xmm2
movss xmm6, dword [eax]
movss xmm5, dword [eax + 4]
subss xmm6, dword [esp + 0x3c]
movaps xmm4, xmm3
subss xmm5, xmm2
movss xmm3, dword [esp + 0xb0]
subss xmm4, dword [esp + 0x3c]
subss xmm3, xmm2
movaps xmm1, xmm6
mulss xmm1, xmm7
movaps xmm2, xmm4
movaps xmm0, xmm3
mulss xmm2, xmm7
mulss xmm0, dword [esp + 0x10]
mulss xmm6, xmm3
subss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x10]
mulss xmm5, xmm4
subss xmm1, xmm0
movss xmm0, dword [0x100f1ec4]
movaps xmm7, xmm0
subss xmm5, xmm6
divss xmm1, xmm2
divss xmm5, xmm2
movss xmm2, dword [0x100f1e40]
subss xmm7, xmm1
movss dword [esp + 0x24], xmm2
comiss xmm2, xmm7
movaps xmm3, xmm7
subss xmm3, xmm5
jbe 0x1005ded0
movaps xmm1, xmm2
jmp 0x1005ded7
movaps xmm1, xmm0
minss xmm1, xmm7
divss xmm3, xmm1
movss dword [esp + 0x48], xmm1
comiss xmm2, xmm3
ja 0x1005def3
movaps xmm2, xmm0
minss xmm2, xmm3
movss dword [esp + 0x24], xmm2
mov byte [esp + 0x17], 1
mov byte [esp + 0xf], 1
jmp 0x1005df07
mov al, byte [esp + 0xf]
mov byte [esp + 0x22], al
test byte [esp + 0x18], 8
jne 0x1005df13
call fcn.10037050
movss xmm3, dword [esp + 0x34]
movss xmm4, dword [esp + 0x28]
cmp dword [esp + 0xb8], 0x10000
mov esi, dword [esp + 0xec]
jne 0x1005e295
mov ecx, dword [0x10103fe8]
lea edx, [esp + 0x88]
movss xmm0, dword [esp + 0xf0]
push ecx
movss dword [esp + 0x90], xmm4
mov eax, dword [ecx + 0x3e38]
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x3e38]
mov ecx, str.alpha
movss dword [eax + 0xec], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [eax + 0xf0], xmm3
mov byte [eax + 0x12d], 1
movss dword [esp + 0x8c], xmm0
call fcn.10052980
mov eax, dword [0x10103fe8]
add esp, 4
mov ecx, dword [eax + 0x3e84]
test ecx, ecx
je 0x1005e295
cmp ecx, dword [eax + 0x46ac]
jne 0x1005e295
mov eax, dword [esp + 0x30]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x28]
movss xmm1, dword [0x100f1ec4]
subss xmm0, xmm1
movss xmm3, dword [eax + 0xdc0]
subss xmm3, dword [esp + 0x34]
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x1005e27d
xorps xmm4, xmm4
jmp 0x1005e284
test eax, 0x2000000
je 0x1005df13
movss xmm0, dword [esp + 0x28]
lea edx, [esp + 0x88]
push ecx
mov ecx, 0x100f1604
movss dword [esp + 0x8c], xmm0
movss dword [esp + 0x90], xmm0
call fcn.10052980
mov ecx, dword [0x10103fe8]
add esp, 4
mov eax, dword [ecx + 0x3e84]
test eax, eax
je 0x1005e171
cmp eax, dword [ecx + 0x46ac]
jne 0x1005e171
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x28]
movss xmm1, dword [0x100f1ec4]
subss xmm4, xmm1
movss xmm3, dword [eax + 0xdbc]
subss xmm3, dword [esp + 0x4c]
divss xmm3, xmm4
comiss xmm0, xmm3
jbe 0x1005e088
movss dword [esp + 0x24], xmm0
jmp 0x1005e095
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x24], xmm2
movss xmm2, dword [eax + 0xdc0]
subss xmm2, dword [esp + 0x34]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x1005e0b1
xorps xmm3, xmm3
jmp 0x1005e0b8
movaps xmm3, xmm1
minss xmm3, xmm2
mov eax, dword [ecx + 0x5960]
movaps xmm2, xmm1
subss xmm2, xmm3
movss dword [esp + 0x48], xmm2
cmp eax, dword [ecx + 0x595c]
jne 0x1005e169
movss xmm2, dword [edi]
comiss xmm0, xmm2
movss xmm5, dword [edi + 4]
movss xmm6, dword [edi + 8]
jbe 0x1005e0ef
xorps xmm3, xmm3
jmp 0x1005e0f6
movaps xmm3, xmm1
minss xmm3, xmm2
comiss xmm0, xmm5
movss xmm4, dword [0x100f2018]
movss xmm2, dword [0x100f1e80]
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si edx, xmm3
jbe 0x1005e11c
xorps xmm3, xmm3
jmp 0x1005e123
movaps xmm3, xmm1
minss xmm3, xmm5
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si eax, xmm3
shl eax, 8
or edx, eax
comiss xmm0, xmm6
jbe 0x1005e13e
xorps xmm1, xmm1
jmp 0x1005e142
minss xmm1, xmm6
mulss xmm1, xmm4
addss xmm1, xmm2
cvttss2si eax, xmm1
shl eax, 0x10
or eax, edx
cmp dword [ecx + 0x596c], eax
jne 0x1005e169
movss xmm0, dword [ecx + 0x5964]
movss dword [esp + 0x1c], xmm0
mov al, 1
mov byte [esp + 0xf], al
jmp 0x1005e175
mov al, byte [esp + 0xf]
test byte [esp + 0x18], 8
mov byte [esp + 0x17], al
mov byte [esp + 0x23], al
jne 0x1005e18f
call fcn.10037050
mov ecx, dword [0x10103fe8]
mov eax, dword [ecx + 0x3e38]
lea edx, [esp + 0x88]
movss xmm0, dword [esp + 0xd8]
push ecx
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x3e38]
mov ecx, 0x100f1608
movss dword [eax + 0xec], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [eax + 0xf0], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [esp + 0x2c]
mov byte [eax + 0x12d], 1
movss dword [esp + 0x90], xmm0
call fcn.10052980
mov eax, dword [0x10103fe8]
add esp, 4
mov ecx, dword [eax + 0x3e84]
test ecx, ecx
je 0x1005df13
mov dl, byte [esp + 0xf]
mov byte [esp + 0x17], dl
cmp ecx, dword [eax + 0x46ac]
jne 0x1005df13
mov eax, dword [esp + 0x30]
movss xmm4, dword [esp + 0x28]
movss xmm3, dword [esp + 0x34]
movaps xmm0, xmm4
movss xmm1, dword [0x100f1ec4]
movss xmm2, dword [eax + 0xdc0]
subss xmm0, xmm1
subss xmm2, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x1005e260
movaps xmm0, xmm1
minss xmm0, xmm2
mov al, byte [esp + 0x23]
movss dword [esp + 0x1c], xmm0
mov byte [esp + 0x22], 1
mov byte [esp + 0xf], 1
mov byte [esp + 0x17], al
jmp 0x1005df1f
movaps xmm4, xmm1
minss xmm4, xmm3
movaps xmm0, xmm1
mov byte [esp + 0xf], 1
subss xmm0, xmm4
movss dword [edi + 0xc], xmm0
mov edx, dword [0x10103fe8]
dec dword [edx + 0x4778]
mov eax, dword [edx + 0x4780]
mov ecx, dword [edx + 0x4778]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x4690], eax
mov eax, dword [esp + 0x18]
mov edx, eax
and edx, 0x100
mov dword [esp + 0x10], edx
jne 0x1005e2ea
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x37ec]
call fcn.10035ca0
call fcn.10035f10
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
and eax, 0x80
mov dword [esp + 0xdc], eax
jne 0x1005e356
mov eax, dword [esp + 0xf4]
cmp eax, 0xffffffff
jae 0x1005e356
mov cl, byte [eax]
test cl, cl
je 0x1005e31a
cmp cl, 0x23
jne 0x1005e314
cmp byte [eax + 1], cl
je 0x1005e31a
inc eax
cmp eax, 0xffffffff
jb 0x1005e304
mov dword [esp + 0x38], eax
cmp dword [esp + 0xf4], eax
je 0x1005e356
test edx, edx
je 0x1005e343
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x37ec]
call fcn.10035ca0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xf4]
mov edx, eax
push 0
call fcn.10051620
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x1005e59d
mov eax, dword [0x10103fe8]
mov ecx, dword [eax + 0x4690]
or ecx, 0x10
mov dword [eax + 0x4690], ecx
mov edx, dword [eax + 0x4778]
mov dword [esp + 0xac], ecx
lea ecx, [eax + 0x4778]
mov eax, dword [ecx + 4]
mov dword [esp + 0x6c], ecx
cmp edx, eax
jne 0x1005e3c0
inc edx
mov dword [esp + 0x60], edx
test eax, eax
je 0x1005e3aa
cdq
sub eax, edx
mov edx, dword [esp + 0x60]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1005e3af
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1003d350
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov esi, dword [esp + 0xac]
mov dword [eax + edx*4], esi
inc dword [ecx]
cmp dword [esp + 0xe4], 0
je 0x1005e3e3
movss xmm1, dword [0x100f1ec4]
jmp 0x1005e3e8
movss xmm1, dword [edi + 0xc]
cmp dword [esp + 0xdc], 0
movss xmm0, dword [edi]
mov esi, dword [esp + 0xec]
movss dword [esp + 0x118], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x11c], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x120], xmm0
movss dword [esp + 0x124], xmm1
je 0x1005e438
push str.Current
call fcn.10051cd0
add esp, 4
movss xmm1, dword [esp + 0x68]
lea ecx, [esp + 0x88]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x118]
movaps xmm0, xmm1
and eax, 0x180e0040
mulss xmm0, dword [0x100f1f8c]
push ecx
push eax
mov ecx, str.current
mov dword [esp + 0xb4], eax
movss dword [esp + 0x68], xmm0
movss dword [esp + 0x90], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x94], xmm0
call fcn.1005fcd0
add esp, 8
cmp dword [esp + 0x84], 0
je 0x1005e576
push str.Original
call fcn.10051cd0
mov eax, dword [esp + 0x88]
add esp, 4
cmp dword [esp + 0xe4], 0
je 0x1005e4d1
movss xmm1, dword [0x100f1ec4]
jmp 0x1005e4d6
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0xfc]
movss dword [esp + 0xfc], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0x100], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x88]
movss dword [esp + 0x104], xmm0
movss xmm0, dword [esp + 0x60]
push eax
push dword [esp + 0xb0]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x110], xmm1
movss dword [esp + 0x94], xmm0
call fcn.1005fcd0
add esp, 8
test al, al
je 0x1005e576
xor eax, eax
cmp dword [esp + 0xe4], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x88]
push edi
call fcn.1006bcf0
add esp, 0xc
mov byte [esp + 0xf], 1
mov edx, dword [0x10103fe8]
dec dword [edx + 0x4778]
mov eax, dword [edx + 0x4780]
mov ecx, dword [edx + 0x4778]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x4690], eax
call fcn.10036040
cmp byte [esp + 0x22], 0
jne 0x1005e5af
cmp byte [esp + 0x17], 0
je 0x1005e696
cmp dword [esp + 0x74], 0
je 0x1005e6bf
movss xmm2, dword [esp + 0x48]
lea eax, [edi + 8]
movss xmm1, dword [esp + 0x24]
lea edx, [edi + 4]
movss xmm0, dword [esp + 0x1c]
mov ecx, edi
push eax
call fcn.10028970
mov ecx, dword [esp + 0x34]
add esp, 4
movss xmm0, dword [esp + 0x1c]
movss xmm1, dword [0x100f1ec4]
mov eax, dword [ecx + 0x595c]
movss dword [ecx + 0x5964], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [ecx + 0x5968], xmm0
xorps xmm0, xmm0
mov dword [ecx + 0x5960], eax
movss xmm2, dword [edi]
comiss xmm0, xmm2
movss xmm5, dword [edi + 4]
movss xmm6, dword [edi + 8]
jbe 0x1005e62c
xorps xmm3, xmm3
jmp 0x1005e633
movaps xmm3, xmm1
minss xmm3, xmm2
comiss xmm0, xmm5
movss xmm4, dword [0x100f2018]
movss xmm2, dword [0x100f1e80]
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si edx, xmm3
jbe 0x1005e659
xorps xmm3, xmm3
jmp 0x1005e660
movaps xmm3, xmm1
minss xmm3, xmm5
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si eax, xmm3
shl eax, 8
or edx, eax
comiss xmm0, xmm6
jbe 0x1005e67b
xorps xmm1, xmm1
jmp 0x1005e67f
minss xmm1, xmm6
mulss xmm1, xmm4
addss xmm1, xmm2
cvttss2si eax, xmm1
shl eax, 0x10
or eax, edx
mov dword [ecx + 0x596c], eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0x23], 0
test al, 0x20
jne 0x1005ea46
cmp dword [esp + 0xb8], 0x10000
jne 0x1005e6ec
movss xmm0, dword [esp + 0xf0]
jmp 0x1005e6f5
mov eax, dword [esp + 0x18]
test eax, 0x10000000
je 0x1005e69a
movss xmm0, dword [esp + 0x1c]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [edi + 8], xmm0
jmp 0x1005e69a
movss xmm0, dword [esp + 0xd8]
addss xmm0, dword [esp + 0x68]
subss xmm0, dword [esp + 0x4c]
call fcn.10035d50
mov eax, dword [esp + 0x18]
mov edx, eax
and edx, 0x198e001a
mov dword [esp + 0x84], edx
test eax, 0x100000
jne 0x1005e734
mov ecx, eax
and ecx, 0x700000
mov dword [esp + 0x10], ecx
jne 0x1005e795
mov dword [esp + 0x10], ecx
jmp 0x1005e73d
and eax, 0x700000
mov dword [esp + 0x10], eax
or edx, 0x100004
mov ecx, str.rgb
push edx
mov edx, edi
call fcn.1005c230
add esp, 4
test al, al
je 0x1005e786
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x3e84], 0
je 0x1005e772
cmp byte [eax + 0x3e91], 0
mov byte [esp + 0x23], 1
je 0x1005e777
mov byte [esp + 0x23], 0
mov ecx, dword [esp + 0x10]
mov byte [esp + 0xf], 1
mov dword [esp + 0x10], ecx
jmp 0x1005e78a
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x18]
test eax, 0x200000
jne 0x1005e7a0
test ecx, ecx
jne 0x1005e7c2
or edx, 0x200004
mov ecx, str.hsv
push edx
mov edx, edi
call fcn.1005c230
mov ecx, dword [esp + 0x14]
add esp, 4
or byte [esp + 0xf], al
mov eax, dword [esp + 0x18]
test eax, 0x400000
jne 0x1005e7cd
test ecx, ecx
jne 0x1005e7ed
mov eax, dword [esp + 0x84]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.1005c230
add esp, 4
or byte [esp + 0xf], al
cmp byte [esp + 0x23], 0
mov ecx, dword [0x10103fe8]
mov eax, dword [ecx + 0x3e38]
mov byte [eax + 0xa8], 1
mov edx, dword [ecx + 0x3e38]
mov ecx, dword [edx + 0x1a4]
mov eax, dword [edx + 0x1ac]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x19c], eax
lea eax, [ecx - 1]
mov dword [edx + 0x1a4], eax
lea edx, [edi + 4]
je 0x1005e918
cmp dword [esp + 0x74], 0
je 0x1005e918
movss xmm3, dword [edx]
lea ecx, [edi + 8]
movss xmm5, dword [ecx]
xorps xmm2, xmm2
comiss xmm5, xmm3
movss xmm4, dword [edi]
xorps xmm6, xmm6
jbe 0x1005e869
movss xmm6, dword [0x100f2090]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1005e886
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x100f207c]
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 [0x100f1e2c]
movaps xmm7, xmm1
mulss xmm1, dword [0x100f1fb0]
divss xmm7, xmm0
addss xmm1, dword [0x100f1e2c]
divss xmm3, xmm1
addss xmm3, xmm6
movss xmm6, dword [0x100f28a0]
andps xmm3, xmm6
comiss xmm2, xmm3
jb 0x1005e920
movss xmm0, dword [esp + 0x1c]
comiss xmm0, xmm2
jbe 0x1005e920
comiss xmm2, xmm4
jb 0x1005ea27
movss xmm1, dword [esp + 0x48]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1005ea27
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x24]
mulss xmm2, dword [0x100f1e80]
push ecx
mov ecx, edi
call fcn.10028970
add esp, 4
lea edx, [edi + 4]
movss xmm6, dword [0x100f28a0]
mov eax, dword [esp + 0x18]
cmp byte [esp + 0xf], 0
je 0x1005eaca
cmp dword [esp + 0x74], 0
je 0x1005ea56
movss xmm0, dword [edx]
xorps xmm4, xmm4
movss xmm1, dword [edi + 8]
movaps xmm2, xmm0
comiss xmm1, xmm0
movss xmm7, dword [edi]
movaps xmm5, xmm1
movss dword [esp + 0xf8], xmm7
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x44], xmm1
jbe 0x1005e978
movss xmm4, dword [0x100f2090]
movaps xmm2, xmm1
movaps xmm5, xmm0
comiss xmm2, xmm7
movaps xmm3, xmm7
movss dword [esp + 0x48], xmm3
jbe 0x1005e9a1
movss xmm0, dword [0x100f207c]
movaps xmm3, xmm2
subss xmm0, xmm4
movss dword [esp + 0x48], xmm3
movaps xmm2, xmm7
movaps xmm4, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x1c], xmm3
minss xmm0, xmm5
movaps xmm1, xmm3
subss xmm2, xmm5
mov ecx, edi
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x18]
movaps xmm0, xmm1
mulss xmm0, dword [0x100f1fb0]
addss xmm0, dword [0x100f1e2c]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x100f1e2c]
addss xmm2, xmm4
divss xmm1, xmm0
andps xmm2, xmm6
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x2c], xmm1
call fcn.1005c120
movss xmm3, dword [esp + 0x18]
add esp, 8
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x1c], xmm3
movss dword [esp + 0x24], xmm0
jmp 0x1005ead0
comiss xmm2, xmm7
jb 0x1005e920
movss xmm1, dword [esp + 0x24]
movaps xmm2, xmm4
mulss xmm1, dword [0x100f1e80]
jmp 0x1005e90a
movss xmm6, dword [0x100f28a0]
lea edx, [edi + 4]
jmp 0x1005e924
test eax, 0x10000000
je 0x1005eaca
movss xmm1, dword [edi + 8]
lea eax, [esp + 0x70]
movss xmm3, dword [edx]
lea ecx, [esp + 0xa4]
movss xmm0, dword [edi]
lea edx, [esp + 0x9c]
movss dword [esp + 0x48], xmm1
movaps xmm2, xmm1
push eax
movaps xmm1, xmm3
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x28], xmm3
call fcn.10028970
movss xmm0, dword [esp + 0xa8]
add esp, 4
movss dword [esp + 0xf8], xmm0
movss xmm0, dword [esp + 0x9c]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x44], xmm0
movss xmm3, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
movss xmm2, dword [eax + 0x3798]
comiss xmm0, xmm2
movss xmm0, dword [0x100f1ec4]
jbe 0x1005eaf1
xorps xmm1, xmm1
jmp 0x1005eaf8
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x100f2018]
mov dword [esp + 0x88], 0x3f800000
movss dword [esp + 0x94], xmm2
movaps xmm2, xmm0
mov dword [esp + 0x8c], 0x3f800000
addss xmm1, dword [0x100f1e80]
mov dword [esp + 0x90], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
shl edx, 0x18
mov eax, edx
mov dword [esp + 0xa4], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x10], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x118], ecx
or eax, 0x808080
mov dword [esp + 0x130], ecx
mov dword [esp + 0x70], eax
lea ecx, [esp + 0x88]
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x11c], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x120], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x124], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0x128], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0x8c]
mov dword [esp + 0x12c], eax
lea eax, [esp + 0x90]
push eax
call fcn.10028970
movss xmm3, dword [esp + 0x8c]
xorps xmm1, xmm1
movss xmm2, dword [0x100f1ec4]
add esp, 4
comiss xmm1, xmm3
jbe 0x1005ebf7
xorps xmm0, xmm0
jmp 0x1005ebfe
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm5, dword [0x100f2018]
movss xmm3, dword [0x100f1e80]
movss xmm4, dword [esp + 0x8c]
comiss xmm1, xmm4
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si ecx, xmm0
jbe 0x1005ec2d
xorps xmm0, xmm0
jmp 0x1005ec34
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x90]
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm4
jbe 0x1005ec58
xorps xmm0, xmm0
jmp 0x1005ec5f
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x94]
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm4
jbe 0x1005ec83
xorps xmm0, xmm0
jmp 0x1005ec8a
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0xf8]
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si edx, xmm0
shl edx, 0x18
or edx, ecx
comiss xmm1, xmm4
mov dword [esp + 0x9c], edx
jbe 0x1005ecb5
xorps xmm0, xmm0
jmp 0x1005ecbc
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x78]
comiss xmm1, xmm4
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si ecx, xmm0
jbe 0x1005ecd8
xorps xmm0, xmm0
jmp 0x1005ecdf
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x44]
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm4
jbe 0x1005ed00
xorps xmm0, xmm0
jmp 0x1005ed07
movaps xmm0, xmm2
minss xmm0, xmm4
mulss xmm0, xmm5
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x30]
movss xmm4, dword [eax + 0x3798]
comiss xmm1, xmm4
jbe 0x1005ed2e
xorps xmm0, xmm0
jmp 0x1005ed35
movaps xmm0, xmm2
minss xmm0, xmm4
mulss xmm0, xmm5
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
cmp dword [esp + 0x58], 0
mov dword [esp + 0x78], eax
je 0x1005f563
movss xmm1, dword [esp + 0x5c]
movaps xmm4, xmm3
movss xmm0, dword [esp + 0x54]
mov eax, 0x2aaaaaab
divss xmm4, xmm1
mov esi, dword [esp + 0x2c]
addss xmm0, xmm1
cvttss2si ecx, xmm1
movaps xmm5, xmm0
movss dword [esp + 0xac], xmm4
imul ecx
mulss xmm5, xmm3
movss dword [esp + 0x10c], xmm0
mov eax, 4
movss dword [esp + 0xdc], xmm5
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x44], eax
movd xmm1, eax
lea eax, [esp + 0xbc]
cvtdq2ps xmm1, xmm1
mov edi, dword [esi + 0x18]
push ecx
push ecx
mov ecx, esi
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x100f1fb0]
divss xmm1, dword [0x100f1fb0]
addss xmm0, xmm0
movaps xmm2, xmm5
addss xmm1, xmm1
mulss xmm0, dword [0x100f1f90]
mulss xmm1, dword [0x100f1f90]
subss xmm0, xmm4
addss xmm1, xmm4
movaps xmm3, xmm0
movss dword [esp + 0x64], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x44], xmm1
call fcn.10046f70
movss xmm0, dword [esp + 0x98]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0x18]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.10045a90
movss xmm0, dword [esp + 0x5c]
cvtps2pd xmm0, xmm0
mov dword [esi + 0x54], 0
call fcn.10085aa0
movss xmm1, dword [esp + 0x5c]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x54]
addss xmm0, dword [esp + 0xcc]
movss dword [esp + 0x60], xmm0
cvtps2pd xmm0, xmm1
call fcn.10086a40
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x54]
addss xmm0, dword [esp + 0xd0]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x38]
cvtps2pd xmm0, xmm0
call fcn.10085aa0
movss xmm1, dword [esp + 0x38]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x54]
addss xmm0, dword [esp + 0xcc]
movss dword [esp + 0x58], xmm0
cvtps2pd xmm0, xmm1
call fcn.10086a40
movss xmm3, dword [esp + 0x58]
xorps xmm4, xmm4
movss xmm5, dword [esp + 0x60]
movss xmm6, dword [esp + 0x6c]
subss xmm3, xmm5
mov eax, dword [esp + 0x44]
cvtsd2ss xmm4, xmm0
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + eax*4 + 0x118]
mov eax, dword [esi + 0x18]
movss xmm2, dword [0x100f1ec4]
movaps xmm0, xmm3
mulss xmm4, dword [esp + 0x54]
movaps xmm7, xmm2
mulss xmm0, xmm3
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
addss xmm4, dword [esp + 0xd0]
subss xmm4, xmm6
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
divss xmm7, xmm1
mov dword [esp + 0x58], eax
movzx eax, cl
mov dword [esp + 0x74], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x38], eax
shr ecx, 0x10
movzx eax, cl
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + eax*4 + 0x11c]
movzx eax, cl
sub eax, dword [esp + 0x74]
mov dword [esp + 0x60], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x38]
shr ecx, 0x10
mov dword [esp + 0xa0], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0x58]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x5c]
mov dword [esp + 0x6c], ecx
cmp edx, edi
jae 0x1005f081
mov eax, dword [esp + 0xa0]
mov esi, dword [esp + 0x60]
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, xmm7
comiss xmm0, xmm1
jbe 0x1005eff0
xorps xmm2, xmm2
jmp 0x1005eff4
minss xmm2, xmm1
movd xmm1, dword [esp + 0x5c]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
addss xmm0, xmm1
movd xmm1, dword [esp + 0x38]
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 + 0x74]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
or ecx, eax
shl ecx, 8
mulss xmm0, xmm2
movss xmm2, dword [0x100f1ec4]
addss xmm0, xmm1
cvttss2si eax, xmm0
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov eax, dword [esp + 0xa0]
mov dword [edx + 0x10], ecx
add edx, 0x14
mov ecx, dword [esp + 0x6c]
cmp edx, edi
jb 0x1005efc2
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
movss xmm4, dword [esp + 0xac]
inc eax
movss xmm5, dword [esp + 0xdc]
mov ecx, dword [esp + 0xfc]
mov dword [esp + 0x44], eax
cmp eax, 6
jl 0x1005edd0
movss xmm0, dword [esp + 0x1c]
mulss xmm0, dword [0x100f1f60]
mulss xmm0, dword [0x100f1f90]
movss dword [esp + 0x1c], xmm0
cvtps2pd xmm0, xmm0
call fcn.10085aa0
movss xmm3, dword [esp + 0x1c]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x54], xmm0
cvtps2pd xmm0, xmm3
call fcn.10086a40
cmp byte [esp + 0x22], 0
xorps xmm3, xmm3
movss xmm2, dword [esp + 0x10c]
movss xmm1, dword [esp + 0x98]
cvtsd2ss xmm3, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x54]
mulss xmm2, xmm3
mulss xmm0, dword [0x100f1e80]
mulss xmm2, dword [0x100f1e80]
addss xmm0, dword [esp + 0xcc]
movss dword [esp + 0x58], xmm3
addss xmm2, dword [esp + 0xd0]
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x50], xmm2
je 0x1005f153
mulss xmm1, dword [0x100f1e8c]
jmp 0x1005f15b
mulss xmm1, dword [0x100f1e84]
movaps xmm0, xmm1
movss dword [esp + 0x98], xmm1
divss xmm0, dword [0x100f1f10]
cvttss2si esi, xmm0
cmp esi, 9
jge 0x1005f17f
mov esi, 9
jmp 0x1005f189
mov eax, 0x20
cmp esi, eax
cmovg esi, eax
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x4c]
push esi
push dword [esp + 0xa0]
movaps xmm2, xmm1
mov ecx, edi
push eax
call fcn.10047f40
movss xmm2, dword [esp + 0x98]
lea eax, [esp + 0x4c]
addss xmm2, dword [0x100f1ec4]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
push dword [esp + 0x78]
push eax
call fcn.10047e80
movss xmm2, dword [esp + 0x98]
lea eax, [esp + 0x4c]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
mov esi, dword [esp + 0x18]
push esi
push eax
call fcn.10047e80
movss xmm3, dword [esp + 0x54]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x58]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x3c]
movaps xmm0, xmm5
mov eax, dword [0x10103fe8]
movss xmm6, dword [esp + 0xcc]
movaps xmm4, xmm3
mulss xmm0, xmm1
push 6
movss xmm7, dword [esp + 0xd4]
mulss xmm4, dword [esp + 0xd8]
push 6
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0xdc]
addss xmm2, xmm6
movss dword [esp + 0x64], xmm2
movss dword [esp + 0x90], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x44]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xb8]
mulss xmm5, dword [esp + 0xf0]
addss xmm2, xmm7
movss dword [esp + 0x7c], xmm2
movss dword [esp + 0x94], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xb8]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0xf0]
addss xmm0, xmm1
addss xmm4, xmm6
addss xmm3, xmm1
addss xmm2, xmm6
addss xmm0, xmm7
movss dword [esp + 0x40], xmm4
addss xmm3, xmm7
movss dword [esp + 0xc4], xmm4
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x48], xmm0
movss xmm0, dword [eax + 0x3bd0]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [eax + 0x3bd4]
movss dword [esp + 0x5c], xmm3
movss dword [esp + 0xc8], xmm3
movss dword [esp + 0x68], xmm0
mov ecx, edi
call fcn.10045870
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
movss xmm2, dword [esp + 0x5c]
movss xmm3, dword [esp + 0x74]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss xmm0, dword [esp + 0x58]
movss xmm1, dword [esp + 0x60]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
mov edx, dword [esp + 0x9c]
movss xmm5, dword [esp + 0x3c]
movss xmm4, dword [esp + 0x40]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
movss xmm7, dword [esp + 0x38]
movss xmm6, dword [esp + 0x54]
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], xmm5
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], edx
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], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 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], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
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 + 0xa4]
movss dword [eax], xmm5
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], ecx
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
push ecx
mov word [eax], cx
mov ecx, edi
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov dword [esp], 0x3fc00000
push dword [esp + 0x74]
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
lea eax, [esp + 0xc4]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.10047c50
movss xmm0, dword [0x100f1ec4]
xorps xmm1, xmm1
movaps xmm2, xmm0
subss xmm2, dword [esp + 0x48]
comiss xmm1, xmm2
jbe 0x1005f4da
xorps xmm4, xmm4
jmp 0x1005f4e1
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm2, dword [esp + 0x24]
comiss xmm1, xmm2
jbe 0x1005f4f1
xorps xmm3, xmm3
jmp 0x1005f4f8
movaps xmm3, xmm0
minss xmm3, xmm2
movss xmm0, dword [esp + 0x5c]
subss xmm0, dword [esp + 0x38]
movss xmm2, dword [esp + 0x74]
subss xmm2, dword [esp + 0x54]
mov esi, dword [esp + 0xec]
mulss xmm0, xmm3
mulss xmm2, xmm3
addss xmm0, dword [esp + 0x38]
movss xmm3, dword [esp + 0x3c]
addss xmm2, dword [esp + 0x54]
subss xmm3, xmm0
mulss xmm3, xmm4
addss xmm3, xmm0
movss xmm0, dword [esp + 0x40]
subss xmm0, xmm2
movss dword [esp + 0x7c], xmm3
mulss xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0x80], xmm0
jmp 0x1005f8c7
test dword [esp + 0x18], 0x2000000
je 0x1005f8da
mov eax, dword [esp + 0x10]
movss xmm0, dword [esp + 0xa0]
mov ecx, dword [esp + 0x2c]
push eax
push edx
push edx
movss dword [esp + 0xc8], xmm0
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [esp + 0x34]
push eax
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0x60]
push eax
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0xd8], xmm0
call fcn.10047ad0
mov ecx, dword [esp + 0xa4]
lea eax, [esp + 0xbc]
movss xmm0, dword [esp + 0xa0]
push ecx
push ecx
mov ecx, dword [esp + 0x34]
push 0
push 0
push eax
movss dword [esp + 0xd0], xmm0
lea eax, [esp + 0x60]
movss xmm0, dword [esp + 0x58]
push eax
movss dword [esp + 0xd8], xmm0
call fcn.10047ad0
movss xmm0, dword [esp + 0xa0]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x40], xmm0
xorps xmm0, xmm0
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x58]
push dword [esp + 0x58]
call fcn.10029a50
movss xmm2, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm1, dword [0x100f1ec4]
add esp, 0x10
comiss xmm0, xmm2
jbe 0x1005f651
xorps xmm3, xmm3
jmp 0x1005f658
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm5, dword [esp + 0x28]
movss xmm6, dword [esp + 0x4c]
movss xmm2, dword [0x100f1e80]
mulss xmm3, xmm5
movss xmm4, dword [0x100f1f60]
movss xmm7, dword [esp + 0xa0]
addss xmm3, xmm6
addss xmm6, xmm4
subss xmm7, xmm4
addss xmm3, xmm2
cvttss2si eax, xmm3
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm6, xmm3
jbe 0x1005f6a9
movss dword [esp + 0x7c], xmm6
jmp 0x1005f6bc
comiss xmm3, xmm7
jbe 0x1005f6b6
movss dword [esp + 0x7c], xmm7
jmp 0x1005f6bc
movss dword [esp + 0x7c], xmm3
movaps xmm3, xmm1
subss xmm3, dword [esp + 0x48]
comiss xmm0, xmm3
jbe 0x1005f6cf
xorps xmm1, xmm1
jmp 0x1005f6d3
minss xmm1, xmm3
movss xmm3, dword [esp + 0x34]
mulss xmm1, xmm5
movss xmm0, dword [esp + 0x44]
subss xmm0, xmm4
addss xmm1, xmm3
addss xmm1, xmm2
cvttss2si eax, xmm1
movaps xmm1, xmm3
addss xmm1, xmm4
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x1005f711
movss dword [esp + 0x80], xmm1
jmp 0x1005f72a
comiss xmm2, xmm0
jbe 0x1005f721
movss dword [esp + 0x80], xmm0
jmp 0x1005f72a
movss dword [esp + 0x80], xmm2
movss xmm0, dword [esp + 0xa8]
movaps xmm1, xmm5
divss xmm1, dword [0x100f1fb0]
mov esi, dword [esp + 0x2c]
xor ecx, ecx
movss dword [esp + 0xbc], xmm0
movss xmm0, dword [esp + 0xd8]
movss dword [esp + 0x58], xmm1
movss dword [esp + 0x88], xmm0
nop word [eax + eax]
mov eax, dword [esp + ecx*4 + 0x11c]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0xc4]
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0xc8], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x120]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x9c]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0xa4], xmm0
call fcn.10047ad0
movss xmm1, dword [esp + 0x58]
mov ecx, edi
movss xmm3, dword [esp + 0x34]
cmp ecx, 6
jl 0x1005f770
movss xmm0, dword [esp + 0xa8]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0xd8]
push dword [esp + 0x40]
movss dword [esp + 0x50], xmm0
movaps xmm0, xmm3
push dword [esp + 0x40]
movss dword [esp + 0x58], xmm0
xorps xmm0, xmm0
push dword [esp + 0x58]
push dword [esp + 0x58]
call fcn.10029a50
mov esi, dword [esp + 0xfc]
movss xmm1, dword [esp + 0x78]
addss xmm1, dword [0x100f1f60]
mov ecx, dword [esp + 0x3c]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x50], xmm2
addss xmm0, dword [0x100f1ec4]
push dword [esp + 0x50]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0xec]
subss xmm0, dword [0x100f1ec4]
push dword [esp + 0x50]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x34]
mulss xmm0, dword [esp + 0x40]
addss xmm0, dword [esp + 0x4c]
addss xmm0, dword [0x100f1e80]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x48]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x3798]
movss dword [esp + 0x68], xmm0
push dword [esp + 0x68]
push dword [esp + 0x68]
call fcn.1005d250
add esp, 0x20
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0xe0]
movss xmm3, dword [0x100f1e80]
cmp byte [esp + 0x17], 0
je 0x1005f8f4
movss xmm2, dword [0x100f1fbc]
movss dword [esp + 0xb4], xmm2
jmp 0x1005f8fc
movss xmm2, dword [0x100f1fb0]
test eax, 0xff000000
je 0x1005f948
comiss xmm3, xmm2
ja 0x1005f948
push 0xb
push ecx
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x84]
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
call fcn.10046f70
mov eax, dword [esp + 0x2c]
mov ecx, eax
push dword [esp + 0x78]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10046780
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x54], 0
jmp 0x1005f94c
mov eax, dword [esp + 0x2c]
test dword [esp + 0x70], 0xff000000
movss xmm1, dword [esp + 0xb4]
movss xmm0, dword [0x100f1e80]
movaps xmm2, xmm1
addss xmm2, dword [0x100f1ec4]
je 0x1005f9d2
comiss xmm0, xmm2
ja 0x1005f9d2
push 0xb
push ecx
subss xmm2, xmm0
mov dword [esp], 0x40b84e89
lea ecx, [esp + 0x84]
xorps xmm3, xmm3
push ecx
mov ecx, eax
call fcn.10046f70
mov eax, dword [esp + 0x2c]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x78]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10045a90
mov eax, dword [esp + 0x2c]
movss xmm0, dword [0x100f1e80]
movss xmm1, dword [esp + 0xb4]
mov dword [eax + 0x54], 0
test dword [esp + 0x10], 0xff000000
je 0x1005fa2e
comiss xmm0, xmm1
ja 0x1005fa2e
push 0xb
push ecx
subss xmm1, xmm0
mov dword [esp], 0x40b84e89
lea ecx, [esp + 0x84]
xorps xmm3, xmm3
push ecx
mov ecx, eax
movaps xmm2, xmm1
call fcn.10046f70
mov eax, dword [esp + 0x2c]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x18]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10045a90
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x54], 0
cmp dword [esp + 0xb8], 0x10000
jne 0x1005fbe7
movss xmm2, dword [edi + 0xc]
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x1005fa57
movss dword [esp + 0xa8], xmm1
jmp 0x1005fa6c
movss xmm0, dword [0x100f1ec4]
minss xmm0, xmm2
movss dword [esp + 0xa8], xmm0
movss xmm3, dword [esp + 0xf0]
xor edx, edx
movss xmm0, dword [esp + 0x34]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x68]
movss dword [esp + 0xc0], xmm0
mov ecx, eax
addss xmm0, dword [esp + 0x28]
mov dword [esp + 0x40], 0
push dword [esp + 0x40]
mov dword [esp + 0x40], 0
push dword [esp + 0x40]
movss dword [esp + 0xcc], xmm2
subss xmm2, xmm3
movss dword [esp + 0xd0], xmm0
push dword [esp + 0xd0]
movss dword [esp + 0xc8], xmm3
xorps xmm3, xmm3
push dword [esp + 0xd0]
mov edi, dword [esp + 0xcc]
push dword [esp + 0xd0]
mulss xmm2, dword [0x100f1e80]
push edi
push 0
call fcn.1004c5f0
mov ecx, dword [esp + 0x94]
add esp, 0x1c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0xd0]
push eax
call fcn.10047ad0
push dword [esp + 0xc8]
xorps xmm0, xmm0
push dword [esp + 0xc8]
push dword [esp + 0xc8]
push edi
call fcn.10029a50
movss xmm1, dword [0x100f1ec4]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
movaps xmm0, xmm2
movss dword [esp + 0x50], xmm2
addss xmm0, xmm1
movss xmm2, dword [edi + 0x3798]
push dword [esp + 0x50]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x104]
subss xmm0, xmm1
subss xmm1, dword [esp + 0xbc]
push dword [esp + 0x50]
movss dword [esp + 0x64], xmm0
mulss xmm1, dword [esp + 0x40]
addss xmm1, dword [esp + 0x4c]
addss xmm1, dword [0x100f1e80]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x80]
addss xmm1, dword [0x100f1f60]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x68], xmm0
push dword [esp + 0x68]
push dword [esp + 0x68]
call fcn.1005d250
add esp, 0x20
jmp 0x1005fbeb
mov edi, dword [esp + 0x30]
call fcn.10036040
mov dl, byte [esp + 0xf]
test dl, dl
je 0x1005fc8b
mov esi, dword [esp + 0xe0]
lea edx, [esp + 0x134]
xor ecx, ecx
cmp dword [esp + 0xe4], ecx
sete cl
lea ecx, [ecx*4 + 0xc]
sub ecx, 4
jb 0x1005fc33
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x1005fc38
add edx, 4
add esi, 4
sub ecx, 4
jae 0x1005fc22
cmp ecx, 0xfffffffc
je 0x1005fc89
mov al, byte [edx]
cmp al, byte [esi]
jne 0x1005fc65
cmp ecx, 0xfffffffd
je 0x1005fc89
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x1005fc65
cmp ecx, 0xfffffffe
je 0x1005fc89
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x1005fc65
cmp ecx, 0xffffffff
je 0x1005fc89
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x1005fc89
cmp dword [edi + 0x46ac], 0
mov eax, dword [0x10103fe8]
mov dl, byte [esp + 0xf]
je 0x1005fc90
or dword [eax + 0x46b4], 4
mov word [eax + 0x3e94], 0x101
jmp 0x1005fc90
xor dl, dl
mov eax, dword [0x10103fe8]
cmp dword [esp + 0x114], 0
jne 0x1005fca4
mov dword [edi + 0x595c], 0
mov ecx, dword [eax + 0x3e38]
mov al, dl
pop edi
pop esi
dec dword [ecx + 0xe0]
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.10068c51
mov esp, ebp
pop ebp
ret