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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x128
mov eax, dword [0x10145040]
xor eax, esp
mov dword [esp + 0x124], eax
mov dword [esp + 0xa4], edx
mov edx, ecx
mov ecx, dword [0x101739b4]
push esi
push edi
mov dword [esp + 0x40], ecx
mov eax, dword [ecx + 0x3e30]
mov byte [eax + 0x90], 1
mov eax, dword [ecx + 0x3e30]
mov dword [esp + 0x4c], eax
cmp byte [eax + 0x93], 0
je 0x10045c35
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.10096753
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x3ec8], 1
mov edi, dword [eax + 0x24c]
mov dword [esp + 0xc0], edi
je 0x10045c55
movss xmm1, dword [ecx + 0x3ecc]
jmp 0x10045c5d
movss xmm1, dword [eax + 0x188]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10045c9f
cmp dword [eax + 0x178], 0
movss xmm0, dword [eax + 0x210]
jne 0x10045c7f
cmp dword [ecx + 0x41f8], 0
je 0x10045c87
movss xmm0, dword [eax + 0x1e0]
subss xmm0, dword [eax + 0xd4]
addss xmm0, xmm1
movss xmm1, dword [0x10135f8c]
maxss xmm1, xmm0
mov dword [ecx + 0x3ec8], 0
mov ecx, edx
cvttss2si esi, xmm1
call fcn.1001e2d0
call fcn.1001f1d0
mov edx, dword [ebp + 8]
mov ecx, edx
or ecx, 0x10
test edx, 0x100
cmovne ecx, edx
mov dword [esp + 0xb0], ecx
test cl, 8
jne 0x10045ceb
mov edx, ecx
mov ecx, dword [esp + 0xac]
call fcn.10048760
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x40]
test ecx, 0x6000000
jne 0x10045d17
mov eax, dword [edx + 0x5158]
mov ecx, 0xa900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, dword [esp + 0xb0]
mov dword [esp + 0x44], ecx
test ecx, 0x18000000
jne 0x10045d51
mov eax, dword [edx + 0x5158]
mov edi, 0xa900000
test eax, 0x18000000
cmovne edi, eax
mov eax, edi
mov dword [esp + 0xf4], edi
mov edi, dword [esp + 0xc0]
and eax, 0x18000000
or ecx, eax
mov dword [esp + 0x44], ecx
test cl, 8
jne 0x10045d67
mov eax, dword [edx + 0x5158]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x44], ecx
movss xmm2, dword [edx + 0x3804]
mov eax, ecx
movss xmm5, dword [0x10136054]
and eax, 2
mov dword [esp + 0xf4], eax
and ecx, 0x10002
mov eax, dword [esp + 0x4c]
movd xmm4, esi
cvtdq2ps xmm4, xmm4
mov esi, dword [esp + 0xac]
mov dword [esp + 0xbc], ecx
movss xmm3, dword [eax + 0xd4]
movss xmm0, dword [eax + 0xd8]
xor eax, eax
cmp ecx, 0x10000
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x6c], xmm0
movaps xmm0, xmm2
sete al
movss dword [esp + 0x78], xmm3
inc eax
movss dword [esp + 0x68], xmm3
addss xmm0, xmm5
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0xf4], eax
sete al
mulss xmm1, xmm0
movaps xmm0, xmm5
lea eax, [eax*4 + 0xc]
push eax
lea eax, [esp + 0x120]
subss xmm4, xmm1
movaps xmm1, xmm3
push esi
push eax
maxss xmm0, xmm4
addss xmm1, xmm0
movss dword [esp + 0x20], xmm0
addss xmm1, xmm2
movaps xmm0, xmm1
movss dword [esp + 0x44], xmm1
addss xmm0, xmm5
addss xmm0, xmm2
movss dword [esp + 0xbc], xmm0
call fcn.100af6b0
movss xmm0, dword [esp + 0x20]
add esp, 0xc
movaps xmm4, xmm0
mov dword [esp + 0x5c], 0
mulss xmm4, dword [0x10135f40]
movaps xmm2, xmm0
mulss xmm2, dword [0x10135f08]
movaps xmm3, xmm4
movss dword [esp + 0x7c], xmm4
movaps xmm1, xmm4
addss xmm1, dword [esp + 0x34]
subss xmm3, xmm2
movss dword [esp + 0xa0], xmm2
movaps xmm2, xmm0
mulss xmm0, dword [0x10135ef0]
addss xmm2, dword [0x10136054]
movss dword [esp + 0xd0], xmm1
cvttss2si eax, xmm0
movss dword [esp + 0x110], xmm1
movaps xmm1, xmm3
mulss xmm2, dword [0x10135f40]
movss dword [esp + 0x9c], xmm3
movd xmm0, eax
addss xmm2, dword [esp + 0x78]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xd4], xmm2
subss xmm1, xmm0
movss dword [esp + 0x10c], xmm2
movaps xmm0, xmm1
movss dword [esp + 0x58], xmm1
mulss xmm0, dword [0x1013619c]
movaps xmm2, xmm1
movss dword [esp + 0xc8], xmm0
movss dword [esp + 0x24], xmm0
mulss xmm2, dword [0x101361a8]
mov eax, dword [esp + 0x44]
movss xmm3, dword [esi]
movss xmm4, dword [esi + 4]
movss xmm5, dword [esi + 8]
movss dword [esp + 0xd8], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x10135f74]
movaps xmm1, xmm4
movss dword [esp + 0xb4], xmm2
movss dword [esp + 0x28], xmm2
movaps xmm2, xmm5
movss dword [esp + 0xb8], xmm0
movss dword [esp + 0xdc], xmm0
movaps xmm0, xmm3
movss dword [esp + 0xa4], xmm3
movss dword [esp + 0xc], xmm0
movss dword [esp + 0x64], xmm4
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x50], xmm5
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x48], xmm3
movss dword [esp + 0x20], xmm4
movss dword [esp + 0x1c], xmm5
test eax, 0x8000000
je 0x100460f8
comiss xmm5, xmm4
xorps xmm1, xmm1
movss dword [esp + 0x18], xmm5
xorps xmm6, xmm6
movss dword [esp + 0xc], xmm1
movaps xmm7, xmm4
jbe 0x10045fd6
movss xmm1, dword [0x101361ac]
movaps xmm7, xmm5
movss dword [esp + 0x18], xmm4
movss dword [esp + 0xc], xmm1
comiss xmm7, xmm3
movaps xmm2, xmm3
movss dword [esp + 0x3c], xmm2
jbe 0x10046005
movss xmm0, dword [0x10136198]
movaps xmm2, xmm7
subss xmm0, xmm1
movss dword [esp + 0x3c], xmm2
movaps xmm7, xmm3
movaps xmm1, xmm0
movss dword [esp + 0xc], xmm1
movaps xmm0, xmm7
movss dword [esp + 0x80], xmm3
minss xmm0, dword [esp + 0x18]
subss xmm7, dword [esp + 0x18]
movaps xmm1, xmm2
movss dword [esp + 0x84], xmm4
lea ecx, [esp + 0x80]
movss dword [esp + 0x88], xmm5
mov dword [esp + 0x8c], 0
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x10136028]
addss xmm0, dword [0x10135ec8]
divss xmm7, xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x10135ec8]
addss xmm7, dword [esp + 0xc]
divss xmm1, xmm0
andps xmm7, xmmword [0x10136610]
movss dword [esp + 0xc], xmm7
movss dword [esp + 0x18], xmm1
call fcn.100123d0
mov ecx, dword [0x101739b4]
cmp dword [ecx + 0x5164], eax
jne 0x10046141
movss xmm0, dword [esp + 0x18]
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jnp 0x100460cb
ucomiss xmm7, xmm6
lahf
test ah, 0x44
jp 0x100460d9
movss xmm0, dword [ecx + 0x515c]
ucomiss xmm0, dword [0x10135f8c]
lahf
test ah, 0x44
jp 0x100460d9
movss xmm0, dword [ecx + 0x515c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x3c]
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jp 0x10046141
movss xmm0, dword [ecx + 0x5160]
movss dword [esp + 0x18], xmm0
jmp 0x10046141
test eax, 0x10000000
je 0x1004613b
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x24]
lea ecx, [esp + 0x4c]
call fcn.10012480
movss xmm0, dword [esp + 0x4c]
add esp, 4
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x50], xmm0
mov ecx, dword [0x101739b4]
mov eax, dword [ecx + 0x3ec4]
or eax, 8
mov byte [esp + 0xb], 0
mov dword [ecx + 0x3ec4], eax
add ecx, 0x3fa8
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x17], 0
mov byte [esp + 0x16], 0
call fcn.10025950
mov eax, dword [esp + 0x44]
test eax, 0x4000000
je 0x10046769
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x80]
movss xmm1, dword [esp + 0x14]
movaps xmm0, xmm1
movss dword [esp + 0x84], xmm1
push ecx
addss xmm0, dword [ecx + 0x3804]
mov ecx, 0x10130070
addss xmm0, dword [0x10136054]
movss dword [esp + 0x84], xmm0
call fcn.1003b110
mov ecx, dword [0x101739b4]
add esp, 4
mov eax, dword [ecx + 0x3e68]
test eax, eax
je 0x10046669
cmp eax, dword [ecx + 0x3edc]
jne 0x10046669
mov eax, dword [esp + 0x40]
movss xmm0, dword [eax + 0x3620]
subss xmm0, dword [esp + 0xd0]
movss xmm1, dword [eax + 0x361c]
subss xmm1, dword [esp + 0xd4]
movss xmm2, dword [eax + 0xd50]
movss xmm3, dword [eax + 0xd54]
subss xmm2, dword [esp + 0xd4]
subss xmm3, dword [esp + 0xd0]
movaps xmm4, xmm0
movss dword [esp + 0xcc], xmm0
mulss xmm4, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x4c], xmm1
movss xmm1, dword [0x10135f8c]
addss xmm4, xmm0
movss dword [esp + 0xf8], xmm2
movss xmm0, dword [esp + 0x9c]
subss xmm0, xmm1
movss dword [esp + 0xfc], xmm3
mulss xmm0, xmm0
comiss xmm4, xmm0
jb 0x1004630d
movss xmm0, dword [esp + 0x7c]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm4
jb 0x1004630d
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x80], xmm0
fld qword [esp + 0x80]
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x80], xmm0
fld qword [esp + 0x80]
call fcn.100d88d0
movss xmm2, dword [0x10136014]
xorps xmm0, xmm0
fstp qword [esp + 0x80]
movsd xmm1, qword [esp + 0x80]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x10135f40]
comiss xmm0, xmm1
movss dword [esp + 0xc], xmm1
jbe 0x10046305
addss xmm1, dword [0x10135f8c]
movss dword [esp + 0xc], xmm1
mov al, 1
mov byte [esp + 0xb], al
jmp 0x1004631f
mov al, byte [esp + 0xb]
movss xmm2, dword [0x10136014]
movss xmm1, dword [esp + 0xc]
movaps xmm0, xmm1
mov byte [esp + 0x13], al
xorps xmm0, xmmword [0x10136630]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x80], xmm0
call fcn.100d8e20
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x54], xmm0
movsd xmm0, qword [esp + 0x80]
call fcn.100d9dc0
movss xmm4, dword [esp + 0x4c]
xorps xmm3, xmm3
movss xmm1, dword [esp + 0xcc]
movaps xmm5, xmm4
mulss xmm5, dword [esp + 0x54]
movss xmm7, dword [esp + 0xb8]
cvtsd2ss xmm3, xmm0
movaps xmm0, xmm1
movss xmm6, dword [esp + 0x58]
mulss xmm1, dword [esp + 0x54]
mulss xmm0, xmm3
mulss xmm4, xmm3
subss xmm5, xmm0
movss dword [esp + 0x74], xmm3
movss xmm0, dword [esp + 0xb4]
subss xmm0, xmm7
addss xmm4, xmm1
movss xmm1, dword [esp + 0xc8]
movaps xmm3, xmm1
subss xmm3, xmm1
movaps xmm2, xmm5
subss xmm6, dword [esp + 0xc8]
movss dword [esp + 0xcc], xmm0
subss xmm2, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, xmm7
movss dword [esp + 0x4c], xmm3
movss dword [esp + 0x104], xmm6
mulss xmm1, xmm2
mulss xmm0, xmm3
xorps xmm3, xmm3
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xb4]
comiss xmm3, xmm1
movaps xmm1, xmm0
movss dword [esp + 0xc4], xmm0
movaps xmm0, xmm4
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0xb4]
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x10046661
subss xmm5, dword [esp + 0x58]
movaps xmm6, xmm7
subss xmm4, xmm3
movss xmm7, dword [esp + 0xc8]
subss xmm6, xmm3
subss xmm7, dword [esp + 0x58]
mulss xmm5, xmm6
mulss xmm4, xmm7
movss dword [esp + 0x94], xmm6
movss dword [esp + 0x80], xmm7
subss xmm5, xmm4
comiss xmm3, xmm5
seta al
cmp cl, al
jne 0x10046661
movss xmm4, dword [esp + 0xf8]
movss xmm1, dword [esp + 0xfc]
movaps xmm5, xmm4
mulss xmm5, dword [esp + 0x54]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x54]
mulss xmm0, dword [esp + 0x74]
mulss xmm4, dword [esp + 0x74]
subss xmm5, xmm0
addss xmm4, xmm1
movaps xmm1, xmm5
movss dword [esp + 0xfc], xmm5
subss xmm1, dword [esp + 0xc8]
movaps xmm0, xmm4
movss dword [esp + 0x100], xmm4
subss xmm0, dword [esp + 0xb8]
mulss xmm1, dword [esp + 0xcc]
mulss xmm0, dword [esp + 0x4c]
subss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xb4]
comiss xmm3, xmm1
mulss xmm0, dword [esp + 0x104]
movaps xmm1, xmm5
subss xmm1, dword [esp + 0xc8]
seta cl
mulss xmm1, dword [esp + 0xc4]
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x10046573
movaps xmm1, xmm5
movaps xmm0, xmm4
subss xmm1, dword [esp + 0x58]
subss xmm0, xmm3
mulss xmm1, xmm6
mulss xmm0, xmm7
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp cl, al
je 0x100465b9
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0xdc]
push eax
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x64]
lea ecx, [esp + 0x110]
call fcn.10011aa0
movss xmm6, dword [esp + 0xa0]
add esp, 0xc
movss xmm7, dword [esp + 0x80]
xorps xmm3, xmm3
movss xmm5, dword [eax]
movss xmm4, dword [eax + 4]
movss xmm2, dword [esp + 0xb4]
subss xmm4, xmm3
subss xmm5, dword [esp + 0x58]
subss xmm2, xmm3
movaps xmm1, xmm7
mulss xmm1, xmm6
movaps xmm0, xmm7
mulss xmm4, xmm7
mulss xmm6, xmm5
mulss xmm0, xmm2
subss xmm6, xmm4
mulss xmm5, xmm2
subss xmm1, xmm0
movss xmm0, dword [0x10135f8c]
movaps xmm7, xmm0
subss xmm4, xmm5
divss xmm6, xmm1
divss xmm4, xmm1
movss xmm1, dword [0x10135edc]
subss xmm7, xmm6
movss dword [esp + 0x18], xmm1
comiss xmm1, xmm7
movaps xmm3, xmm7
subss xmm3, xmm4
jbe 0x10046632
movaps xmm2, xmm1
movss dword [esp + 0x3c], xmm1
jmp 0x1004663f
movaps xmm2, xmm0
minss xmm2, xmm7
movss dword [esp + 0x3c], xmm2
divss xmm3, xmm2
comiss xmm1, xmm3
ja 0x10046655
movaps xmm1, xmm0
minss xmm1, xmm3
movss dword [esp + 0x18], xmm1
mov byte [esp + 0x12], 1
mov byte [esp + 0xb], 1
jmp 0x10046669
mov al, byte [esp + 0xb]
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x44]
test al, 8
jne 0x10046676
call fcn.10020350
mov edx, dword [0x101739b4]
movss xmm2, dword [esp + 0x14]
movss xmm3, dword [esp + 0x34]
cmp dword [esp + 0xbc], 0x10000
jne 0x100469bc
mov eax, dword [edx + 0x3e30]
movss xmm0, dword [esp + 0xb0]
push ecx
mov ecx, 0x1013007c
mov dword [esp + 0x28], 0x41700000
mov byte [eax + 0x90], 1
mov eax, dword [edx + 0x3e30]
lea edx, [esp + 0x28]
movss dword [esp + 0x2c], xmm2
movss dword [eax + 0xd4], xmm0
movss dword [eax + 0xd8], xmm3
movss xmm1, dword [eax + 0xec]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xf0]
maxss xmm0, xmm3
movss dword [eax + 0xec], xmm1
movss dword [eax + 0xf0], xmm0
call fcn.1003b110
mov edx, dword [0x101739b4]
add esp, 4
mov eax, dword [edx + 0x3e68]
test eax, eax
je 0x100469bc
cmp eax, dword [edx + 0x3edc]
jne 0x100469bc
mov eax, dword [esp + 0x40]
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [0x10135f8c]
subss xmm0, xmm1
movss xmm2, dword [eax + 0xd54]
subss xmm2, dword [esp + 0x34]
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x100469a4
xorps xmm3, xmm3
jmp 0x100469ab
test eax, 0x2000000
je 0x10046676
movss xmm0, dword [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
mov ecx, 0x10130074
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x2c], xmm0
call fcn.1003b110
mov eax, dword [0x101739b4]
add esp, 4
mov ecx, dword [eax + 0x3e68]
test ecx, ecx
je 0x1004687f
cmp ecx, dword [eax + 0x3edc]
jne 0x1004687f
mov eax, dword [esp + 0x40]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x14]
movss xmm1, dword [0x10135f8c]
subss xmm4, xmm1
movss xmm3, dword [eax + 0xd50]
subss xmm3, dword [esp + 0x78]
divss xmm3, xmm4
comiss xmm0, xmm3
jbe 0x100467ef
movss dword [esp + 0x18], xmm0
jmp 0x100467fc
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x18], xmm2
movss xmm2, dword [eax + 0xd54]
subss xmm2, dword [esp + 0x34]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x10046818
xorps xmm3, xmm3
jmp 0x1004681f
movaps xmm3, xmm1
minss xmm3, xmm2
movaps xmm0, xmm1
mov dword [esp + 0x30], 0
subss xmm0, xmm3
lea ecx, [esp + 0x24]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esi]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esi + 4]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esi + 8]
movss dword [esp + 0x2c], xmm0
call fcn.100123d0
mov ecx, dword [esp + 0x40]
cmp dword [ecx + 0x5164], eax
jne 0x10046877
movss xmm0, dword [ecx + 0x515c]
movss dword [esp + 0xc], xmm0
mov al, 1
mov byte [esp + 0xb], al
jmp 0x10046883
mov al, byte [esp + 0xb]
mov byte [esp + 0x12], al
mov byte [esp + 0xab], al
mov eax, dword [esp + 0x44]
test al, 8
jne 0x1004689b
call fcn.10020350
mov ecx, dword [0x101739b4]
lea edx, [esp + 0x24]
movss xmm0, dword [esp + 0x38]
movss xmm2, dword [esp + 0x34]
push ecx
mov eax, dword [ecx + 0x3e30]
mov dword [esp + 0x28], 0x41700000
mov byte [eax + 0x90], 1
mov eax, dword [ecx + 0x3e30]
mov ecx, 0x10130078
movss dword [eax + 0xd4], xmm0
movss dword [eax + 0xd8], xmm2
movss xmm1, dword [eax + 0xec]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xf0]
maxss xmm0, xmm2
movss dword [eax + 0xec], xmm1
movss dword [eax + 0xf0], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [esp + 0x2c], xmm0
call fcn.1003b110
mov edx, dword [0x101739b4]
add esp, 4
mov ecx, dword [edx + 0x3e68]
test ecx, ecx
je 0x1004667c
mov al, byte [esp + 0xb]
mov byte [esp + 0x12], al
cmp ecx, dword [edx + 0x3edc]
jne 0x1004667c
mov ecx, dword [esp + 0x40]
movss xmm2, dword [esp + 0x14]
movss xmm3, dword [esp + 0x34]
movaps xmm0, xmm2
movss xmm1, dword [0x10135f8c]
movss xmm4, dword [ecx + 0xd54]
subss xmm0, xmm1
subss xmm4, xmm3
divss xmm4, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm4
ja 0x10046984
movaps xmm0, xmm1
minss xmm0, xmm4
mov al, byte [esp + 0xab]
movss dword [esp + 0xc], xmm0
mov byte [esp + 0x13], 1
mov byte [esp + 0xb], 1
mov byte [esp + 0x12], al
jmp 0x10046688
movaps xmm3, xmm1
minss xmm3, xmm2
movaps xmm0, xmm1
mov byte [esp + 0xb], 1
subss xmm0, xmm3
movss dword [esi + 0xc], xmm0
dec dword [edx + 0x3fa8]
cmp byte [esp + 0x13], 0
mov eax, dword [edx + 0x3fb0]
mov ecx, dword [edx + 0x3fa8]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x3ec4], eax
jne 0x100469ea
cmp byte [esp + 0x12], 0
je 0x10046a77
mov eax, dword [esp + 0x44]
test eax, 0x8000000
je 0x10046c06
movss xmm2, dword [esp + 0x3c]
lea eax, [esi + 8]
movss xmm1, dword [esp + 0x18]
lea edx, [esi + 4]
movss xmm0, dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.10012480
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x28]
movss xmm0, dword [esp + 0x10]
add esp, 4
mov dword [esp + 0x30], 0
movss dword [eax + 0x515c], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [eax + 0x5160], xmm0
movss xmm0, dword [esi]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esi + 4]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esi + 8]
movss dword [esp + 0x2c], xmm0
call fcn.100123d0
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x5164], eax
mov eax, dword [esp + 0x44]
cmp byte [esp + 0xb], 0
je 0x10046c99
test eax, 0x8000000
je 0x10046c36
movss xmm5, dword [esi + 8]
xorps xmm0, xmm0
movss xmm4, dword [esi + 4]
movaps xmm1, xmm5
comiss xmm5, xmm4
movss xmm3, dword [esi]
xorps xmm6, xmm6
movss dword [esp + 0xa4], xmm3
movaps xmm7, xmm4
movss dword [esp + 0x64], xmm4
movss dword [esp + 0x50], xmm5
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x54], xmm1
jbe 0x10046aeb
movss xmm0, dword [0x101361ac]
movaps xmm1, xmm4
movaps xmm7, xmm5
movss dword [esp + 0x54], xmm1
movss dword [esp + 0x48], xmm0
comiss xmm7, xmm3
movaps xmm2, xmm3
movss dword [esp + 0x3c], xmm2
jbe 0x10046b1d
movss xmm6, dword [0x10136198]
movaps xmm2, xmm7
subss xmm6, xmm0
movss dword [esp + 0x3c], xmm2
movaps xmm7, xmm3
movaps xmm0, xmm6
xorps xmm6, xmm6
movss dword [esp + 0x48], xmm0
movaps xmm0, xmm7
movss dword [esp + 0x24], xmm3
subss xmm7, dword [esp + 0x54]
minss xmm0, xmm1
movss dword [esp + 0x28], xmm4
movaps xmm1, xmm2
movss dword [esp + 0x2c], xmm5
lea ecx, [esp + 0x24]
mov dword [esp + 0x30], 0
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x10136028]
addss xmm0, dword [0x10135ec8]
divss xmm7, xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x10135ec8]
addss xmm7, dword [esp + 0x48]
divss xmm1, xmm0
andps xmm7, xmmword [0x10136610]
movss dword [esp + 0xc], xmm7
movss dword [esp + 0x18], xmm1
call fcn.100123d0
mov ecx, dword [0x101739b4]
cmp dword [ecx + 0x5164], eax
jne 0x10046c9c
movss xmm0, dword [esp + 0x18]
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jnp 0x10046bd2
ucomiss xmm7, xmm6
lahf
test ah, 0x44
jp 0x10046be0
movss xmm0, dword [ecx + 0x515c]
ucomiss xmm0, dword [0x10135f8c]
lahf
test ah, 0x44
jp 0x10046be0
movss xmm0, dword [ecx + 0x515c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x3c]
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jp 0x10046c9c
movss xmm0, dword [ecx + 0x5160]
movss dword [esp + 0x18], xmm0
jmp 0x10046c9c
test eax, 0x10000000
je 0x10046a7b
movss xmm0, dword [esp + 0xc]
movss dword [esi], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [esi + 4], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esi + 8], xmm0
jmp 0x10046a7b
test eax, 0x10000000
je 0x10046c99
movss xmm0, dword [esi]
lea eax, [esp + 0x1c]
movss xmm1, dword [esi + 4]
lea edx, [esp + 0x20]
movss xmm2, dword [esi + 8]
lea ecx, [esp + 0x48]
push eax
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x40], xmm2
call fcn.10012480
movss xmm0, dword [esp + 0x4c]
add esp, 4
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x50], xmm0
xorps xmm6, xmm6
mov eax, dword [esp + 0x40]
movss xmm0, dword [0x10135f8c]
movss xmm1, dword [eax + 0x37b0]
comiss xmm6, xmm1
ja 0x10046cbc
movaps xmm6, xmm0
minss xmm6, xmm1
mulss xmm6, dword [0x101360f8]
movaps xmm2, xmm0
mov dword [esp + 0x24], 0x3f800000
movss dword [esp + 0x30], xmm1
movaps xmm1, xmm0
movss xmm0, dword [esp + 0xc]
addss xmm6, dword [0x10135f40]
mov dword [esp + 0x28], 0x3f800000
mov dword [esp + 0x2c], 0x3f800000
cvttss2si edx, xmm6
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x4c], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x48], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0xd8], ecx
or eax, 0x808080
mov dword [esp + 0xf0], ecx
mov dword [esp + 0x74], eax
lea ecx, [esp + 0x24]
mov eax, edx
or eax, 0xffff
mov dword [esp + 0xdc], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0xe0], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0xe4], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0xe8], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0x28]
mov dword [esp + 0xec], eax
lea eax, [esp + 0x2c]
push eax
call fcn.10012480
movss xmm0, dword [esp + 0x28]
xorps xmm6, xmm6
movss xmm7, dword [0x10135f8c]
add esp, 4
comiss xmm6, xmm0
jbe 0x10046da3
xorps xmm1, xmm1
jmp 0x10046daa
movaps xmm1, xmm7
minss xmm1, xmm0
movss xmm2, dword [0x101360f8]
movss xmm0, dword [0x10135f40]
movss xmm3, dword [esp + 0x28]
comiss xmm6, xmm3
mulss xmm1, xmm2
addss xmm1, xmm0
cvttss2si ecx, xmm1
jbe 0x10046dd6
xorps xmm1, xmm1
jmp 0x10046ddd
movaps xmm1, xmm7
minss xmm1, xmm3
movss xmm3, dword [esp + 0x2c]
mulss xmm1, xmm2
addss xmm1, xmm0
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm6, xmm3
jbe 0x10046dfe
xorps xmm1, xmm1
jmp 0x10046e05
movaps xmm1, xmm7
minss xmm1, xmm3
movss xmm3, dword [esp + 0x30]
mulss xmm1, xmm2
addss xmm1, xmm0
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
comiss xmm6, xmm3
jbe 0x10046e26
xorps xmm1, xmm1
jmp 0x10046e2d
movaps xmm1, xmm7
minss xmm1, xmm3
mulss xmm1, xmm2
addss xmm1, xmm0
movss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x50]
cvttss2si eax, xmm1
movss dword [esp + 0x2c], xmm0
shl eax, 0x18
or eax, ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x40]
movss xmm0, dword [eax + 0x37b0]
movss dword [esp + 0x30], xmm0
call fcn.100123d0
movss xmm3, dword [0x10135fe8]
xorps xmm1, xmm1
mov dword [esp + 0xcc], eax
xorps xmm2, xmm2
mov eax, dword [esp + 0x44]
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x1c], xmm2
test eax, 0x4000000
je 0x10047865
movss xmm1, dword [esp + 0x7c]
mov eax, 0x2aaaaaab
movss xmm3, dword [0x10135f40]
movss xmm2, dword [esp + 0x9c]
divss xmm3, xmm1
cvttss2si ecx, xmm1
addss xmm2, xmm1
movss dword [esp + 0xfc], xmm3
imul ecx
mulss xmm2, dword [0x10135f40]
mov eax, 4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movss dword [esp + 0xc4], xmm2
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0xf8], ecx
mov dword [esp + 0x50], eax
nop dword [eax + eax]
movd xmm1, eax
lea eax, [esp + 0x10c]
cvtdq2ps xmm1, xmm1
mov esi, dword [edi + 0x18]
push ecx
push ecx
mov ecx, edi
movaps xmm0, xmm1
addss xmm1, xmm7
divss xmm0, dword [0x10136028]
divss xmm1, dword [0x10136028]
addss xmm0, xmm0
addss xmm1, xmm1
mulss xmm0, dword [0x10136014]
mulss xmm1, dword [0x10136014]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x40], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x70], xmm1
call fcn.1002ff70
movss xmm0, dword [esp + 0xa0]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push 0
push dword [esp + 0x50]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.1002e9b0
movss xmm0, dword [esp + 0x38]
cvtps2pd xmm0, xmm0
mov dword [edi + 0x54], 0
call fcn.100d8e20
movss xmm1, dword [esp + 0x38]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x9c]
addss xmm0, dword [esp + 0xd4]
movss dword [esp + 0x80], xmm0
cvtps2pd xmm0, xmm1
call fcn.100d9dc0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x9c]
addss xmm0, dword [esp + 0xd0]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [esp + 0x64]
cvtps2pd xmm0, xmm0
call fcn.100d8e20
movss xmm1, dword [esp + 0x64]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x9c]
addss xmm0, dword [esp + 0xd4]
movss dword [esp + 0x38], xmm0
cvtps2pd xmm0, xmm1
call fcn.100d9dc0
movss xmm2, dword [esp + 0x38]
xorps xmm3, xmm3
movss xmm4, dword [esp + 0x80]
movss xmm5, dword [esp + 0x94]
subss xmm2, xmm4
mov eax, dword [esp + 0x50]
cvtsd2ss xmm3, xmm0
mov edx, dword [edi + 0x20]
mov ecx, dword [esp + eax*4 + 0xd8]
mov eax, dword [edi + 0x18]
movss xmm7, dword [0x10135f8c]
movaps xmm0, xmm2
mulss xmm3, dword [esp + 0x9c]
movaps xmm6, xmm7
mulss xmm0, xmm2
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
movss dword [esp + 0x38], xmm2
addss xmm3, dword [esp + 0xd0]
subss xmm3, xmm5
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm1, xmm0
divss xmm6, xmm1
mov dword [esp + 0x80], eax
movzx eax, cl
mov dword [esp + 0x78], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0xa4], eax
shr ecx, 0x10
movzx eax, cl
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + eax*4 + 0xdc]
movzx eax, cl
sub eax, dword [esp + 0x78]
mov dword [esp + 0x94], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0xa4]
shr ecx, 0x10
mov dword [esp + 0x44], eax
lea eax, [esi + esi*4]
mov esi, dword [esp + 0x80]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x64]
mov dword [esp + 0x104], ecx
cmp edx, esi
jae 0x10047206
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x94]
nop dword [eax]
movss xmm0, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm0, xmm4
subss xmm1, xmm5
mulss xmm0, xmm2
mulss xmm1, xmm3
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, xmm6
comiss xmm0, xmm1
jbe 0x1004716e
xorps xmm2, xmm2
jmp 0x10047175
movaps xmm2, xmm7
minss xmm2, xmm1
movd xmm1, dword [esp + 0x64]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
addss xmm0, xmm1
movd xmm1, dword [esp + 0xa4]
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 + 0x78]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
or ecx, eax
shl ecx, 8
mulss xmm0, xmm2
movss xmm2, dword [esp + 0x38]
addss xmm0, xmm1
cvttss2si eax, xmm0
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov eax, dword [esp + 0x44]
mov dword [edx + 0x10], ecx
add edx, 0x14
mov ecx, dword [esp + 0x104]
cmp edx, esi
jb 0x10047140
mov edi, dword [esp + 0xc0]
mov eax, dword [esp + 0x50]
movss xmm2, dword [esp + 0xc4]
inc eax
movss xmm3, dword [esp + 0xfc]
mov ecx, dword [esp + 0xf8]
mov dword [esp + 0x50], eax
cmp eax, 6
jl 0x10046f20
movss xmm0, dword [esp + 0xc]
addss xmm0, xmm0
mulss xmm0, dword [0x10136014]
movss dword [esp + 0xc], xmm0
cvtps2pd xmm0, xmm0
call fcn.100d8e20
movss xmm3, dword [esp + 0xc]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x38], xmm0
cvtps2pd xmm0, xmm3
call fcn.100d9dc0
cmp byte [esp + 0x13], 0
xorps xmm3, xmm3
movss xmm2, dword [esp + 0x9c]
addss xmm2, dword [esp + 0x7c]
movss xmm1, dword [esp + 0xa0]
cvtsd2ss xmm3, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x38]
mulss xmm2, xmm3
mulss xmm0, dword [0x10135f40]
mulss xmm2, dword [0x10135f40]
addss xmm0, dword [esp + 0xd4]
movss dword [esp + 0x80], xmm3
addss xmm2, dword [esp + 0xd0]
movss dword [esp + 0x94], xmm0
movss dword [esp + 0x98], xmm2
je 0x100472e3
mulss xmm1, dword [0x10135f50]
jmp 0x100472eb
mulss xmm1, dword [0x10135f48]
movaps xmm0, xmm1
movss dword [esp + 0xa0], xmm1
divss xmm0, dword [0x10135fa8]
cvttss2si esi, xmm0
cmp esi, 9
jge 0x1004730f
mov esi, 9
jmp 0x10047319
mov eax, 0x20
cmp esi, eax
cmovg esi, eax
push esi
push dword [esp + 0x58]
lea eax, [esp + 0x9c]
movaps xmm2, xmm1
push eax
mov ecx, edi
call fcn.10030ef0
test dword [esp + 0x74], 0xff000000
mov ecx, 0x200
movss xmm4, dword [esp + 0xa0]
movss xmm2, dword [0x10135f8c]
movaps xmm5, xmm4
movss xmm6, dword [0x1013602c]
addss xmm5, xmm2
movss xmm3, dword [0x10135f40]
je 0x1004742a
comiss xmm3, xmm5
ja 0x1004742a
test esi, esi
jg 0x10047398
push ecx
subss xmm5, xmm3
mov ecx, edi
push 0x30
push 0
lea eax, [esp + 0xa0]
push eax
movaps xmm2, xmm5
call fcn.1002fa90
dec dword [edi + 0x54]
jmp 0x100473e2
cmp esi, 3
jge 0x100473a4
mov eax, 3
jmp 0x100473ab
cmp esi, ecx
mov eax, esi
cmovg eax, ecx
movd xmm1, eax
subss xmm5, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
lea eax, [esp + 0x98]
push ecx
xorps xmm3, xmm3
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, xmm2
movaps xmm2, xmm5
mulss xmm0, xmm6
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.1002ff70
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x7c]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.1002e9b0
movss xmm2, dword [0x10135f8c]
mov ecx, 0x200
movss xmm3, dword [0x10135f40]
movss xmm4, dword [esp + 0xa0]
movss xmm6, dword [0x1013602c]
mov dword [edi + 0x54], 0
test dword [esp + 0x48], 0xff000000
je 0x100474d5
comiss xmm3, xmm4
ja 0x100474d5
test esi, esi
jg 0x10047465
push ecx
subss xmm4, xmm3
mov ecx, edi
push 0x30
push 0
lea eax, [esp + 0xa0]
push eax
movaps xmm2, xmm4
call fcn.1002fa90
dec dword [edi + 0x54]
jmp 0x100474b3
cmp esi, 3
jge 0x10047471
mov esi, 3
jmp 0x1004747a
cmp esi, 0x200
cmovg esi, ecx
movd xmm1, esi
lea eax, [esi - 1]
cvtdq2ps xmm1, xmm1
push eax
push ecx
mov ecx, edi
lea eax, [esp + 0x9c]
subss xmm4, xmm3
xorps xmm3, xmm3
movaps xmm0, xmm1
subss xmm0, xmm2
movaps xmm2, xmm4
mulss xmm0, xmm6
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.1002ff70
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x50]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.1002e9b0
mov dword [edi + 0x54], 0
movss xmm3, dword [esp + 0x38]
xorps xmm1, xmm1
movss xmm4, dword [esp + 0x80]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x58]
movaps xmm0, xmm4
mov ecx, edi
mov eax, dword [0x101739b4]
movss xmm5, dword [esp + 0xd4]
mulss xmm0, xmm1
push 6
movss xmm7, dword [esp + 0xd4]
movss xmm6, dword [esp + 0xcc]
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
push 6
addss xmm2, xmm5
movss dword [esp + 0x84], xmm2
movss dword [esp + 0xe0], xmm2
movaps xmm2, xmm4
mulss xmm2, dword [esp + 0x60]
addss xmm2, xmm0
movss xmm0, dword [esp + 0xbc]
mulss xmm0, xmm4
addss xmm2, xmm7
movss dword [esp + 0x58], xmm2
movss dword [esp + 0xe4], xmm2
movaps xmm2, xmm6
mulss xmm2, xmm3
mulss xmm6, xmm4
movaps xmm1, xmm2
subss xmm1, xmm0
movss xmm0, dword [esp + 0xbc]
mulss xmm0, xmm3
addss xmm0, xmm6
addss xmm1, xmm5
addss xmm0, xmm7
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x2c], xmm1
movss xmm1, dword [esp + 0xc0]
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x30], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm4
mulss xmm1, xmm3
subss xmm2, xmm0
movss xmm0, dword [eax + 0x3bd4]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [eax + 0x3bd8]
addss xmm1, xmm6
movss dword [esp + 0x9c], xmm0
addss xmm2, xmm5
addss xmm1, xmm7
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x114], xmm2
movss dword [esp + 0xc0], xmm1
movss dword [esp + 0x118], xmm1
call fcn.1002e760
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
movss xmm4, dword [esp + 0x7c]
movss xmm5, dword [esp + 0x50]
movss xmm0, dword [esp + 0x80]
movss xmm1, dword [esp + 0x94]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov edx, dword [esp + 0x54]
movss dword [eax], xmm4
movss dword [eax + 4], xmm5
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], edx
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
movss xmm2, dword [esp + 0x20]
movss xmm3, dword [esp + 0x1c]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
movss xmm6, dword [esp + 0x38]
movss xmm7, dword [esp + 0xb8]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], edx
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov ecx, dword [esp + 0x48]
movss dword [eax], xmm6
movss dword [eax + 4], xmm7
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]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm4
movss dword [eax + 4], xmm5
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
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
mov ecx, dword [esp + 0x4c]
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], ecx
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
push ecx
mov dword [esp], 0x3fc00000
push dword [esp + 0x78]
movss dword [eax], xmm6
movss dword [eax + 4], xmm7
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 + 0x114]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0xe8]
push eax
mov ecx, edi
call fcn.10030c00
movss xmm1, dword [0x10135f8c]
xorps xmm0, xmm0
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x3c]
comiss xmm0, xmm2
jbe 0x100477e0
xorps xmm4, xmm4
jmp 0x100477e7
movaps xmm4, xmm1
minss xmm4, xmm2
movss xmm2, dword [esp + 0x18]
comiss xmm0, xmm2
jbe 0x100477f7
xorps xmm3, xmm3
jmp 0x100477fe
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm0, dword [esp + 0x7c]
subss xmm0, dword [esp + 0x38]
movss xmm1, dword [esp + 0x20]
movss xmm2, dword [esp + 0x1c]
mulss xmm0, xmm3
addss xmm0, dword [esp + 0x38]
subss xmm1, xmm0
mulss xmm1, xmm4
addss xmm1, xmm0
movss xmm0, dword [esp + 0x50]
subss xmm0, dword [esp + 0xb8]
movss dword [esp + 0x20], xmm1
mulss xmm0, xmm3
addss xmm0, dword [esp + 0xb8]
subss xmm2, xmm0
mulss xmm2, xmm4
addss xmm2, xmm0
movss dword [esp + 0x1c], xmm2
jmp 0x10047b95
test eax, 0x2000000
je 0x10047ba4
movss xmm0, dword [esp + 0x78]
addss xmm0, dword [esp + 0x14]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
push eax
push ecx
push ecx
movss dword [esp + 0x64], xmm0
mov ecx, edi
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [esp + 0x20]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x7c]
push eax
movss dword [esp + 0x74], xmm0
call fcn.10030a80
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x10c]
movss xmm0, dword [esp + 0x78]
addss xmm0, dword [esp + 0x14]
push ecx
push ecx
push 0
push 0
push eax
movss dword [esp + 0x120], xmm0
lea eax, [esp + 0x7c]
movss xmm0, dword [esp + 0x70]
mov ecx, edi
push eax
movss dword [esp + 0x128], xmm0
call fcn.10030a80
movss xmm0, dword [esp + 0x78]
addss xmm0, dword [esp + 0x14]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x84], xmm0
xorps xmm0, xmm0
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x74]
push dword [esp + 0x74]
call fcn.10013230
movss xmm2, dword [esp + 0x28]
xorps xmm0, xmm0
movss xmm1, dword [0x10135f8c]
add esp, 0x10
comiss xmm0, xmm2
jbe 0x10047953
xorps xmm4, xmm4
jmp 0x1004795a
movaps xmm4, xmm1
minss xmm4, xmm2
movss xmm3, dword [esp + 0x14]
movss xmm6, dword [esp + 0x78]
movss xmm5, dword [0x10135f40]
movaps xmm2, xmm6
mulss xmm4, xmm3
movss xmm7, dword [0x10135fe8]
addss xmm2, xmm7
addss xmm4, xmm6
movss dword [esp + 0x20], xmm2
addss xmm4, xmm5
cvttss2si eax, xmm4
movd xmm4, eax
cvtdq2ps xmm4, xmm4
comiss xmm2, xmm4
ja 0x100479b4
movaps xmm2, xmm6
addss xmm2, xmm3
subss xmm2, xmm7
minss xmm2, xmm4
movss dword [esp + 0x20], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x3c]
comiss xmm0, xmm2
ja 0x100479c9
movaps xmm0, xmm1
minss xmm0, xmm2
movss xmm1, dword [esp + 0x34]
mulss xmm0, xmm3
addss xmm0, xmm1
addss xmm0, xmm5
cvttss2si eax, xmm0
movaps xmm0, xmm1
addss xmm0, xmm7
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [esp + 0x1c], xmm0
comiss xmm0, xmm2
ja 0x10047a12
movss xmm1, dword [esp + 0x5c]
subss xmm1, xmm7
minss xmm1, xmm2
movss dword [esp + 0x1c], xmm1
movss xmm1, dword [esp + 0x34]
movss xmm4, dword [esp + 0x38]
movaps xmm2, xmm3
divss xmm2, dword [0x10136028]
xor ecx, ecx
movaps xmm0, xmm4
movss dword [esp + 0x24], xmm4
addss xmm0, dword [0x10136054]
movss dword [esp + 0x80], xmm2
movss dword [esp + 0x10c], xmm0
nop dword [eax + eax]
mov eax, dword [esp + ecx*4 + 0xdc]
lea esi, [ecx + 1]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0x114]
mulss xmm0, xmm2
addss xmm0, xmm1
movss dword [esp + 0x118], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0xe0]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x38]
mov ecx, edi
push eax
mulss xmm0, xmm2
addss xmm0, xmm1
movss dword [esp + 0x40], xmm0
call fcn.10030a80
movss xmm1, dword [esp + 0x34]
mov ecx, esi
movss xmm2, dword [esp + 0x80]
cmp ecx, 6
jl 0x10047a50
movss xmm2, dword [esp + 0x34]
movss xmm3, dword [esp + 0x38]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x14]
movaps xmm1, xmm3
movss dword [esp + 0x5c], xmm2
addss xmm1, dword [0x10136054]
movss dword [esp + 0x58], xmm3
movss dword [esp + 0x6c], xmm0
xorps xmm0, xmm0
push dword [esp + 0x6c]
movss dword [esp + 0x6c], xmm1
push dword [esp + 0x6c]
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.10013230
movss xmm0, dword [esp + 0x1c]
mov ecx, edi
mulss xmm0, dword [esp + 0x24]
mov dword [esp + 0x7c], 0x40400000
movss xmm1, dword [esp + 0x48]
push dword [esp + 0x7c]
addss xmm0, dword [esp + 0x48]
subss xmm1, dword [0x10135f8c]
mov dword [esp + 0x7c], 0x40800000
push dword [esp + 0x7c]
addss xmm0, dword [0x10135f40]
movss dword [esp + 0x70], xmm1
movss xmm1, dword [0x1013605c]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x58]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x37b0]
movss dword [esp + 0x74], xmm0
push dword [esp + 0x74]
push dword [esp + 0x74]
call fcn.100459c0
movss xmm1, dword [esp + 0x40]
add esp, 0x20
movss xmm2, dword [esp + 0x1c]
mov esi, dword [esp + 0xac]
movss xmm3, dword [0x10135fe8]
movaps xmm0, xmmword [0x10136460]
movups xmmword [esp + 0xd8], xmm0
push 0
movaps xmm0, xmm1
addss xmm0, xmm3
push ecx
lea ecx, [esp + 0xe0]
mov dword [esp], 0
movss dword [esp + 0x7c], xmm0
movss dword [esp + 0x114], xmm0
movaps xmm0, xmm2
addss xmm0, xmm3
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x118], xmm0
movaps xmm0, xmm1
subss xmm0, xmm3
movss dword [esp + 0x10c], xmm0
movss dword [esp + 0x2c], xmm0
movaps xmm0, xmm2
subss xmm0, xmm3
movss dword [esp + 0x88], xmm0
movss dword [esp + 0x30], xmm0
call fcn.100123d0
push eax
lea eax, [esp + 0x118]
mov ecx, edi
push eax
lea eax, [esp + 0x34]
push eax
call fcn.10030920
movaps xmm0, xmmword [0x101365f0]
movss xmm1, dword [0x10135f8c]
movups xmmword [esp + 0xd8], xmm0
push 0
movss xmm0, dword [esp + 0x24]
addss xmm0, xmm1
push ecx
lea ecx, [esp + 0xe0]
mov dword [esp], 0
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x114], xmm0
movss xmm0, dword [esp + 0x24]
addss xmm0, xmm1
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x118], xmm0
movss xmm0, dword [esp + 0x28]
subss xmm0, xmm1
movss dword [esp + 0xcc], xmm0
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x24]
subss xmm0, xmm1
movss dword [esp + 0x9c], xmm0
movss dword [esp + 0x30], xmm0
call fcn.100123d0
push eax
lea eax, [esp + 0x118]
mov ecx, edi
push eax
lea eax, [esp + 0x34]
push eax
call fcn.10030920
movaps xmm0, xmmword [0x10136460]
movups xmmword [esp + 0xd8], xmm0
push 0
movss xmm0, dword [esp + 0x24]
subss xmm0, dword [0x10136010]
push ecx
lea ecx, [esp + 0xe0]
mov dword [esp], 0
movss dword [esp + 0x114], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0x118], xmm0
movss xmm0, dword [esp + 0x28]
subss xmm0, dword [0x10136038]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x88]
movss dword [esp + 0x30], xmm0
call fcn.100123d0
push eax
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x34]
mov ecx, edi
push eax
call fcn.10030920
movaps xmm0, xmmword [0x101365f0]
movups xmmword [esp + 0xd8], xmm0
push 0
movss xmm0, dword [esp + 0x24]
subss xmm0, dword [0x10136020]
push ecx
lea ecx, [esp + 0xe0]
mov dword [esp], 0
movss dword [esp + 0x114], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x118], xmm0
movss xmm0, dword [esp + 0x28]
subss xmm0, dword [0x10136034]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x9c]
movss dword [esp + 0x30], xmm0
call fcn.100123d0
push eax
lea eax, [esp + 0x118]
mov ecx, edi
push eax
lea eax, [esp + 0x34]
push eax
call fcn.10030920
movaps xmm0, xmmword [0x10136460]
movups xmmword [esp + 0xd8], xmm0
push 0
movss xmm0, dword [esp + 0x24]
addss xmm0, dword [0x10136038]
push ecx
lea ecx, [esp + 0xe0]
mov dword [esp], 0
movss dword [esp + 0x114], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0x118], xmm0
movss xmm0, dword [esp + 0x28]
addss xmm0, dword [0x10136010]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x24]
subss xmm0, dword [0x10135fe8]
movss dword [esp + 0x30], xmm0
call fcn.100123d0
push eax
lea eax, [esp + 0x118]
mov ecx, edi
push eax
lea eax, [esp + 0x34]
push eax
call fcn.10030920
movaps xmm0, xmmword [0x101365f0]
movups xmmword [esp + 0xd8], xmm0
push 0
movss xmm0, dword [esp + 0x24]
addss xmm0, dword [0x10136034]
push ecx
lea ecx, [esp + 0xe0]
mov dword [esp], 0
movss dword [esp + 0x114], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x118], xmm0
movss xmm0, dword [esp + 0x28]
addss xmm0, dword [0x10136020]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x24]
subss xmm0, dword [0x10135f8c]
movss dword [esp + 0x30], xmm0
call fcn.100123d0
push eax
lea eax, [esp + 0x118]
mov ecx, edi
push eax
lea eax, [esp + 0x34]
push eax
call fcn.10030920
movaps xmm0, xmmword [0x10136460]
movups xmmword [esp + 0xd8], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x10c], xmm0
movss xmm0, dword [esp + 0x1c]
subss xmm0, dword [0x10136010]
push 0
push ecx
lea ecx, [esp + 0xe0]
mov dword [esp], 0
movss dword [esp + 0x118], xmm0
movss xmm0, dword [esp + 0x10c]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x24]
subss xmm0, dword [0x10136038]
movss dword [esp + 0x30], xmm0
call fcn.100123d0
push eax
lea eax, [esp + 0x118]
mov ecx, edi
push eax
lea eax, [esp + 0x34]
push eax
call fcn.10030920
movaps xmm0, xmmword [0x101365f0]
movups xmmword [esp + 0xd8], xmm0
push 0
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0x110], xmm0
movss xmm0, dword [esp + 0x20]
subss xmm0, dword [0x10136020]
push ecx
lea ecx, [esp + 0xe0]
mov dword [esp], 0
movss dword [esp + 0x118], xmm0
movss xmm0, dword [esp + 0xcc]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x24]
subss xmm0, dword [0x10136034]
movss dword [esp + 0x30], xmm0
call fcn.100123d0
push eax
lea eax, [esp + 0x118]
mov ecx, edi
push eax
lea eax, [esp + 0x34]
push eax
call fcn.10030920
movaps xmm0, xmmword [0x10136460]
movss xmm2, dword [esp + 0x20]
subss xmm2, dword [0x10135fe8]
movups xmmword [esp + 0xd8], xmm0
push 0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x110], xmm0
movss xmm0, dword [esp + 0x20]
addss xmm0, dword [0x10136038]
push ecx
lea ecx, [esp + 0xe0]
movss dword [esp + 0x2c], xmm2
mov dword [esp], 0
movss dword [esp + 0x118], xmm0
movss xmm0, dword [esp + 0x24]
addss xmm0, dword [0x10136010]
movss dword [esp + 0x30], xmm0
call fcn.100123d0
push eax
lea eax, [esp + 0x118]
mov ecx, edi
push eax
lea eax, [esp + 0x34]
push eax
call fcn.10030920
movaps xmm0, xmmword [0x101365f0]
movss xmm1, dword [esp + 0x1c]
movups xmmword [esp + 0xd8], xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x10c], xmm0
movaps xmm0, xmm1
addss xmm0, dword [0x10136034]
movss dword [esp + 0x110], xmm0
movss xmm0, dword [esp + 0x20]
subss xmm0, dword [0x10135f8c]
movss dword [esp + 0x24], xmm0
addss xmm1, dword [0x10136020]
push 0
push ecx
lea ecx, [esp + 0xe0]
mov dword [esp], 0
movss dword [esp + 0x30], xmm1
call fcn.100123d0
push eax
lea eax, [esp + 0x118]
mov ecx, edi
push eax
lea eax, [esp + 0x34]
push eax
call fcn.10030920
cmp dword [esp + 0xbc], 0x10000
jne 0x100482b6
movss xmm2, dword [esi + 0xc]
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x10048134
movss dword [esp + 0xbc], xmm1
jmp 0x10048149
movss xmm0, dword [0x10135f8c]
minss xmm0, xmm2
movss dword [esp + 0xbc], xmm0
movss xmm3, dword [esp + 0xb0]
xor edx, edx
movss xmm0, dword [esp + 0x34]
movaps xmm2, xmm3
addss xmm2, dword [0x10136054]
movss dword [esp + 0x110], xmm0
addss xmm0, dword [esp + 0x14]
mov edi, dword [esp + 0x110]
mov dword [esp + 0x6c], 0
push dword [esp + 0x6c]
mov dword [esp + 0x6c], 0
push dword [esp + 0x6c]
movss dword [esp + 0x11c], xmm2
subss xmm2, xmm3
movss dword [esp + 0x120], xmm0
push dword [esp + 0x120]
movss dword [esp + 0x118], xmm3
xorps xmm3, xmm3
push dword [esp + 0x120]
mov esi, dword [esp + 0x11c]
mulss xmm2, dword [0x10135f40]
push edi
push esi
push ecx
mov ecx, dword [esp + 0xdc]
call fcn.10035400
mov ecx, dword [esp + 0xe8]
add esp, 0x1c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0xd0]
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0x120]
push eax
call fcn.10030a80
push dword [esp + 0x118]
xorps xmm0, xmm0
push dword [esp + 0x118]
push edi
push esi
call fcn.10013230
movss xmm0, dword [0x10135f8c]
movss xmm1, dword [esp + 0xc0]
subss xmm1, xmm0
mov ecx, dword [esp + 0xd0]
subss xmm0, dword [esp + 0xcc]
mov dword [esp + 0x7c], 0x40400000
push dword [esp + 0x7c]
mov dword [esp + 0x7c], 0x40800000
push dword [esp + 0x7c]
mulss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x70], xmm1
movss xmm1, dword [0x1013605c]
addss xmm0, dword [esp + 0x4c]
addss xmm0, dword [0x10135f40]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x58]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x37b0]
movss dword [esp + 0x74], xmm0
push dword [esp + 0x74]
push dword [esp + 0x74]
call fcn.100459c0
add esp, 0x20
call fcn.1001f300
cmp byte [esp + 0xb], 0
mov edi, dword [0x101739b4]
je 0x1004834c
mov ecx, dword [esp + 0xac]
lea esi, [esp + 0x11c]
xor edx, edx
cmp dword [esp + 0xf4], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x10048303
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x10048308
add esi, 4
add ecx, 4
sub edx, 4
jae 0x100482f2
cmp edx, 0xfffffffc
je 0x10048347
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x10048335
cmp edx, 0xfffffffd
je 0x10048347
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x10048335
cmp edx, 0xfffffffe
je 0x10048347
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x10048335
cmp edx, 0xffffffff
je 0x10048347
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x10048347
or dword [edi + 0x3ee4], 4
mov word [edi + 0x3e78], 0x101
jmp 0x1004834c
mov byte [esp + 0xb], 0
mov ecx, dword [edi + 0x3e30]
mov al, byte [esp + 0xb]
pop edi
pop esi
dec dword [ecx + 0xc8]
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.10096753
mov esp, ebp
pop ebp
ret