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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, dword [0x49a080]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [0x4b5f50]
push esi
mov esi, eax
mov dword [esp + 0x50], ecx
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], esi
call fcn.00407c30
mov dword [esp + 0x34], eax
mov edi, eax
mov dword [esp + 0x5c], edi
test eax, eax
jne 0x408fdf
mov edx, dword [esi + 0x1a40]
test edx, edx
je 0x408f7d
mov eax, dword [esi + 0x1a68]
mov ecx, dword [esi + 0x1a6c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
jmp 0x408f93
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
test edx, edx
lea ecx, [esp + 0x4c]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xd0]
cmovne eax, ecx
mov ecx, dword [esp + 0x54]
movss xmm0, dword [eax]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x7c], xmm0
push dword [esp + 0x7c]
push dword [esp + 0x7c]
call fcn.00407ca0
mov edi, eax
add esp, 8
mov eax, dword [0x4b5f50]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x14]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x408ffa
or edx, 6
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x1950]
mov ecx, dword [edi + 0x218]
mov dword [esp + 0x60], eax
mov dword [esp + 0x74], ecx
cmp ecx, eax
je 0x409017
mov dword [edi + 8], edx
jmp 0x40901e
mov edx, dword [edi + 8]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x1980], 0
lea ecx, [esi + 0x1980]
mov dword [esp + 0x24], ecx
jne 0x409035
xor eax, eax
jmp 0x409045
mov eax, dword [esi + 0x1988]
mov esi, dword [ecx]
mov eax, dword [eax + esi*4 - 4]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x74]
cmp edi, dword [esp + 0x60]
mov edi, dword [esp + 0x5c]
je 0x40906b
mov esi, edx
and esi, 0x5000000
neg esi
sbb esi, esi
and esi, eax
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x30]
jmp 0x409075
mov eax, dword [edi + 0x2e8]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x60]
dec eax
mov byte [edi + 0x7e], 0
cmp dword [esp + 0x74], eax
mov eax, dword [edi + 0xa4]
mov dword [esp + 0x20], eax
setl byte [esp + 0x1b]
mov eax, edx
and eax, 0x4000000
mov dword [esp + 0x2c], eax
je 0x4090da
mov eax, dword [esi + 0x1a30]
lea esi, [eax + eax*8]
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x1a2c]
mov eax, dword [edi + 0x88]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov esi, dword [esp + 0x30]
setne al
or cl, al
mov al, byte [esp + 0x1b]
or al, cl
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x1b], al
jmp 0x4090de
mov al, byte [esp + 0x1b]
test al, al
jne 0x4090ee
cmp dword [esp + 0x20], 0
jg 0x4090ee
mov byte [edi + 0x7c], al
jmp 0x409107
or dword [edi + 0xa8], 8
or dword [edi + 0xac], 8
or dword [edi + 0xb0], 8
mov byte [edi + 0x7c], 1
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x409149
inc edx
mov dword [esp + 0x24], edx
test eax, eax
je 0x409127
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40912c
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00412e60
mov edx, dword [0x4b5f50]
lea ecx, [esi + 0x1980]
mov dword [esp + 0x1c], edx
jmp 0x40914d
mov edx, dword [esp + 0x1c]
mov ecx, dword [ecx]
mov eax, dword [esi + 0x1988]
mov dword [eax + ecx*4], edi
lea ecx, [edi + 0x1a0]
inc dword [esi + 0x1980]
cmp dword [esp + 0x2c], 0
movss xmm0, dword [edx + 0x18c0]
mov dword [edx + 0x199c], edi
mulss xmm0, dword [edi + 0x268]
movss dword [edx + 0x18d0], xmm0
movss dword [edx + 0x18bc], xmm0
movzx eax, word [edi + 0x1bc]
mov word [ecx], ax
movzx eax, word [edi + 0x194]
mov word [ecx + 2], ax
movzx eax, word [edx + 0x1a30]
mov word [ecx + 4], ax
movzx eax, word [edx + 0x1a00]
mov word [ecx + 6], ax
movzx eax, word [edx + 0x1a0c]
mov word [ecx + 8], ax
movzx eax, word [edx + 0x1a18]
mov word [ecx + 0xa], ax
je 0x409279
mov eax, dword [esi + 0x1a30]
lea ecx, [esi + 0x1a30]
mov edx, dword [esi + 0x1a2c]
mov dword [esp + 0x68], edx
lea eax, [eax + eax*8]
mov dword [edx + eax*4 + 4], edi
mov edx, dword [ecx]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x409236
inc edx
mov dword [esp + 0x24], edx
test eax, eax
je 0x409217
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40921c
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.004131b0
mov eax, dword [0x4b5f50]
lea ecx, [esi + 0x1a30]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx]
mov edi, dword [esp + 0x68]
mov ecx, dword [ecx + 8]
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x28]
movups xmm0, xmmword [edi + eax*4]
movups xmmword [ecx + edx*4], xmm0
movups xmm0, xmmword [edi + eax*4 + 0x10]
movups xmmword [ecx + edx*4 + 0x10], xmm0
mov eax, dword [edi + eax*4 + 0x20]
mov dword [ecx + edx*4 + 0x20], eax
mov ecx, edi
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x5c]
inc dword [esi + 0x1a30]
mov eax, dword [ecx + eax*4]
mov dword [edi + 0x88], eax
cmp dword [esp + 0x20], 0
jle 0x409294
test dword [esp + 0x14], 0x1000000
jne 0x409294
mov dword [edi + 0x2fc], 0
mov ecx, dword [esi + 0x1a3c]
xor dl, dl
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], dl
mov byte [esp + 0x1a], dl
test ecx, ecx
je 0x409335
mov edx, dword [edi + 0xa8]
test ecx, edx
mov eax, edx
setne byte [esp + 0x13]
test ecx, eax
je 0x409324
movss xmm1, dword [esi + 0x1a64]
movss xmm0, dword [esi + 0x1a60]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x48c1ac]
jbe 0x409324
mov eax, dword [esi + 0x1a58]
and edx, 0xfffffff1
mov ecx, dword [esi + 0x1a5c]
mov dword [edi + 0xb4], eax
mov dword [edi + 0xb8], ecx
mov eax, dword [esi + 0x1a60]
mov ecx, dword [esi + 0x1a64]
mov dword [edi + 0xbc], eax
mov dword [edi + 0xc0], ecx
mov dword [edi + 0xa8], edx
jmp 0x409335
push ecx
lea edx, [esi + 0x1a58]
mov ecx, edi
call fcn.0040c940
add esp, 4
mov ecx, dword [esi + 0x1a40]
test ecx, ecx
je 0x409392
mov eax, dword [edi + 0xac]
xorps xmm1, xmm1
and eax, ecx
je 0x409360
movss xmm0, dword [esi + 0x1a68]
comiss xmm0, xmm1
jbe 0x409360
mov byte [esp + 0x12], 1
jmp 0x40936a
xor dl, dl
mov byte [esp + 0x12], dl
test eax, eax
je 0x40937c
movss xmm0, dword [esi + 0x1a6c]
comiss xmm0, xmm1
mov byte [esp + 0x1a], 1
ja 0x409381
mov byte [esp + 0x1a], 0
push ecx
lea edx, [esi + 0x1a68]
mov ecx, edi
call fcn.0040ca00
add esp, 4
cmp dword [esi + 0x1a44], 0
je 0x409448
mov eax, dword [esi + 0x1a70]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x1a74]
mov dword [edi + 0x38], ecx
movss xmm3, dword [edi + 0x38]
ucomiss xmm3, xmm0
mov dword [edi + 0x34], eax
lahf
test ah, 0x44
jnp 0x409460
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x1c]
test cl, 1
je 0x4093d7
xorps xmm2, xmm2
jmp 0x4093f7
movss xmm0, dword [eax + 0x1550]
movss xmm2, dword [eax + 0x18c0]
addss xmm0, xmm0
mulss xmm2, dword [edi + 0x268]
addss xmm2, xmm0
test ecx, 0x400
je 0x409436
movss xmm1, dword [eax + 0x18c0]
mulss xmm1, dword [edi + 0x268]
movss xmm0, dword [eax + 0x1550]
addss xmm0, xmm0
addss xmm1, dword [edi + 0x148]
addss xmm1, xmm0
addss xmm1, xmm2
addss xmm1, xmm3
movss dword [edi + 0x38], xmm1
jmp 0x409460
xorps xmm1, xmm1
addss xmm1, xmm2
addss xmm1, xmm3
movss dword [edi + 0x38], xmm1
jmp 0x409460
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x60]
je 0x409460
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov ecx, dword [esi + 0x1a48]
test ecx, ecx
je 0x409486
mov eax, dword [edi + 0xb0]
mov dl, byte [esi + 0x1a78]
test eax, ecx
je 0x409486
and eax, 0xfffffff1
mov byte [edi + 0x79], dl
mov dword [edi + 0xb0], eax
cmp dword [esi + 0x1a50], 0
je 0x409496
mov ecx, edi
call fcn.0040c4d0
cmp byte [edi + 0x7c], 0
je 0x4094b1
and dword [edi + 0xa8], 0xfffffff7
and dword [edi + 0xac], 0xfffffff7
and dword [edi + 0xb0], 0xfffffff7
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x60]
je 0x40c0c8
mov ecx, dword [esp + 0x14]
mov eax, ecx
mov edx, dword [esp + 0x44]
and eax, 0x3000000
mov dword [esp + 0x38], eax
mov dword [edi + 0x2e8], edx
mov dword [edi + 0x2f4], edi
mov dword [edi + 0x2f0], edi
mov dword [edi + 0x2ec], edi
test edx, edx
je 0x40951d
cmp eax, 0x1000000
jne 0x409501
mov eax, dword [edx + 0x2ec]
mov dword [edi + 0x2ec], eax
test ecx, 0x8000000
jne 0x40951d
test ecx, 0x5000000
je 0x40951d
mov eax, dword [edx + 0x2f0]
mov dword [edi + 0x2f0], eax
test dword [edi + 8], 0x800000
je 0x409547
mov edx, edi
nop dword [eax + eax]
mov eax, dword [edx + 0x2e8]
mov edx, eax
mov dword [edi + 0x2f4], eax
test dword [edx + 8], 0x800000
jne 0x409530
xor eax, eax
mov byte [edi + 0x76], 1
mov word [edi + 0x82], ax
movzx eax, word [esi + 0x1998]
inc dword [esi + 0x1998]
mov word [edi + 0x84], ax
xor eax, eax
mov word [edi + 0x80], ax
mov eax, dword [esp + 0x60]
mov dword [edi + 0x1c8], 0xff7fffff
mov dword [edi + 0x1cc], 0xff7fffff
mov dword [edi + 0x1d0], 0x7f7fffff
mov dword [edi + 0x1d4], 0x7f7fffff
mov dword [edi + 0x218], eax
mov eax, dword [edi + 0x1c0]
cmp eax, 1
jge 0x4095ed
test eax, eax
je 0x4095c4
cdq
sub eax, edx
lea edx, [edi + 0x1bc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x4095cf
mov ecx, 8
lea edx, [edi + 0x1bc]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.00412e60
mov edx, dword [0x4b5f50]
mov ecx, dword [esp + 0x14]
jmp 0x4095f1
mov edx, dword [esp + 0x1c]
mov dword [edi + 0x1bc], 1
cmp byte [edi + 0x79], 0
jne 0x40967e
cmp byte [edi + 0x7d], 0
je 0x409619
cmp dword [edi + 0xa4], 0
jne 0x409619
cmp dword [edi + 0xa0], 0
jg 0x40967e
movss xmm0, dword [edi + 0x34]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x40963c
movss xmm0, dword [edi + 0xdc]
subss xmm0, dword [edi + 0xc]
addss xmm0, dword [edi + 0x54]
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0x38]
ucomiss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x409667
movss xmm0, dword [edi + 0xe0]
subss xmm0, dword [edi + 0x10]
addss xmm0, dword [edi + 0x58]
addss xmm1, dword [edi + 0x3c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x40]
jmp 0x40968b
movss xmm1, dword [edi + 0x2c]
xorps xmm2, xmm2
movss xmm0, dword [edi + 0x30]
mov eax, dword [edi + 0xa0]
movss dword [edi + 0x2c], xmm1
movss dword [edi + 0x30], xmm0
test eax, eax
jle 0x4096a6
dec eax
mov dword [edi + 0xa0], eax
mov eax, dword [edi + 0xa4]
test eax, eax
jle 0x4096b7
dec eax
mov dword [edi + 0xa4], eax
cmp dword [esp + 0x34], 0
mov al, byte [esp + 0x12]
mov ah, byte [esp + 0x1a]
jne 0x4096d8
test al, al
je 0x4096ce
test ah, ah
jne 0x4096d8
mov dword [edi + 0xa4], 1
cmp byte [esp + 0x1b], 0
je 0x409728
test ecx, 0x6000000
je 0x409728
mov dword [edi + 0xa4], 1
test cl, 0x40
je 0x409728
test al, al
jne 0x409708
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test ah, ah
jne 0x40971a
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
movss xmm0, dword [edx + 0x18c0]
mov dword [edx + 0x199c], edi
mulss xmm0, dword [edi + 0x268]
movss dword [edx + 0x18d0], xmm0
movss dword [edx + 0x18bc], xmm0
test ecx, 0x1000000
je 0x409760
movss xmm0, dword [esi + 0x1540]
jmp 0x409782
test ecx, 0x6000000
je 0x40977a
test ecx, 0x8000000
jne 0x40977a
movss xmm0, dword [esi + 0x1548]
jmp 0x409782
movss xmm0, dword [esi + 0x1528]
movss dword [edi + 0x48], xmm0
mov eax, dword [esi + 0x151c]
mov ecx, dword [esi + 0x1520]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], ecx
mov ecx, dword [esp + 0x14]
mov eax, ecx
and eax, 0x5010000
cmp eax, 0x1000000
jne 0x4097d5
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x4097d5
test ecx, 0x400
je 0x4097c6
movss xmm0, dword [esi + 0x1520]
jmp 0x4097c9
xorps xmm0, xmm0
mov dword [edi + 0x3c], 0
movss dword [edi + 0x40], xmm0
movss xmm0, dword [edi + 0x3c]
maxss xmm0, dword [esi + 0x155c]
maxss xmm0, dword [esi + 0x1a98]
movss dword [edi + 0x144], xmm0
mov eax, dword [esi + 0x1a9c]
mov dword [edi + 0x148], eax
test cl, 0x21
jne 0x409916
test byte [edi + 8], 1
je 0x409812
xorps xmm3, xmm3
jmp 0x409832
movss xmm0, dword [edx + 0x1550]
movss xmm3, dword [edx + 0x18c0]
addss xmm0, xmm0
mulss xmm3, dword [edi + 0x268]
addss xmm3, xmm0
movss xmm5, dword [edi + 0xc]
movaps xmm4, xmm5
movss xmm6, dword [edi + 0x10]
addss xmm4, dword [edi + 0x1c]
addss xmm3, dword [edi + 0x10]
cmp dword [esi + 0x19a0], edi
jne 0x4098e2
cmp dword [esi + 0x19a8], 0
jne 0x4098e2
cmp dword [esi + 0x19b0], 0
jne 0x4098e2
mov eax, dword [edx + 0x199c]
movss xmm1, dword [edx + 0x156c]
movss xmm0, dword [edx + 0x1570]
maxss xmm5, dword [eax + 0x1c8]
minss xmm4, dword [eax + 0x1d0]
maxss xmm6, dword [eax + 0x1cc]
minss xmm3, dword [eax + 0x1d4]
subss xmm5, xmm1
addss xmm4, xmm1
movss xmm1, dword [edx + 0xe4]
subss xmm6, xmm0
addss xmm3, xmm0
comiss xmm1, xmm5
jb 0x4098e2
movss xmm0, dword [edx + 0xe8]
comiss xmm0, xmm6
jb 0x4098e2
comiss xmm4, xmm1
jbe 0x4098e2
comiss xmm3, xmm0
jbe 0x4098e2
cmp byte [esi + 0x3fd], 0
je 0x4098e2
mov byte [edi + 0x7a], 1
cmp byte [edi + 0x7a], 0
je 0x40991a
cmp byte [edi + 0x79], 0
sete al
test dword [edi + 8], 0x100
mov byte [edi + 0x79], al
jne 0x40990d
comiss xmm2, dword [edx + 0x2c2c]
jb 0x40990d
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x2c2c], eax
mov ecx, edi
call fcn.0040c4d0
jmp 0x40991a
mov byte [edi + 0x79], 0
lea eax, [edi + 0x2c]
mov byte [edi + 0x7a], 0
push eax
mov edx, edi
lea ecx, [esp + 0xb4]
call fcn.00408340
movss xmm0, dword [0x48c42c]
add esp, 4
test byte [esp + 0x14], 0x40
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x1c], xmm0
je 0x409993
cmp byte [edi + 0x79], 0
jne 0x409993
cmp byte [esp + 0x12], 0
jne 0x40996f
movss xmm0, dword [esp + 0xb0]
movss dword [esp + 0x48], xmm0
movss dword [edi + 0x1c], xmm0
cmp byte [esp + 0x1a], 0
jne 0x409a49
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x1c], xmm0
movss dword [edi + 0x20], xmm0
jmp 0x409a49
mov eax, dword [edi + 0x8c]
test eax, eax
jg 0x4099aa
cmp dword [edi + 0x90], 0
jle 0x409a49
cmp byte [esp + 0x12], 0
jne 0x4099e2
test eax, eax
jle 0x4099e2
cmp byte [edi + 0x94], 0
je 0x4099ce
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [esp + 0xb0]
jmp 0x4099d7
movss xmm0, dword [esp + 0xb0]
movss dword [esp + 0x48], xmm0
movss dword [edi + 0x1c], xmm0
cmp byte [esp + 0x1a], 0
jne 0x409a1f
cmp dword [edi + 0x90], 0
jle 0x409a1f
cmp byte [edi + 0x94], 0
je 0x409a0b
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [esp + 0xb4]
jmp 0x409a14
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x1c], xmm0
movss dword [edi + 0x20], xmm0
cmp byte [edi + 0x79], 0
jne 0x409a49
test dword [edi + 8], 0x100
mov ecx, dword [0x4b5f50]
jne 0x409a49
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2c2c]
jb 0x409a49
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2c2c], eax
push dword [edi + 0x20]
mov edx, edi
lea ecx, [esp + 0xc4]
push dword [edi + 0x1c]
call fcn.004080b0
mov edx, dword [esp + 0x1c]
add esp, 8
movss xmm3, dword [eax]
movss xmm0, dword [eax + 4]
mov al, byte [edi + 0x79]
movss dword [edi + 0x1c], xmm3
movss dword [edi + 0x20], xmm0
mov byte [esp + 0x12], al
test al, al
je 0x409ae5
test edx, 0x1000000
jne 0x409ae5
test byte [edi + 8], 1
je 0x409a95
xorps xmm2, xmm2
jmp 0x409aba
mov eax, dword [0x4b5f50]
movss xmm0, dword [eax + 0x1550]
movss xmm2, dword [eax + 0x18c0]
addss xmm0, xmm0
mulss xmm2, dword [edi + 0x268]
addss xmm2, xmm0
addss xmm2, dword [edi + 0x10]
movaps xmm0, xmm3
addss xmm0, dword [edi + 0xc]
subss xmm2, dword [edi + 0x10]
subss xmm0, dword [edi + 0xc]
movss dword [esp + 0xd4], xmm2
movss dword [esp + 0xd0], xmm0
jmp 0x409af9
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
cmp byte [esp + 0x12], 0
lea ecx, [esp + 0xd0]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
jne 0x409bf7
movss xmm0, dword [esp + 0x48]
movss xmm1, dword [0x48c42c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x409b32
movss xmm3, dword [edi + 0x24]
movss xmm0, dword [esp + 0x1c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x409b48
movss xmm2, dword [edi + 0x20]
jmp 0x409b4d
movss xmm2, dword [edi + 0x28]
test edx, 0x4000
jne 0x409b68
movss xmm0, dword [edi + 0x30]
comiss xmm0, xmm2
jbe 0x409b64
test dl, 8
je 0x409b68
xor cl, cl
jmp 0x409b6a
mov cl, 1
mov byte [edi + 0x75], cl
test edx, 0x8000
jne 0x409bae
xorps xmm1, xmm1
test cl, cl
je 0x409b86
movss xmm0, dword [esi + 0x157c]
jmp 0x409b89
xorps xmm0, xmm0
subss xmm3, xmm0
movss xmm0, dword [edi + 0x2c]
comiss xmm0, xmm3
jbe 0x409ba5
mov eax, edx
and eax, 0x808
cmp eax, 0x800
je 0x409bae
mov byte [edi + 0x74], 0
xorps xmm0, xmm0
jmp 0x409be1
mov byte [edi + 0x74], 1
test cl, cl
jne 0x409bd6
subss xmm2, dword [esi + 0x157c]
movss xmm0, dword [edi + 0x30]
comiss xmm0, xmm2
jbe 0x409bd1
test dl, 8
jne 0x409bd1
mov cl, 1
jmp 0x409bd3
xor cl, cl
mov byte [edi + 0x75], cl
movss xmm0, dword [esi + 0x157c]
xorps xmm1, xmm1
test cl, cl
je 0x409bed
movss xmm1, dword [esi + 0x157c]
movss dword [edi + 0x6c], xmm1
movss dword [edi + 0x70], xmm0
cmp byte [esp + 0x1b], 0
je 0x409c3c
mov dword [edi + 0x9c], 0xffffffff
test edx, 0x4000000
je 0x409c3c
cmp byte [esp + 0x13], 0
jne 0x409c3c
mov eax, dword [esi + 0x1a30]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x1a38]
movss xmm0, dword [eax + ecx*4 - 0x10]
movss xmm1, dword [eax + ecx*4 - 0xc]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
test edx, 0x1000000
je 0x409ce3
mov ecx, dword [esp + 0x44]
add ecx, 0x14c
mov dword [esp + 0x2c], ecx
mov ax, word [ecx]
mov word [edi + 0x82], ax
mov eax, dword [ecx + 4]
cmp dword [ecx], eax
jne 0x409c98
mov edx, dword [ecx]
inc edx
mov dword [esp + 0x24], edx
test eax, eax
je 0x409c80
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x409c85
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00412e60
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x154]
mov dword [eax + ecx*4], edi
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
inc dword [eax + 0x14c]
mov al, byte [esp + 0x13]
test edx, 0x4000000
jne 0x409ceb
test al, al
jne 0x409ceb
cmp ecx, 0x3000000
je 0x409ceb
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 0xc4]
mov ecx, dword [ecx + 0xc8]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov ecx, dword [esp + 0x38]
mov al, byte [esp + 0x13]
movss xmm0, dword [edi + 0xb4]
movss xmm7, dword [0x48c42c]
ucomiss xmm0, xmm7
movss dword [esp + 0x24], xmm0
lahf
test ah, 0x44
jnp 0x409e1a
cmp dword [edi + 0xa4], 0
jne 0x409e1a
movss xmm6, dword [edi + 0x20]
movss xmm0, dword [esi + 0x15a4]
movss xmm2, dword [edi + 0xbc]
movss xmm5, dword [edi + 0xb8]
movss xmm3, dword [esi + 0x15a8]
and dword [edi + 0xa8], 0xfffffff1
movss xmm1, dword [esp + 0x24]
mov dword [edi + 0xb4], 0x7f7fffff
mov dword [edi + 0xb8], 0x7f7fffff
mulss xmm2, dword [edi + 0x1c]
movss dword [esp + 0x2c], xmm6
movss xmm6, dword [edi + 0x10]
subss xmm1, xmm2
movss dword [esp + 0x34], xmm6
movss xmm6, dword [esp + 0x2c]
mulss xmm6, dword [edi + 0xc0]
movss xmm7, dword [edi + 0xc]
maxss xmm0, xmm1
subss xmm5, xmm6
cvttss2si eax, xmm0
maxss xmm3, xmm5
movd xmm1, eax
cvttss2si eax, xmm3
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0xc], xmm1
subss xmm1, xmm7
movss dword [edi + 0x10], xmm0
subss xmm0, dword [esp + 0x34]
addss xmm1, dword [edi + 0xc4]
addss xmm0, dword [edi + 0xc8]
movss dword [edi + 0xc4], xmm1
movss dword [edi + 0xc8], xmm0
movss xmm1, dword [edi + 0x10]
movss xmm0, dword [edi + 0xc]
subss xmm1, dword [esp + 0x34]
subss xmm0, xmm7
addss xmm1, dword [edi + 0xe0]
addss xmm0, dword [edi + 0xdc]
movss dword [edi + 0xe0], xmm1
movss dword [edi + 0xdc], xmm0
jmp 0x409e6b
test edx, 0x10000000
jne 0x409e49
test edx, 0x4000000
je 0x409e35
test al, al
jne 0x409e35
cmp dword [esp + 0x20], 0
jg 0x409e49
test edx, 0x2000000
je 0x409e73
test al, al
jne 0x409e73
cmp ecx, 0x3000000
je 0x409e73
mov edx, edi
lea ecx, [esp + 0x4c]
call fcn.0040dac0
mov edx, dword [esp + 0x14]
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
movss xmm7, dword [0x48c42c]
test edx, 0x1000000
jne 0x409f9d
cmp byte [esp + 0x13], 0
jne 0x409f9d
cmp dword [edi + 0x8c], 0
jg 0x409f9d
cmp dword [edi + 0x90], 0
xorps xmm2, xmm2
jg 0x409fa0
movss xmm0, dword [esi + 0x10]
comiss xmm0, xmm2
jbe 0x409fa0
movss xmm0, dword [esi + 0x14]
comiss xmm0, xmm2
jbe 0x409fa0
cmp byte [esi + 0xc0], 0
movss xmm4, dword [esi + 0x15a0]
movss xmm5, dword [esi + 0x159c]
maxss xmm4, dword [esi + 0x15a8]
maxss xmm5, dword [esi + 0x15a4]
je 0x409f30
test byte [edi + 8], 1
jne 0x409f30
mov eax, dword [0x4b5f50]
movss xmm0, dword [eax + 0x1550]
movss xmm1, dword [eax + 0x18c0]
addss xmm0, xmm0
mulss xmm1, dword [edi + 0x268]
addss xmm1, xmm0
movss xmm0, dword [edi + 0x14]
movss dword [esp + 0xd0], xmm0
movss dword [esp + 0xd4], xmm1
jmp 0x409f44
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
lea eax, [esp + 0xd0]
movss xmm3, dword [eax]
addss xmm3, dword [edi + 0xc]
movss xmm2, dword [eax + 4]
addss xmm2, dword [edi + 0x10]
maxss xmm3, xmm5
maxss xmm2, xmm4
subss xmm3, dword [eax]
subss xmm2, dword [eax + 4]
movss dword [edi + 0xc], xmm3
movss dword [edi + 0x10], xmm2
movss xmm0, dword [esi + 0x10]
subss xmm0, xmm5
minss xmm3, xmm0
movss xmm0, dword [esi + 0x14]
subss xmm0, xmm4
movss dword [edi + 0xc], xmm3
minss xmm2, xmm0
movss dword [edi + 0x10], xmm2
xorps xmm2, xmm2
cvttss2si eax, dword [edi + 0xc]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [edi + 0xc], xmm1
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x10], xmm0
test edx, 0x1000000
je 0x409fd4
movss xmm6, dword [esi + 0x153c]
jmp 0x409ff4
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x409fec
movss xmm6, dword [esi + 0x1544]
jmp 0x409ff4
movss xmm6, dword [esi + 0x1524]
mov eax, dword [edi + 0x334]
movss dword [edi + 0x44], xmm6
cmp eax, 0x7fffffff
je 0x40a01a
mov ecx, dword [edi + 0x324]
cmp ecx, 0xffffffff
je 0x40a01a
inc eax
add eax, ecx
inc ecx
cdq
idiv ecx
jmp 0x40a01f
mov edx, closesocket
mov eax, dword [edi + 0x338]
mov dword [edi + 0x32c], edx
cmp eax, 0x7fffffff
je 0x40a046
mov ecx, dword [edi + 0x328]
cmp ecx, 0xffffffff
je 0x40a046
inc eax
add eax, ecx
inc ecx
cdq
idiv ecx
jmp 0x40a04b
mov edx, closesocket
movss xmm1, dword [edi + 0x5c]
comiss xmm7, xmm1
mov dword [edi + 0x330], edx
mov dword [edi + 0x328], 0xffffffff
mov dword [edi + 0x324], 0xffffffff
mov dword [edi + 0x338], closesocket
mov dword [edi + 0x334], closesocket
movss xmm4, dword [edi + 0x54]
movss xmm3, dword [edi + 0x58]
jbe 0x40a0a3
movss xmm0, dword [edi + 0x1c]
movaps xmm4, xmm1
subss xmm0, dword [edi + 0x6c]
mulss xmm0, dword [edi + 0x64]
subss xmm4, xmm0
movss xmm0, dword [edi + 0x60]
comiss xmm7, xmm0
movss xmm5, dword [0x48c20c]
jbe 0x40a189
movss xmm7, dword [edi + 0x68]
movaps xmm3, xmm0
comiss xmm2, xmm7
jb 0x40a0d3
movss xmm0, dword [edi + 0x40]
comiss xmm0, xmm3
jb 0x40a0d3
xorps xmm3, xmm3
comiss xmm7, xmm5
mov eax, dword [0x4b5f50]
jb 0x40a0fa
movss xmm1, dword [edi + 0x30]
movaps xmm0, xmm1
subss xmm0, dword [edi + 0x40]
addss xmm0, dword [eax + 0x1560]
comiss xmm3, xmm0
jb 0x40a0fa
movaps xmm3, xmm1
mov ecx, dword [edi + 8]
test cl, 1
je 0x40a107
xorps xmm5, xmm5
jmp 0x40a127
movss xmm0, dword [eax + 0x1550]
movss xmm5, dword [eax + 0x18c0]
addss xmm0, xmm0
mulss xmm5, dword [edi + 0x268]
addss xmm5, xmm0
test ecx, 0x400
je 0x40a159
movss xmm1, dword [eax + 0x18c0]
mulss xmm1, dword [edi + 0x268]
movss xmm0, dword [eax + 0x1550]
addss xmm0, xmm0
addss xmm1, dword [edi + 0x148]
addss xmm1, xmm0
jmp 0x40a15c
xorps xmm1, xmm1
addss xmm1, xmm5
movss xmm5, dword [0x48c20c]
movaps xmm0, xmm5
subss xmm0, xmm7
mulss xmm1, xmm0
movss xmm0, dword [edi + 0x20]
subss xmm0, dword [edi + 0x70]
subss xmm3, xmm1
mulss xmm0, xmm7
subss xmm3, xmm0
cmp byte [edi + 0x79], 0
maxss xmm4, xmm2
maxss xmm3, xmm2
jne 0x40a1e1
cmp byte [edi + 0x7b], 0
jne 0x40a1e1
movss xmm0, dword [edi + 0x1c]
subss xmm0, dword [edi + 0x6c]
movss xmm1, dword [edi + 0x2c]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
comiss xmm0, xmm4
ja 0x40a1bf
movaps xmm4, xmm0
movss xmm0, dword [edi + 0x20]
subss xmm0, dword [edi + 0x70]
movss xmm1, dword [edi + 0x30]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
comiss xmm0, xmm3
ja 0x40a1e1
movaps xmm3, xmm0
cmp byte [esp + 0x1b], 0
movss dword [edi + 0x54], xmm4
movss dword [edi + 0x58], xmm3
mov dword [edi + 0x5c], 0x7f7fffff
mov dword [edi + 0x60], 0x7f7fffff
mov byte [esp + 0x12], 0
je 0x40a223
mov eax, dword [esp + 0x14]
test eax, 0x1000
jne 0x40a223
test eax, 0x3000000
je 0x40a21e
test eax, 0x4000000
je 0x40a223
mov byte [esp + 0x12], 1
movss xmm1, dword [esi + 0x18bc]
addss xmm6, xmm5
xorps xmm0, xmm0
or eax, 0xffffffff
movaps xmmword [esp + 0xf0], xmm0
movaps xmm0, xmm1
mulss xmm1, dword [0x48c1d0]
mov dword [esp + 0x2c], eax
mulss xmm0, dword [0x48c210]
mov dword [esp + 0x28], eax
xor eax, eax
cmp byte [esi + 0xbf], al
addss xmm6, xmm1
setne al
inc eax
cmp byte [edi + 0x79], 0
mov dword [esp + 0x40], eax
maxss xmm0, xmm6
cvttss2si esi, xmm0
jne 0x40a2a4
lea ecx, [esp + 0xf0]
push ecx
push eax
lea eax, [esp + 0x30]
mov ecx, edi
push eax
lea edx, [esp + 0xbc]
call fcn.004085d0
mov eax, dword [esp + 0x34]
add esp, 0xc
mov dword [esp + 0x2c], eax
xorps xmm2, xmm2
movss xmm0, dword [edi + 0x14]
comiss xmm0, xmm2
jbe 0x40a2c2
test dword [esp + 0x14], 0x2000040
jne 0x40a2c2
mulss xmm0, dword [0x48c1f0]
jmp 0x40a2d6
mov eax, dword [esp + 0x30]
movss xmm0, dword [eax + 0x18bc]
mulss xmm0, dword [0x48c3d8]
cvttss2si eax, xmm0
mov ecx, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x21c], xmm0
mov ecx, dword [edi + 0x270]
call fcn.0041b400
mov edx, dword [esp + 0x30]
xor ecx, ecx
mov eax, 2
cmp byte [edx + 0x15b1], cl
cmovne ecx, eax
xor eax, eax
cmp byte [edx + 0x15b0], al
setne al
or ecx, eax
mov eax, dword [edi + 0x270]
mov dword [eax + 0x24], ecx
mov eax, dword [edx + 0x18b8]
mov ecx, dword [edi + 0x270]
lea edx, [ecx + 0x48]
mov dword [esp + 0x58], ecx
mov ecx, dword [edx]
mov eax, dword [eax + 0x44]
mov dword [esp + 0x28], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x34], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x24], eax
cmp ecx, eax
jne 0x40a378
inc ecx
test eax, eax
je 0x40a362
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
add eax, dword [esp + 0x24]
jmp 0x40a367
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00412e60
mov edx, dword [esp + 0x28]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov edi, dword [esp + 0x34]
mov dword [eax + ecx*4], edi
mov ecx, dword [esp + 0x58]
inc dword [edx]
call fcn.0041b920
mov ecx, dword [0x4b5f50]
mov edi, dword [esp + 0x5c]
movss xmm1, dword [ecx + 0xac]
movss xmm3, dword [ecx + 0xb4]
ucomiss xmm1, xmm3
movss dword [esp + 0x80], xmm1
movss dword [esp + 0x68], xmm3
lahf
test ah, 0x44
jnp 0x40a3e3
movss xmm0, dword [ecx + 0xb0]
ucomiss xmm0, dword [ecx + 0xb8]
lahf
test ah, 0x44
jnp 0x40a3e3
movss xmm4, dword [ecx + 0xb8]
movaps xmm2, xmm0
jmp 0x40a402
movss xmm3, dword [ecx + 0x10]
xorps xmm1, xmm1
movss xmm4, dword [ecx + 0x14]
xorps xmm2, xmm2
movss dword [esp + 0x80], xmm1
movss dword [esp + 0x68], xmm3
mov eax, dword [esp + 0x14]
and eax, 0x5000000
movss dword [esp + 0xdc], xmm4
movss dword [esp + 0x28], xmm4
movss dword [esp + 0xd8], xmm3
movss dword [esp + 0xd4], xmm2
movss dword [esp + 0x98], xmm2
movss dword [esp + 0xd0], xmm1
cmp eax, 0x1000000
jne 0x40a5b8
cmp dword [esp + 0x38], 0x3000000
je 0x40a5b8
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x199c]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x58], eax
mov eax, dword [eax + 0x270]
movss xmm2, dword [ecx + 0x1d0]
movss xmm3, dword [ecx + 0x1d4]
movss xmm1, dword [ecx + 0x1c8]
movss xmm0, dword [ecx + 0x1cc]
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x20], eax
movss dword [esp + 0xc0], xmm1
movss dword [esp + 0xc4], xmm0
movss dword [esp + 0xc8], xmm2
movss dword [esp + 0xcc], xmm3
test ecx, ecx
je 0x40a539
mov eax, dword [eax + 0x44]
add ecx, ecx
movups xmm4, xmmword [eax + ecx*8 - 0x10]
comiss xmm4, xmm1
movaps xmmword [esp + 0xe0], xmm4
jbe 0x40a4e7
movaps xmm1, xmm4
movss dword [esp + 0xc0], xmm1
movss xmm4, dword [esp + 0xe4]
comiss xmm4, xmm0
jbe 0x40a501
movaps xmm0, xmm4
movss dword [esp + 0xc4], xmm0
movss xmm4, dword [esp + 0xe8]
comiss xmm2, xmm4
jbe 0x40a51b
movaps xmm2, xmm4
movss dword [esp + 0xc8], xmm2
movss xmm4, dword [esp + 0xec]
comiss xmm3, xmm4
mov eax, dword [esp + 0x20]
jbe 0x40a539
movaps xmm3, xmm4
movss dword [esp + 0xcc], xmm3
comiss xmm1, xmm2
jb 0x40a547
movss dword [esp + 0xc8], xmm1
comiss xmm0, xmm3
jb 0x40a555
movss dword [esp + 0xcc], xmm0
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx + 4]
mov dword [esp + 0x34], ecx
cmp edx, eax
jne 0x40a591
inc edx
mov dword [esp + 0x24], edx
test eax, eax
je 0x40a57d
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40a582
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00421150
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
movups xmm0, xmmword [esp + 0xc0]
shl eax, 4
add eax, dword [ecx + 8]
movups xmmword [eax], xmm0
inc dword [ecx]
mov ecx, dword [esp + 0x20]
call fcn.0041b7f0
mov edx, dword [esp + 0x58]
jmp 0x40a70a
mov eax, dword [ecx + 0x199c]
movaps xmm0, xmmword [esp + 0xd0]
movaps xmmword [esp + 0xc0], xmm0
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x199c]
mov dword [esp + 0x24], eax
mov eax, dword [eax + 0x270]
mov dword [esp + 0x20], eax
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x40a672
mov eax, dword [eax + 0x44]
add ecx, ecx
movups xmm0, xmmword [eax + ecx*8 - 0x10]
comiss xmm0, xmm1
movaps xmmword [esp + 0xe0], xmm0
jbe 0x40a613
movss dword [esp + 0xc0], xmm0
jmp 0x40a61c
movss xmm0, dword [esp + 0xc0]
movss xmm1, dword [esp + 0xe4]
comiss xmm1, xmm2
jbe 0x40a635
movss dword [esp + 0xc4], xmm1
jmp 0x40a63e
movss xmm1, dword [esp + 0xc4]
movss xmm2, dword [esp + 0xe8]
comiss xmm3, xmm2
jbe 0x40a655
movss dword [esp + 0xc8], xmm2
movss xmm2, dword [esp + 0xec]
comiss xmm4, xmm2
mov eax, dword [esp + 0x20]
jbe 0x40a684
movss dword [esp + 0xcc], xmm2
jmp 0x40a684
movss xmm1, dword [esp + 0xc4]
movss xmm0, dword [esp + 0xc0]
comiss xmm0, dword [esp + 0xc8]
jb 0x40a697
movss dword [esp + 0xc8], xmm0
comiss xmm1, dword [esp + 0xcc]
jb 0x40a6aa
movss dword [esp + 0xcc], xmm1
mov ecx, dword [eax + 0x40]
lea edx, [eax + 0x3c]
mov dword [esp + 0x64], edx
cmp dword [edx], ecx
jne 0x40a6e8
test ecx, ecx
je 0x40a6cb
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x64]
sar eax, 1
add eax, ecx
jmp 0x40a6d0
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00421150
mov edi, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
mov ecx, dword [edx + 8]
add eax, eax
movups xmm0, xmmword [esp + 0xc0]
movups xmmword [ecx + eax*8], xmm0
mov ecx, dword [esp + 0x20]
inc dword [edx]
call fcn.0041b7f0
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x270]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
test dword [esp + 0x14], 0x8000000
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 dword [edx + 0x1c8], eax
movss dword [edx + 0x1cc], xmm0
movss dword [edx + 0x1d0], xmm1
movss dword [edx + 0x1d4], xmm2
je 0x40a76c
call fcn.0040d230
cmp edi, eax
jne 0x40a76c
cmp dword [edi + 0xa4], 0
jg 0x40a76c
mov dl, 1
jmp 0x40a76e
xor dl, dl
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x1ae8]
test ecx, ecx
je 0x40a788
cmp edi, dword [ecx + 0x2ec]
jne 0x40a788
mov cl, 1
jmp 0x40a78a
xor cl, cl
mov byte [esp + 0x13], cl
test dl, dl
jne 0x40a79a
test cl, cl
je 0x40a8b8
movss xmm1, dword [eax + 0x1be0]
push 0xf
push ecx
movzx ecx, dl
add ecx, 0x2e
mov dword [esp], 0
call fcn.00403390
mov ecx, dword [edi + 0x270]
push eax
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.0041d820
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0x30]
je 0x40a8b8
cmp edi, dword [eax + 0x1ae8]
jne 0x40a8b8
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm1, xmm2
movss xmm0, dword [eax + 0x18bc]
movaps xmm4, xmm3
addss xmm2, dword [edi + 0x14]
addss xmm3, dword [edi + 0x18]
subss xmm1, xmm0
subss xmm4, xmm0
addss xmm2, xmm0
addss xmm3, xmm0
movss xmm0, dword [esp + 0x80]
comiss xmm0, xmm1
movss dword [esp + 0xe0], xmm1
movss dword [esp + 0xe4], xmm4
movss dword [esp + 0xe8], xmm2
movss dword [esp + 0xec], xmm3
jb 0x40a86e
movss xmm0, dword [esp + 0x98]
comiss xmm0, xmm4
jb 0x40a86e
comiss xmm2, dword [esp + 0x68]
jb 0x40a86e
comiss xmm3, dword [esp + 0x28]
jae 0x40a8b8
movss xmm1, dword [eax + 0x1af4]
mulss xmm1, dword [0x48c1d4]
push 0xf
movss xmm0, dword [eax + 0x1524]
push ecx
mov ecx, 0x2d
movss dword [esp], xmm0
call fcn.00403390
mov ecx, dword [edi + 0x270]
push eax
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.0041d820
mov eax, dword [esp + 0x30]
movss xmm2, dword [edi + 0x44]
movss xmm1, dword [edi + 0x48]
mov ecx, dword [eax + 0x1ae4]
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x38], xmm1
test ecx, ecx
jne 0x40a8de
mov ecx, dword [eax + 0x1aa8]
cmp byte [esp + 0x12], 0
jne 0x40a8fb
test ecx, ecx
je 0x40a8f7
mov eax, dword [edi + 0x2f0]
cmp eax, dword [ecx + 0x2f0]
je 0x40a8fb
xor cl, cl
jmp 0x40a8fd
mov cl, 1
test byte [edi + 8], 1
xorps xmm7, xmm7
mov byte [esp + 0x13], cl
je 0x40a90f
xorps xmm3, xmm3
jmp 0x40a934
mov eax, dword [0x4b5f50]
movss xmm0, dword [eax + 0x1550]
movss xmm3, dword [eax + 0x18c0]
addss xmm0, xmm0
mulss xmm3, dword [edi + 0x268]
addss xmm3, xmm0
cmp byte [edi + 0x79], 0
movss xmm0, dword [edi + 0xc]
addss xmm3, dword [edi + 0x10]
movaps xmm4, xmm0
movss dword [esp + 0x48], xmm0
addss xmm4, dword [edi + 0x1c]
movss dword [esp + 0xe0], xmm0
movss xmm0, dword [edi + 0x10]
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x7c], xmm3
movss dword [esp + 0x78], xmm4
movss dword [esp + 0xe4], xmm0
movss dword [esp + 0xe8], xmm4
movss dword [esp + 0xec], xmm3
je 0x40aa06
mov esi, dword [esp + 0x30]
movss xmm0, dword [esi + 0x1558]
movss dword [esp + 0x2c], xmm0
movss dword [esi + 0x1558], xmm1
test cl, cl
je 0x40a9b9
cmp byte [esi + 0x1b06], 0
mov ecx, 0xb
je 0x40a9be
mov ecx, 0xc
push dword [esp + 0x7c]
movss xmm1, dword [0x48c20c]
push dword [esp + 0x7c]
push dword [esp + 0xec]
push dword [esp + 0xec]
call fcn.00403390
movss xmm2, dword [esp + 0x2c]
mov dl, 1
mov ecx, eax
call fcn.00403910
movss xmm0, dword [esp + 0x3c]
add esp, 0x10
movss dword [esi + 0x1558], xmm0
jmp 0x40b2e1
mov ecx, dword [esp + 0x14]
test cl, cl
js 0x40ab3f
test ecx, 0x6000000
je 0x40aa21
mov ecx, 4
jmp 0x40aa30
and ecx, 0x1000000
or ecx, 0x2000000
shr ecx, 0x18
movss xmm1, dword [0x48c20c]
call fcn.00403390
mov ecx, eax
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x1a54], 0
je 0x40aa89
movss xmm1, dword [eax + 0x1a94]
comiss xmm7, xmm1
jbe 0x40aa5e
xorps xmm0, xmm0
jmp 0x40aa6a
movss xmm0, dword [0x48c20c]
minss xmm0, xmm1
mulss xmm0, dword [0x48c408]
and ecx, 0xffffff
addss xmm0, dword [0x48c1e8]
cvttss2si eax, xmm0
shl eax, 0x18
or ecx, eax
test byte [edi + 8], 1
movss xmm3, dword [esp + 0x48]
movss xmm2, dword [edi + 0x10]
movaps xmm0, xmm3
addss xmm0, dword [edi + 0x14]
movss dword [esp + 0xd0], xmm0
movaps xmm0, xmm2
addss xmm0, dword [edi + 0x18]
movss dword [esp + 0xd4], xmm0
je 0x40aac1
xorps xmm1, xmm1
jmp 0x40aae6
mov eax, dword [0x4b5f50]
movss xmm0, dword [eax + 0x1550]
movss xmm1, dword [eax + 0x18c0]
addss xmm0, xmm0
mulss xmm1, dword [edi + 0x268]
addss xmm1, xmm0
test byte [esp + 0x14], 1
addss xmm2, xmm1
movss xmm1, dword [esp + 0x1c]
mov edx, 0xf
mov eax, 0xc
movaps xmm0, xmm3
cmovne eax, edx
addss xmm0, xmm7
push eax
push ecx
movss dword [esp], xmm1
lea eax, [esp + 0xd8]
push ecx
mov ecx, dword [edi + 0x270]
push eax
lea eax, [esp + 0x5c]
movss dword [esp + 0x5c], xmm0
push eax
movss dword [esp + 0x64], xmm2
call fcn.0041d820
movss xmm2, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov dword [eax + 0x1a54], 0
test cl, 1
jne 0x40ab9c
cmp byte [edi + 0x79], 0
je 0x40ab5f
mov ecx, 0xc
jmp 0x40ab67
movzx ecx, byte [esp + 0x13]
add ecx, 0xa
movss xmm1, dword [0x48c20c]
push 3
push ecx
movss dword [esp], xmm2
call fcn.00403390
mov ecx, dword [edi + 0x270]
push eax
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.0041d820
mov ecx, dword [esp + 0x14]
test ecx, 0x400
je 0x40ad4c
mov edx, dword [edi + 8]
xorps xmm2, xmm2
mov eax, dword [0x4b5f50]
test dl, 1
je 0x40abbd
xorps xmm4, xmm4
jmp 0x40abdd
movss xmm0, dword [eax + 0x1550]
movss xmm4, dword [eax + 0x18c0]
addss xmm0, xmm0
mulss xmm4, dword [edi + 0x268]
addss xmm4, xmm0
movss xmm5, dword [edi + 0x10]
addss xmm4, xmm5
test edx, 0x400
je 0x40ac18
movss xmm3, dword [eax + 0x18c0]
mulss xmm3, dword [edi + 0x268]
movss xmm0, dword [eax + 0x1550]
addss xmm0, xmm0
addss xmm3, dword [edi + 0x148]
addss xmm3, xmm0
jmp 0x40ac1b
xorps xmm3, xmm3
movss xmm1, dword [edi + 0xc]
movaps xmm0, xmm4
maxss xmm0, xmm5
movaps xmm6, xmm1
maxss xmm6, xmm1
addss xmm3, xmm4
addss xmm5, dword [edi + 0x18]
movss dword [esp + 0xc4], xmm0
movaps xmm0, xmm1
movss dword [esp + 0x58], xmm6
movss dword [esp + 0xc0], xmm6
minss xmm3, xmm5
addss xmm0, dword [edi + 0x1c]
addss xmm1, dword [edi + 0x14]
movss dword [esp + 0x34], xmm3
movss dword [esp + 0xcc], xmm3
minss xmm0, xmm1
movss dword [esp + 0xc8], xmm0
test cl, 1
je 0x40ac87
movss xmm2, dword [esp + 0x1c]
movss xmm1, dword [0x48c20c]
push 3
push ecx
mov ecx, 0xd
movss dword [esp], xmm2
call fcn.00403390
mov ecx, dword [edi + 0x270]
push eax
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0xd0]
push eax
call fcn.0041d820
mov eax, dword [esp + 0x30]
movss xmm2, dword [eax + 0x1558]
comiss xmm2, dword [0x48c198]
jbe 0x40ad4c
movss xmm0, dword [edi + 0x10]
addss xmm0, dword [edi + 0x18]
movss xmm1, dword [esp + 0x34]
comiss xmm0, xmm1
jbe 0x40ad4c
mov ecx, dword [esp + 0xcc]
sub esp, 8
movss xmm0, dword [esp + 0x60]
mov eax, dword [esp + 0xd0]
mov dword [esp + 0xdc], ecx
mov ecx, 5
movss dword [esp + 0x58], xmm1
movss xmm1, dword [0x48c20c]
mov dword [esp + 0xd8], eax
movss dword [esp + 0x54], xmm0
movss dword [esp + 4], xmm2
call fcn.00403390
mov ecx, dword [edi + 0x270]
add esp, 4
push eax
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.0041d5d0
cmp byte [edi + 0x74], 0
je 0x40ad5c
mov ecx, 1
call fcn.004230b0
cmp byte [edi + 0x75], 0
je 0x40ad69
xor ecx, ecx
call fcn.004230b0
mov eax, dword [esp + 0x14]
test al, 2
jne 0x40b010
movss xmm4, dword [esp + 0x38]
xor ecx, ecx
movaps xmm0, xmm4
mov dword [esp + 0x64], ecx
addss xmm0, dword [esp + 0x1c]
mov eax, 0x4af528
mov dword [esp + 0x20], eax
movss dword [esp + 0xb0], xmm0
nop dword [eax]
movss xmm0, dword [edi + 0xc]
and ecx, 1
movss xmm1, dword [edi + 0x10]
movaps xmm2, xmm0
addss xmm2, dword [edi + 0x14]
mov edx, dword [edi + 0x270]
mov dword [esp + 0x9c], ecx
subss xmm2, xmm0
mulss xmm2, dword [eax - 8]
addss xmm2, xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x18]
movss dword [esp + 0x58], xmm2
subss xmm0, xmm1
mulss xmm0, dword [eax - 4]
addss xmm0, xmm1
movss dword [esp + 0x34], xmm0
je 0x40adfe
movd xmm3, esi
movaps xmm1, xmm4
cvtdq2ps xmm3, xmm3
jmp 0x40ae08
movd xmm1, esi
movaps xmm3, xmm4
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [eax]
mov edi, dword [edx + 0x58]
mulss xmm3, dword [eax + 4]
lea eax, [edx + 0x54]
mov ecx, dword [eax]
mov dword [esp + 0x3c], eax
addss xmm1, xmm2
addss xmm3, xmm0
movss dword [esp + 0x4c], xmm1
movss dword [esp + 0x50], xmm3
cmp ecx, edi
jne 0x40ae6f
inc ecx
test edi, edi
je 0x40ae45
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x40ae4a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x40]
call fcn.00413230
movss xmm2, dword [esp + 0x58]
movss xmm0, dword [esp + 0x34]
movss xmm4, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [esp + 0x3c]
inc dword [eax]
cmp dword [esp + 0x9c], 0
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x270]
je 0x40aea9
movd xmm1, esi
movaps xmm3, xmm4
cvtdq2ps xmm1, xmm1
jmp 0x40aeb3
movd xmm3, esi
movaps xmm1, xmm4
cvtdq2ps xmm3, xmm3
mov eax, dword [esp + 0x20]
mov edi, dword [ecx + 0x54]
mulss xmm1, dword [eax]
mulss xmm3, dword [eax + 4]
lea eax, [ecx + 0x54]
mov ecx, dword [eax + 4]
mov dword [esp + 0x3c], eax
addss xmm1, xmm2
addss xmm3, xmm0
movss dword [esp + 0xd0], xmm1
movss dword [esp + 0xd4], xmm3
cmp edi, ecx
jne 0x40af19
inc edi
test ecx, ecx
je 0x40aefb
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x40af00
mov eax, 8
mov ecx, dword [esp + 0x3c]
cmp eax, edi
cmovg edi, eax
push edi
call fcn.00413230
movss xmm2, dword [esp + 0x58]
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0xd0]
mov edi, dword [esp + 0xd4]
movss xmm0, dword [esp + 0xb0]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x5c]
inc dword [eax]
mov eax, dword [esp + 0x20]
mov ecx, dword [edi + 0x270]
mulss xmm0, dword [eax]
push dword [eax + 0xc]
push dword [eax + 8]
addss xmm0, xmm2
movss xmm2, dword [esp + 0x24]
movss dword [esp + 0xc8], xmm0
movss xmm0, dword [esp + 0xb8]
mulss xmm0, dword [eax + 4]
lea eax, [esp + 0xc8]
push eax
addss xmm0, dword [esp + 0x40]
movss dword [esp + 0xd0], xmm0
call fcn.0041cfe0
mov ecx, dword [edi + 0x270]
mov edx, dword [esp + 0x64]
lea eax, [ecx + 0x54]
mov dword [esp + 0x3c], eax
push dword [esp + edx*4 + 0xf0]
push dword [eax]
push dword [ecx + 0x5c]
call fcn.0041cc00
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40afe2
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, dword [esp + 0x40]
call fcn.00413230
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x64]
movss xmm4, dword [esp + 0x38]
inc ecx
mov dword [eax], 0
mov eax, dword [esp + 0x20]
add eax, 0x18
mov dword [esp + 0x64], ecx
mov dword [esp + 0x20], eax
cmp ecx, dword [esp + 0x40]
jl 0x40ada0
mov eax, dword [esp + 0x14]
movss xmm6, dword [esp + 0x38]
xorps xmm1, xmm1
comiss xmm6, xmm1
jbe 0x40b095
test al, al
js 0x40b095
movss xmm0, dword [edi + 0x14]
addss xmm0, dword [edi + 0xc]
movss xmm1, dword [0x48c20c]
push ecx
movss dword [esp], xmm6
mov ecx, 5
push 0xf
movss dword [esp + 0xc8], xmm0
sub esp, 8
movss xmm0, dword [edi + 0x10]
addss xmm0, dword [edi + 0x18]
movss dword [esp + 0xd4], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 4], xmm0
call fcn.00403390
mov ecx, dword [edi + 0x270]
add esp, 4
push eax
lea eax, [esp + 0xd0]
push eax
lea eax, [edi + 0xc]
push eax
call fcn.0041d710
movss xmm6, dword [esp + 0x38]
xorps xmm1, xmm1
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x40b236
movss xmm4, dword [edi + 0xc]
movss xmm5, dword [edi + 0x10]
movaps xmm2, xmm4
movss xmm7, dword [0x48c20c]
movaps xmm3, xmm5
addss xmm2, dword [edi + 0x14]
addss xmm3, dword [edi + 0x18]
subss xmm2, xmm7
subss xmm3, xmm7
test eax, eax
jne 0x40b113
movd xmm3, esi
movaps xmm0, xmm5
cvtdq2ps xmm3, xmm3
subss xmm0, xmm1
addss xmm4, xmm3
subss xmm2, xmm3
addss xmm5, xmm1
movss dword [esp + 0xc4], xmm0
movss dword [esp + 0xc0], xmm4
movss dword [esp + 0xc8], xmm2
movss dword [esp + 0xcc], xmm5
jmp 0x40b1fa
cmp eax, 1
jne 0x40b15e
movaps xmm0, xmm2
movd xmm4, esi
subss xmm0, xmm1
cvtdq2ps xmm4, xmm4
movss dword [esp + 0xc0], xmm0
addss xmm2, xmm1
movaps xmm0, xmm4
subss xmm3, xmm4
addss xmm0, xmm5
movss dword [esp + 0xc8], xmm2
movss dword [esp + 0xcc], xmm3
movss dword [esp + 0xc4], xmm0
jmp 0x40b1fa
cmp eax, 2
jne 0x40b1a3
movd xmm5, esi
movaps xmm0, xmm3
cvtdq2ps xmm5, xmm5
subss xmm0, xmm1
addss xmm4, xmm5
subss xmm2, xmm5
addss xmm3, xmm1
movss dword [esp + 0xc4], xmm0
movss dword [esp + 0xc0], xmm4
movss dword [esp + 0xc8], xmm2
movss dword [esp + 0xcc], xmm3
jmp 0x40b1fa
cmp eax, 3
jne 0x40b1eb
movaps xmm0, xmm4
movd xmm2, esi
subss xmm0, xmm1
cvtdq2ps xmm2, xmm2
movss dword [esp + 0xc0], xmm0
addss xmm4, xmm1
movaps xmm0, xmm2
subss xmm3, xmm2
addss xmm0, xmm5
movss dword [esp + 0xc8], xmm4
movss dword [esp + 0xcc], xmm3
movss dword [esp + 0xc4], xmm0
jmp 0x40b1fa
movaps xmm0, xmmword [0x48c620]
movups xmmword [esp + 0xc0], xmm0
movaps xmm0, xmm7
sub esp, 8
maxss xmm0, xmm6
movaps xmm1, xmm7
mov ecx, 0x1d
movss dword [esp + 4], xmm0
call fcn.00403390
mov ecx, dword [edi + 0x270]
add esp, 4
push eax
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.0041d5d0
mov esi, dword [esp + 0x30]
movss xmm2, dword [esi + 0x1558]
comiss xmm2, dword [0x48c198]
jbe 0x40b2e1
test byte [esp + 0x14], 1
jne 0x40b2e1
movss xmm1, dword [esi + 0x1528]
sub esp, 8
movss xmm0, dword [esp + 0x80]
mov ecx, 5
subss xmm0, xmm1
addss xmm1, dword [esp + 0x50]
movss dword [esp + 4], xmm2
movss dword [esp + 0xc8], xmm0
movss xmm0, dword [esp + 0x2c]
subss xmm0, dword [0x48c20c]
movss dword [esp + 0xd8], xmm1
movss xmm1, dword [0x48c20c]
movss dword [esp + 0xcc], xmm0
movss dword [esp + 0xdc], xmm0
call fcn.00403390
mov ecx, dword [edi + 0x270]
add esp, 4
push eax
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.0041d5d0
cmp dword [esi + 0x1ae8], edi
jne 0x40b407
movss xmm2, dword [edi + 0xc]
movss xmm1, dword [edi + 0x10]
movaps xmm4, xmm2
movss xmm0, dword [esi + 0x18bc]
movaps xmm3, xmm1
addss xmm2, dword [edi + 0x14]
addss xmm1, dword [edi + 0x18]
movss xmm6, dword [edi + 0x44]
subss xmm4, xmm0
movss xmm7, dword [esp + 0x80]
subss xmm3, xmm0
movaps xmm5, xmm6
maxss xmm5, dword [esi + 0x1524]
addss xmm2, xmm0
comiss xmm7, xmm4
addss xmm1, xmm0
movss dword [esp + 0xc0], xmm4
movss dword [esp + 0xc4], xmm3
movss dword [esp + 0xc8], xmm2
movss dword [esp + 0xcc], xmm1
jb 0x40b3c3
movss xmm7, dword [esp + 0x98]
comiss xmm7, xmm3
jb 0x40b3c3
comiss xmm2, dword [esp + 0x68]
jb 0x40b3c3
comiss xmm1, dword [esp + 0x28]
jb 0x40b3c3
xorps xmm0, xmmword [0x48c600]
movaps xmm5, xmm6
subss xmm0, dword [0x48c20c]
subss xmm4, xmm0
subss xmm3, xmm0
addss xmm2, xmm0
addss xmm1, xmm0
movss dword [esp + 0xc0], xmm4
movss dword [esp + 0xc4], xmm3
movss dword [esp + 0xc8], xmm2
movss dword [esp + 0xcc], xmm1
movss xmm1, dword [esi + 0x1af4]
push ecx
mov dword [esp], 0x40400000
mov ecx, 0x2d
push 0xffffffffffffffff
sub esp, 8
movss dword [esp + 4], xmm5
call fcn.00403390
mov ecx, dword [edi + 0x270]
add esp, 4
push eax
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0xd4]
push eax
call fcn.0041d710
movss xmm4, dword [edi + 0xc]
xorps xmm2, xmm2
subss xmm4, dword [edi + 0x54]
movss xmm3, dword [edi + 0x3c]
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 8]
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x28], ecx
movaps xmm0, xmm4
mov ecx, dword [0x4b5f50]
addss xmm0, xmm3
mov dword [edi + 0x24], eax
movss dword [edi + 0x208], xmm0
test edx, 0x400
je 0x40b46f
movss xmm1, dword [ecx + 0x18c0]
mulss xmm1, dword [edi + 0x268]
movss xmm0, dword [ecx + 0x1550]
addss xmm0, xmm0
addss xmm1, dword [edi + 0x148]
addss xmm1, xmm0
jmp 0x40b472
xorps xmm1, xmm1
test dl, 1
je 0x40b47c
xorps xmm6, xmm6
jmp 0x40b49c
movss xmm0, dword [ecx + 0x1550]
movss xmm6, dword [ecx + 0x18c0]
addss xmm0, xmm0
mulss xmm6, dword [edi + 0x268]
addss xmm6, xmm0
movss xmm5, dword [edi + 0x10]
subss xmm5, dword [edi + 0x58]
movss xmm7, dword [edi + 0x40]
movaps xmm0, xmm7
addss xmm0, xmm5
addss xmm0, xmm6
addss xmm0, xmm1
movss dword [edi + 0x20c], xmm0
movss xmm0, dword [edi + 0x34]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x40b4da
movss xmm0, dword [edi + 0x14]
subss xmm0, dword [edi + 0x6c]
subss xmm4, xmm3
addss xmm4, xmm0
movss xmm0, dword [edi + 0x38]
ucomiss xmm0, xmm2
movss dword [edi + 0x210], xmm4
lahf
test ah, 0x44
jp 0x40b502
movss xmm0, dword [edi + 0x18]
subss xmm0, dword [edi + 0x70]
mov dword [edi + 0x1b0], 0
subss xmm5, xmm7
mov dword [edi + 0x1b4], 0
addss xmm3, xmm2
addss xmm5, xmm0
subss xmm3, dword [edi + 0x54]
movss dword [edi + 0x214], xmm5
movss dword [edi + 0x1ac], xmm3
test edx, 0x400
je 0x40b569
movss xmm4, dword [ecx + 0x18c0]
mulss xmm4, dword [edi + 0x268]
movss xmm0, dword [ecx + 0x1550]
addss xmm0, xmm0
addss xmm4, dword [edi + 0x148]
addss xmm4, xmm0
jmp 0x40b56c
xorps xmm4, xmm4
test dl, 1
je 0x40b576
xorps xmm1, xmm1
jmp 0x40b596
movss xmm0, dword [ecx + 0x1550]
movss xmm1, dword [ecx + 0x18c0]
addss xmm0, xmm0
mulss xmm1, dword [edi + 0x268]
addss xmm1, xmm0
addss xmm1, xmm4
mov dword [edi + 0xf0], 0
addss xmm3, xmm2
mov dword [edi + 0xf4], 0
mov dword [edi + 0xe4], 0
mov dword [edi + 0xe8], 0
mov dword [edi + 0xf8], 0
addss xmm1, xmm7
addss xmm3, dword [edi + 0xc]
subss xmm1, dword [edi + 0x58]
movss dword [edi + 0xd4], xmm3
movss dword [edi + 0xc4], xmm3
movss dword [edi + 0xcc], xmm3
movss dword [edi + 0xdc], xmm3
addss xmm1, dword [edi + 0x10]
movss dword [edi + 0xd8], xmm1
movss dword [edi + 0xc8], xmm1
movss dword [edi + 0xd0], xmm1
movss dword [edi + 0xe0], xmm1
mov dword [edi + 0xec], 0
mov byte [edi + 0x140], 0
movss xmm0, dword [edi + 0x20]
subss xmm0, dword [edi + 0x70]
movss xmm1, dword [edi + 0x30]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
comiss xmm0, xmm2
seta al
mov byte [edi + 0x141], al
mov eax, dword [edi + 0x13c]
mov dword [edi + 0x138], eax
lea eax, [edi + 0x14c]
mov dword [edi + 0x13c], 0
mov byte [edi + 0x142], 0
movss xmm0, dword [edi + 0xc8]
subss xmm0, dword [0x48c424]
movss dword [edi + 0xfc], xmm0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40b6be
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 + 0x14c]
call fcn.00412e60
lea eax, [edi + 0x14c]
mov ecx, dword [esp + 0x44]
mov dword [eax], 0
mov dword [edi + 0x15c], 0
test ecx, ecx
je 0x40b6ea
mov eax, dword [ecx + 0x15c]
mov dword [edi + 0x160], eax
mov eax, dword [ecx + 0x164]
jmp 0x40b6f6
mov dword [edi + 0x160], 0
xor eax, eax
mov dword [edi + 0x164], eax
mov eax, dword [edi + 0x21c]
mov dword [edi + 0x168], eax
lea eax, [edi + 0x170]
mov dword [edi + 0x16c], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40b741
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 + 0x170]
call fcn.00412e60
lea eax, [edi + 0x170]
mov dword [eax], 0
lea eax, [edi + 0x17c]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40b776
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 + 0x17c]
call fcn.00412e60
lea eax, [edi + 0x17c]
mov dword [eax], 0
lea eax, [edi + 0x188]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40b7ab
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 + 0x188]
call fcn.00412e60
lea eax, [edi + 0x188]
mov dword [eax], 0
lea ecx, [edi + 0x194]
mov dword [edi + 0x1b8], 0
lea eax, [edi + 0x250]
mov dword [edi + 0x100], 0
mov dword [edi + 0x104], 0
push 0
mov dword [edi + 0x158], eax
call fcn.00412af0
cmp byte [esp + 0x1b], 0
lea ecx, [edi + 0x240]
movss xmm0, dword [esi + 0x155c]
mov dword [edi + 0x220], 3
mov dword [edi + 0x22c], 0
mov dword [edi + 0x228], 0
movss dword [edi + 0x224], xmm0
je 0x40b829
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
xor edx, edx
cmp dword [edi + 0x220], edx
jle 0x40b895
xorps xmm1, xmm1
test edx, edx
jle 0x40b85b
movss xmm0, dword [ecx]
comiss xmm0, xmm1
jbe 0x40b85b
movss xmm0, dword [edi + 0x228]
addss xmm0, dword [edi + 0x224]
movss dword [edi + 0x228], xmm0
cvttss2si eax, dword [edi + 0x228]
inc edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx - 0x10], xmm0
movss xmm0, dword [edi + 0x228]
addss xmm0, dword [ecx]
movss dword [edi + 0x228], xmm0
mov dword [ecx], 0
add ecx, 4
cmp edx, dword [edi + 0x220]
jl 0x40b836
test dword [esp + 0x14], 0x1000000
je 0x40b907
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x164]
cmp dword [edi + 0x164], eax
je 0x40b907
lea ecx, [edi + 0x170]
mov dword [edi + 0x164], eax
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x40b8f3
inc edx
mov dword [esp + 0x40], edx
test eax, eax
je 0x40b8dd
cdq
sub eax, edx
mov edx, dword [esp + 0x40]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40b8e2
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00412e60
lea ecx, [edi + 0x170]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [edi + 0x164]
mov dword [ecx + edx*4], eax
inc dword [edi + 0x170]
mov eax, dword [edi + 0x8c]
test eax, eax
jle 0x40b918
dec eax
mov dword [edi + 0x8c], eax
mov eax, dword [edi + 0x90]
test eax, eax
jle 0x40b929
dec eax
mov dword [edi + 0x90], eax
cmp byte [esp + 0x12], 0
je 0x40b940
mov ecx, edi
call fcn.0040c4d0
xor dl, dl
mov ecx, edi
call fcn.0040e590
test byte [esp + 0x14], 1
movaps xmm0, xmmword [esp + 0xe0]
movaps xmmword [esp + 0xa0], xmm0
jne 0x40be63
mov eax, dword [edi + 0x164]
mov dword [esp + 0x40], eax
or eax, 0x10
mov dword [edi + 0x164], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x130], 1
mov dword [edi + 0x134], 2
test al, 0x20
jne 0x40b9e2
mov ecx, dword [edi + 0x1bc]
xor edx, edx
mov eax, dword [edi + 0x1c4]
push dword [eax + ecx*4 - 4]
mov ecx, str.COLLAPSE
call fcn.00402c90
mov ecx, dword [0x4b5f50]
add esp, 4
cmp dword [ecx + 0x19bc], eax
jne 0x40b9bd
mov dword [ecx + 0x19c4], eax
cmp dword [ecx + 0x19c0], eax
jne 0x40b9cc
mov byte [ecx + 0x19cf], 1
lea edx, [edi + 0xc]
mov ecx, eax
call fcn.00422de0
test al, al
mov eax, dword [esp + 0x14]
je 0x40b9e2
mov byte [edi + 0x7a], 1
mov ecx, dword [esp + 0x40]
mov dword [edi + 0x130], 0
mov dword [edi + 0x134], 1
mov dword [edi + 0x164], ecx
mov ecx, dword [0x4b5f50]
mov dword [esp + 0x1c], ecx
test eax, 0x100000
je 0x40ba9f
movss xmm0, dword [ecx + 0x18bc]
mov eax, dword [ecx + 0x18b8]
movaps xmm2, xmm0
movss xmm3, dword [0x48c42c]
push ecx
push 0
push 0x486c00
push ecx
lea ecx, [esp + 0xd0]
mov dword [esp], 0xbf800000
push ecx
mov ecx, eax
mov dword [esp + 0xc4], eax
movss dword [esp + 0x54], xmm0
call fcn.0041fe90
movss xmm0, dword [esp + 0xc0]
xorps xmm2, xmm2
comiss xmm0, xmm2
jbe 0x40ba80
mov eax, dword [esp + 0xb0]
movss xmm1, dword [esp + 0x40]
divss xmm1, dword [eax]
subss xmm0, xmm1
addss xmm0, dword [0x48c208]
mov ecx, dword [esp + 0x1c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x20], xmm0
jmp 0x40baa8
xorps xmm2, xmm2
movss dword [esp + 0x20], xmm2
mov edx, dword [esp + 0x54]
cmp edx, 0xffffffff
jae 0x40baca
mov al, byte [edx]
mov byte [esp + 0x12], al
test al, al
je 0x40baca
cmp al, 0x23
jne 0x40bac4
cmp byte [edx + 1], al
je 0x40baca
inc edx
cmp edx, 0xffffffff
jb 0x40bab1
movss xmm0, dword [ecx + 0x18bc]
mov eax, dword [ecx + 0x18b8]
mov dword [esp + 0xb0], eax
movss dword [esp + 0x40], xmm0
cmp dword [esp + 0x54], edx
jne 0x40baf3
movaps xmm6, xmm2
jmp 0x40bb6a
movss xmm3, dword [0x48c42c]
movaps xmm2, xmm0
push ecx
push edx
push dword [esp + 0x5c]
push ecx
lea ecx, [esp + 0xd0]
mov dword [esp], 0xbf800000
push ecx
mov ecx, eax
call fcn.0041fe90
movss xmm1, dword [esp + 0xc0]
xorps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x40bb41
mov eax, dword [esp + 0xb0]
movss xmm0, dword [esp + 0x40]
divss xmm0, dword [eax]
subss xmm1, xmm0
addss xmm1, dword [0x48c208]
movss xmm0, dword [esp + 0xc4]
mov ecx, dword [esp + 0x1c]
cvttss2si eax, xmm1
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movss dword [esp + 0xd0], xmm6
test byte [esp + 0x14], 0x20
addss xmm0, xmm2
movss xmm7, dword [esp + 0x20]
addss xmm6, xmm7
movss dword [esp + 0xc4], xmm0
movaps xmm0, xmmword [esp + 0xa0]
movss dword [esp + 0x34], xmm6
movss dword [esp + 0xc0], xmm6
movaps xmmword [esp + 0xb0], xmm0
je 0x40bbb4
movss xmm1, dword [esi + 0x154c]
movaps xmm5, xmm1
jmp 0x40bbcf
movss xmm5, dword [esi + 0x154c]
movaps xmm1, xmm5
addss xmm1, dword [esi + 0x18bc]
addss xmm1, dword [esi + 0x1564]
movss xmm3, dword [esi + 0x1534]
movaps xmm0, xmm5
comiss xmm3, xmm2
jbe 0x40bbee
movaps xmm0, xmm1
subss xmm0, xmm5
mulss xmm0, xmm3
addss xmm0, xmm5
movss xmm4, dword [esp + 0xb8]
movss xmm3, dword [esp + 0x48]
subss xmm4, xmm0
mov eax, dword [esp + 0x54]
addss xmm3, xmm1
mov dword [esp + 0x2c], eax
mov edx, eax
movss dword [esp + 0xb8], xmm4
movss dword [esp + 0xb0], xmm3
movaps xmm0, xmmword [esp + 0xb0]
movaps xmmword [esp + 0xf0], xmm0
movss xmm0, dword [edi + 0x14]
addss xmm0, dword [edi + 0xc]
subss xmm0, xmm5
movss dword [esp + 0xf8], xmm0
cmp eax, 0xffffffff
jae 0x40bc6d
nop dword [eax]
mov al, byte [edx]
mov byte [esp + 0x12], al
test al, al
je 0x40bc69
cmp al, 0x23
jne 0x40bc63
cmp byte [edx + 1], al
je 0x40bc69
inc edx
cmp edx, 0xffffffff
jb 0x40bc50
mov dword [esp + 0x2c], edx
mov eax, edx
sub eax, dword [esp + 0x54]
je 0x40bd09
mov ecx, dword [ecx + 0x199c]
lea eax, [esp + 0xf0]
push eax
lea eax, [esi + 0x1534]
push eax
mov ecx, dword [ecx + 0x270]
lea eax, [esp + 0xc8]
push eax
push edx
push dword [esp + 0x64]
lea eax, [esp + 0xcc]
push eax
lea edx, [esp + 0xc8]
call fcn.00403680
mov eax, dword [esp + 0x34]
add esp, 0x18
cmp byte [eax + 0x2c54], 0
je 0x40bcdc
push dword [esp + 0x2c]
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0xb4]
call fcn.00411e30
add esp, 4
mov ecx, dword [0x4b5f50]
xorps xmm2, xmm2
movss xmm4, dword [esp + 0xb8]
movss xmm3, dword [esp + 0xb0]
movss xmm6, dword [esp + 0x34]
movss xmm7, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
jmp 0x40bd0d
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test eax, 0x100000
je 0x40be73
movss xmm0, dword [esi + 0x18bc]
mov edx, 0x486c00
xorps xmm0, xmmword [0x48c600]
mulss xmm0, dword [0x48c1d4]
mov dword [esp + 0xc0], 0
mov dword [esp + 0x2c], edx
cvttss2si eax, xmm0
movss xmm0, dword [esi + 0x1538]
movss dword [esp + 0xc4], xmm0
movaps xmm0, xmm4
subss xmm4, xmm3
addss xmm0, xmm2
movd xmm1, eax
mov eax, edx
cvtdq2ps xmm1, xmm1
subss xmm4, xmm6
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0xbc]
addss xmm0, xmm1
mulss xmm4, dword [esi + 0x1534]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [0x48c23c]
addss xmm4, xmm3
subss xmm0, xmm7
maxss xmm3, xmm4
addss xmm3, xmm6
addss xmm3, xmm0
movss xmm0, dword [esp + 0xb4]
addss xmm0, xmm2
addss xmm3, xmm2
addss xmm0, xmm1
movss dword [esp + 0xd0], xmm3
movss dword [esp + 0xd4], xmm0
cmp eax, 0xffffffff
jae 0x40bdfd
nop dword [eax]
mov al, byte [edx]
mov byte [esp + 0x12], al
test al, al
je 0x40bdf9
cmp al, 0x23
jne 0x40bdf3
cmp byte [edx + 1], al
je 0x40bdf9
inc edx
cmp edx, 0xffffffff
jb 0x40bde0
mov dword [esp + 0x2c], edx
mov eax, edx
sub eax, 0x486c00
je 0x40be6f
mov ecx, dword [ecx + 0x199c]
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0xc4]
push eax
mov ecx, dword [ecx + 0x270]
lea eax, [esp + 0x54]
push 0
push edx
push 0x486c00
push eax
lea edx, [esp + 0xe8]
call fcn.00403680
mov eax, dword [esp + 0x34]
add esp, 0x18
cmp byte [eax + 0x2c54], 0
je 0x40be63
push dword [esp + 0x2c]
mov edx, 0x486c00
lea ecx, [esp + 0xd4]
call fcn.00411e30
add esp, 4
mov ecx, dword [0x4b5f50]
mov eax, dword [esp + 0x14]
jmp 0x40be77
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
movss xmm2, dword [edi + 0xc]
and eax, 0x401
movss xmm3, dword [edi + 0x10]
movss xmm1, dword [edi + 0x18]
movss dword [edi + 0x1d8], xmm2
addss xmm1, xmm3
movss dword [edi + 0x1dc], xmm3
addss xmm2, dword [edi + 0x14]
movss dword [edi + 0x1e0], xmm2
movss dword [edi + 0x1e4], xmm1
movss xmm0, dword [edi + 0x1d8]
maxss xmm0, dword [edi + 0x1c8]
maxss xmm3, dword [edi + 0x1cc]
movss dword [edi + 0x1d8], xmm0
movss dword [edi + 0x1dc], xmm3
movss xmm1, dword [edi + 0x1e0]
movss xmm0, dword [edi + 0x1e4]
minss xmm1, dword [edi + 0x1d0]
minss xmm0, dword [edi + 0x1d4]
movss dword [edi + 0x1e0], xmm1
movss dword [edi + 0x1e4], xmm0
movss xmm5, dword [edi + 0x48]
movaps xmm6, xmm5
addss xmm6, dword [esp + 0x48]
movss dword [edi + 0x1e8], xmm6
cmp eax, 1
jne 0x40bf2c
movaps xmm1, xmm5
jmp 0x40bf34
movss xmm1, dword [esi + 0x1558]
test dword [edi + 8], 0x400
je 0x40bf67
movss xmm4, dword [ecx + 0x18c0]
mulss xmm4, dword [edi + 0x268]
movss xmm0, dword [ecx + 0x1550]
addss xmm0, xmm0
addss xmm4, dword [edi + 0x148]
addss xmm4, xmm0
jmp 0x40bf6a
xorps xmm4, xmm4
addss xmm4, dword [esp + 0x24]
addss xmm4, xmm1
xorps xmm1, xmm1
movss dword [edi + 0x1ec], xmm4
movss xmm3, dword [edi + 0x14]
addss xmm3, dword [edi + 0xc]
subss xmm3, dword [edi + 0x6c]
subss xmm3, xmm5
movss dword [edi + 0x1f0], xmm3
movss xmm2, dword [edi + 0x10]
addss xmm2, dword [edi + 0x18]
subss xmm2, dword [edi + 0x70]
subss xmm2, xmm5
movss dword [edi + 0x1f4], xmm2
movss xmm0, dword [edi + 0x3c]
mulss xmm0, dword [0x48c1e8]
subss xmm0, xmm5
movss xmm5, dword [0x48c1e8]
addss xmm6, xmm5
addss xmm4, xmm5
addss xmm3, xmm5
addss xmm2, xmm5
movss xmm5, dword [esp + 0xe4]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
addss xmm6, xmm1
subss xmm3, xmm1
cvttss2si eax, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm4
movss dword [edi + 0x1f8], xmm0
movss xmm4, dword [esp + 0x78]
movd xmm0, eax
cvttss2si eax, xmm3
cvtdq2ps xmm0, xmm0
movss xmm3, dword [esp + 0x48]
movss dword [edi + 0x1fc], xmm0
movd xmm0, eax
cvttss2si eax, xmm2
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x200], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x204], xmm0
mov eax, dword [edi + 0x4c]
mov dword [edi + 0x108], eax
movss xmm1, dword [ecx + 0x156c]
movss xmm0, dword [ecx + 0x1570]
subss xmm3, xmm1
addss xmm4, xmm1
movaps xmm2, xmm0
movss xmm1, dword [ecx + 0xe4]
subss xmm5, xmm0
addss xmm2, dword [esp + 0x24]
comiss xmm1, xmm3
jb 0x40c0af
movss xmm0, dword [ecx + 0xe8]
comiss xmm0, xmm5
jb 0x40c0af
comiss xmm4, xmm1
jbe 0x40c0af
comiss xmm2, xmm0
jbe 0x40c0af
mov eax, 1
jmp 0x40c0b1
xor eax, eax
movaps xmm0, xmmword [esp + 0xa0]
mov dword [edi + 0x10c], eax
movups xmmword [edi + 0x110], xmm0
jmp 0x40c0cc
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x199c]
movss xmm3, dword [edi + 0x200]
movss xmm2, dword [edi + 0x204]
movss xmm1, dword [edi + 0x1f8]
movss xmm0, dword [edi + 0x1fc]
mov dword [esp + 0x9c], eax
mov eax, dword [eax + 0x270]
mov dword [esp + 0x28], eax
movss dword [esp + 0xc0], xmm1
movss dword [esp + 0xc4], xmm0
mov ecx, dword [eax + 0x3c]
movss dword [esp + 0xc8], xmm3
movss dword [esp + 0xcc], xmm2
test ecx, ecx
je 0x40c1ad
mov eax, dword [eax + 0x44]
add ecx, ecx
movups xmm4, xmmword [eax + ecx*8 - 0x10]
comiss xmm4, xmm1
movaps xmmword [esp + 0xf0], xmm4
jbe 0x40c15b
movaps xmm1, xmm4
movss dword [esp + 0xc0], xmm1
movss xmm4, dword [esp + 0xf4]
comiss xmm4, xmm0
jbe 0x40c175
movaps xmm0, xmm4
movss dword [esp + 0xc4], xmm0
movss xmm4, dword [esp + 0xf8]
comiss xmm3, xmm4
jbe 0x40c18f
movaps xmm3, xmm4
movss dword [esp + 0xc8], xmm3
movss xmm4, dword [esp + 0xfc]
comiss xmm2, xmm4
mov eax, dword [esp + 0x28]
jbe 0x40c1ad
movaps xmm2, xmm4
movss dword [esp + 0xcc], xmm2
comiss xmm1, xmm3
jb 0x40c1bb
movss dword [esp + 0xc8], xmm1
comiss xmm0, xmm2
jb 0x40c1c9
movss dword [esp + 0xcc], xmm0
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx + 4]
mov dword [esp + 0xb0], ecx
cmp edx, eax
jne 0x40c20b
inc edx
mov dword [esp + 0x40], edx
test eax, eax
je 0x40c1f4
cdq
sub eax, edx
mov edx, dword [esp + 0x40]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40c1f9
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00421150
mov ecx, dword [esp + 0xb0]
mov eax, dword [ecx]
movups xmm0, xmmword [esp + 0xc0]
shl eax, 4
add eax, dword [ecx + 8]
movups xmmword [eax], xmm0
inc dword [ecx]
mov ecx, dword [esp + 0x28]
call fcn.0041b7f0
mov edx, dword [esp + 0x9c]
mov eax, dword [edx + 0x270]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
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 dword [edx + 0x1c8], eax
mov eax, dword [esp + 0x74]
movss dword [edx + 0x1cc], xmm0
movss dword [edx + 0x1d0], xmm1
movss dword [edx + 0x1d4], xmm2
cmp eax, dword [esp + 0x60]
je 0x40c280
mov byte [edi + 0x78], 0
inc word [edi + 0x80]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x1a54], 0
mov dword [esi + 0x1a50], 0
mov dword [esi + 0x1a4c], 0
mov dword [esi + 0x1a48], 0
mov dword [esi + 0x1a44], 0
mov dword [esi + 0x1a40], 0
mov dword [esi + 0x1a3c], 0
test eax, 0x1000000
je 0x40c338
test al, 0x40
jne 0x40c31a
cmp dword [edi + 0x8c], 0
jg 0x40c31a
cmp dword [edi + 0x90], 0
jg 0x40c31a
movss xmm0, dword [edi + 0x1d8]
comiss xmm0, dword [edi + 0x1e0]
jae 0x40c310
movss xmm0, dword [edi + 0x1dc]
comiss xmm0, dword [edi + 0x1e4]
jb 0x40c31a
mov dword [edi + 0xa0], 1
mov eax, dword [esp + 0x44]
test eax, eax
je 0x40c338
cmp byte [eax + 0x79], 0
jne 0x40c32e
cmp byte [eax + 0x7d], 0
je 0x40c338
mov dword [edi + 0xa0], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x1518]
jb 0x40c34e
mov dword [edi + 0xa0], 1
cmp dword [edi + 0xa0], 0
jg 0x40c364
cmp dword [edi + 0xa4], 0
jg 0x40c364
xor al, al
jmp 0x40c366
mov al, 1
cmp byte [edi + 0x79], 0
mov byte [edi + 0x7d], al
jne 0x40c379
cmp byte [edi + 0x76], 0
je 0x40c379
test al, al
je 0x40c398
cmp dword [edi + 0x8c], 0
jg 0x40c398
cmp dword [edi + 0x90], 0
jg 0x40c398
cmp dword [edi + 0xa4], 0
jg 0x40c398
mov al, 1
jmp 0x40c39a
xor al, al
mov ecx, dword [esp + 0x10c]
mov byte [edi + 0x7b], al
xor al, 1
pop edi
pop esi
xor ecx, esp
call fcn.00478b79
mov esp, ebp
pop ebp
ret