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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, dword [0x443040]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [0x44e5b0]
push esi
mov esi, eax
mov dword [esp + 0x50], ecx
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], esi
call fcn.00407a80
mov dword [esp + 0x34], eax
mov edi, eax
mov dword [esp + 0x5c], edi
test eax, eax
jne 0x408e3f
mov edx, dword [esi + 0x1a40]
test edx, edx
je 0x408ddd
mov eax, dword [esi + 0x1a68]
mov ecx, dword [esi + 0x1a6c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
jmp 0x408df3
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.00407af0
mov edi, eax
add esp, 8
mov eax, dword [0x44e5b0]
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 0x408e5a
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 0x408e77
mov dword [edi + 8], edx
jmp 0x408e7e
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 0x408e95
xor eax, eax
jmp 0x408ea5
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 0x408ecb
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 0x408ed5
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 0x408f3a
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 0x408f3e
mov al, byte [esp + 0x1b]
test al, al
jne 0x408f4e
cmp dword [esp + 0x20], 0
jg 0x408f4e
mov byte [edi + 0x7c], al
jmp 0x408f67
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 0x408fa9
inc edx
mov dword [esp + 0x24], edx
test eax, eax
je 0x408f87
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x408f8c
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00412cc0
mov edx, dword [0x44e5b0]
lea ecx, [esi + 0x1980]
mov dword [esp + 0x1c], edx
jmp 0x408fad
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 0x4090d9
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 0x409096
inc edx
mov dword [esp + 0x24], edx
test eax, eax
je 0x409077
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40907c
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00413010
mov eax, dword [0x44e5b0]
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 0x4090f4
test dword [esp + 0x14], 0x1000000
jne 0x4090f4
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 0x409195
mov edx, dword [edi + 0xa8]
test ecx, edx
mov eax, edx
setne byte [esp + 0x13]
test ecx, eax
je 0x409184
movss xmm1, dword [esi + 0x1a64]
movss xmm0, dword [esi + 0x1a60]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x44053c]
jbe 0x409184
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 0x409195
push ecx
lea edx, [esi + 0x1a58]
mov ecx, edi
call fcn.0040c7a0
add esp, 4
mov ecx, dword [esi + 0x1a40]
test ecx, ecx
je 0x4091f2
mov eax, dword [edi + 0xac]
xorps xmm1, xmm1
and eax, ecx
je 0x4091c0
movss xmm0, dword [esi + 0x1a68]
comiss xmm0, xmm1
jbe 0x4091c0
mov byte [esp + 0x12], 1
jmp 0x4091ca
xor dl, dl
mov byte [esp + 0x12], dl
test eax, eax
je 0x4091dc
movss xmm0, dword [esi + 0x1a6c]
comiss xmm0, xmm1
mov byte [esp + 0x1a], 1
ja 0x4091e1
mov byte [esp + 0x1a], 0
push ecx
lea edx, [esi + 0x1a68]
mov ecx, edi
call fcn.0040c860
add esp, 4
cmp dword [esi + 0x1a44], 0
je 0x4092a8
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 0x4092c0
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x1c]
test cl, 1
je 0x409237
xorps xmm2, xmm2
jmp 0x409257
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 0x409296
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 0x4092c0
xorps xmm1, xmm1
addss xmm1, xmm2
addss xmm1, xmm3
movss dword [edi + 0x38], xmm1
jmp 0x4092c0
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x60]
je 0x4092c0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov ecx, dword [esi + 0x1a48]
test ecx, ecx
je 0x4092e6
mov eax, dword [edi + 0xb0]
mov dl, byte [esi + 0x1a78]
test eax, ecx
je 0x4092e6
and eax, 0xfffffff1
mov byte [edi + 0x79], dl
mov dword [edi + 0xb0], eax
cmp dword [esi + 0x1a50], 0
je 0x4092f6
mov ecx, edi
call fcn.0040c330
cmp byte [edi + 0x7c], 0
je 0x409311
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 0x40bf28
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 0x40937d
cmp eax, 0x1000000
jne 0x409361
mov eax, dword [edx + 0x2ec]
mov dword [edi + 0x2ec], eax
test ecx, 0x8000000
jne 0x40937d
test ecx, 0x5000000
je 0x40937d
mov eax, dword [edx + 0x2f0]
mov dword [edi + 0x2f0], eax
test dword [edi + 8], 0x800000
je 0x4093a7
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 0x409390
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 0x40944d
test eax, eax
je 0x409424
cdq
sub eax, edx
lea edx, [edi + 0x1bc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x40942f
mov ecx, 8
lea edx, [edi + 0x1bc]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.00412cc0
mov edx, dword [0x44e5b0]
mov ecx, dword [esp + 0x14]
jmp 0x409451
mov edx, dword [esp + 0x1c]
mov dword [edi + 0x1bc], 1
cmp byte [edi + 0x79], 0
jne 0x4094de
cmp byte [edi + 0x7d], 0
je 0x409479
cmp dword [edi + 0xa4], 0
jne 0x409479
cmp dword [edi + 0xa0], 0
jg 0x4094de
movss xmm0, dword [edi + 0x34]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x40949c
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 0x4094c7
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 0x4094eb
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 0x409506
dec eax
mov dword [edi + 0xa0], eax
mov eax, dword [edi + 0xa4]
test eax, eax
jle 0x409517
dec eax
mov dword [edi + 0xa4], eax
cmp dword [esp + 0x34], 0
mov al, byte [esp + 0x12]
mov ah, byte [esp + 0x1a]
jne 0x409538
test al, al
je 0x40952e
test ah, ah
jne 0x409538
mov dword [edi + 0xa4], 1
cmp byte [esp + 0x1b], 0
je 0x409588
test ecx, 0x6000000
je 0x409588
mov dword [edi + 0xa4], 1
test cl, 0x40
je 0x409588
test al, al
jne 0x409568
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test ah, ah
jne 0x40957a
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 0x4095c0
movss xmm0, dword [esi + 0x1540]
jmp 0x4095e2
test ecx, 0x6000000
je 0x4095da
test ecx, 0x8000000
jne 0x4095da
movss xmm0, dword [esi + 0x1548]
jmp 0x4095e2
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 0x409635
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x409635
test ecx, 0x400
je 0x409626
movss xmm0, dword [esi + 0x1520]
jmp 0x409629
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 0x409776
test byte [edi + 8], 1
je 0x409672
xorps xmm3, xmm3
jmp 0x409692
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 0x409742
cmp dword [esi + 0x19a8], 0
jne 0x409742
cmp dword [esi + 0x19b0], 0
jne 0x409742
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 0x409742
movss xmm0, dword [edx + 0xe8]
comiss xmm0, xmm6
jb 0x409742
comiss xmm4, xmm1
jbe 0x409742
comiss xmm3, xmm0
jbe 0x409742
cmp byte [esi + 0x3fd], 0
je 0x409742
mov byte [edi + 0x7a], 1
cmp byte [edi + 0x7a], 0
je 0x40977a
cmp byte [edi + 0x79], 0
sete al
test dword [edi + 8], 0x100
mov byte [edi + 0x79], al
jne 0x40976d
comiss xmm2, dword [edx + 0x2c2c]
jb 0x40976d
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x2c2c], eax
mov ecx, edi
call fcn.0040c330
jmp 0x40977a
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.004081a0
movss xmm0, dword [0x440664]
add esp, 4
test byte [esp + 0x14], 0x40
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x1c], xmm0
je 0x4097f3
cmp byte [edi + 0x79], 0
jne 0x4097f3
cmp byte [esp + 0x12], 0
jne 0x4097cf
movss xmm0, dword [esp + 0xb0]
movss dword [esp + 0x48], xmm0
movss dword [edi + 0x1c], xmm0
cmp byte [esp + 0x1a], 0
jne 0x4098a9
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x1c], xmm0
movss dword [edi + 0x20], xmm0
jmp 0x4098a9
mov eax, dword [edi + 0x8c]
test eax, eax
jg 0x40980a
cmp dword [edi + 0x90], 0
jle 0x4098a9
cmp byte [esp + 0x12], 0
jne 0x409842
test eax, eax
jle 0x409842
cmp byte [edi + 0x94], 0
je 0x40982e
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [esp + 0xb0]
jmp 0x409837
movss xmm0, dword [esp + 0xb0]
movss dword [esp + 0x48], xmm0
movss dword [edi + 0x1c], xmm0
cmp byte [esp + 0x1a], 0
jne 0x40987f
cmp dword [edi + 0x90], 0
jle 0x40987f
cmp byte [edi + 0x94], 0
je 0x40986b
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [esp + 0xb4]
jmp 0x409874
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x1c], xmm0
movss dword [edi + 0x20], xmm0
cmp byte [edi + 0x79], 0
jne 0x4098a9
test dword [edi + 8], 0x100
mov ecx, dword [0x44e5b0]
jne 0x4098a9
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2c2c]
jb 0x4098a9
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.00407f10
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 0x409945
test edx, 0x1000000
jne 0x409945
test byte [edi + 8], 1
je 0x4098f5
xorps xmm2, xmm2
jmp 0x40991a
mov eax, dword [0x44e5b0]
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 0x409959
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 0x409a57
movss xmm0, dword [esp + 0x48]
movss xmm1, dword [0x440664]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x409992
movss xmm3, dword [edi + 0x24]
movss xmm0, dword [esp + 0x1c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x4099a8
movss xmm2, dword [edi + 0x20]
jmp 0x4099ad
movss xmm2, dword [edi + 0x28]
test edx, 0x4000
jne 0x4099c8
movss xmm0, dword [edi + 0x30]
comiss xmm0, xmm2
jbe 0x4099c4
test dl, 8
je 0x4099c8
xor cl, cl
jmp 0x4099ca
mov cl, 1
mov byte [edi + 0x75], cl
test edx, 0x8000
jne 0x409a0e
xorps xmm1, xmm1
test cl, cl
je 0x4099e6
movss xmm0, dword [esi + 0x157c]
jmp 0x4099e9
xorps xmm0, xmm0
subss xmm3, xmm0
movss xmm0, dword [edi + 0x2c]
comiss xmm0, xmm3
jbe 0x409a05
mov eax, edx
and eax, 0x808
cmp eax, 0x800
je 0x409a0e
mov byte [edi + 0x74], 0
xorps xmm0, xmm0
jmp 0x409a41
mov byte [edi + 0x74], 1
test cl, cl
jne 0x409a36
subss xmm2, dword [esi + 0x157c]
movss xmm0, dword [edi + 0x30]
comiss xmm0, xmm2
jbe 0x409a31
test dl, 8
jne 0x409a31
mov cl, 1
jmp 0x409a33
xor cl, cl
mov byte [edi + 0x75], cl
movss xmm0, dword [esi + 0x157c]
xorps xmm1, xmm1
test cl, cl
je 0x409a4d
movss xmm1, dword [esi + 0x157c]
movss dword [edi + 0x6c], xmm1
movss dword [edi + 0x70], xmm0
cmp byte [esp + 0x1b], 0
je 0x409a9c
mov dword [edi + 0x9c], 0xffffffff
test edx, 0x4000000
je 0x409a9c
cmp byte [esp + 0x13], 0
jne 0x409a9c
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 0x409b43
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 0x409af8
mov edx, dword [ecx]
inc edx
mov dword [esp + 0x24], edx
test eax, eax
je 0x409ae0
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x409ae5
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00412cc0
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 0x409b4b
test al, al
jne 0x409b4b
cmp ecx, 0x3000000
je 0x409b4b
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 [0x440664]
ucomiss xmm0, xmm7
movss dword [esp + 0x24], xmm0
lahf
test ah, 0x44
jnp 0x409c7a
cmp dword [edi + 0xa4], 0
jne 0x409c7a
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 0x409ccb
test edx, 0x10000000
jne 0x409ca9
test edx, 0x4000000
je 0x409c95
test al, al
jne 0x409c95
cmp dword [esp + 0x20], 0
jg 0x409ca9
test edx, 0x2000000
je 0x409cd3
test al, al
jne 0x409cd3
cmp ecx, 0x3000000
je 0x409cd3
mov edx, edi
lea ecx, [esp + 0x4c]
call fcn.0040d920
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 [0x440664]
test edx, 0x1000000
jne 0x409dfd
cmp byte [esp + 0x13], 0
jne 0x409dfd
cmp dword [edi + 0x8c], 0
jg 0x409dfd
cmp dword [edi + 0x90], 0
xorps xmm2, xmm2
jg 0x409e00
movss xmm0, dword [esi + 0x10]
comiss xmm0, xmm2
jbe 0x409e00
movss xmm0, dword [esi + 0x14]
comiss xmm0, xmm2
jbe 0x409e00
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 0x409d90
test byte [edi + 8], 1
jne 0x409d90
mov eax, dword [0x44e5b0]
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 0x409da4
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 0x409e34
movss xmm6, dword [esi + 0x153c]
jmp 0x409e54
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x409e4c
movss xmm6, dword [esi + 0x1544]
jmp 0x409e54
movss xmm6, dword [esi + 0x1524]
mov eax, dword [edi + 0x334]
movss dword [edi + 0x44], xmm6
cmp eax, 0x7fffffff
je 0x409e7a
mov ecx, dword [edi + 0x324]
cmp ecx, 0xffffffff
je 0x409e7a
inc eax
add eax, ecx
inc ecx
cdq
idiv ecx
jmp 0x409e7f
mov edx, 0x7fffffff
mov eax, dword [edi + 0x338]
mov dword [edi + 0x32c], edx
cmp eax, 0x7fffffff
je 0x409ea6
mov ecx, dword [edi + 0x328]
cmp ecx, 0xffffffff
je 0x409ea6
inc eax
add eax, ecx
inc ecx
cdq
idiv ecx
jmp 0x409eab
mov edx, 0x7fffffff
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], 0x7fffffff
mov dword [edi + 0x334], 0x7fffffff
movss xmm4, dword [edi + 0x54]
movss xmm3, dword [edi + 0x58]
jbe 0x409f03
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 [0x4405a0]
jbe 0x409fe9
movss xmm7, dword [edi + 0x68]
movaps xmm3, xmm0
comiss xmm2, xmm7
jb 0x409f33
movss xmm0, dword [edi + 0x40]
comiss xmm0, xmm3
jb 0x409f33
xorps xmm3, xmm3
comiss xmm7, xmm5
mov eax, dword [0x44e5b0]
jb 0x409f5a
movss xmm1, dword [edi + 0x30]
movaps xmm0, xmm1
subss xmm0, dword [edi + 0x40]
addss xmm0, dword [eax + 0x1560]
comiss xmm3, xmm0
jb 0x409f5a
movaps xmm3, xmm1
mov ecx, dword [edi + 8]
test cl, 1
je 0x409f67
xorps xmm5, xmm5
jmp 0x409f87
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 0x409fb9
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 0x409fbc
xorps xmm1, xmm1
addss xmm1, xmm5
movss xmm5, dword [0x4405a0]
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 0x40a041
cmp byte [edi + 0x7b], 0
jne 0x40a041
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 0x40a01f
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 0x40a041
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 0x40a083
mov eax, dword [esp + 0x14]
test eax, 0x1000
jne 0x40a083
test eax, 0x3000000
je 0x40a07e
test eax, 0x4000000
je 0x40a083
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 [0x440564]
mov dword [esp + 0x2c], eax
mulss xmm0, dword [0x4405a4]
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 0x40a104
lea ecx, [esp + 0xf0]
push ecx
push eax
lea eax, [esp + 0x30]
mov ecx, edi
push eax
lea edx, [esp + 0xbc]
call fcn.00408430
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 0x40a122
test dword [esp + 0x14], 0x2000040
jne 0x40a122
mulss xmm0, dword [0x440584]
jmp 0x40a136
mov eax, dword [esp + 0x30]
movss xmm0, dword [eax + 0x18bc]
mulss xmm0, dword [0x440620]
cvttss2si eax, xmm0
mov ecx, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x21c], xmm0
mov ecx, dword [edi + 0x270]
call fcn.0041b290
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 0x40a1d8
inc ecx
test eax, eax
je 0x40a1c2
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
add eax, dword [esp + 0x24]
jmp 0x40a1c7
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00412cc0
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.0041b7b0
mov ecx, dword [0x44e5b0]
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 0x40a243
movss xmm0, dword [ecx + 0xb0]
ucomiss xmm0, dword [ecx + 0xb8]
lahf
test ah, 0x44
jnp 0x40a243
movss xmm4, dword [ecx + 0xb8]
movaps xmm2, xmm0
jmp 0x40a262
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 0x40a418
cmp dword [esp + 0x38], 0x3000000
je 0x40a418
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 0x40a399
mov eax, dword [eax + 0x44]
add ecx, ecx
movups xmm4, xmmword [eax + ecx*8 - 0x10]
comiss xmm4, xmm1
movaps xmmword [esp + 0xe0], xmm4
jbe 0x40a347
movaps xmm1, xmm4
movss dword [esp + 0xc0], xmm1
movss xmm4, dword [esp + 0xe4]
comiss xmm4, xmm0
jbe 0x40a361
movaps xmm0, xmm4
movss dword [esp + 0xc4], xmm0
movss xmm4, dword [esp + 0xe8]
comiss xmm2, xmm4
jbe 0x40a37b
movaps xmm2, xmm4
movss dword [esp + 0xc8], xmm2
movss xmm4, dword [esp + 0xec]
comiss xmm3, xmm4
mov eax, dword [esp + 0x20]
jbe 0x40a399
movaps xmm3, xmm4
movss dword [esp + 0xcc], xmm3
comiss xmm1, xmm2
jb 0x40a3a7
movss dword [esp + 0xc8], xmm1
comiss xmm0, xmm3
jb 0x40a3b5
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 0x40a3f1
inc edx
mov dword [esp + 0x24], edx
test eax, eax
je 0x40a3dd
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40a3e2
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00420fe0
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.0041b680
mov edx, dword [esp + 0x58]
jmp 0x40a56a
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 0x40a4d2
mov eax, dword [eax + 0x44]
add ecx, ecx
movups xmm0, xmmword [eax + ecx*8 - 0x10]
comiss xmm0, xmm1
movaps xmmword [esp + 0xe0], xmm0
jbe 0x40a473
movss dword [esp + 0xc0], xmm0
jmp 0x40a47c
movss xmm0, dword [esp + 0xc0]
movss xmm1, dword [esp + 0xe4]
comiss xmm1, xmm2
jbe 0x40a495
movss dword [esp + 0xc4], xmm1
jmp 0x40a49e
movss xmm1, dword [esp + 0xc4]
movss xmm2, dword [esp + 0xe8]
comiss xmm3, xmm2
jbe 0x40a4b5
movss dword [esp + 0xc8], xmm2
movss xmm2, dword [esp + 0xec]
comiss xmm4, xmm2
mov eax, dword [esp + 0x20]
jbe 0x40a4e4
movss dword [esp + 0xcc], xmm2
jmp 0x40a4e4
movss xmm1, dword [esp + 0xc4]
movss xmm0, dword [esp + 0xc0]
comiss xmm0, dword [esp + 0xc8]
jb 0x40a4f7
movss dword [esp + 0xc8], xmm0
comiss xmm1, dword [esp + 0xcc]
jb 0x40a50a
movss dword [esp + 0xcc], xmm1
mov ecx, dword [eax + 0x40]
lea edx, [eax + 0x3c]
mov dword [esp + 0x64], edx
cmp dword [edx], ecx
jne 0x40a548
test ecx, ecx
je 0x40a52b
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x64]
sar eax, 1
add eax, ecx
jmp 0x40a530
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00420fe0
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.0041b680
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 0x40a5cc
call fcn.0040d090
cmp edi, eax
jne 0x40a5cc
cmp dword [edi + 0xa4], 0
jg 0x40a5cc
mov dl, 1
jmp 0x40a5ce
xor dl, dl
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x1ae8]
test ecx, ecx
je 0x40a5e8
cmp edi, dword [ecx + 0x2ec]
jne 0x40a5e8
mov cl, 1
jmp 0x40a5ea
xor cl, cl
mov byte [esp + 0x13], cl
test dl, dl
jne 0x40a5fa
test cl, cl
je 0x40a718
movss xmm1, dword [eax + 0x1be0]
push 0xf
push ecx
movzx ecx, dl
add ecx, 0x2e
mov dword [esp], 0
call fcn.004031e0
mov ecx, dword [edi + 0x270]
push eax
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.0041d6b0
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0x30]
je 0x40a718
cmp edi, dword [eax + 0x1ae8]
jne 0x40a718
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 0x40a6ce
movss xmm0, dword [esp + 0x98]
comiss xmm0, xmm4
jb 0x40a6ce
comiss xmm2, dword [esp + 0x68]
jb 0x40a6ce
comiss xmm3, dword [esp + 0x28]
jae 0x40a718
movss xmm1, dword [eax + 0x1af4]
mulss xmm1, dword [0x440568]
push 0xf
movss xmm0, dword [eax + 0x1524]
push ecx
mov ecx, 0x2d
movss dword [esp], xmm0
call fcn.004031e0
mov ecx, dword [edi + 0x270]
push eax
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.0041d6b0
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 0x40a73e
mov ecx, dword [eax + 0x1aa8]
cmp byte [esp + 0x12], 0
jne 0x40a75b
test ecx, ecx
je 0x40a757
mov eax, dword [edi + 0x2f0]
cmp eax, dword [ecx + 0x2f0]
je 0x40a75b
xor cl, cl
jmp 0x40a75d
mov cl, 1
test byte [edi + 8], 1
xorps xmm7, xmm7
mov byte [esp + 0x13], cl
je 0x40a76f
xorps xmm3, xmm3
jmp 0x40a794
mov eax, dword [0x44e5b0]
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 0x40a866
mov esi, dword [esp + 0x30]
movss xmm0, dword [esi + 0x1558]
movss dword [esp + 0x2c], xmm0
movss dword [esi + 0x1558], xmm1
test cl, cl
je 0x40a819
cmp byte [esi + 0x1b06], 0
mov ecx, 0xb
je 0x40a81e
mov ecx, 0xc
push dword [esp + 0x7c]
movss xmm1, dword [0x4405a0]
push dword [esp + 0x7c]
push dword [esp + 0xec]
push dword [esp + 0xec]
call fcn.004031e0
movss xmm2, dword [esp + 0x2c]
mov dl, 1
mov ecx, eax
call fcn.00403760
movss xmm0, dword [esp + 0x3c]
add esp, 0x10
movss dword [esi + 0x1558], xmm0
jmp 0x40b141
mov ecx, dword [esp + 0x14]
test cl, cl
js 0x40a99f
test ecx, 0x6000000
je 0x40a881
mov ecx, 4
jmp 0x40a890
and ecx, 0x1000000
or ecx, 0x2000000
shr ecx, 0x18
movss xmm1, dword [0x4405a0]
call fcn.004031e0
mov ecx, eax
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x1a54], 0
je 0x40a8e9
movss xmm1, dword [eax + 0x1a94]
comiss xmm7, xmm1
jbe 0x40a8be
xorps xmm0, xmm0
jmp 0x40a8ca
movss xmm0, dword [0x4405a0]
minss xmm0, xmm1
mulss xmm0, dword [0x440640]
and ecx, 0xffffff
addss xmm0, dword [0x44057c]
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 0x40a921
xorps xmm1, xmm1
jmp 0x40a946
mov eax, dword [0x44e5b0]
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.0041d6b0
movss xmm2, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov dword [eax + 0x1a54], 0
test cl, 1
jne 0x40a9fc
cmp byte [edi + 0x79], 0
je 0x40a9bf
mov ecx, 0xc
jmp 0x40a9c7
movzx ecx, byte [esp + 0x13]
add ecx, 0xa
movss xmm1, dword [0x4405a0]
push 3
push ecx
movss dword [esp], xmm2
call fcn.004031e0
mov ecx, dword [edi + 0x270]
push eax
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.0041d6b0
mov ecx, dword [esp + 0x14]
test ecx, 0x400
je 0x40abac
mov edx, dword [edi + 8]
xorps xmm2, xmm2
mov eax, dword [0x44e5b0]
test dl, 1
je 0x40aa1d
xorps xmm4, xmm4
jmp 0x40aa3d
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 0x40aa78
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 0x40aa7b
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 0x40aae7
movss xmm2, dword [esp + 0x1c]
movss xmm1, dword [0x4405a0]
push 3
push ecx
mov ecx, 0xd
movss dword [esp], xmm2
call fcn.004031e0
mov ecx, dword [edi + 0x270]
push eax
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0xd0]
push eax
call fcn.0041d6b0
mov eax, dword [esp + 0x30]
movss xmm2, dword [eax + 0x1558]
comiss xmm2, dword [0x440528]
jbe 0x40abac
movss xmm0, dword [edi + 0x10]
addss xmm0, dword [edi + 0x18]
movss xmm1, dword [esp + 0x34]
comiss xmm0, xmm1
jbe 0x40abac
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 [0x4405a0]
mov dword [esp + 0xd8], eax
movss dword [esp + 0x54], xmm0
movss dword [esp + 4], xmm2
call fcn.004031e0
mov ecx, dword [edi + 0x270]
add esp, 4
push eax
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.0041d460
cmp byte [edi + 0x74], 0
je 0x40abbc
mov ecx, 1
call fcn.00422fc0
cmp byte [edi + 0x75], 0
je 0x40abc9
xor ecx, ecx
call fcn.00422fc0
mov eax, dword [esp + 0x14]
test al, 2
jne 0x40ae70
movss xmm4, dword [esp + 0x38]
xor ecx, ecx
movaps xmm0, xmm4
mov dword [esp + 0x64], ecx
addss xmm0, dword [esp + 0x1c]
mov eax, 0x44dbf0
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 0x40ac5e
movd xmm3, esi
movaps xmm1, xmm4
cvtdq2ps xmm3, xmm3
jmp 0x40ac68
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 0x40accf
inc ecx
test edi, edi
je 0x40aca5
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x40acaa
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x40]
call fcn.00413090
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 0x40ad09
movd xmm1, esi
movaps xmm3, xmm4
cvtdq2ps xmm1, xmm1
jmp 0x40ad13
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 0x40ad79
inc edi
test ecx, ecx
je 0x40ad5b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x40ad60
mov eax, 8
mov ecx, dword [esp + 0x3c]
cmp eax, edi
cmovg edi, eax
push edi
call fcn.00413090
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.0041ce70
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.0041ca90
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40ae42
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.00413090
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 0x40ac00
mov eax, dword [esp + 0x14]
movss xmm6, dword [esp + 0x38]
xorps xmm1, xmm1
comiss xmm6, xmm1
jbe 0x40aef5
test al, al
js 0x40aef5
movss xmm0, dword [edi + 0x14]
addss xmm0, dword [edi + 0xc]
movss xmm1, dword [0x4405a0]
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.004031e0
mov ecx, dword [edi + 0x270]
add esp, 4
push eax
lea eax, [esp + 0xd0]
push eax
lea eax, [edi + 0xc]
push eax
call fcn.0041d5a0
movss xmm6, dword [esp + 0x38]
xorps xmm1, xmm1
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x40b096
movss xmm4, dword [edi + 0xc]
movss xmm5, dword [edi + 0x10]
movaps xmm2, xmm4
movss xmm7, dword [0x4405a0]
movaps xmm3, xmm5
addss xmm2, dword [edi + 0x14]
addss xmm3, dword [edi + 0x18]
subss xmm2, xmm7
subss xmm3, xmm7
test eax, eax
jne 0x40af73
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 0x40b05a
cmp eax, 1
jne 0x40afbe
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 0x40b05a
cmp eax, 2
jne 0x40b003
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 0x40b05a
cmp eax, 3
jne 0x40b04b
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 0x40b05a
movaps xmm0, xmmword [0x4407a0]
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.004031e0
mov ecx, dword [edi + 0x270]
add esp, 4
push eax
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.0041d460
mov esi, dword [esp + 0x30]
movss xmm2, dword [esi + 0x1558]
comiss xmm2, dword [0x440528]
jbe 0x40b141
test byte [esp + 0x14], 1
jne 0x40b141
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 [0x4405a0]
movss dword [esp + 0xd8], xmm1
movss xmm1, dword [0x4405a0]
movss dword [esp + 0xcc], xmm0
movss dword [esp + 0xdc], xmm0
call fcn.004031e0
mov ecx, dword [edi + 0x270]
add esp, 4
push eax
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.0041d460
cmp dword [esi + 0x1ae8], edi
jne 0x40b267
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 0x40b223
movss xmm7, dword [esp + 0x98]
comiss xmm7, xmm3
jb 0x40b223
comiss xmm2, dword [esp + 0x68]
jb 0x40b223
comiss xmm1, dword [esp + 0x28]
jb 0x40b223
xorps xmm0, xmmword [0x440780]
movaps xmm5, xmm6
subss xmm0, dword [0x4405a0]
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.004031e0
mov ecx, dword [edi + 0x270]
add esp, 4
push eax
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0xd4]
push eax
call fcn.0041d5a0
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 [0x44e5b0]
addss xmm0, xmm3
mov dword [edi + 0x24], eax
movss dword [edi + 0x208], xmm0
test edx, 0x400
je 0x40b2cf
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 0x40b2d2
xorps xmm1, xmm1
test dl, 1
je 0x40b2dc
xorps xmm6, xmm6
jmp 0x40b2fc
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 0x40b33a
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 0x40b362
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 0x40b3c9
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 0x40b3cc
xorps xmm4, xmm4
test dl, 1
je 0x40b3d6
xorps xmm1, xmm1
jmp 0x40b3f6
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 [0x44065c]
movss dword [edi + 0xfc], xmm0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40b51e
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.00412cc0
lea eax, [edi + 0x14c]
mov ecx, dword [esp + 0x44]
mov dword [eax], 0
mov dword [edi + 0x15c], 0
test ecx, ecx
je 0x40b54a
mov eax, dword [ecx + 0x15c]
mov dword [edi + 0x160], eax
mov eax, dword [ecx + 0x164]
jmp 0x40b556
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 0x40b5a1
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.00412cc0
lea eax, [edi + 0x170]
mov dword [eax], 0
lea eax, [edi + 0x17c]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40b5d6
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.00412cc0
lea eax, [edi + 0x17c]
mov dword [eax], 0
lea eax, [edi + 0x188]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40b60b
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.00412cc0
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.00412950
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 0x40b689
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
xor edx, edx
cmp dword [edi + 0x220], edx
jle 0x40b6f5
xorps xmm1, xmm1
test edx, edx
jle 0x40b6bb
movss xmm0, dword [ecx]
comiss xmm0, xmm1
jbe 0x40b6bb
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 0x40b696
test dword [esp + 0x14], 0x1000000
je 0x40b767
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x164]
cmp dword [edi + 0x164], eax
je 0x40b767
lea ecx, [edi + 0x170]
mov dword [edi + 0x164], eax
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x40b753
inc edx
mov dword [esp + 0x40], edx
test eax, eax
je 0x40b73d
cdq
sub eax, edx
mov edx, dword [esp + 0x40]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40b742
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00412cc0
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 0x40b778
dec eax
mov dword [edi + 0x8c], eax
mov eax, dword [edi + 0x90]
test eax, eax
jle 0x40b789
dec eax
mov dword [edi + 0x90], eax
cmp byte [esp + 0x12], 0
je 0x40b7a0
mov ecx, edi
call fcn.0040c330
xor dl, dl
mov ecx, edi
call fcn.0040e3f0
test byte [esp + 0x14], 1
movaps xmm0, xmmword [esp + 0xe0]
movaps xmmword [esp + 0xa0], xmm0
jne 0x40bcc3
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 0x40b842
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.00402ae0
mov ecx, dword [0x44e5b0]
add esp, 4
cmp dword [ecx + 0x19bc], eax
jne 0x40b81d
mov dword [ecx + 0x19c4], eax
cmp dword [ecx + 0x19c0], eax
jne 0x40b82c
mov byte [ecx + 0x19cf], 1
lea edx, [edi + 0xc]
mov ecx, eax
call fcn.00422cf0
test al, al
mov eax, dword [esp + 0x14]
je 0x40b842
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 [0x44e5b0]
mov dword [esp + 0x1c], ecx
test eax, 0x100000
je 0x40b8ff
movss xmm0, dword [ecx + 0x18bc]
mov eax, dword [ecx + 0x18b8]
movaps xmm2, xmm0
movss xmm3, dword [0x440664]
push ecx
push 0
push 0x43b4a8
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.0041fd20
movss xmm0, dword [esp + 0xc0]
xorps xmm2, xmm2
comiss xmm0, xmm2
jbe 0x40b8e0
mov eax, dword [esp + 0xb0]
movss xmm1, dword [esp + 0x40]
divss xmm1, dword [eax]
subss xmm0, xmm1
addss xmm0, dword [0x44059c]
mov ecx, dword [esp + 0x1c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x20], xmm0
jmp 0x40b908
xorps xmm2, xmm2
movss dword [esp + 0x20], xmm2
mov edx, dword [esp + 0x54]
cmp edx, 0xffffffff
jae 0x40b92a
mov al, byte [edx]
mov byte [esp + 0x12], al
test al, al
je 0x40b92a
cmp al, 0x23
jne 0x40b924
cmp byte [edx + 1], al
je 0x40b92a
inc edx
cmp edx, 0xffffffff
jb 0x40b911
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 0x40b953
movaps xmm6, xmm2
jmp 0x40b9ca
movss xmm3, dword [0x440664]
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.0041fd20
movss xmm1, dword [esp + 0xc0]
xorps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x40b9a1
mov eax, dword [esp + 0xb0]
movss xmm0, dword [esp + 0x40]
divss xmm0, dword [eax]
subss xmm1, xmm0
addss xmm1, dword [0x44059c]
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 0x40ba14
movss xmm1, dword [esi + 0x154c]
movaps xmm5, xmm1
jmp 0x40ba2f
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 0x40ba4e
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 0x40bacd
nop dword [eax]
mov al, byte [edx]
mov byte [esp + 0x12], al
test al, al
je 0x40bac9
cmp al, 0x23
jne 0x40bac3
cmp byte [edx + 1], al
je 0x40bac9
inc edx
cmp edx, 0xffffffff
jb 0x40bab0
mov dword [esp + 0x2c], edx
mov eax, edx
sub eax, dword [esp + 0x54]
je 0x40bb69
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.004034d0
mov eax, dword [esp + 0x34]
add esp, 0x18
cmp byte [eax + 0x2c54], 0
je 0x40bb3c
push dword [esp + 0x2c]
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0xb4]
call fcn.00411c90
add esp, 4
mov ecx, dword [0x44e5b0]
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 0x40bb6d
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test eax, 0x100000
je 0x40bcd3
movss xmm0, dword [esi + 0x18bc]
mov edx, 0x43b4a8
xorps xmm0, xmmword [0x440780]
mulss xmm0, dword [0x440568]
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 [0x4405d4]
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 0x40bc5d
nop dword [eax]
mov al, byte [edx]
mov byte [esp + 0x12], al
test al, al
je 0x40bc59
cmp al, 0x23
jne 0x40bc53
cmp byte [edx + 1], al
je 0x40bc59
inc edx
cmp edx, 0xffffffff
jb 0x40bc40
mov dword [esp + 0x2c], edx
mov eax, edx
sub eax, 0x43b4a8
je 0x40bccf
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 0x43b4a8
push eax
lea edx, [esp + 0xe8]
call fcn.004034d0
mov eax, dword [esp + 0x34]
add esp, 0x18
cmp byte [eax + 0x2c54], 0
je 0x40bcc3
push dword [esp + 0x2c]
mov edx, 0x43b4a8
lea ecx, [esp + 0xd4]
call fcn.00411c90
add esp, 4
mov ecx, dword [0x44e5b0]
mov eax, dword [esp + 0x14]
jmp 0x40bcd7
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 0x40bd8c
movaps xmm1, xmm5
jmp 0x40bd94
movss xmm1, dword [esi + 0x1558]
test dword [edi + 8], 0x400
je 0x40bdc7
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 0x40bdca
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 [0x44057c]
subss xmm0, xmm5
movss xmm5, dword [0x44057c]
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 0x40bf0f
movss xmm0, dword [ecx + 0xe8]
comiss xmm0, xmm5
jb 0x40bf0f
comiss xmm4, xmm1
jbe 0x40bf0f
comiss xmm2, xmm0
jbe 0x40bf0f
mov eax, 1
jmp 0x40bf11
xor eax, eax
movaps xmm0, xmmword [esp + 0xa0]
mov dword [edi + 0x10c], eax
movups xmmword [edi + 0x110], xmm0
jmp 0x40bf2c
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 0x40c00d
mov eax, dword [eax + 0x44]
add ecx, ecx
movups xmm4, xmmword [eax + ecx*8 - 0x10]
comiss xmm4, xmm1
movaps xmmword [esp + 0xf0], xmm4
jbe 0x40bfbb
movaps xmm1, xmm4
movss dword [esp + 0xc0], xmm1
movss xmm4, dword [esp + 0xf4]
comiss xmm4, xmm0
jbe 0x40bfd5
movaps xmm0, xmm4
movss dword [esp + 0xc4], xmm0
movss xmm4, dword [esp + 0xf8]
comiss xmm3, xmm4
jbe 0x40bfef
movaps xmm3, xmm4
movss dword [esp + 0xc8], xmm3
movss xmm4, dword [esp + 0xfc]
comiss xmm2, xmm4
mov eax, dword [esp + 0x28]
jbe 0x40c00d
movaps xmm2, xmm4
movss dword [esp + 0xcc], xmm2
comiss xmm1, xmm3
jb 0x40c01b
movss dword [esp + 0xc8], xmm1
comiss xmm0, xmm2
jb 0x40c029
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 0x40c06b
inc edx
mov dword [esp + 0x40], edx
test eax, eax
je 0x40c054
cdq
sub eax, edx
mov edx, dword [esp + 0x40]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40c059
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00420fe0
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.0041b680
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 0x40c0e0
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 0x40c198
test al, 0x40
jne 0x40c17a
cmp dword [edi + 0x8c], 0
jg 0x40c17a
cmp dword [edi + 0x90], 0
jg 0x40c17a
movss xmm0, dword [edi + 0x1d8]
comiss xmm0, dword [edi + 0x1e0]
jae 0x40c170
movss xmm0, dword [edi + 0x1dc]
comiss xmm0, dword [edi + 0x1e4]
jb 0x40c17a
mov dword [edi + 0xa0], 1
mov eax, dword [esp + 0x44]
test eax, eax
je 0x40c198
cmp byte [eax + 0x79], 0
jne 0x40c18e
cmp byte [eax + 0x7d], 0
je 0x40c198
mov dword [edi + 0xa0], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x1518]
jb 0x40c1ae
mov dword [edi + 0xa0], 1
cmp dword [edi + 0xa0], 0
jg 0x40c1c4
cmp dword [edi + 0xa4], 0
jg 0x40c1c4
xor al, al
jmp 0x40c1c6
mov al, 1
cmp byte [edi + 0x79], 0
mov byte [edi + 0x7d], al
jne 0x40c1d9
cmp byte [edi + 0x76], 0
je 0x40c1d9
test al, al
je 0x40c1f8
cmp dword [edi + 0x8c], 0
jg 0x40c1f8
cmp dword [edi + 0x90], 0
jg 0x40c1f8
cmp dword [edi + 0xa4], 0
jg 0x40c1f8
mov al, 1
jmp 0x40c1fa
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.00439054
mov esp, ebp
pop ebp
ret