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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x4e1040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
movss dword [ebp - 0x18], xmm3
mov dword [ebp - 0xbc], edx
mov edi, ecx
mov dword [ebp - 0xb4], edi
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0xa0], eax
mov eax, dword [0x4e1ef0]
mov ecx, esi
or ecx, 6
mov dword [ebp - 0x5c], eax
add eax, 0x13c0
test esi, 0x200
push 0
cmove ecx, esi
mov dword [ebp - 0x58], ecx
xor edx, edx
mov ecx, edi
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x6d], 0
call fcn.004029c0
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x5c]
xor edi, edi
mov edx, dword [eax + 0x1714]
test edx, edx
jle 0x407ba1
mov eax, dword [eax + 0x171c]
mov ecx, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ecx]
cmp dword [eax + 4], esi
je 0x407b97
inc edi
add ecx, 4
cmp edi, edx
jl 0x407b86
jmp 0x407ba1
mov eax, dword [ebp - 0x28]
mov edi, dword [eax + edi*4]
test edi, edi
jne 0x407bc3
mov eax, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0xb4]
push dword [eax + 4]
push dword [eax]
call fcn.004076d0
add esp, 8
mov byte [ebp - 0x6d], 1
mov edi, eax
mov esi, dword [0x4e1ef0]
mov ecx, dword [edi + 0x1ec]
mov dword [ebp - 0xc0], ecx
mov eax, dword [esi + 0x1708]
mov dword [ebp - 0xb8], eax
cmp ecx, eax
je 0x407bed
mov eax, dword [ebp - 0x58]
mov dword [edi + 8], eax
jmp 0x407bf3
mov eax, dword [edi + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x1730]
lea edx, [eax + 0x1730]
mov dword [ebp - 0x80], edx
test ecx, ecx
je 0x407c1b
mov eax, dword [eax + 0x1738]
mov eax, dword [eax + ecx*4 - 4]
mov dword [ebp - 0x98], eax
jmp 0x407c25
mov dword [ebp - 0x98], 0
mov eax, dword [edx + 4]
mov dword [ebp - 0x28], eax
cmp ecx, eax
jne 0x407c5c
inc ecx
test eax, eax
je 0x407c41
cdq
sub eax, edx
mov edx, dword [ebp - 0x80]
sar eax, 1
add eax, dword [ebp - 0x28]
jmp 0x407c46
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00413b10
mov esi, dword [0x4e1ef0]
mov edx, dword [ebp - 0x80]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
lea ecx, [edi + 0x16c]
inc dword [edx]
movss xmm0, dword [esi + 0x16f8]
mov dword [esi + 0x172c], edi
mulss xmm0, dword [edi + 0x250]
movss dword [esi + 0x16f4], xmm0
mov eax, dword [edi + 0x1c0]
mov dword [ecx], eax
mov eax, dword [edi + 0x15c]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x17b4]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x1784]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x1790]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x179c]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0xb8]
dec eax
cmp dword [edi + 0x1ec], eax
sete cl
test dword [ebp - 0x58], 0x2000000
mov byte [ebp - 0x52], cl
je 0x407d96
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x17b4]
lea edx, [ecx + 0x17b4]
mov dword [ebp - 0x74], edx
mov ecx, dword [ecx + 0x17b0]
lea eax, [eax + eax*2]
mov dword [ebp - 0x7c], ecx
mov edx, ecx
mov dword [ebp - 0x6c], eax
cmp edi, dword [ecx + eax*8 + 4]
mov esi, dword [ebp - 0x6c]
mov eax, dword [edi + 0x90]
sete cl
cmp eax, dword [edx + esi*8]
sete al
and cl, al
mov eax, esi
and byte [ebp - 0x52], cl
mov ecx, edx
mov edx, dword [ebp - 0x74]
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [ebp - 0x28], eax
cmp ecx, eax
jne 0x407d5b
inc ecx
test eax, eax
je 0x407d46
cdq
sub eax, edx
mov edx, dword [ebp - 0x74]
sar eax, 1
add eax, dword [ebp - 0x28]
jmp 0x407d4b
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00413e50
mov edx, dword [ebp - 0x74]
mov eax, dword [edx]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 8]
mov edx, dword [ebp - 0x7c]
movups xmm0, xmmword [edx + esi*8]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [edx + esi*8 + 0x10]
mov edx, dword [ebp - 0x74]
movq qword [eax + ecx*8 + 0x10], xmm0
mov eax, esi
mov ecx, dword [ebp - 0x7c]
mov esi, dword [0x4e1ef0]
inc dword [edx]
mov eax, dword [ecx + eax*8]
mov cl, byte [ebp - 0x52]
mov dword [edi + 0x90], eax
mov edx, dword [ebp - 0x5c]
mov eax, dword [edi + 0xa4]
movss xmm2, dword [0x4da524]
mov dword [ebp - 0x74], eax
cmp dword [edx + 0x17dc], 0
mov byte [ebp - 0x51], 0
mov byte [ebp - 0x65], 0
je 0x407e6e
movss xmm4, dword [edi + 0xb8]
movss xmm5, dword [edi + 0xbc]
test cl, cl
je 0x407dd8
cmp eax, 1
jne 0x407ddf
or dword [edi + 0xa8], 8
mov ecx, dword [edi + 0xa8]
mov eax, ecx
and eax, dword [edx + 0x17dc]
setne byte [ebp - 0x51]
test eax, eax
je 0x407e38
movss xmm0, dword [edx + 0x17c0]
movss xmm1, dword [edx + 0x17c4]
subss xmm0, xmm2
subss xmm1, xmm2
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [0x4da42c]
comiss xmm0, xmm1
jbe 0x407e38
and ecx, 0xfffffff1
mov byte [edi + 0xb4], 1
mov dword [edi + 0xa8], ecx
jmp 0x407e51
push dword [edx + 0x17dc]
add edx, 0x17c0
mov ecx, edi
call fcn.0040bc20
mov edx, dword [ebp - 0x5c]
add esp, 4
mov eax, dword [ebp - 0x74]
movss dword [edi + 0xb8], xmm4
movss dword [edi + 0xbc], xmm5
mov dword [edx + 0x17dc], 0
cmp dword [edx + 0x17e0], 0
je 0x407eb7
cmp byte [ebp - 0x52], 0
je 0x407e82
cmp eax, 1
jne 0x407e89
or dword [edi + 0xac], 8
mov eax, dword [edx + 0x17e0]
mov ecx, edi
test dword [edi + 0xac], eax
push eax
setne byte [ebp - 0x65]
add edx, 0x17c8
call fcn.0040bce0
mov edx, dword [ebp - 0x5c]
add esp, 4
mov dword [edx + 0x17e0], 0
cmp dword [edx + 0x17e4], 0
je 0x407ede
mov eax, dword [edx + 0x17d0]
mov ecx, dword [edx + 0x17d4]
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], ecx
mov dword [edx + 0x17e4], 0
jmp 0x407efa
mov eax, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0xb8]
je 0x407efa
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
cmp dword [edx + 0x17e8], 0
je 0x407f45
cmp byte [ebp - 0x52], 0
je 0x407f0f
cmp dword [ebp - 0x74], 1
jne 0x407f16
or dword [edi + 0xb0], 8
mov eax, dword [edx + 0x17e8]
mov cl, byte [edx + 0x17d8]
test eax, eax
je 0x407f2e
test dword [edi + 0xb0], eax
je 0x407f3b
and dword [edi + 0xb0], 0xfffffff1
mov byte [edi + 0x87], cl
mov dword [edx + 0x17e8], 0
cmp byte [edx + 0x1805], 0
je 0x407f63
mov ecx, dword [esi + 0x172c]
call fcn.0040b910
mov edx, dword [ebp - 0x5c]
mov byte [edx + 0x1805], 0
mov ecx, dword [edx + 0x1730]
dec ecx
test ecx, ecx
jle 0x407f93
mov eax, dword [edx + 0x1738]
lea edx, [eax + ecx*4]
nop word [eax + eax]
mov eax, dword [edx]
test dword [eax + 8], 0x100000
je 0x407f93
dec ecx
sub edx, 4
test ecx, ecx
jg 0x407f80
mov edx, ecx
test ecx, ecx
jle 0x407fb8
mov esi, dword [ebp - 0x5c]
mov eax, dword [esi + 0x1738]
lea esi, [eax + ecx*4]
mov eax, dword [esi]
test dword [eax + 8], 0x2100000
je 0x407fb8
dec edx
sub esi, 4
test edx, edx
jg 0x407fa5
mov esi, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x98]
movss xmm5, dword [0x4da450]
mov dword [edi + 0x260], eax
mov eax, dword [esi + 0x1738]
mov eax, dword [eax + ecx*4]
mov dword [edi + 0x258], eax
mov eax, dword [esi + 0x1738]
mov eax, dword [eax + edx*4]
mov dword [edi + 0x25c], eax
mov eax, dword [ebp - 0xb8]
cmp dword [ebp - 0xc0], eax
je 0x40ac06
mov byte [edi + 0x84], 1
mov dword [edi + 0xc], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x1cc], 0xff7fffff
mov dword [edi + 0x1d0], 0xff7fffff
mov dword [edi + 0x1d4], 0x7f7fffff
mov dword [edi + 0x1d8], 0x7f7fffff
mov dword [edi + 0x1ec], eax
lea eax, [edi + 0x1c0]
mov esi, dword [eax + 4]
cmp esi, 1
jge 0x408085
test esi, esi
je 0x408064
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x408069
mov ecx, 8
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
lea ecx, [edi + 0x1c0]
push eax
call fcn.00413b10
lea eax, [edi + 0x1c0]
mov dword [eax], 1
mov ecx, dword [edi + 0x254]
call fcn.0041b1f0
mov esi, dword [ebp - 0x5c]
mov eax, dword [esi + 0x16f0]
mov eax, dword [eax + 0x44]
mov dword [ebp - 0xa4], eax
mov eax, dword [edi + 0x254]
mov esi, dword [eax + 0x40]
lea ecx, [eax + 0x40]
mov dword [ebp - 0x80], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x28], ecx
cmp esi, eax
jne 0x4080e3
inc esi
test eax, eax
je 0x4080d0
cdq
sub eax, edx
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x4080d5
mov eax, 8
cmp eax, esi
cmovg esi, eax
push esi
call fcn.00413b10
mov ecx, dword [ebp - 0x28]
mov esi, dword [ecx]
mov edx, dword [ecx + 8]
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax]
mov dword [edx + esi*4], eax
inc dword [ecx]
mov ecx, dword [ebp - 0x80]
call fcn.0041b6e0
mov ecx, dword [0x4e1ef0]
movss xmm1, dword [ecx + 0x98]
movss xmm3, dword [ecx + 0xa0]
ucomiss xmm1, xmm3
movss dword [ebp - 0x80], xmm1
movss dword [ebp - 0x94], xmm3
lahf
test ah, 0x44
jnp 0x40814b
movss xmm0, dword [ecx + 0x9c]
ucomiss xmm0, dword [ecx + 0xa4]
lahf
test ah, 0x44
jnp 0x40814b
movss xmm4, dword [ecx + 0xa4]
movaps xmm2, xmm0
jmp 0x408168
movss xmm3, dword [ecx + 4]
xorps xmm1, xmm1
movss xmm4, dword [ecx + 8]
xorps xmm2, xmm2
movss dword [ebp - 0x80], xmm1
movss dword [ebp - 0x94], xmm3
mov edx, dword [ecx + 0x172c]
mov eax, dword [ebp - 0x58]
and eax, 0x2900000
movss dword [ebp - 8], xmm4
cmp eax, 0x100000
movss dword [ebp - 0xa4], xmm4
mov byte [edx + 0x86], 1
mov eax, dword [ecx + 0x172c]
mov dword [ebp - 0x6c], eax
movss dword [ebp - 0xc], xmm3
movss dword [ebp - 0x10], xmm2
mov eax, dword [eax + 0x254]
movss dword [ebp - 0x9c], xmm2
movss dword [ebp - 0x14], xmm1
mov dword [ebp - 0x7c], eax
jne 0x4082be
mov ecx, dword [ebp - 0x98]
movss xmm2, dword [ecx + 0x1d4]
movss xmm3, dword [ecx + 0x1d8]
movss xmm1, dword [ecx + 0x1cc]
movss xmm0, dword [ecx + 0x1d0]
mov ecx, dword [eax + 0x34]
movss dword [ebp - 0x90], xmm1
movss dword [ebp - 0x8c], xmm0
movss dword [ebp - 0x88], xmm2
movss dword [ebp - 0x84], xmm3
test ecx, ecx
je 0x408277
mov eax, dword [eax + 0x3c]
add ecx, ecx
movups xmm4, xmmword [eax + ecx*8 - 0x10]
comiss xmm4, xmm1
movups xmmword [ebp - 0xd0], xmm4
jbe 0x40822c
movaps xmm1, xmm4
movss dword [ebp - 0x90], xmm1
movss xmm4, dword [ebp - 0xcc]
comiss xmm4, xmm0
jbe 0x408244
movaps xmm0, xmm4
movss dword [ebp - 0x8c], xmm0
movss xmm4, dword [ebp - 0xc8]
comiss xmm2, xmm4
jbe 0x40825c
movaps xmm2, xmm4
movss dword [ebp - 0x88], xmm2
movss xmm4, dword [ebp - 0xc4]
comiss xmm3, xmm4
mov eax, dword [ebp - 0x7c]
jbe 0x408277
movaps xmm3, xmm4
movss dword [ebp - 0x84], xmm3
comiss xmm1, xmm2
jb 0x408284
movss dword [ebp - 0x88], xmm1
comiss xmm0, xmm3
jb 0x408291
movss dword [ebp - 0x84], xmm0
mov ecx, dword [eax + 0x38]
lea esi, [eax + 0x34]
mov edx, dword [esi]
cmp edx, ecx
jne 0x4083ac
inc edx
mov dword [ebp - 0x28], edx
test ecx, ecx
je 0x40839a
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x28]
sar eax, 1
add eax, ecx
jmp 0x40839f
movups xmm0, xmmword [ebp - 0x14]
mov ecx, dword [eax + 0x34]
movups xmmword [ebp - 0x90], xmm0
test ecx, ecx
je 0x408346
mov eax, dword [eax + 0x3c]
add ecx, ecx
movups xmm0, xmmword [eax + ecx*8 - 0x10]
comiss xmm0, xmm1
movups xmmword [ebp - 0xd0], xmm0
jbe 0x4082f0
movss dword [ebp - 0x90], xmm0
jmp 0x4082f8
movss xmm0, dword [ebp - 0x90]
movss xmm1, dword [ebp - 0xcc]
comiss xmm1, xmm2
jbe 0x40830f
movss dword [ebp - 0x8c], xmm1
jmp 0x408317
movss xmm1, dword [ebp - 0x8c]
movss xmm2, dword [ebp - 0xc8]
comiss xmm3, xmm2
jbe 0x40832c
movss dword [ebp - 0x88], xmm2
movss xmm2, dword [ebp - 0xc4]
comiss xmm4, xmm2
mov eax, dword [ebp - 0x7c]
jbe 0x408356
movss dword [ebp - 0x84], xmm2
jmp 0x408356
movss xmm1, dword [ebp - 0x8c]
movss xmm0, dword [ebp - 0x90]
comiss xmm0, dword [ebp - 0x88]
jb 0x408367
movss dword [ebp - 0x88], xmm0
comiss xmm1, dword [ebp - 0x84]
jb 0x408378
movss dword [ebp - 0x84], xmm1
mov ecx, dword [eax + 0x38]
lea esi, [eax + 0x34]
mov edx, dword [esi]
cmp edx, ecx
jne 0x4083ac
inc edx
mov dword [ebp - 0x28], edx
test ecx, ecx
je 0x40839a
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x28]
sar eax, 1
add eax, ecx
jmp 0x40839f
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.004205f0
mov eax, dword [esi]
mov edx, dword [esi + 8]
add eax, eax
movups xmm0, xmmword [ebp - 0x90]
mov ecx, dword [ebp - 0x7c]
movups xmmword [edx + eax*8], xmm0
inc dword [esi]
call fcn.0041b5c0
mov edx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x5c]
mov eax, dword [edx + 0x254]
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x3c]
add ecx, ecx
cmp byte [ebp - 0x52], 0
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov ecx, dword [ebp - 0x58]
mov dword [edx + 0x1cc], eax
movss dword [edx + 0x1d0], xmm0
movss dword [edx + 0x1d4], xmm1
movss dword [edx + 0x1d8], xmm2
jne 0x408446
mov dword [edi + 0xa0], 0xffffffff
test ecx, 0x2000000
je 0x408446
cmp byte [ebp - 0x51], 0
jne 0x408446
mov ecx, dword [esi + 0xd0]
mov eax, dword [esi + 0xcc]
mov dword [edi + 0x14], ecx
mov ecx, dword [ebp - 0x58]
mov dword [edi + 0x10], eax
mov edx, dword [0x4e1ef0]
mov dword [ebp - 0x6c], edx
test cl, 0x21
jne 0x40857b
test byte [edi + 8], 1
xorps xmm2, xmm2
je 0x408466
xorps xmm3, xmm3
jmp 0x408486
movss xmm0, dword [edx + 0x13e8]
movss xmm3, dword [edx + 0x16f8]
addss xmm0, xmm0
mulss xmm3, dword [edi + 0x250]
addss xmm3, xmm0
movss xmm5, dword [edi + 0x18]
movaps xmm4, xmm5
movss xmm6, dword [edi + 0x1c]
addss xmm4, dword [edi + 0x28]
addss xmm3, dword [edi + 0x1c]
cmp dword [esi + 0x1740], edi
jne 0x408582
mov eax, dword [edx + 0x172c]
movss xmm0, dword [eax + 0x1cc]
comiss xmm0, xmm5
jbe 0x4084bf
movaps xmm5, xmm0
movss xmm0, dword [eax + 0x1d0]
comiss xmm0, xmm6
jbe 0x4084cf
movaps xmm6, xmm0
movss xmm0, dword [eax + 0x1d4]
comiss xmm4, xmm0
jbe 0x4084df
movaps xmm4, xmm0
movss xmm0, dword [eax + 0x1d8]
comiss xmm3, xmm0
jbe 0x4084ef
movaps xmm3, xmm0
movss xmm1, dword [edx + 0x1400]
movss xmm0, dword [edx + 0x1404]
subss xmm5, xmm1
addss xmm4, xmm1
movss xmm1, dword [edx + 0xcc]
addss xmm3, xmm0
subss xmm6, xmm0
comiss xmm1, xmm5
jb 0x408582
movss xmm0, dword [edx + 0xd0]
comiss xmm0, xmm6
jb 0x408582
comiss xmm4, xmm1
jbe 0x408582
comiss xmm3, xmm0
jbe 0x408582
cmp byte [esi + 0x374], 0
je 0x408582
cmp byte [edi + 0x87], 0
sete al
mov byte [edi + 0x87], al
test ecx, 0x100
jne 0x408566
comiss xmm2, dword [edx + 0x1780]
jb 0x408566
mov eax, dword [edx + 0x10]
mov dword [edx + 0x1780], eax
mov ecx, edi
call fcn.0040b910
mov edx, dword [0x4e1ef0]
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x6c], edx
jmp 0x408582
mov byte [edi + 0x87], 0
movss xmm0, dword [edi + 0x38]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x4085b0
cmp byte [ebp - 0x6d], 0
je 0x40859e
xorps xmm0, xmm0
jmp 0x4085ab
movss xmm0, dword [edi + 0xd0]
subss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x5c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x30], xmm0
movss xmm0, dword [edi + 0x3c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x4085eb
cmp byte [ebp - 0x6d], 0
je 0x4085d9
xorps xmm0, xmm0
jmp 0x4085e6
movss xmm0, dword [edi + 0xd4]
subss xmm0, dword [edi + 0x1c]
addss xmm0, dword [edi + 0x60]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [edi + 0xa4]
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x34], xmm0
test eax, eax
jle 0x40860c
dec eax
mov dword [edi + 0xa4], eax
test ecx, 0x3000000
je 0x408659
cmp byte [ebp - 0x52], 0
jne 0x408659
mov dword [edi + 0xa4], 1
test cl, 0x40
je 0x408659
cmp byte [ebp - 0x65], 0
jne 0x40864b
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov esi, ecx
and esi, 0x2910080
cmp esi, 0x100000
jne 0x408679
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
jmp 0x408688
mov ecx, dword [ebp - 0x78]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], ecx
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x64]
cmove ecx, eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x50], eax
mov eax, dword [ebp - 0x58]
mov dword [edi + 0x54], ecx
test eax, 0x1000000
je 0x4086d0
movss xmm3, dword [edi + 0x30]
addss xmm3, dword [edi + 0x50]
movss xmm2, dword [edi + 0x34]
addss xmm2, dword [edi + 0x54]
mov ecx, dword [ebp - 0x78]
subss xmm3, xmm1
subss xmm2, dword [ecx + 0x34]
movss dword [ebp - 0x64], xmm3
jmp 0x40877a
mov ecx, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x78]
movss xmm4, dword [edi + 0x34]
addss xmm4, dword [edi + 0x54]
movss xmm0, dword [ecx + 4]
subss xmm0, dword [ecx + 0x1430]
movss xmm3, dword [esi + 0xc]
movss xmm2, dword [esi + 0x10]
movaps xmm6, xmm3
comiss xmm2, xmm4
movss xmm7, dword [edi + 0x30]
maxss xmm6, xmm0
movss xmm0, dword [ecx + 8]
movaps xmm5, xmm2
subss xmm0, dword [ecx + 0x1434]
maxss xmm5, xmm0
movaps xmm0, xmm7
addss xmm0, dword [edi + 0x50]
ja 0x40872b
movaps xmm2, xmm5
minss xmm2, xmm4
comiss xmm3, xmm0
ja 0x408737
movaps xmm3, xmm6
minss xmm3, xmm0
comiss xmm7, xmm3
movss dword [ebp - 0x64], xmm3
jbe 0x408755
and eax, 0x808
cmp eax, 0x800
mov eax, dword [ebp - 0x58]
jne 0x408755
addss xmm2, dword [esi + 0x50]
movss xmm0, dword [edi + 0x34]
comiss xmm0, xmm2
jbe 0x40876d
test al, 8
jne 0x40876d
addss xmm3, dword [esi + 0x50]
movss dword [ebp - 0x64], xmm3
subss xmm2, dword [esi + 0x34]
comiss xmm2, xmm1
jae 0x40877a
xorps xmm2, xmm2
cmp byte [edi + 0x87], 0
movss dword [ebp - 0x60], xmm2
je 0x4087e3
cmp dword [edi + 0x94], 0
jle 0x4087ad
cmp byte [edi + 0x9c], 0
je 0x4087a5
movss xmm0, dword [edi + 0x28]
maxss xmm0, xmm3
jmp 0x4087a8
movaps xmm0, xmm3
movss dword [edi + 0x28], xmm0
cmp dword [edi + 0x98], 0
jle 0x408870
cmp byte [edi + 0x9c], 0
je 0x4087d6
movss xmm0, dword [edi + 0x2c]
maxss xmm0, xmm2
movss dword [edi + 0x2c], xmm0
jmp 0x408870
movaps xmm0, xmm2
movss dword [edi + 0x2c], xmm0
jmp 0x408870
test al, 0x40
je 0x4087f9
cmp byte [ebp - 0x65], 0
jne 0x4087f9
movss dword [edi + 0x28], xmm3
movss dword [edi + 0x2c], xmm2
jmp 0x408870
mov ecx, dword [edi + 0x94]
test ecx, ecx
jg 0x40880c
cmp dword [edi + 0x98], 0
jle 0x408870
cmp byte [ebp - 0x65], 0
jne 0x408870
test ecx, ecx
jle 0x408832
cmp byte [edi + 0x9c], 0
je 0x40882a
movss xmm0, dword [edi + 0x28]
maxss xmm0, xmm3
jmp 0x40882d
movaps xmm0, xmm3
movss dword [edi + 0x28], xmm0
cmp dword [edi + 0x98], 0
jle 0x408857
cmp byte [edi + 0x9c], 0
je 0x40884f
movss xmm0, dword [edi + 0x2c]
maxss xmm0, xmm2
jmp 0x408852
movaps xmm0, xmm2
movss dword [edi + 0x2c], xmm0
test eax, 0x100
jne 0x408870
comiss xmm1, dword [edx + 0x1780]
jb 0x408870
mov eax, dword [edx + 0x10]
mov dword [edx + 0x1780], eax
movss xmm2, dword [edi + 0x28]
mov esi, edx
movss xmm3, dword [edi + 0x2c]
cmp byte [esi + 0x1804], 0
je 0x408952
movups xmm0, xmmword [esi + 0x17ec]
comiss xmm0, xmm1
movups xmmword [ebp - 0x90], xmm0
jb 0x4088bb
movss xmm4, dword [ebp - 0x88]
comiss xmm4, xmm1
jb 0x4088bb
comiss xmm0, xmm2
jbe 0x4088b3
movaps xmm2, xmm0
jmp 0x4088bb
comiss xmm2, xmm4
jbe 0x4088bb
movaps xmm2, xmm4
movss xmm0, dword [ebp - 0x8c]
comiss xmm0, xmm1
jb 0x4088e9
movss xmm4, dword [ebp - 0x84]
comiss xmm4, xmm1
jb 0x4088e9
comiss xmm0, xmm3
jbe 0x4088df
movaps xmm3, xmm0
jmp 0x4088ee
comiss xmm3, xmm4
jbe 0x4088ee
movaps xmm3, xmm4
jmp 0x4088ee
movss xmm3, dword [edi + 0x2c]
mov ecx, dword [esi + 0x17fc]
test ecx, ecx
je 0x408952
movss xmm0, dword [edi + 0x18]
mov eax, dword [esi + 0x1800]
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [edi + 0x1c]
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [edi + 0x28]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [edi + 0x2c]
push eax
movss dword [ebp - 0x40], xmm0
movss dword [ebp - 0x3c], xmm2
movss dword [ebp - 0x38], xmm3
call ecx
mov edx, dword [0x4e1ef0]
add esp, 4
movss xmm2, dword [ebp - 0x3c]
xorps xmm1, xmm1
movss xmm3, dword [ebp - 0x38]
mov dword [ebp - 0x6c], edx
mov eax, dword [edi + 8]
test eax, 0x100040
jne 0x40896c
maxss xmm2, dword [esi + 0x13cc]
maxss xmm3, dword [esi + 0x13d0]
cmp byte [edi + 0x87], 0
movss dword [edi + 0x28], xmm2
movss dword [edi + 0x2c], xmm3
je 0x4089c3
test al, 1
jne 0x4089a3
movss xmm0, dword [edx + 0x13e8]
movss xmm1, dword [edx + 0x16f8]
addss xmm0, xmm0
mulss xmm1, dword [edi + 0x250]
addss xmm1, xmm0
addss xmm2, dword [edi + 0x18]
addss xmm1, dword [edi + 0x1c]
subss xmm2, dword [edi + 0x18]
subss xmm1, dword [edi + 0x1c]
movss dword [ebp - 0x2c], xmm2
movss dword [ebp - 0x28], xmm1
jmp 0x4089cf
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x2c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x2c]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x24], ecx
mov ecx, dword [ebp - 0x58]
mov dword [edi + 0x20], eax
test ecx, 0x100000
je 0x408a42
mov esi, dword [ebp - 0x98]
add esi, 0x10c
mov eax, dword [esi]
mov dword [edi + 0xc], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi]
cmp eax, ecx
jne 0x408a35
lea edx, [eax + 1]
mov dword [ebp - 0x28], edx
test ecx, ecx
je 0x408a1a
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x28]
sar eax, 1
add eax, ecx
jmp 0x408a1f
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.00413b10
mov edx, dword [0x4e1ef0]
mov dword [ebp - 0x6c], edx
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov dword [eax + ecx*4], edi
inc dword [esi]
mov ecx, dword [ebp - 0x58]
mov eax, ecx
and eax, 0x2100000
cmp eax, 0x100000
jne 0x408a9d
mov eax, dword [ebp - 0x98]
movss xmm0, dword [eax + 0xb8]
movss xmm1, dword [eax + 0xbc]
mov eax, dword [ebp - 0xa0]
movss dword [edi + 0x10], xmm0
movss dword [edi + 0x14], xmm1
movss dword [edi + 0x18], xmm0
movss dword [edi + 0x1c], xmm1
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [edi + 0x28], xmm0
movss dword [edi + 0x2c], xmm1
movss dword [edi + 0x20], xmm0
movss dword [edi + 0x24], xmm1
cmp byte [edi + 0xb4], 0
je 0x408ab3
cmp dword [edi + 0xa4], 0
jne 0x408ab3
mov ah, 1
jmp 0x408ab5
xor ah, ah
mov esi, dword [ebp - 0x74]
test ecx, 0x4000000
je 0x408acf
cmp byte [ebp - 0x51], 0
jne 0x408acf
cmp esi, 1
jne 0x408acf
mov al, 1
jmp 0x408ad1
xor al, al
or al, ah
movss xmm3, dword [0x4da46c]
je 0x408bdf
movss xmm0, dword [edi + 0x28]
movss xmm3, dword [ebp - 0x80]
addss xmm3, dword [ebp - 0x94]
movss xmm2, dword [0x4da450]
mov eax, dword [ebp - 0x78]
mulss xmm0, xmm2
mulss xmm3, xmm2
movss xmm1, dword [eax + 0x70]
subss xmm3, xmm0
movss xmm0, dword [edi + 0x2c]
mulss xmm0, xmm2
maxss xmm1, xmm3
movss xmm3, dword [ebp - 0x9c]
addss xmm3, dword [ebp - 0xa4]
mulss xmm3, xmm2
movss xmm2, dword [edi + 0x18]
subss xmm3, xmm0
movss xmm0, dword [eax + 0x74]
cvttss2si eax, xmm1
and dword [edi + 0xa8], 0xfffffff1
mov byte [edi + 0xb4], 0
maxss xmm0, xmm3
movss dword [edi + 0x10], xmm1
movss xmm3, dword [edi + 0x1c]
movss dword [edi + 0x14], xmm0
movd xmm0, eax
cvttss2si eax, dword [edi + 0x14]
cvtdq2ps xmm0, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [edi + 0x18], xmm0
subss xmm0, xmm2
movss dword [edi + 0x1c], xmm1
subss xmm1, xmm3
addss xmm0, dword [edi + 0xb8]
addss xmm1, dword [edi + 0xbc]
movss dword [edi + 0xb8], xmm0
movss dword [edi + 0xbc], xmm1
movss xmm1, dword [edi + 0x1c]
movss xmm0, dword [edi + 0x18]
subss xmm1, xmm3
subss xmm0, xmm2
addss xmm1, dword [edi + 0xd4]
addss xmm0, dword [edi + 0xd0]
movss dword [edi + 0xd4], xmm1
movss dword [edi + 0xd0], xmm0
jmp 0x408d8d
test ecx, 0x8000000
je 0x408d08
mov esi, dword [ebp - 0x98]
mov eax, dword [ebp - 0x78]
cmp byte [esi + 0x106], 0
movss xmm2, dword [eax + 0x30]
je 0x408cc8
mov ecx, dword [esi + 8]
mov eax, ecx
and eax, 1
je 0x408c15
xorps xmm1, xmm1
jmp 0x408c35
movss xmm0, dword [edx + 0x13e8]
movss xmm1, dword [edx + 0x16f8]
addss xmm0, xmm0
mulss xmm1, dword [esi + 0x250]
addss xmm1, xmm0
movss xmm2, dword [esi + 0x1c]
movaps xmm4, xmm2
addss xmm4, xmm1
test ecx, 0x400
je 0x408c6b
movss xmm0, dword [edx + 0x13e8]
movss xmm3, dword [edx + 0x16f8]
addss xmm0, xmm0
mulss xmm3, dword [esi + 0x250]
addss xmm3, xmm0
jmp 0x408c6e
xorps xmm3, xmm3
test eax, eax
je 0x408c77
xorps xmm1, xmm1
jmp 0x408c97
movss xmm0, dword [edx + 0x13e8]
movss xmm1, dword [edx + 0x16f8]
addss xmm0, xmm0
mulss xmm1, dword [esi + 0x250]
addss xmm1, xmm0
addss xmm2, xmm1
mov dword [ebp - 0x90], 0xff7fffff
movss dword [ebp - 0x8c], xmm4
mov dword [ebp - 0x88], 0x7f7fffff
addss xmm2, xmm3
movss dword [ebp - 0x84], xmm2
jmp 0x408d5c
movss xmm1, dword [esi + 0x18]
movaps xmm0, xmm1
mov dword [ebp - 0x8c], 0xff7fffff
addss xmm1, dword [esi + 0x20]
addss xmm0, xmm2
mov dword [ebp - 0x84], 0x7f7fffff
subss xmm1, xmm2
movss dword [ebp - 0x90], xmm0
subss xmm1, dword [esi + 0x78]
movss dword [ebp - 0x88], xmm1
jmp 0x408d5c
test ecx, 0x2000000
je 0x408d8d
mov al, byte [ebp - 0x51]
test al, al
jne 0x408d90
cmp esi, 1
jne 0x408d90
movss xmm2, dword [edi + 0x10]
movss xmm1, dword [edi + 0x14]
movaps xmm0, xmm2
subss xmm0, xmm3
addss xmm2, xmm3
movss dword [ebp - 0x90], xmm0
movaps xmm0, xmm1
subss xmm0, xmm3
movss dword [ebp - 0x88], xmm2
addss xmm1, xmm3
movss dword [ebp - 0x8c], xmm0
movss dword [ebp - 0x84], xmm1
lea eax, [ebp - 0x90]
push eax
lea eax, [edi + 0xa0]
push eax
lea eax, [edi + 0x20]
push eax
lea edx, [edi + 0x10]
lea ecx, [ebp - 0xc8]
call fcn.00407430
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 0x58]
mov dword [edi + 0x14], eax
mov al, byte [ebp - 0x51]
movss xmm7, dword [0x4da4c0]
test ecx, 0x1000000
je 0x408e6d
test al, al
jne 0x408e6d
mov eax, dword [ebp - 0x5c]
lea esi, [edi + 0xa0]
movss xmm2, dword [eax + 0xcc]
lea ecx, [eax + 0xcc]
movaps xmm0, xmm2
mov dword [ebp - 0x28], ecx
addss xmm2, dword [0x4da4d8]
movss xmm1, dword [eax + 0xd0]
subss xmm0, xmm7
lea eax, [ebp - 0xb0]
mov edx, ecx
push eax
lea eax, [edi + 0x20]
push esi
movss dword [ebp - 0xb0], xmm0
lea ecx, [ebp - 0x88]
movaps xmm0, xmm1
movss dword [ebp - 0xa8], xmm2
subss xmm0, dword [0x4da4ac]
addss xmm1, dword [0x4da4d8]
push eax
movss dword [ebp - 0xac], xmm0
movss dword [ebp - 0xa4], xmm1
call fcn.00407430
movss xmm7, dword [0x4da4c0]
add esp, 0xc
cmp dword [esi], 0xffffffff
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 0x58]
mov dword [edi + 0x14], eax
jne 0x408e6d
mov eax, dword [ebp - 0x28]
movss xmm1, dword [eax]
movss xmm0, dword [eax + 4]
addss xmm1, dword [0x4da484]
addss xmm0, dword [0x4da484]
movss dword [edi + 0x10], xmm1
movss dword [edi + 0x14], xmm0
mov edx, dword [ebp - 0x5c]
xorps xmm6, xmm6
test ecx, 0x1100000
jne 0x408f2b
cmp byte [ebp - 0x51], 0
jne 0x408f2b
cmp dword [edi + 0x94], 0
jg 0x408f2b
cmp dword [edi + 0x98], 0
jg 0x408f2b
movss xmm0, dword [edx + 4]
comiss xmm0, xmm6
jbe 0x408f2b
movss xmm0, dword [edx + 8]
comiss xmm0, xmm6
jbe 0x408f2b
movss xmm5, dword [edx + 0x142c]
movss xmm2, dword [edx + 0x1428]
movss xmm4, dword [edi + 0x20]
addss xmm4, dword [edi + 0x10]
movss xmm3, dword [edi + 0x24]
addss xmm3, dword [edi + 0x14]
maxss xmm5, dword [edx + 0x1434]
maxss xmm2, dword [edx + 0x1430]
maxss xmm3, xmm5
maxss xmm4, xmm2
subss xmm3, dword [edi + 0x24]
subss xmm4, dword [edi + 0x20]
movss dword [edi + 0x14], xmm3
movss dword [edi + 0x10], xmm4
movss xmm0, dword [edx + 4]
subss xmm0, xmm2
minss xmm4, xmm0
movss xmm0, dword [edx + 8]
subss xmm0, xmm5
movss dword [edi + 0x10], xmm4
minss xmm3, xmm0
movss dword [edi + 0x14], xmm3
cvttss2si eax, dword [edi + 0x10]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x18], xmm1
movss dword [edi + 0x1c], xmm0
movss xmm0, dword [edi + 0x20]
comiss xmm0, xmm6
jbe 0x408f69
test ecx, 0x1000040
jne 0x408f69
mulss xmm0, dword [0x4da454]
jmp 0x408f75
movss xmm0, dword [edx + 0x16f4]
mulss xmm0, xmm7
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1f0], xmm0
mov eax, dword [edi + 0x274]
cmp eax, 0x7fffffff
je 0x408fa9
mov ecx, dword [edi + 0x264]
cmp ecx, 0xffffffff
je 0x408fa9
inc eax
add eax, ecx
inc ecx
cdq
idiv ecx
jmp 0x408fae
mov edx, accept
mov eax, dword [edi + 0x278]
mov dword [edi + 0x26c], edx
cmp eax, 0x7fffffff
je 0x408fd5
mov ecx, dword [edi + 0x268]
cmp ecx, 0xffffffff
je 0x408fd5
inc eax
add eax, ecx
inc ecx
cdq
idiv ecx
jmp 0x408fda
mov edx, accept
movss xmm0, dword [edi + 0x64]
movss xmm1, dword [0x4da50c]
comiss xmm1, xmm0
mov dword [edi + 0x270], edx
mov dword [edi + 0x268], 0xffffffff
mov dword [edi + 0x264], 0xffffffff
mov dword [edi + 0x278], getpeername
mov dword [edi + 0x274], getpeername
jbe 0x409026
movss dword [edi + 0x5c], xmm0
mov dword [edi + 0x64], 0x7f7fffff
movss xmm3, dword [edi + 0x68]
comiss xmm1, xmm3
mov esi, dword [ebp - 0x6c]
jbe 0x4090c6
mov eax, dword [edi + 8]
movss xmm4, dword [edi + 0x70]
test eax, 0x400
je 0x409068
movss xmm0, dword [esi + 0x13e8]
movss xmm2, dword [esi + 0x16f8]
addss xmm0, xmm0
mulss xmm2, dword [edi + 0x250]
addss xmm2, xmm0
jmp 0x40906b
xorps xmm2, xmm2
test al, 1
je 0x409074
xorps xmm1, xmm1
jmp 0x409094
movss xmm0, dword [esi + 0x13e8]
movss xmm1, dword [esi + 0x16f8]
addss xmm0, xmm0
mulss xmm1, dword [edi + 0x250]
addss xmm1, xmm0
addss xmm1, xmm2
mov dword [edi + 0x68], 0x7f7fffff
movss xmm2, dword [0x4da46c]
movaps xmm0, xmm2
subss xmm0, xmm4
mulss xmm4, dword [edi + 0x2c]
mulss xmm1, xmm0
subss xmm3, xmm1
subss xmm3, xmm4
movss dword [edi + 0x60], xmm3
jmp 0x4090ce
movss xmm2, dword [0x4da46c]
cmp byte [edi + 0x87], 0
movss xmm3, dword [edi + 0x5c]
movss xmm4, dword [edi + 0x60]
maxss xmm3, xmm6
maxss xmm4, xmm6
movss dword [edi + 0x5c], xmm3
movss dword [edi + 0x60], xmm4
jne 0x40913a
cmp byte [edi + 0x88], 0
jne 0x40913a
movss xmm1, dword [edi + 0x30]
xorps xmm0, xmm0
subss xmm1, dword [edi + 0x28]
addss xmm1, dword [edi + 0x78]
maxss xmm0, xmm1
movss xmm1, dword [edi + 0x34]
subss xmm1, dword [edi + 0x2c]
minss xmm3, xmm0
xorps xmm0, xmm0
addss xmm1, dword [edi + 0x7c]
movss dword [edi + 0x5c], xmm3
maxss xmm0, xmm1
minss xmm4, xmm0
movss dword [edi + 0x60], xmm4
mov edx, dword [ebp - 0x58]
movss xmm1, dword [0x4da504]
test edx, 0x4000000
je 0x409281
mov edx, dword [esi + 0x17a8]
sub edx, 1
js 0x409187
lea ecx, [edx + edx*2]
lea ecx, [ecx*8 + 4]
add ecx, dword [esi + 0x17b0]
nop dword [eax]
mov eax, dword [ecx]
test eax, eax
je 0x40917f
test dword [eax + 8], 0x4000000
jne 0x409189
sub ecx, 0x18
sub edx, 1
jns 0x409170
xor eax, eax
cmp edi, eax
jne 0x40927e
mov eax, dword [ebp - 0x5c]
movups xmm4, xmmword [esi + 0x16e0]
comiss xmm6, xmm4
movss xmm3, dword [eax + 0x1844]
movaps xmm0, xmm4
mulss xmm3, dword [esi + 0x13c0]
shufps xmm0, xmm4, 0xff
movups xmmword [ebp - 0x34], xmm4
mulss xmm3, xmm0
jbe 0x4091c4
movaps xmm0, xmm6
jmp 0x4091cb
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm5, dword [0x4da450]
movss xmm4, dword [ebp - 0x30]
comiss xmm6, xmm4
mulss xmm0, xmm1
addss xmm0, xmm5
cvttss2si ecx, xmm0
jbe 0x4091ee
movaps xmm0, xmm6
jmp 0x4091f5
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [ebp - 0x2c]
mulss xmm0, xmm1
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm6, xmm4
jbe 0x409215
movaps xmm0, xmm6
jmp 0x40921c
movaps xmm0, xmm2
minss xmm0, xmm4
mulss xmm0, xmm1
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm6, xmm3
jbe 0x409237
movaps xmm2, xmm6
jmp 0x40923b
minss xmm2, xmm3
mulss xmm2, xmm1
push 0xffffffffffffffff
push ecx
mov dword [esp], 0
addss xmm2, xmm5
cvttss2si eax, xmm2
shl eax, 0x18
or eax, ecx
mov ecx, dword [edi + 0x254]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041d390
mov esi, dword [0x4e1ef0]
xorps xmm6, xmm6
movss xmm1, dword [0x4da504]
mov dword [ebp - 0x6c], esi
mov edx, dword [ebp - 0x58]
test byte [edi + 8], 1
je 0x40928c
movaps xmm5, xmm6
jmp 0x4092ac
movss xmm0, dword [esi + 0x13e8]
movss xmm5, dword [esi + 0x16f8]
addss xmm0, xmm0
mulss xmm5, dword [edi + 0x250]
addss xmm5, xmm0
movss xmm7, dword [edi + 0x18]
movss xmm4, dword [edi + 0x1c]
movaps xmm0, xmm7
mov eax, dword [ebp - 0x78]
addss xmm5, xmm4
movss dword [ebp - 0x9c], xmm7
movaps xmm2, xmm4
movss dword [ebp - 0xb0], xmm7
movss dword [ebp - 0x80], xmm2
movss dword [ebp - 0xac], xmm2
movss dword [ebp - 0xa0], xmm5
movss dword [ebp - 0xa4], xmm5
addss xmm0, dword [edi + 0x28]
movss dword [ebp - 0x94], xmm0
movss dword [ebp - 0xa8], xmm0
test edx, 0x100000
je 0x409314
movss xmm0, dword [eax + 0x20]
jmp 0x409319
movss xmm0, dword [eax + 0x14]
cmp byte [edi + 0x87], 0
movss dword [ebp - 0x74], xmm0
je 0x409428
movups xmm4, xmmword [esi + 0x14f0]
movss xmm0, dword [0x4da46c]
comiss xmm6, xmm4
movaps xmm3, xmm4
shufps xmm3, xmm4, 0xff
mulss xmm3, dword [esi + 0x13c0]
movups xmmword [ebp - 0x14], xmm4
jbe 0x409357
movaps xmm2, xmm6
jmp 0x40935e
movaps xmm2, xmm0
minss xmm2, xmm4
movss xmm7, dword [0x4da450]
movss xmm4, dword [ebp - 0x10]
comiss xmm6, xmm4
mulss xmm2, xmm1
addss xmm2, xmm7
cvttss2si edx, xmm2
jbe 0x409381
movaps xmm2, xmm6
jmp 0x409388
movaps xmm2, xmm0
minss xmm2, xmm4
movss xmm4, dword [ebp - 0xc]
mulss xmm2, xmm1
addss xmm2, xmm7
cvttss2si eax, xmm2
shl eax, 8
or edx, eax
comiss xmm6, xmm4
jbe 0x4093a8
movaps xmm2, xmm6
jmp 0x4093af
movaps xmm2, xmm0
minss xmm2, xmm4
mulss xmm2, xmm1
addss xmm2, xmm7
cvttss2si eax, xmm2
shl eax, 0x10
or edx, eax
comiss xmm6, xmm3
jbe 0x4093ca
movaps xmm0, xmm6
jmp 0x4093ce
minss xmm0, xmm3
movss xmm6, dword [ebp - 0x94]
movss xmm2, dword [ebp - 0x80]
movss xmm4, dword [ebp - 0x9c]
mulss xmm0, xmm1
movss dword [ebp - 0x60], xmm5
push dword [ebp - 0x60]
addss xmm0, xmm7
movss dword [ebp - 0x64], xmm6
push dword [ebp - 0x64]
movss dword [ebp - 0x18], xmm2
push dword [ebp - 0x18]
movss xmm2, dword [ebp - 0x74]
cvttss2si ecx, xmm0
movss dword [ebp - 0x1c], xmm4
push dword [ebp - 0x1c]
shl ecx, 0x18
or ecx, edx
mov dl, 1
call fcn.00406980
add esp, 0x10
jmp 0x40a3ef
mov eax, dword [ebp - 0x5c]
movss xmm3, dword [0x4da46c]
mov dword [ebp - 0x28], 0
addss xmm0, xmm3
movss xmm1, dword [eax + 0x16f4]
movaps xmm2, xmm1
mulss xmm1, dword [0x4da438]
mulss xmm2, dword [0x4da470]
addss xmm1, xmm0
maxss xmm2, xmm1
movss dword [ebp - 0x7c], xmm2
test dl, 0x40
jne 0x4097af
cmp dword [edi + 0x94], 0
jg 0x4097af
cmp dword [edi + 0x98], 0
jg 0x4097af
test dl, 2
jne 0x4097af
addss xmm7, dword [edi + 0x20]
addss xmm4, dword [edi + 0x24]
mov ecx, dword [edi + 0x1c0]
movaps xmm1, xmm2
mulss xmm1, dword [0x4da45c]
xor edx, edx
mov eax, dword [edi + 0x1c8]
movaps xmm2, xmm7
movss dword [ebp - 0xc], xmm7
movaps xmm0, xmm4
movss dword [ebp - 8], xmm4
subss xmm2, xmm1
push dword [eax + ecx*4 - 4]
subss xmm0, xmm1
mov ecx, str.RESIZE
movss dword [ebp - 0x14], xmm2
movss dword [ebp - 0x10], xmm0
call fcn.004029c0
add esp, 4
cmp dword [esi + 0x1754], eax
jne 0x4094f7
mov byte [esi + 0x175c], 1
push 0x20
lea ecx, [ebp - 0x6d]
mov edx, eax
push ecx
lea ecx, [ebp - 0x65]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040c2f0
mov dl, byte [ebp - 0x6d]
add esp, 0xc
mov dh, byte [ebp - 0x65]
test dl, dl
je 0x40951f
mov eax, 0x21
jmp 0x409529
xor eax, eax
test dh, dh
setne al
add eax, 0x1f
mov esi, dword [0x4e1ef0]
add eax, 0x144
movss xmm1, dword [0x4da46c]
add eax, eax
xorps xmm0, xmm0
mov dword [ebp - 0x6c], esi
movups xmm2, xmmword [esi + eax*8]
comiss xmm0, xmm2
movaps xmm4, xmm2
shufps xmm4, xmm2, 0xff
mulss xmm4, dword [esi + 0x13c0]
movups xmmword [ebp - 0x34], xmm2
jbe 0x409565
xorps xmm3, xmm3
jmp 0x40956c
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm2, dword [0x4da504]
movss xmm6, dword [0x4da450]
movss xmm5, dword [ebp - 0x30]
comiss xmm0, xmm5
mulss xmm3, xmm2
addss xmm3, xmm6
cvttss2si ecx, xmm3
jbe 0x409597
xorps xmm3, xmm3
jmp 0x40959e
movaps xmm3, xmm1
minss xmm3, xmm5
movss xmm5, dword [ebp - 0x2c]
mulss xmm3, xmm2
addss xmm3, xmm6
cvttss2si eax, xmm3
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x4095be
xorps xmm3, xmm3
jmp 0x4095c5
movaps xmm3, xmm1
minss xmm3, xmm5
mulss xmm3, xmm2
addss xmm3, xmm6
cvttss2si eax, xmm3
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm4
jbe 0x4095e0
xorps xmm1, xmm1
jmp 0x4095e4
minss xmm1, xmm4
mulss xmm1, xmm2
addss xmm1, xmm6
cvttss2si eax, xmm1
shl eax, 0x18
or eax, ecx
mov dword [ebp - 0x28], eax
test dh, dh
jne 0x409600
test dl, dl
je 0x40960f
mov eax, dword [ebp - 0x5c]
mov dword [eax + 0x18b4], 6
jmp 0x409612
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x1740], edi
jne 0x409686
test dl, dl
je 0x409719
cmp byte [eax + 0x374], 0
je 0x409686
push dword [ebp - 0x60]
mov ecx, edi
push dword [ebp - 0x64]
call fcn.004079b0
mov edx, dword [ebp - 0x58]
add esp, 8
mov esi, dword [0x4e1ef0]
mov dword [ebp - 0x6c], esi
test edx, 0x100
jne 0x409664
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x1780]
jb 0x409664
mov eax, dword [esi + 0x10]
mov dword [esi + 0x1780], eax
mov dword [esi + 0x1754], 0
mov word [esi + 0x175d], 1
mov dword [esi + 0x1768], 0
jmp 0x40971c
test dl, dl
je 0x409719
movss xmm1, dword [eax + 0xcc]
mov ecx, edi
subss xmm1, dword [eax + 0x1760]
movss xmm0, dword [ebp - 0xc]
subss xmm0, dword [ebp - 0x14]
addss xmm1, xmm0
movss xmm0, dword [ebp - 8]
subss xmm0, dword [ebp - 0x10]
subss xmm1, dword [edi + 0x18]
movss dword [ebp - 0x64], xmm1
movss xmm1, dword [eax + 0xd0]
subss xmm1, dword [eax + 0x1764]
addss xmm1, xmm0
subss xmm1, dword [edi + 0x1c]
movss dword [ebp - 0x60], xmm1
push dword [ebp - 0x60]
push dword [ebp - 0x64]
call fcn.004079b0
mov edx, dword [ebp - 0x58]
add esp, 8
mov esi, dword [0x4e1ef0]
mov dword [ebp - 0x6c], esi
test edx, 0x100
jne 0x40971c
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x1780]
jb 0x40971c
mov eax, dword [esi + 0x10]
mov dword [esi + 0x1780], eax
jmp 0x40971c
mov edx, dword [ebp - 0x58]
test byte [edi + 8], 1
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x2c]
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ecx
je 0x409733
xorps xmm5, xmm5
jmp 0x409753
movss xmm0, dword [esi + 0x13e8]
movss xmm5, dword [esi + 0x16f8]
addss xmm0, xmm0
mulss xmm5, dword [edi + 0x250]
addss xmm5, xmm0
movss xmm0, dword [edi + 0x18]
addss xmm5, dword [edi + 0x1c]
movss xmm2, dword [edi + 0x1c]
movaps xmm1, xmm0
addss xmm1, dword [edi + 0x28]
movss xmm3, dword [0x4da46c]
movss dword [ebp - 0x9c], xmm0
movss dword [ebp - 0xa0], xmm5
movss dword [ebp - 0x80], xmm2
movss dword [ebp - 0x94], xmm1
movss dword [ebp - 0xb0], xmm0
movss dword [ebp - 0xac], xmm2
movss dword [ebp - 0xa8], xmm1
movss dword [ebp - 0xa4], xmm5
mov eax, dword [ebp - 0x78]
test edx, 0x4000
jne 0x4097d7
movss xmm1, dword [edi + 0x24]
addss xmm1, dword [eax + 0x34]
movss xmm0, dword [edi + 0x34]
comiss xmm0, xmm1
jbe 0x4097d3
test dl, 8
je 0x4097d7
xor cl, cl
jmp 0x4097d9
mov cl, 1
mov byte [edi + 0x75], cl
test edx, 0x8000
jne 0x409824
xorps xmm2, xmm2
test cl, cl
je 0x4097f2
movss xmm0, dword [eax + 0x50]
jmp 0x4097f5
xorps xmm0, xmm0
movss xmm1, dword [edi + 0x20]
subss xmm1, xmm0
movss xmm0, dword [edi + 0x30]
subss xmm1, dword [edi + 0x50]
comiss xmm0, xmm1
jbe 0x40981b
mov eax, edx
and eax, 0x808
cmp eax, 0x800
je 0x409824
mov byte [edi + 0x74], 0
xorps xmm1, xmm1
jmp 0x409833
mov eax, dword [ebp - 0x78]
xorps xmm2, xmm2
mov byte [edi + 0x74], 1
movss xmm1, dword [eax + 0x50]
test cl, cl
mov ecx, dword [ebp - 0x78]
je 0x409841
movss xmm0, dword [ecx + 0x50]
jmp 0x409844
xorps xmm0, xmm0
movss dword [edi + 0x78], xmm0
movss dword [edi + 0x7c], xmm1
test dl, dl
jns 0x409857
movaps xmm0, xmm3
jmp 0x40985a
xorps xmm0, xmm0
movss dword [edi + 0x80], xmm0
mov eax, 2
test edx, 0x800000
je 0x409876
mov eax, 0x12
jmp 0x409892
test edx, 0x3000000
jne 0x40988d
test edx, 0x100000
je 0x409892
mov eax, 3
jmp 0x409892
mov eax, 4
movss xmm6, dword [ebp - 0x18]
add eax, 8
add eax, eax
comiss xmm6, xmm2
movups xmm0, xmmword [ecx + eax*8]
movups xmmword [ebp - 0x14], xmm0
jae 0x4098ae
movss xmm6, dword [ebp - 8]
mulss xmm6, dword [ecx]
comiss xmm6, xmm2
jbe 0x4099f2
movss xmm1, dword [ebp - 0x14]
comiss xmm2, xmm1
jbe 0x4098ca
xorps xmm0, xmm0
jmp 0x4098d1
movaps xmm0, xmm3
minss xmm0, xmm1
movss xmm1, dword [0x4da504]
movss xmm5, dword [0x4da450]
movss xmm4, dword [ebp - 0x10]
comiss xmm2, xmm4
mulss xmm0, xmm1
addss xmm0, xmm5
cvttss2si ecx, xmm0
jbe 0x4098fc
xorps xmm0, xmm0
jmp 0x409903
movaps xmm0, xmm3
minss xmm0, xmm4
movss xmm4, dword [ebp - 0xc]
mulss xmm0, xmm1
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm2, xmm4
jbe 0x409923
xorps xmm0, xmm0
jmp 0x40992a
movaps xmm0, xmm3
minss xmm0, xmm4
mulss xmm0, xmm1
movss xmm4, dword [edi + 0x1c]
addss xmm0, xmm5
cvttss2si eax, xmm0
movaps xmm0, xmm3
movss xmm3, dword [edi + 0x18]
minss xmm0, xmm6
shl eax, 0x10
or ecx, eax
mulss xmm0, xmm1
addss xmm0, xmm5
cvttss2si eax, xmm0
movaps xmm0, xmm3
addss xmm0, dword [edi + 0x20]
shl eax, 0x18
or ecx, eax
test byte [edi + 8], 1
movss dword [ebp - 0x64], xmm0
movaps xmm0, xmm4
addss xmm0, dword [edi + 0x24]
movss dword [ebp - 0x60], xmm0
je 0x409982
xorps xmm1, xmm1
jmp 0x4099a2
movss xmm0, dword [esi + 0x13e8]
movss xmm1, dword [esi + 0x16f8]
addss xmm0, xmm0
mulss xmm1, dword [edi + 0x250]
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x74]
addss xmm3, xmm2
test dl, 1
addss xmm1, xmm4
mov edx, 0xf
mov eax, 0xc
cmovne eax, edx
push eax
push ecx
movss dword [esp], xmm0
lea eax, [ebp - 0x64]
push ecx
mov ecx, dword [edi + 0x254]
push eax
lea eax, [ebp - 0x1c]
movss dword [ebp - 0x1c], xmm3
push eax
movss dword [ebp - 0x18], xmm1
call fcn.0041d390
mov ecx, dword [0x4e1ef0]
xorps xmm2, xmm2
mov edx, dword [ebp - 0x58]
jmp 0x4099f5
mov ecx, dword [ebp - 0x6c]
test dl, 1
jne 0x409b2a
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x173c]
test edx, edx
je 0x409a1e
mov eax, dword [edi + 0x25c]
cmp eax, dword [edx + 0x25c]
mov eax, 0x1500
je 0x409a23
mov eax, 0x14e0
movups xmm1, xmmword [eax + ecx]
movss xmm0, dword [0x4da46c]
comiss xmm2, xmm1
movaps xmm4, xmm1
shufps xmm4, xmm1, 0xff
mulss xmm4, dword [ecx + 0x13c0]
movups xmmword [ebp - 0x14], xmm1
jbe 0x409a4c
xorps xmm3, xmm3
jmp 0x409a53
movaps xmm3, xmm0
minss xmm3, xmm1
movss xmm1, dword [0x4da504]
movss xmm6, dword [0x4da450]
movss xmm5, dword [ebp - 0x10]
comiss xmm2, xmm5
mulss xmm3, xmm1
addss xmm3, xmm6
cvttss2si edx, xmm3
jbe 0x409a7e
xorps xmm3, xmm3
jmp 0x409a85
movaps xmm3, xmm0
minss xmm3, xmm5
movss xmm5, dword [ebp - 0xc]
mulss xmm3, xmm1
addss xmm3, xmm6
cvttss2si eax, xmm3
shl eax, 8
or edx, eax
comiss xmm2, xmm5
jbe 0x409aa5
xorps xmm3, xmm3
jmp 0x409aac
movaps xmm3, xmm0
minss xmm3, xmm5
mulss xmm3, xmm1
addss xmm3, xmm6
cvttss2si eax, xmm3
shl eax, 0x10
or edx, eax
comiss xmm2, xmm4
jbe 0x409ac7
xorps xmm0, xmm0
jmp 0x409acb
minss xmm0, xmm4
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
movss xmm2, dword [ebp - 0x74]
mulss xmm0, xmm1
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x1c], eax
addss xmm0, xmm6
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0xac]
push 3
push ecx
movss dword [esp], xmm2
cvttss2si eax, xmm0
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + 0x254]
shl eax, 0x18
or eax, edx
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041d390
mov ecx, dword [0x4e1ef0]
mov edx, dword [ebp - 0x58]
test edx, 0x400
je 0x409dc7
mov eax, dword [edi + 8]
xorps xmm1, xmm1
test al, 1
je 0x409b45
xorps xmm3, xmm3
jmp 0x409b65
movss xmm0, dword [ecx + 0x13e8]
movss xmm3, dword [ecx + 0x16f8]
addss xmm0, xmm0
mulss xmm3, dword [edi + 0x250]
addss xmm3, xmm0
addss xmm3, dword [edi + 0x1c]
test eax, 0x400
je 0x409b93
movss xmm0, dword [ecx + 0x13e8]
movss xmm2, dword [ecx + 0x16f8]
addss xmm0, xmm0
mulss xmm2, dword [edi + 0x250]
addss xmm2, xmm0
jmp 0x409b96
xorps xmm2, xmm2
movss xmm7, dword [edi + 0x18]
movss dword [ebp - 0x10], xmm3
movaps xmm0, xmm7
movss dword [ebp - 0x14], xmm7
addss xmm3, xmm2
addss xmm0, dword [edi + 0x28]
movss dword [ebp - 8], xmm3
mov esi, dword [ebp - 8]
movss dword [ebp - 0xc], xmm0
test dl, dl
jns 0x409cc2
movups xmm2, xmmword [ecx + 0x1490]
mov eax, dword [ebp - 0xc]
movss xmm0, dword [0x4da46c]
comiss xmm1, xmm2
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], esi
movaps xmm5, xmm2
shufps xmm5, xmm2, 0xff
mulss xmm5, dword [ecx + 0x13c0]
movups xmmword [ebp - 0x24], xmm2
jbe 0x409bfb
xorps xmm4, xmm4
jmp 0x409c02
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm2, dword [0x4da504]
movss xmm6, dword [ebp - 0x20]
comiss xmm1, xmm6
mulss xmm4, xmm2
addss xmm4, dword [0x4da450]
cvttss2si ecx, xmm4
jbe 0x409c29
xorps xmm4, xmm4
jmp 0x409c30
movaps xmm4, xmm0
minss xmm4, xmm6
movss xmm6, dword [ebp - 0x1c]
mulss xmm4, xmm2
addss xmm4, dword [0x4da450]
cvttss2si eax, xmm4
shl eax, 8
or ecx, eax
comiss xmm1, xmm6
jbe 0x409c54
xorps xmm4, xmm4
jmp 0x409c5b
movaps xmm4, xmm0
minss xmm4, xmm6
movss xmm6, dword [0x4da450]
mulss xmm4, xmm2
addss xmm4, xmm6
cvttss2si eax, xmm4
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm5
jbe 0x409c7e
xorps xmm0, xmm0
jmp 0x409c82
minss xmm0, xmm5
mulss xmm0, xmm2
push ecx
mov dword [esp], 0x3f800000
movss dword [ebp - 0x1c], xmm7
addss xmm0, xmm6
movss dword [ebp - 0x18], xmm3
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov ecx, dword [edi + 0x254]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041d240
mov ecx, dword [0x4e1ef0]
mov edx, dword [ebp - 0x58]
xorps xmm0, xmm0
test dl, 1
je 0x409cd1
movss xmm6, dword [ebp - 0x74]
jmp 0x409cd4
xorps xmm6, xmm6
movups xmm2, xmmword [ecx + 0x1510]
mov eax, dword [ebp - 0xc]
movss xmm1, dword [0x4da46c]
comiss xmm0, xmm2
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], esi
movaps xmm4, xmm2
shufps xmm4, xmm2, 0xff
mulss xmm4, dword [ecx + 0x13c0]
movups xmmword [ebp - 0x24], xmm2
jbe 0x409d09
xorps xmm3, xmm3
jmp 0x409d10
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm2, dword [0x4da504]
movss xmm7, dword [0x4da450]
movss xmm5, dword [ebp - 0x20]
comiss xmm0, xmm5
mulss xmm3, xmm2
addss xmm3, xmm7
cvttss2si edx, xmm3
jbe 0x409d3b
xorps xmm3, xmm3
jmp 0x409d42
movaps xmm3, xmm1
minss xmm3, xmm5
movss xmm5, dword [ebp - 0x1c]
mulss xmm3, xmm2
addss xmm3, xmm7
cvttss2si eax, xmm3
shl eax, 8
or edx, eax
comiss xmm0, xmm5
jbe 0x409d62
xorps xmm3, xmm3
jmp 0x409d69
movaps xmm3, xmm1
minss xmm3, xmm5
mulss xmm3, xmm2
addss xmm3, xmm7
cvttss2si eax, xmm3
shl eax, 0x10
or edx, eax
comiss xmm0, xmm4
jbe 0x409d84
xorps xmm1, xmm1
jmp 0x409d88
minss xmm1, xmm4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mulss xmm1, xmm2
mov dword [ebp - 0x1c], eax
push 3
push ecx
addss xmm1, xmm7
movss dword [esp], xmm6
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + 0x254]
cvttss2si eax, xmm1
shl eax, 0x18
or eax, edx
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041d390
mov ecx, dword [0x4e1ef0]
cmp byte [edi + 0x74], 0
je 0x409ddc
mov dl, 1
mov ecx, edi
call fcn.0040b1b0
mov ecx, dword [0x4e1ef0]
cmp byte [edi + 0x75], 0
je 0x409df1
xor dl, dl
mov ecx, edi
call fcn.0040b1b0
mov ecx, dword [0x4e1ef0]
mov eax, dword [ebp - 0x58]
test al, 2
jne 0x409fa3
movss xmm1, dword [edi + 0x20]
addss xmm1, dword [edi + 0x18]
movss xmm2, dword [edi + 0x24]
addss xmm2, dword [edi + 0x1c]
movss xmm3, dword [ebp - 0x7c]
xorps xmm3, xmmword [0x4da620]
mov esi, dword [edi + 0x254]
movaps xmm0, xmm1
addss xmm0, xmm3
movss dword [ebp - 0x7c], xmm3
movaps xmm3, xmm2
movss dword [ebp - 0xa4], xmm1
subss xmm3, dword [edi + 0x80]
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x4c]
movss dword [ebp - 0x6c], xmm2
movss dword [ebp - 0x18], xmm0
movss dword [ebp - 0x60], xmm3
cmp ecx, eax
jne 0x409e93
inc ecx
test eax, eax
je 0x409e69
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 0x50]
jmp 0x409e6e
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x4c]
call fcn.00413ed0
movss xmm1, dword [ebp - 0xa4]
movss xmm2, dword [ebp - 0x6c]
movss xmm0, dword [ebp - 0x18]
movss xmm3, dword [ebp - 0x60]
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + 0x54]
movss dword [eax + ecx*8], xmm0
movaps xmm0, xmm1
movss dword [eax + ecx*8 + 4], xmm3
movaps xmm3, xmm2
inc dword [esi + 0x4c]
mov esi, dword [edi + 0x254]
subss xmm0, dword [edi + 0x80]
addss xmm3, dword [ebp - 0x7c]
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x4c]
movss dword [ebp - 0x60], xmm0
movss dword [ebp - 0x18], xmm3
cmp ecx, eax
jne 0x409f0d
inc ecx
test eax, eax
je 0x409ee3
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 0x50]
jmp 0x409ee8
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x4c]
call fcn.00413ed0
movss xmm1, dword [ebp - 0xa4]
movss xmm2, dword [ebp - 0x6c]
movss xmm0, dword [ebp - 0x60]
movss xmm3, dword [ebp - 0x18]
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + 0x54]
push 3
push 0
movss dword [eax + ecx*8], xmm0
movss dword [eax + ecx*8 + 4], xmm3
lea eax, [ebp - 0x64]
movss xmm3, dword [ebp - 0x74]
inc dword [esi + 0x4c]
subss xmm2, xmm3
movss xmm0, dword [edi + 0x80]
subss xmm1, xmm3
mov ecx, dword [edi + 0x254]
push eax
subss xmm2, xmm0
subss xmm1, xmm0
movss dword [ebp - 0x60], xmm2
movaps xmm2, xmm3
movss dword [ebp - 0x64], xmm1
call fcn.0041cbb0
mov ecx, dword [edi + 0x254]
push ecx
push dword [ebp - 0x28]
lea esi, [ecx + 0x4c]
push dword [esi]
push dword [ecx + 0x54]
call fcn.0041c750
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x409f94
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00413ed0
mov ecx, dword [0x4e1ef0]
mov eax, dword [ebp - 0x58]
mov dword [esi], 0
test al, al
jns 0x40a3f5
movss xmm4, dword [edi + 0x18]
movss xmm0, dword [0x4da46c]
movaps xmm1, xmm4
movss xmm5, dword [edi + 0x1c]
addss xmm1, xmm0
movups xmm3, xmmword [ecx + 0x14a0]
mov eax, dword [edi + 0x254]
addss xmm4, dword [edi + 0x20]
movaps xmm6, xmm3
mov dword [ebp - 0x28], eax
movss dword [ebp - 0x60], xmm1
movaps xmm1, xmm5
addss xmm5, dword [edi + 0x24]
addss xmm1, xmm0
shufps xmm6, xmm3, 0xff
mulss xmm6, dword [ecx + 0x13c0]
addss xmm4, xmm0
movups xmmword [ebp - 0x14], xmm3
movss dword [ebp - 0x18], xmm1
addss xmm5, xmm0
xorps xmm1, xmm1
comiss xmm1, xmm3
jbe 0x40a017
xorps xmm2, xmm2
jmp 0x40a01e
movaps xmm2, xmm0
minss xmm2, xmm3
movss xmm3, dword [0x4da504]
movss xmm7, dword [ebp - 0x10]
comiss xmm1, xmm7
mulss xmm2, xmm3
addss xmm2, dword [0x4da450]
cvttss2si edx, xmm2
jbe 0x40a045
xorps xmm2, xmm2
jmp 0x40a04c
movaps xmm2, xmm0
minss xmm2, xmm7
movss xmm7, dword [ebp - 0xc]
mulss xmm2, xmm3
addss xmm2, dword [0x4da450]
cvttss2si eax, xmm2
shl eax, 8
or edx, eax
comiss xmm1, xmm7
jbe 0x40a070
xorps xmm2, xmm2
jmp 0x40a077
movaps xmm2, xmm0
minss xmm2, xmm7
movss xmm7, dword [0x4da450]
mulss xmm2, xmm3
addss xmm2, xmm7
cvttss2si eax, xmm2
shl eax, 0x10
or edx, eax
comiss xmm1, xmm6
jbe 0x40a09a
xorps xmm2, xmm2
jmp 0x40a0a1
movaps xmm2, xmm0
minss xmm2, xmm6
mulss xmm2, xmm3
addss xmm2, xmm7
cvttss2si esi, xmm2
shl esi, 0x18
or esi, edx
test esi, 0xff000000
je 0x40a170
movss xmm0, dword [ebp - 0x60]
subss xmm4, xmm7
movss xmm3, dword [ebp - 0x74]
addss xmm0, xmm7
mov ecx, dword [ebp - 0x28]
subss xmm5, xmm7
push 0xffffffffffffffff
lea eax, [ebp - 0xa8]
push eax
movss dword [ebp - 0x64], xmm0
lea eax, [ebp - 0x64]
movss xmm0, dword [ebp - 0x18]
addss xmm0, xmm7
movss dword [ebp - 0xa8], xmm4
push eax
movss dword [ebp - 0xa4], xmm5
movss dword [ebp - 0x60], xmm0
call fcn.0041cf00
mov ecx, dword [ebp - 0x28]
push 1
push ecx
mov dword [esp], 0x3f800000
push 1
push esi
push dword [ecx + 0x4c]
lea esi, [ecx + 0x4c]
push dword [ecx + 0x54]
call fcn.0041bad0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x40a149
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00413ed0
mov ecx, dword [0x4e1ef0]
xorps xmm1, xmm1
movss xmm0, dword [0x4da46c]
movss xmm3, dword [0x4da504]
movss xmm7, dword [0x4da450]
mov dword [esi], 0
movups xmm5, xmmword [ecx + 0x1490]
comiss xmm1, xmm5
movaps xmm4, xmm5
shufps xmm4, xmm5, 0xff
mulss xmm4, dword [ecx + 0x13c0]
movups xmmword [ebp - 0x14], xmm5
jbe 0x40a194
xorps xmm2, xmm2
jmp 0x40a19b
movaps xmm2, xmm0
minss xmm2, xmm5
movss xmm5, dword [ebp - 0x10]
comiss xmm1, xmm5
mulss xmm2, xmm3
addss xmm2, xmm7
cvttss2si esi, xmm2
jbe 0x40a1b6
xorps xmm2, xmm2
jmp 0x40a1bd
movaps xmm2, xmm0
minss xmm2, xmm5
movss xmm5, dword [ebp - 0xc]
mulss xmm2, xmm3
addss xmm2, xmm7
cvttss2si eax, xmm2
shl eax, 8
or esi, eax
comiss xmm1, xmm5
jbe 0x40a1dd
xorps xmm2, xmm2
jmp 0x40a1e4
movaps xmm2, xmm0
minss xmm2, xmm5
mulss xmm2, xmm3
addss xmm2, xmm7
cvttss2si eax, xmm2
shl eax, 0x10
or esi, eax
comiss xmm1, xmm4
jbe 0x40a1ff
xorps xmm0, xmm0
jmp 0x40a203
minss xmm0, xmm4
movss xmm4, dword [edi + 0x18]
movss xmm5, dword [edi + 0x1c]
mulss xmm0, xmm3
movaps xmm2, xmm5
addss xmm2, dword [edi + 0x24]
addss xmm0, xmm7
cvttss2si eax, xmm0
movaps xmm0, xmm4
addss xmm0, dword [edi + 0x20]
shl eax, 0x18
or esi, eax
mov eax, dword [edi + 0x254]
mov dword [ebp - 0x60], eax
test esi, 0xff000000
je 0x40a2d9
movss xmm3, dword [ebp - 0x74]
lea ecx, [ebp - 0x1c]
push 0xffffffffffffffff
push ecx
subss xmm0, xmm7
subss xmm2, xmm7
addss xmm4, xmm7
addss xmm5, xmm7
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x2c], xmm4
movss dword [ebp - 0x28], xmm5
call fcn.0041cf00
mov ecx, dword [ebp - 0x60]
push 1
push ecx
mov dword [esp], 0x3f800000
push 1
push esi
push dword [ecx + 0x4c]
lea esi, [ecx + 0x4c]
push dword [ecx + 0x54]
call fcn.0041bad0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x40a2ba
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00413ed0
mov ecx, dword [0x4e1ef0]
xorps xmm1, xmm1
movss xmm3, dword [0x4da504]
movss xmm7, dword [0x4da450]
mov dword [esi], 0
test byte [ebp - 0x58], 1
jne 0x40a3f5
movss xmm0, dword [ebp - 0xa0]
movss xmm2, dword [0x4da46c]
addss xmm0, xmm1
movss xmm4, dword [ebp - 0x9c]
movups xmm5, xmmword [ecx + 0x1490]
movss xmm6, dword [ebp - 0x94]
addss xmm4, xmm2
comiss xmm1, xmm5
movss dword [ebp - 0x18], xmm0
subss xmm6, xmm2
movss xmm0, dword [ebp - 0xa0]
movss dword [ebp - 0x1c], xmm4
subss xmm0, xmm1
movaps xmm4, xmm5
shufps xmm4, xmm5, 0xff
mulss xmm4, dword [ecx + 0x13c0]
movss dword [ebp - 0x64], xmm6
movss dword [ebp - 0x60], xmm0
movups xmmword [ebp - 0x14], xmm5
jbe 0x40a353
xorps xmm0, xmm0
jmp 0x40a35a
movaps xmm0, xmm2
minss xmm0, xmm5
movss xmm5, dword [ebp - 0x10]
comiss xmm1, xmm5
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si ecx, xmm0
jbe 0x40a375
xorps xmm0, xmm0
jmp 0x40a37c
movaps xmm0, xmm2
minss xmm0, xmm5
movss xmm5, dword [ebp - 0xc]
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm5
jbe 0x40a39c
xorps xmm0, xmm0
jmp 0x40a3a3
movaps xmm0, xmm2
minss xmm0, xmm5
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm4
jbe 0x40a3be
xorps xmm2, xmm2
jmp 0x40a3c2
minss xmm2, xmm4
mulss xmm2, xmm3
push ecx
mov dword [esp], 0x3f800000
addss xmm2, xmm7
cvttss2si eax, xmm2
shl eax, 0x18
or eax, ecx
mov ecx, dword [edi + 0x254]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041d240
mov ecx, dword [0x4e1ef0]
movss xmm4, dword [edi + 0x50]
xorps xmm1, xmm1
movss xmm5, dword [edi + 0x5c]
movaps xmm0, xmm4
mov esi, dword [edi + 8]
subss xmm0, xmm5
movss dword [edi + 0x40], xmm0
test esi, 0x400
je 0x40a43b
movss xmm0, dword [ecx + 0x13e8]
movss xmm2, dword [ecx + 0x16f8]
addss xmm0, xmm0
mulss xmm2, dword [edi + 0x250]
addss xmm2, xmm0
jmp 0x40a43e
xorps xmm2, xmm2
mov edx, esi
and edx, 1
je 0x40a44a
xorps xmm3, xmm3
jmp 0x40a46a
movss xmm0, dword [ecx + 0x13e8]
movss xmm3, dword [ecx + 0x16f8]
addss xmm0, xmm0
mulss xmm3, dword [edi + 0x250]
addss xmm3, xmm0
movss xmm6, dword [edi + 0x54]
movss xmm7, dword [edi + 0x60]
movaps xmm0, xmm6
subss xmm0, xmm7
addss xmm0, xmm3
addss xmm0, xmm2
movss xmm2, dword [edi + 0x38]
ucomiss xmm2, xmm1
movss dword [edi + 0x44], xmm0
lahf
test ah, 0x44
jp 0x40a4a0
movss xmm2, dword [edi + 0x20]
subss xmm2, dword [edi + 0x78]
movss xmm3, dword [0x4da620]
movaps xmm0, xmm5
xorps xmm0, xmm3
subss xmm0, xmm4
addss xmm0, xmm2
movss xmm2, dword [edi + 0x3c]
ucomiss xmm2, xmm1
movss dword [edi + 0x48], xmm0
lahf
test ah, 0x44
jp 0x40a4d3
movss xmm2, dword [edi + 0x24]
subss xmm2, dword [edi + 0x7c]
mov dword [edi + 0x188], 0
movaps xmm0, xmm7
mov dword [edi + 0x18c], 0
xorps xmm0, xmm3
subss xmm0, xmm6
addss xmm0, xmm2
movaps xmm2, xmm4
addss xmm2, xmm1
movss dword [edi + 0x4c], xmm0
subss xmm2, xmm5
movss dword [edi + 0x184], xmm2
test edx, edx
je 0x40a516
xorps xmm3, xmm3
jmp 0x40a536
movss xmm0, dword [ecx + 0x13e8]
movss xmm3, dword [ecx + 0x16f8]
addss xmm0, xmm0
mulss xmm3, dword [edi + 0x250]
addss xmm3, xmm0
addss xmm2, xmm1
test esi, 0x400
je 0x40a562
movss xmm0, dword [ecx + 0x13e8]
movss xmm1, dword [ecx + 0x16f8]
addss xmm0, xmm0
mulss xmm1, dword [edi + 0x250]
addss xmm1, xmm0
addss xmm2, dword [edi + 0x18]
mov eax, dword [ebp - 0x78]
addss xmm1, xmm3
addss xmm1, xmm6
subss xmm1, xmm7
addss xmm1, dword [edi + 0x1c]
movss dword [edi + 0xc8], xmm2
movss dword [edi + 0xb8], xmm2
movss dword [edi + 0xc0], xmm2
movss dword [edi + 0xd0], xmm2
movss dword [edi + 0xcc], xmm1
movaps xmm0, xmm1
subss xmm0, dword [0x4da508]
movss dword [edi + 0xbc], xmm1
movss dword [edi + 0xc4], xmm1
movss dword [edi + 0xd4], xmm1
mov dword [edi + 0xe0], 0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xe4], 0
mov dword [edi + 0xdc], 0
mov byte [edi + 0x106], 0
maxss xmm4, dword [eax + 0x30]
movss dword [edi + 0xe8], xmm0
movss dword [edi + 0x108], xmm4
mov ecx, dword [edi + 0x110]
test ecx, ecx
jns 0x40a630
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x10c]
call fcn.00413b10
mov dword [edi + 0x10c], 0
mov eax, dword [edi + 0x1f0]
mov dword [edi + 0x11c], 0
mov dword [edi + 0x120], eax
mov dword [edi + 0x124], 0xbf800000
mov word [edi + 0x128], 1
mov ecx, dword [edi + 0x130]
test ecx, ecx
jns 0x40a689
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x12c]
call fcn.00413b10
mov dword [edi + 0x12c], 0
mov ecx, dword [edi + 0x148]
test ecx, ecx
jns 0x40a6b9
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x144]
call fcn.00413de0
mov dword [edi + 0x144], 0
mov ecx, dword [edi + 0x154]
test ecx, ecx
jns 0x40a6e9
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x150]
call fcn.00413de0
mov dword [edi + 0x150], 0
mov ecx, dword [edi + 0x13c]
test ecx, ecx
jns 0x40a719
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x138]
call fcn.00413b10
mov dword [edi + 0x138], 0
lea eax, [edi + 0x244]
movss xmm0, dword [edi + 0xbc]
lea ecx, [edi + 0x15c]
mov dword [edi + 0x190], 0
mov dword [edi + 0x194], 1
movss dword [edi + 0x1a0], xmm0
movss dword [edi + 0x1a8], xmm0
movss dword [edi + 0x1a4], xmm0
mov dword [edi + 0xec], 0
push 0
mov dword [edi + 0x118], eax
call fcn.00413980
cmp byte [ebp - 0x52], 0
lea ecx, [edi + 0x224]
mov eax, dword [ebp - 0x78]
mov dword [edi + 0x168], 0xfffffffe
movss xmm0, dword [eax + 0x30]
mov dword [edi + 0x1f4], 3
mov dword [edi + 0x200], 0
mov dword [edi + 0x1fc], 0
movss dword [edi + 0x1f8], xmm0
jne 0x40a7c8
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
movups xmmword [ecx + 0x10], xmm0
xor edx, edx
cmp dword [edi + 0x1f4], edx
jle 0x40a834
xorps xmm1, xmm1
test edx, edx
jle 0x40a7fa
movss xmm0, dword [ecx]
comiss xmm0, xmm1
jbe 0x40a7fa
movss xmm0, dword [edi + 0x1f8]
addss xmm0, dword [edi + 0x1fc]
movss dword [edi + 0x1fc], xmm0
cvttss2si eax, dword [edi + 0x1fc]
inc edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx - 0x20], xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [edi + 0x1fc]
movss dword [edi + 0x1fc], xmm0
mov dword [ecx], 0
add ecx, 4
cmp edx, dword [edi + 0x1f4]
jl 0x40a7d5
mov eax, dword [edi + 0x94]
test eax, eax
jle 0x40a845
dec eax
mov dword [edi + 0x94], eax
mov eax, dword [edi + 0x98]
test eax, eax
jle 0x40a856
dec eax
mov dword [edi + 0x98], eax
cmp byte [ebp - 0x52], 0
mov eax, dword [ebp - 0x58]
jne 0x40a87e
test eax, 0x1000
jne 0x40a87e
test eax, 0x1100000
je 0x40a874
test eax, 0x2000000
je 0x40a87e
mov ecx, edi
call fcn.0040b910
mov eax, dword [ebp - 0x58]
test al, 1
jne 0x40ab58
cmp dword [ebp - 0xbc], 0
je 0x40a951
test byte [edi + 8], 1
mov esi, dword [0x4e1ef0]
je 0x40a8a4
xorps xmm2, xmm2
jmp 0x40a8c4
movss xmm0, dword [esi + 0x13e8]
movss xmm2, dword [esi + 0x16f8]
addss xmm0, xmm0
mulss xmm2, dword [edi + 0x250]
addss xmm2, xmm0
subss xmm2, dword [0x4da4a0]
movss xmm1, dword [edi + 0x20]
xor edx, edx
addss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x4da51c]
mov ecx, dword [edi + 0x1c0]
mulss xmm2, dword [0x4da450]
mov eax, dword [edi + 0x1c8]
subss xmm0, xmm2
push dword [eax + ecx*4 - 4]
mov ecx, str.CLOSE
addss xmm1, xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x4da484]
movss dword [ebp - 0x64], xmm1
movss xmm1, dword [edi + 0x1c]
addss xmm1, xmm0
movss dword [ebp - 0x60], xmm1
call fcn.004029c0
add esp, 4
cmp dword [esi + 0x1754], eax
jne 0x40a93a
mov byte [esi + 0x175c], 1
lea edx, [ebp - 0x64]
mov ecx, eax
call fcn.0040ca60
test al, al
je 0x40a951
mov eax, dword [ebp - 0xbc]
mov byte [eax], 0
mov edx, dword [ebp - 0xb4]
mov ecx, edx
cmp edx, 0xffffffff
jae 0x40a97c
nop
mov dl, byte [ecx]
test dl, dl
je 0x40a976
cmp dl, 0x23
jne 0x40a970
cmp byte [ecx + 1], dl
je 0x40a976
inc ecx
cmp ecx, 0xffffffff
jb 0x40a960
mov edx, dword [ebp - 0xb4]
mov eax, dword [0x4e1ef0]
movss xmm0, dword [eax + 0x16f4]
mov esi, dword [eax + 0x16f0]
movss dword [ebp - 0x94], xmm0
cmp edx, ecx
jne 0x40a9a4
mov dword [ebp - 0x64], 0
jmp 0x40aa08
movss xmm3, dword [0x4da50c]
lea eax, [ebp - 0x1c]
push ecx
push ecx
push edx
push ecx
mov dword [esp], 0xbf800000
movaps xmm2, xmm0
push eax
mov ecx, esi
call fcn.0041fa20
movss xmm0, dword [ebp - 0x1c]
comiss xmm0, dword [0x4da414]
jbe 0x40a9e3
movss xmm1, dword [ebp - 0x94]
divss xmm1, dword [esi]
subss xmm0, xmm1
addss xmm0, dword [0x4da468]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x64], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0x94], xmm0
mov esi, dword [ebp - 0x58]
movss dword [ebp - 0x60], xmm0
and esi, 0x20
jne 0x40aa56
mov eax, dword [ebp - 0x78]
movss xmm0, dword [edi + 0x18]
cmp byte [edi + 0x87], 0
movss xmm1, dword [0x4da46c]
addss xmm0, dword [eax + 0x24]
sete cl
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [edi + 0x1c]
addss xmm0, dword [eax + 0x28]
movss dword [ebp - 0x18], xmm0
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.00406cc0
add esp, 8
mov ecx, dword [ebp - 0x78]
movss xmm0, dword [edi + 0x1c]
movss xmm4, dword [edi + 0x18]
movss xmm3, dword [edi + 0x20]
movss xmm2, dword [ecx + 0x28]
addss xmm3, xmm4
mov edx, dword [ebp - 0xbc]
addss xmm2, xmm2
movss dword [ebp - 0x28], xmm0
addss xmm2, dword [ebp - 0x94]
addss xmm2, xmm0
movss dword [ebp - 0x18], xmm2
test edx, edx
je 0x40aaac
movss xmm1, dword [ebp - 0xa0]
subss xmm1, dword [ebp - 0x80]
subss xmm1, dword [0x4da498]
jmp 0x40aab1
movss xmm1, dword [ecx + 0x24]
mov eax, dword [ebp - 0x5c]
movaps xmm0, xmm3
movss dword [ebp - 8], xmm2
subss xmm0, xmm1
movss dword [ebp - 0xc], xmm0
test esi, esi
jne 0x40aae0
movss xmm1, dword [ecx + 0x24]
movaps xmm2, xmm1
addss xmm2, dword [eax + 0x16f4]
addss xmm2, dword [ecx + 0x38]
jmp 0x40aae8
movss xmm2, dword [ecx + 0x24]
movaps xmm1, xmm2
test edx, edx
je 0x40aaf9
addss xmm1, dword [eax + 0x16f4]
addss xmm1, dword [ecx + 0x38]
movss xmm5, dword [ecx + 0x18]
lea eax, [ecx + 0x18]
comiss xmm5, dword [0x4da414]
jbe 0x40ab19
movaps xmm0, xmm2
subss xmm0, xmm1
mulss xmm0, xmm5
addss xmm1, xmm0
movss xmm0, dword [edi + 0x1c]
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x64]
movss dword [ebp - 0x10], xmm0
addss xmm4, xmm2
push eax
subss xmm3, xmm1
push ecx
push dword [ebp - 0xb4]
lea edx, [ebp - 0x1c]
movss dword [ebp - 0x2c], xmm4
lea ecx, [ebp - 0x2c]
movss dword [ebp - 0x14], xmm4
movss dword [ebp - 0x1c], xmm3
call fcn.004064f0
add esp, 0x14
movss xmm0, dword [edi + 0x18]
movss xmm1, dword [edi + 0x1c]
movaps xmm2, xmm0
addss xmm2, dword [edi + 0x20]
movaps xmm3, xmm1
addss xmm3, dword [edi + 0x24]
movss dword [edi + 0x1dc], xmm0
movss dword [edi + 0x1e0], xmm1
movss dword [edi + 0x1e4], xmm2
movss dword [edi + 0x1e8], xmm3
movss xmm0, dword [edi + 0x1cc]
comiss xmm0, dword [edi + 0x1dc]
jbe 0x40abbb
movss xmm2, dword [edi + 0x1e4]
movss xmm3, dword [edi + 0x1e8]
movss dword [edi + 0x1dc], xmm0
movss xmm0, dword [edi + 0x1d0]
comiss xmm0, dword [edi + 0x1e0]
jbe 0x40abd4
movss dword [edi + 0x1e0], xmm0
movss xmm0, dword [edi + 0x1d4]
comiss xmm2, xmm0
jbe 0x40abe9
movss dword [edi + 0x1e4], xmm0
movss xmm0, dword [edi + 0x1d8]
comiss xmm3, xmm0
movss xmm5, dword [0x4da450]
jbe 0x40ac06
movss dword [edi + 0x1e8], xmm0
mov edx, dword [edi + 8]
xorps xmm1, xmm1
mov ecx, dword [0x4e1ef0]
test dl, 1
je 0x40ac1c
xorps xmm2, xmm2
jmp 0x40ac3c
movss xmm0, dword [ecx + 0x13e8]
movss xmm2, dword [ecx + 0x16f8]
addss xmm0, xmm0
mulss xmm2, dword [edi + 0x250]
addss xmm2, xmm0
movss xmm0, dword [edi + 0x50]
movss xmm3, dword [edi + 0x18]
movss xmm6, dword [edi + 0x80]
addss xmm3, xmm5
mulss xmm0, xmm5
movaps xmm4, xmm6
movss xmm7, dword [edi + 0x1c]
addss xmm2, xmm7
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm4, xmm0
movaps xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
movd xmm5, eax
cvtdq2ps xmm5, xmm5
test edx, 0x400
je 0x40acab
movss xmm0, dword [ecx + 0x13e8]
movss xmm1, dword [ecx + 0x16f8]
addss xmm0, xmm0
mulss xmm1, dword [edi + 0x250]
addss xmm1, xmm0
addss xmm2, dword [0x4da450]
addss xmm3, dword [edi + 0x20]
addss xmm7, dword [0x4da450]
addss xmm2, xmm1
movaps xmm1, xmm5
subss xmm3, dword [edi + 0x78]
addss xmm7, dword [edi + 0x24]
movss dword [ebp - 0x90], xmm1
addss xmm2, xmm6
subss xmm3, xmm4
subss xmm7, dword [edi + 0x7c]
cvttss2si eax, xmm2
subss xmm7, dword [edi + 0x80]
movd xmm6, eax
cvttss2si eax, xmm3
cvtdq2ps xmm6, xmm6
movd xmm4, eax
cvttss2si eax, xmm7
cvtdq2ps xmm4, xmm4
movd xmm7, eax
movaps xmm0, xmm6
mov eax, dword [ecx + 0x172c]
movaps xmm3, xmm4
cvtdq2ps xmm7, xmm7
mov byte [eax + 0x86], 1
mov eax, dword [ecx + 0x172c]
mov dword [ebp - 0x18], eax
movaps xmm2, xmm7
movss dword [ebp - 0x8c], xmm0
movss dword [ebp - 0x88], xmm3
mov eax, dword [eax + 0x254]
mov dword [ebp - 0x80], eax
movss dword [ebp - 0x84], xmm2
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x40ade3
mov eax, dword [eax + 0x3c]
add ecx, ecx
movss dword [ebp - 0x90], xmm1
movups xmm0, xmmword [eax + ecx*8 - 0x10]
comiss xmm0, xmm5
movups xmmword [ebp - 0x14], xmm0
jbe 0x40ad80
movaps xmm1, xmm0
movss dword [ebp - 0x90], xmm1
movss xmm2, dword [ebp - 0x10]
movaps xmm0, xmm6
comiss xmm2, xmm6
movss dword [ebp - 0x8c], xmm0
jbe 0x40ada0
movaps xmm0, xmm2
movss dword [ebp - 0x8c], xmm0
movss xmm2, dword [ebp - 0xc]
movaps xmm3, xmm4
comiss xmm4, xmm2
movss dword [ebp - 0x88], xmm3
jbe 0x40adc0
movaps xmm3, xmm2
movss dword [ebp - 0x88], xmm3
movss xmm4, dword [ebp - 8]
movaps xmm2, xmm7
comiss xmm7, xmm4
mov eax, dword [ebp - 0x80]
movss dword [ebp - 0x84], xmm2
jbe 0x40ade3
movaps xmm2, xmm4
movss dword [ebp - 0x84], xmm2
comiss xmm1, xmm3
jb 0x40adf0
movss dword [ebp - 0x88], xmm1
comiss xmm0, xmm2
jb 0x40adfd
movss dword [ebp - 0x84], xmm0
mov ecx, dword [eax + 0x38]
lea esi, [eax + 0x34]
mov edx, dword [esi]
cmp edx, ecx
jne 0x40ae31
inc edx
mov dword [ebp - 0x60], edx
test ecx, ecx
je 0x40ae1f
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x60]
sar eax, 1
add eax, ecx
jmp 0x40ae24
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.004205f0
mov eax, dword [esi]
mov edx, dword [esi + 8]
add eax, eax
movups xmm0, xmmword [ebp - 0x90]
mov ecx, dword [ebp - 0x80]
movups xmmword [edx + eax*8], xmm0
inc dword [esi]
call fcn.0041b5c0
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x254]
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x3c]
shl ecx, 4
movss xmm0, dword [eax + ecx - 0xc]
movss xmm1, dword [eax + ecx - 8]
movss xmm2, dword [eax + ecx - 4]
mov eax, dword [eax + ecx - 0x10]
mov dword [edx + 0x1cc], eax
mov eax, dword [ebp - 0xc0]
movss dword [edx + 0x1d0], xmm0
movss dword [edx + 0x1d4], xmm1
movss dword [edx + 0x1d8], xmm2
cmp eax, dword [ebp - 0xb8]
je 0x40aea8
mov byte [edi + 0x86], 0
mov eax, dword [ebp - 0x5c]
inc dword [edi + 0x8c]
mov edx, dword [ebp - 0x58]
mov byte [eax + 0x1804], 0
test edx, 0x100000
je 0x40af36
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x40aeda
cmp byte [eax + 0x87], 0
je 0x40aeda
mov cl, 1
jmp 0x40aedc
xor cl, cl
mov byte [edi + 0x87], cl
mov al, cl
test dl, 0x40
jne 0x40af2b
cmp dword [edi + 0x94], 0
jg 0x40af2b
cmp dword [edi + 0x98], 0
jg 0x40af2b
movss xmm0, dword [edi + 0x1dc]
comiss xmm0, dword [edi + 0x1e4]
jae 0x40af21
movss xmm0, dword [edi + 0x1e0]
comiss xmm0, dword [edi + 0x1e8]
jae 0x40af21
xor al, al
jmp 0x40af23
mov al, 1
or al, cl
mov byte [edi + 0x87], al
test al, al
je 0x40af36
mov byte [edi + 0x84], 0
mov eax, dword [ebp - 0x78]
xorps xmm0, xmm0
comiss xmm0, dword [eax]
jb 0x40af48
mov byte [edi + 0x84], 0
cmp byte [edi + 0x87], 0
jne 0x40af5a
cmp byte [edi + 0x84], 0
jne 0x40af70
cmp dword [edi + 0x94], 0
jg 0x40af70
cmp dword [edi + 0x98], 0
jg 0x40af70
mov al, 1
jmp 0x40af72
xor al, al
mov ecx, dword [ebp - 4]
mov byte [edi + 0x88], al
xor ecx, ebp
pop edi
xor al, 1
pop esi
call fcn.00437877
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret