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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, dword [0x497080]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [0x4a8660]
push esi
mov esi, eax
mov dword [esp + 0x50], ecx
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], esi
call fcn.00407b10
mov dword [esp + 0x34], eax
mov edi, eax
mov dword [esp + 0x5c], edi
test eax, eax
jne 0x408ebf
mov edx, dword [esi + 0x1a40]
test edx, edx
je 0x408e5d
mov eax, dword [esi + 0x1a68]
mov ecx, dword [esi + 0x1a6c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
jmp 0x408e73
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.00407b80
mov edi, eax
add esp, 8
mov eax, dword [0x4a8660]
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 0x408eda
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 0x408ef7
mov dword [edi + 8], edx
jmp 0x408efe
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 0x408f15
xor eax, eax
jmp 0x408f25
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 0x408f4b
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 0x408f55
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 0x408fba
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 0x408fbe
mov al, byte [esp + 0x1b]
test al, al
jne 0x408fce
cmp dword [esp + 0x20], 0
jg 0x408fce
mov byte [edi + 0x7c], al
jmp 0x408fe7
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 0x409029
inc edx
mov dword [esp + 0x24], edx
test eax, eax
je 0x409007
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40900c
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00412d50
mov edx, dword [0x4a8660]
lea ecx, [esi + 0x1980]
mov dword [esp + 0x1c], edx
jmp 0x40902d
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 0x409159
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 0x409116
inc edx
mov dword [esp + 0x24], edx
test eax, eax
je 0x4090f7
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x4090fc
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.004130a0
mov eax, dword [0x4a8660]
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 0x409174
test dword [esp + 0x14], 0x1000000
jne 0x409174
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 0x409215
mov edx, dword [edi + 0xa8]
test ecx, edx
mov eax, edx
setne byte [esp + 0x13]
test ecx, eax
je 0x409204
movss xmm1, dword [esi + 0x1a64]
movss xmm0, dword [esi + 0x1a60]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x48939c]
jbe 0x409204
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 0x409215
push ecx
lea edx, [esi + 0x1a58]
mov ecx, edi
call fcn.0040c820
add esp, 4
mov ecx, dword [esi + 0x1a40]
test ecx, ecx
je 0x409272
mov eax, dword [edi + 0xac]
xorps xmm1, xmm1
and eax, ecx
je 0x409240
movss xmm0, dword [esi + 0x1a68]
comiss xmm0, xmm1
jbe 0x409240
mov byte [esp + 0x12], 1
jmp 0x40924a
xor dl, dl
mov byte [esp + 0x12], dl
test eax, eax
je 0x40925c
movss xmm0, dword [esi + 0x1a6c]
comiss xmm0, xmm1
mov byte [esp + 0x1a], 1
ja 0x409261
mov byte [esp + 0x1a], 0
push ecx
lea edx, [esi + 0x1a68]
mov ecx, edi
call fcn.0040c8e0
add esp, 4
cmp dword [esi + 0x1a44], 0
je 0x409328
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 0x409340
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x1c]
test cl, 1
je 0x4092b7
xorps xmm2, xmm2
jmp 0x4092d7
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 0x409316
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 0x409340
xorps xmm1, xmm1
addss xmm1, xmm2
addss xmm1, xmm3
movss dword [edi + 0x38], xmm1
jmp 0x409340
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x60]
je 0x409340
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov ecx, dword [esi + 0x1a48]
test ecx, ecx
je 0x409366
mov eax, dword [edi + 0xb0]
mov dl, byte [esi + 0x1a78]
test eax, ecx
je 0x409366
and eax, 0xfffffff1
mov byte [edi + 0x79], dl
mov dword [edi + 0xb0], eax
cmp dword [esi + 0x1a50], 0
je 0x409376
mov ecx, edi
call fcn.0040c3b0
cmp byte [edi + 0x7c], 0
je 0x409391
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 0x40bfa8
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 0x4093fd
cmp eax, 0x1000000
jne 0x4093e1
mov eax, dword [edx + 0x2ec]
mov dword [edi + 0x2ec], eax
test ecx, 0x8000000
jne 0x4093fd
test ecx, 0x5000000
je 0x4093fd
mov eax, dword [edx + 0x2f0]
mov dword [edi + 0x2f0], eax
test dword [edi + 8], 0x800000
je 0x409427
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 0x409410
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 0x4094cd
test eax, eax
je 0x4094a4
cdq
sub eax, edx
lea edx, [edi + 0x1bc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x4094af
mov ecx, 8
lea edx, [edi + 0x1bc]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.00412d50
mov edx, dword [0x4a8660]
mov ecx, dword [esp + 0x14]
jmp 0x4094d1
mov edx, dword [esp + 0x1c]
mov dword [edi + 0x1bc], 1
cmp byte [edi + 0x79], 0
jne 0x40955e
cmp byte [edi + 0x7d], 0
je 0x4094f9
cmp dword [edi + 0xa4], 0
jne 0x4094f9
cmp dword [edi + 0xa0], 0
jg 0x40955e
movss xmm0, dword [edi + 0x34]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x40951c
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 0x409547
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 0x40956b
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 0x409586
dec eax
mov dword [edi + 0xa0], eax
mov eax, dword [edi + 0xa4]
test eax, eax
jle 0x409597
dec eax
mov dword [edi + 0xa4], eax
cmp dword [esp + 0x34], 0
mov al, byte [esp + 0x12]
mov ah, byte [esp + 0x1a]
jne 0x4095b8
test al, al
je 0x4095ae
test ah, ah
jne 0x4095b8
mov dword [edi + 0xa4], 1
cmp byte [esp + 0x1b], 0
je 0x409608
test ecx, 0x6000000
je 0x409608
mov dword [edi + 0xa4], 1
test cl, 0x40
je 0x409608
test al, al
jne 0x4095e8
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test ah, ah
jne 0x4095fa
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 0x409640
movss xmm0, dword [esi + 0x1540]
jmp 0x409662
test ecx, 0x6000000
je 0x40965a
test ecx, 0x8000000
jne 0x40965a
movss xmm0, dword [esi + 0x1548]
jmp 0x409662
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 0x4096b5
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x4096b5
test ecx, 0x400
je 0x4096a6
movss xmm0, dword [esi + 0x1520]
jmp 0x4096a9
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 0x4097f6
test byte [edi + 8], 1
je 0x4096f2
xorps xmm3, xmm3
jmp 0x409712
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 0x4097c2
cmp dword [esi + 0x19a8], 0
jne 0x4097c2
cmp dword [esi + 0x19b0], 0
jne 0x4097c2
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 0x4097c2
movss xmm0, dword [edx + 0xe8]
comiss xmm0, xmm6
jb 0x4097c2
comiss xmm4, xmm1
jbe 0x4097c2
comiss xmm3, xmm0
jbe 0x4097c2
cmp byte [esi + 0x3fd], 0
je 0x4097c2
mov byte [edi + 0x7a], 1
cmp byte [edi + 0x7a], 0
je 0x4097fa
cmp byte [edi + 0x79], 0
sete al
test dword [edi + 8], 0x100
mov byte [edi + 0x79], al
jne 0x4097ed
comiss xmm2, dword [edx + 0x2c2c]
jb 0x4097ed
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x2c2c], eax
mov ecx, edi
call fcn.0040c3b0
jmp 0x4097fa
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.00408220
movss xmm0, dword [0x4894d4]
add esp, 4
test byte [esp + 0x14], 0x40
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x1c], xmm0
je 0x409873
cmp byte [edi + 0x79], 0
jne 0x409873
cmp byte [esp + 0x12], 0
jne 0x40984f
movss xmm0, dword [esp + 0xb0]
movss dword [esp + 0x48], xmm0
movss dword [edi + 0x1c], xmm0
cmp byte [esp + 0x1a], 0
jne 0x409929
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x1c], xmm0
movss dword [edi + 0x20], xmm0
jmp 0x409929
mov eax, dword [edi + 0x8c]
test eax, eax
jg 0x40988a
cmp dword [edi + 0x90], 0
jle 0x409929
cmp byte [esp + 0x12], 0
jne 0x4098c2
test eax, eax
jle 0x4098c2
cmp byte [edi + 0x94], 0
je 0x4098ae
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [esp + 0xb0]
jmp 0x4098b7
movss xmm0, dword [esp + 0xb0]
movss dword [esp + 0x48], xmm0
movss dword [edi + 0x1c], xmm0
cmp byte [esp + 0x1a], 0
jne 0x4098ff
cmp dword [edi + 0x90], 0
jle 0x4098ff
cmp byte [edi + 0x94], 0
je 0x4098eb
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [esp + 0xb4]
jmp 0x4098f4
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x1c], xmm0
movss dword [edi + 0x20], xmm0
cmp byte [edi + 0x79], 0
jne 0x409929
test dword [edi + 8], 0x100
mov ecx, dword [0x4a8660]
jne 0x409929
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2c2c]
jb 0x409929
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.00407f90
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 0x4099c5
test edx, 0x1000000
jne 0x4099c5
test byte [edi + 8], 1
je 0x409975
xorps xmm2, xmm2
jmp 0x40999a
mov eax, dword [0x4a8660]
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 0x4099d9
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 0x409ad7
movss xmm0, dword [esp + 0x48]
movss xmm1, dword [0x4894d4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x409a12
movss xmm3, dword [edi + 0x24]
movss xmm0, dword [esp + 0x1c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x409a28
movss xmm2, dword [edi + 0x20]
jmp 0x409a2d
movss xmm2, dword [edi + 0x28]
test edx, 0x4000
jne 0x409a48
movss xmm0, dword [edi + 0x30]
comiss xmm0, xmm2
jbe 0x409a44
test dl, 8
je 0x409a48
xor cl, cl
jmp 0x409a4a
mov cl, 1
mov byte [edi + 0x75], cl
test edx, 0x8000
jne 0x409a8e
xorps xmm1, xmm1
test cl, cl
je 0x409a66
movss xmm0, dword [esi + 0x157c]
jmp 0x409a69
xorps xmm0, xmm0
subss xmm3, xmm0
movss xmm0, dword [edi + 0x2c]
comiss xmm0, xmm3
jbe 0x409a85
mov eax, edx
and eax, 0x808
cmp eax, 0x800
je 0x409a8e
mov byte [edi + 0x74], 0
xorps xmm0, xmm0
jmp 0x409ac1
mov byte [edi + 0x74], 1
test cl, cl
jne 0x409ab6
subss xmm2, dword [esi + 0x157c]
movss xmm0, dword [edi + 0x30]
comiss xmm0, xmm2
jbe 0x409ab1
test dl, 8
jne 0x409ab1
mov cl, 1
jmp 0x409ab3
xor cl, cl
mov byte [edi + 0x75], cl
movss xmm0, dword [esi + 0x157c]
xorps xmm1, xmm1
test cl, cl
je 0x409acd
movss xmm1, dword [esi + 0x157c]
movss dword [edi + 0x6c], xmm1
movss dword [edi + 0x70], xmm0
cmp byte [esp + 0x1b], 0
je 0x409b1c
mov dword [edi + 0x9c], 0xffffffff
test edx, 0x4000000
je 0x409b1c
cmp byte [esp + 0x13], 0
jne 0x409b1c
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 0x409bc3
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 0x409b78
mov edx, dword [ecx]
inc edx
mov dword [esp + 0x24], edx
test eax, eax
je 0x409b60
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x409b65
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00412d50
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 0x409bcb
test al, al
jne 0x409bcb
cmp ecx, 0x3000000
je 0x409bcb
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 [0x4894d4]
ucomiss xmm0, xmm7
movss dword [esp + 0x24], xmm0
lahf
test ah, 0x44
jnp 0x409cfa
cmp dword [edi + 0xa4], 0
jne 0x409cfa
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 0x409d4b
test edx, 0x10000000
jne 0x409d29
test edx, 0x4000000
je 0x409d15
test al, al
jne 0x409d15
cmp dword [esp + 0x20], 0
jg 0x409d29
test edx, 0x2000000
je 0x409d53
test al, al
jne 0x409d53
cmp ecx, 0x3000000
je 0x409d53
mov edx, edi
lea ecx, [esp + 0x4c]
call fcn.0040d9a0
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 [0x4894d4]
test edx, 0x1000000
jne 0x409e7d
cmp byte [esp + 0x13], 0
jne 0x409e7d
cmp dword [edi + 0x8c], 0
jg 0x409e7d
cmp dword [edi + 0x90], 0
xorps xmm2, xmm2
jg 0x409e80
movss xmm0, dword [esi + 0x10]
comiss xmm0, xmm2
jbe 0x409e80
movss xmm0, dword [esi + 0x14]
comiss xmm0, xmm2
jbe 0x409e80
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 0x409e10
test byte [edi + 8], 1
jne 0x409e10
mov eax, dword [0x4a8660]
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 0x409e24
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 0x409eb4
movss xmm6, dword [esi + 0x153c]
jmp 0x409ed4
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x409ecc
movss xmm6, dword [esi + 0x1544]
jmp 0x409ed4
movss xmm6, dword [esi + 0x1524]
mov eax, dword [edi + 0x334]
movss dword [edi + 0x44], xmm6
cmp eax, 0x7fffffff
je 0x409efa
mov ecx, dword [edi + 0x324]
cmp ecx, 0xffffffff
je 0x409efa
inc eax
add eax, ecx
inc ecx
cdq
idiv ecx
jmp 0x409eff
mov edx, closesocket
mov eax, dword [edi + 0x338]
mov dword [edi + 0x32c], edx
cmp eax, 0x7fffffff
je 0x409f26
mov ecx, dword [edi + 0x328]
cmp ecx, 0xffffffff
je 0x409f26
inc eax
add eax, ecx
inc ecx
cdq
idiv ecx
jmp 0x409f2b
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 0x409f83
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 [0x4893fc]
jbe 0x40a069
movss xmm7, dword [edi + 0x68]
movaps xmm3, xmm0
comiss xmm2, xmm7
jb 0x409fb3
movss xmm0, dword [edi + 0x40]
comiss xmm0, xmm3
jb 0x409fb3
xorps xmm3, xmm3
comiss xmm7, xmm5
mov eax, dword [0x4a8660]
jb 0x409fda
movss xmm1, dword [edi + 0x30]
movaps xmm0, xmm1
subss xmm0, dword [edi + 0x40]
addss xmm0, dword [eax + 0x1560]
comiss xmm3, xmm0
jb 0x409fda
movaps xmm3, xmm1
mov ecx, dword [edi + 8]
test cl, 1
je 0x409fe7
xorps xmm5, xmm5
jmp 0x40a007
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 0x40a039
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 0x40a03c
xorps xmm1, xmm1
addss xmm1, xmm5
movss xmm5, dword [0x4893fc]
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 0x40a0c1
cmp byte [edi + 0x7b], 0
jne 0x40a0c1
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 0x40a09f
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 0x40a0c1
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 0x40a103
mov eax, dword [esp + 0x14]
test eax, 0x1000
jne 0x40a103
test eax, 0x3000000
je 0x40a0fe
test eax, 0x4000000
je 0x40a103
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 [0x4893c0]
mov dword [esp + 0x2c], eax
mulss xmm0, dword [0x489400]
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 0x40a184
lea ecx, [esp + 0xf0]
push ecx
push eax
lea eax, [esp + 0x30]
mov ecx, edi
push eax
lea edx, [esp + 0xbc]
call fcn.004084b0
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 0x40a1a2
test dword [esp + 0x14], 0x2000040
jne 0x40a1a2
mulss xmm0, dword [0x4893e0]
jmp 0x40a1b6
mov eax, dword [esp + 0x30]
movss xmm0, dword [eax + 0x18bc]
mulss xmm0, dword [0x489478]
cvttss2si eax, xmm0
mov ecx, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x21c], xmm0
mov ecx, dword [edi + 0x270]
call fcn.0041b300
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 0x40a258
inc ecx
test eax, eax
je 0x40a242
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
add eax, dword [esp + 0x24]
jmp 0x40a247
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00412d50
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.0041b820
mov ecx, dword [0x4a8660]
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 0x40a2c3
movss xmm0, dword [ecx + 0xb0]
ucomiss xmm0, dword [ecx + 0xb8]
lahf
test ah, 0x44
jnp 0x40a2c3
movss xmm4, dword [ecx + 0xb8]
movaps xmm2, xmm0
jmp 0x40a2e2
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 0x40a498
cmp dword [esp + 0x38], 0x3000000
je 0x40a498
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 0x40a419
mov eax, dword [eax + 0x44]
add ecx, ecx
movups xmm4, xmmword [eax + ecx*8 - 0x10]
comiss xmm4, xmm1
movaps xmmword [esp + 0xe0], xmm4
jbe 0x40a3c7
movaps xmm1, xmm4
movss dword [esp + 0xc0], xmm1
movss xmm4, dword [esp + 0xe4]
comiss xmm4, xmm0
jbe 0x40a3e1
movaps xmm0, xmm4
movss dword [esp + 0xc4], xmm0
movss xmm4, dword [esp + 0xe8]
comiss xmm2, xmm4
jbe 0x40a3fb
movaps xmm2, xmm4
movss dword [esp + 0xc8], xmm2
movss xmm4, dword [esp + 0xec]
comiss xmm3, xmm4
mov eax, dword [esp + 0x20]
jbe 0x40a419
movaps xmm3, xmm4
movss dword [esp + 0xcc], xmm3
comiss xmm1, xmm2
jb 0x40a427
movss dword [esp + 0xc8], xmm1
comiss xmm0, xmm3
jb 0x40a435
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 0x40a471
inc edx
mov dword [esp + 0x24], edx
test eax, eax
je 0x40a45d
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40a462
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00421050
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.0041b6f0
mov edx, dword [esp + 0x58]
jmp 0x40a5ea
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 0x40a552
mov eax, dword [eax + 0x44]
add ecx, ecx
movups xmm0, xmmword [eax + ecx*8 - 0x10]
comiss xmm0, xmm1
movaps xmmword [esp + 0xe0], xmm0
jbe 0x40a4f3
movss dword [esp + 0xc0], xmm0
jmp 0x40a4fc
movss xmm0, dword [esp + 0xc0]
movss xmm1, dword [esp + 0xe4]
comiss xmm1, xmm2
jbe 0x40a515
movss dword [esp + 0xc4], xmm1
jmp 0x40a51e
movss xmm1, dword [esp + 0xc4]
movss xmm2, dword [esp + 0xe8]
comiss xmm3, xmm2
jbe 0x40a535
movss dword [esp + 0xc8], xmm2
movss xmm2, dword [esp + 0xec]
comiss xmm4, xmm2
mov eax, dword [esp + 0x20]
jbe 0x40a564
movss dword [esp + 0xcc], xmm2
jmp 0x40a564
movss xmm1, dword [esp + 0xc4]
movss xmm0, dword [esp + 0xc0]
comiss xmm0, dword [esp + 0xc8]
jb 0x40a577
movss dword [esp + 0xc8], xmm0
comiss xmm1, dword [esp + 0xcc]
jb 0x40a58a
movss dword [esp + 0xcc], xmm1
mov ecx, dword [eax + 0x40]
lea edx, [eax + 0x3c]
mov dword [esp + 0x64], edx
cmp dword [edx], ecx
jne 0x40a5c8
test ecx, ecx
je 0x40a5ab
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x64]
sar eax, 1
add eax, ecx
jmp 0x40a5b0
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00421050
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.0041b6f0
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 0x40a64c
call fcn.0040d110
cmp edi, eax
jne 0x40a64c
cmp dword [edi + 0xa4], 0
jg 0x40a64c
mov dl, 1
jmp 0x40a64e
xor dl, dl
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x1ae8]
test ecx, ecx
je 0x40a668
cmp edi, dword [ecx + 0x2ec]
jne 0x40a668
mov cl, 1
jmp 0x40a66a
xor cl, cl
mov byte [esp + 0x13], cl
test dl, dl
jne 0x40a67a
test cl, cl
je 0x40a798
movss xmm1, dword [eax + 0x1be0]
push 0xf
push ecx
movzx ecx, dl
add ecx, 0x2e
mov dword [esp], 0
call fcn.00403270
mov ecx, dword [edi + 0x270]
push eax
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.0041d720
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0x30]
je 0x40a798
cmp edi, dword [eax + 0x1ae8]
jne 0x40a798
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 0x40a74e
movss xmm0, dword [esp + 0x98]
comiss xmm0, xmm4
jb 0x40a74e
comiss xmm2, dword [esp + 0x68]
jb 0x40a74e
comiss xmm3, dword [esp + 0x28]
jae 0x40a798
movss xmm1, dword [eax + 0x1af4]
mulss xmm1, dword [0x4893c4]
push 0xf
movss xmm0, dword [eax + 0x1524]
push ecx
mov ecx, 0x2d
movss dword [esp], xmm0
call fcn.00403270
mov ecx, dword [edi + 0x270]
push eax
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.0041d720
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 0x40a7be
mov ecx, dword [eax + 0x1aa8]
cmp byte [esp + 0x12], 0
jne 0x40a7db
test ecx, ecx
je 0x40a7d7
mov eax, dword [edi + 0x2f0]
cmp eax, dword [ecx + 0x2f0]
je 0x40a7db
xor cl, cl
jmp 0x40a7dd
mov cl, 1
test byte [edi + 8], 1
xorps xmm7, xmm7
mov byte [esp + 0x13], cl
je 0x40a7ef
xorps xmm3, xmm3
jmp 0x40a814
mov eax, dword [0x4a8660]
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 0x40a8e6
mov esi, dword [esp + 0x30]
movss xmm0, dword [esi + 0x1558]
movss dword [esp + 0x2c], xmm0
movss dword [esi + 0x1558], xmm1
test cl, cl
je 0x40a899
cmp byte [esi + 0x1b06], 0
mov ecx, 0xb
je 0x40a89e
mov ecx, 0xc
push dword [esp + 0x7c]
movss xmm1, dword [0x4893fc]
push dword [esp + 0x7c]
push dword [esp + 0xec]
push dword [esp + 0xec]
call fcn.00403270
movss xmm2, dword [esp + 0x2c]
mov dl, 1
mov ecx, eax
call fcn.004037f0
movss xmm0, dword [esp + 0x3c]
add esp, 0x10
movss dword [esi + 0x1558], xmm0
jmp 0x40b1c1
mov ecx, dword [esp + 0x14]
test cl, cl
js 0x40aa1f
test ecx, 0x6000000
je 0x40a901
mov ecx, 4
jmp 0x40a910
and ecx, 0x1000000
or ecx, 0x2000000
shr ecx, 0x18
movss xmm1, dword [0x4893fc]
call fcn.00403270
mov ecx, eax
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x1a54], 0
je 0x40a969
movss xmm1, dword [eax + 0x1a94]
comiss xmm7, xmm1
jbe 0x40a93e
xorps xmm0, xmm0
jmp 0x40a94a
movss xmm0, dword [0x4893fc]
minss xmm0, xmm1
mulss xmm0, dword [0x4894ac]
and ecx, 0xffffff
addss xmm0, dword [0x4893d8]
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 0x40a9a1
xorps xmm1, xmm1
jmp 0x40a9c6
mov eax, dword [0x4a8660]
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.0041d720
movss xmm2, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov dword [eax + 0x1a54], 0
test cl, 1
jne 0x40aa7c
cmp byte [edi + 0x79], 0
je 0x40aa3f
mov ecx, 0xc
jmp 0x40aa47
movzx ecx, byte [esp + 0x13]
add ecx, 0xa
movss xmm1, dword [0x4893fc]
push 3
push ecx
movss dword [esp], xmm2
call fcn.00403270
mov ecx, dword [edi + 0x270]
push eax
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.0041d720
mov ecx, dword [esp + 0x14]
test ecx, 0x400
je 0x40ac2c
mov edx, dword [edi + 8]
xorps xmm2, xmm2
mov eax, dword [0x4a8660]
test dl, 1
je 0x40aa9d
xorps xmm4, xmm4
jmp 0x40aabd
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 0x40aaf8
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 0x40aafb
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 0x40ab67
movss xmm2, dword [esp + 0x1c]
movss xmm1, dword [0x4893fc]
push 3
push ecx
mov ecx, 0xd
movss dword [esp], xmm2
call fcn.00403270
mov ecx, dword [edi + 0x270]
push eax
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0xd0]
push eax
call fcn.0041d720
mov eax, dword [esp + 0x30]
movss xmm2, dword [eax + 0x1558]
comiss xmm2, dword [0x48938c]
jbe 0x40ac2c
movss xmm0, dword [edi + 0x10]
addss xmm0, dword [edi + 0x18]
movss xmm1, dword [esp + 0x34]
comiss xmm0, xmm1
jbe 0x40ac2c
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 [0x4893fc]
mov dword [esp + 0xd8], eax
movss dword [esp + 0x54], xmm0
movss dword [esp + 4], xmm2
call fcn.00403270
mov ecx, dword [edi + 0x270]
add esp, 4
push eax
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.0041d4d0
cmp byte [edi + 0x74], 0
je 0x40ac3c
mov ecx, 1
call fcn.00423030
cmp byte [edi + 0x75], 0
je 0x40ac49
xor ecx, ecx
call fcn.00423030
mov eax, dword [esp + 0x14]
test al, 2
jne 0x40aef0
movss xmm4, dword [esp + 0x38]
xor ecx, ecx
movaps xmm0, xmm4
mov dword [esp + 0x64], ecx
addss xmm0, dword [esp + 0x1c]
mov eax, 0x4a1c30
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 0x40acde
movd xmm3, esi
movaps xmm1, xmm4
cvtdq2ps xmm3, xmm3
jmp 0x40ace8
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 0x40ad4f
inc ecx
test edi, edi
je 0x40ad25
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x40ad2a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x40]
call fcn.00413120
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 0x40ad89
movd xmm1, esi
movaps xmm3, xmm4
cvtdq2ps xmm1, xmm1
jmp 0x40ad93
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 0x40adf9
inc edi
test ecx, ecx
je 0x40addb
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x40ade0
mov eax, 8
mov ecx, dword [esp + 0x3c]
cmp eax, edi
cmovg edi, eax
push edi
call fcn.00413120
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.0041cee0
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.0041cb00
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40aec2
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.00413120
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 0x40ac80
mov eax, dword [esp + 0x14]
movss xmm6, dword [esp + 0x38]
xorps xmm1, xmm1
comiss xmm6, xmm1
jbe 0x40af75
test al, al
js 0x40af75
movss xmm0, dword [edi + 0x14]
addss xmm0, dword [edi + 0xc]
movss xmm1, dword [0x4893fc]
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.00403270
mov ecx, dword [edi + 0x270]
add esp, 4
push eax
lea eax, [esp + 0xd0]
push eax
lea eax, [edi + 0xc]
push eax
call fcn.0041d610
movss xmm6, dword [esp + 0x38]
xorps xmm1, xmm1
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x40b116
movss xmm4, dword [edi + 0xc]
movss xmm5, dword [edi + 0x10]
movaps xmm2, xmm4
movss xmm7, dword [0x4893fc]
movaps xmm3, xmm5
addss xmm2, dword [edi + 0x14]
addss xmm3, dword [edi + 0x18]
subss xmm2, xmm7
subss xmm3, xmm7
test eax, eax
jne 0x40aff3
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 0x40b0da
cmp eax, 1
jne 0x40b03e
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 0x40b0da
cmp eax, 2
jne 0x40b083
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 0x40b0da
cmp eax, 3
jne 0x40b0cb
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 0x40b0da
movaps xmm0, xmmword [0x489610]
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.00403270
mov ecx, dword [edi + 0x270]
add esp, 4
push eax
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.0041d4d0
mov esi, dword [esp + 0x30]
movss xmm2, dword [esi + 0x1558]
comiss xmm2, dword [0x48938c]
jbe 0x40b1c1
test byte [esp + 0x14], 1
jne 0x40b1c1
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 [0x4893fc]
movss dword [esp + 0xd8], xmm1
movss xmm1, dword [0x4893fc]
movss dword [esp + 0xcc], xmm0
movss dword [esp + 0xdc], xmm0
call fcn.00403270
mov ecx, dword [edi + 0x270]
add esp, 4
push eax
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.0041d4d0
cmp dword [esi + 0x1ae8], edi
jne 0x40b2e7
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 0x40b2a3
movss xmm7, dword [esp + 0x98]
comiss xmm7, xmm3
jb 0x40b2a3
comiss xmm2, dword [esp + 0x68]
jb 0x40b2a3
comiss xmm1, dword [esp + 0x28]
jb 0x40b2a3
xorps xmm0, xmmword [0x4895f0]
movaps xmm5, xmm6
subss xmm0, dword [0x4893fc]
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.00403270
mov ecx, dword [edi + 0x270]
add esp, 4
push eax
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0xd4]
push eax
call fcn.0041d610
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 [0x4a8660]
addss xmm0, xmm3
mov dword [edi + 0x24], eax
movss dword [edi + 0x208], xmm0
test edx, 0x400
je 0x40b34f
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 0x40b352
xorps xmm1, xmm1
test dl, 1
je 0x40b35c
xorps xmm6, xmm6
jmp 0x40b37c
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 0x40b3ba
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 0x40b3e2
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 0x40b449
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 0x40b44c
xorps xmm4, xmm4
test dl, 1
je 0x40b456
xorps xmm1, xmm1
jmp 0x40b476
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 [0x4894cc]
movss dword [edi + 0xfc], xmm0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40b59e
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.00412d50
lea eax, [edi + 0x14c]
mov ecx, dword [esp + 0x44]
mov dword [eax], 0
mov dword [edi + 0x15c], 0
test ecx, ecx
je 0x40b5ca
mov eax, dword [ecx + 0x15c]
mov dword [edi + 0x160], eax
mov eax, dword [ecx + 0x164]
jmp 0x40b5d6
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 0x40b621
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.00412d50
lea eax, [edi + 0x170]
mov dword [eax], 0
lea eax, [edi + 0x17c]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40b656
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.00412d50
lea eax, [edi + 0x17c]
mov dword [eax], 0
lea eax, [edi + 0x188]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40b68b
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.00412d50
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.004129e0
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 0x40b709
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
xor edx, edx
cmp dword [edi + 0x220], edx
jle 0x40b775
xorps xmm1, xmm1
test edx, edx
jle 0x40b73b
movss xmm0, dword [ecx]
comiss xmm0, xmm1
jbe 0x40b73b
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 0x40b716
test dword [esp + 0x14], 0x1000000
je 0x40b7e7
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x164]
cmp dword [edi + 0x164], eax
je 0x40b7e7
lea ecx, [edi + 0x170]
mov dword [edi + 0x164], eax
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x40b7d3
inc edx
mov dword [esp + 0x40], edx
test eax, eax
je 0x40b7bd
cdq
sub eax, edx
mov edx, dword [esp + 0x40]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40b7c2
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00412d50
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 0x40b7f8
dec eax
mov dword [edi + 0x8c], eax
mov eax, dword [edi + 0x90]
test eax, eax
jle 0x40b809
dec eax
mov dword [edi + 0x90], eax
cmp byte [esp + 0x12], 0
je 0x40b820
mov ecx, edi
call fcn.0040c3b0
xor dl, dl
mov ecx, edi
call fcn.0040e470
test byte [esp + 0x14], 1
movaps xmm0, xmmword [esp + 0xe0]
movaps xmmword [esp + 0xa0], xmm0
jne 0x40bd43
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 0x40b8c2
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.00402b70
mov ecx, dword [0x4a8660]
add esp, 4
cmp dword [ecx + 0x19bc], eax
jne 0x40b89d
mov dword [ecx + 0x19c4], eax
cmp dword [ecx + 0x19c0], eax
jne 0x40b8ac
mov byte [ecx + 0x19cf], 1
lea edx, [edi + 0xc]
mov ecx, eax
call fcn.00422d60
test al, al
mov eax, dword [esp + 0x14]
je 0x40b8c2
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 [0x4a8660]
mov dword [esp + 0x1c], ecx
test eax, 0x100000
je 0x40b97f
movss xmm0, dword [ecx + 0x18bc]
mov eax, dword [ecx + 0x18b8]
movaps xmm2, xmm0
movss xmm3, dword [0x4894d4]
push ecx
push 0
push 0x483be0
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.0041fd90
movss xmm0, dword [esp + 0xc0]
xorps xmm2, xmm2
comiss xmm0, xmm2
jbe 0x40b960
mov eax, dword [esp + 0xb0]
movss xmm1, dword [esp + 0x40]
divss xmm1, dword [eax]
subss xmm0, xmm1
addss xmm0, dword [0x4893f8]
mov ecx, dword [esp + 0x1c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x20], xmm0
jmp 0x40b988
xorps xmm2, xmm2
movss dword [esp + 0x20], xmm2
mov edx, dword [esp + 0x54]
cmp edx, 0xffffffff
jae 0x40b9aa
mov al, byte [edx]
mov byte [esp + 0x12], al
test al, al
je 0x40b9aa
cmp al, 0x23
jne 0x40b9a4
cmp byte [edx + 1], al
je 0x40b9aa
inc edx
cmp edx, 0xffffffff
jb 0x40b991
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 0x40b9d3
movaps xmm6, xmm2
jmp 0x40ba4a
movss xmm3, dword [0x4894d4]
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.0041fd90
movss xmm1, dword [esp + 0xc0]
xorps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x40ba21
mov eax, dword [esp + 0xb0]
movss xmm0, dword [esp + 0x40]
divss xmm0, dword [eax]
subss xmm1, xmm0
addss xmm1, dword [0x4893f8]
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 0x40ba94
movss xmm1, dword [esi + 0x154c]
movaps xmm5, xmm1
jmp 0x40baaf
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 0x40bace
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 0x40bb4d
nop dword [eax]
mov al, byte [edx]
mov byte [esp + 0x12], al
test al, al
je 0x40bb49
cmp al, 0x23
jne 0x40bb43
cmp byte [edx + 1], al
je 0x40bb49
inc edx
cmp edx, 0xffffffff
jb 0x40bb30
mov dword [esp + 0x2c], edx
mov eax, edx
sub eax, dword [esp + 0x54]
je 0x40bbe9
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.00403560
mov eax, dword [esp + 0x34]
add esp, 0x18
cmp byte [eax + 0x2c54], 0
je 0x40bbbc
push dword [esp + 0x2c]
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0xb4]
call fcn.00411d20
add esp, 4
mov ecx, dword [0x4a8660]
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 0x40bbed
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test eax, 0x100000
je 0x40bd53
movss xmm0, dword [esi + 0x18bc]
mov edx, 0x483be0
xorps xmm0, xmmword [0x4895f0]
mulss xmm0, dword [0x4893c4]
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 [0x48942c]
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 0x40bcdd
nop dword [eax]
mov al, byte [edx]
mov byte [esp + 0x12], al
test al, al
je 0x40bcd9
cmp al, 0x23
jne 0x40bcd3
cmp byte [edx + 1], al
je 0x40bcd9
inc edx
cmp edx, 0xffffffff
jb 0x40bcc0
mov dword [esp + 0x2c], edx
mov eax, edx
sub eax, 0x483be0
je 0x40bd4f
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 0x483be0
push eax
lea edx, [esp + 0xe8]
call fcn.00403560
mov eax, dword [esp + 0x34]
add esp, 0x18
cmp byte [eax + 0x2c54], 0
je 0x40bd43
push dword [esp + 0x2c]
mov edx, 0x483be0
lea ecx, [esp + 0xd4]
call fcn.00411d20
add esp, 4
mov ecx, dword [0x4a8660]
mov eax, dword [esp + 0x14]
jmp 0x40bd57
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 0x40be0c
movaps xmm1, xmm5
jmp 0x40be14
movss xmm1, dword [esi + 0x1558]
test dword [edi + 8], 0x400
je 0x40be47
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 0x40be4a
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 [0x4893d8]
subss xmm0, xmm5
movss xmm5, dword [0x4893d8]
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 0x40bf8f
movss xmm0, dword [ecx + 0xe8]
comiss xmm0, xmm5
jb 0x40bf8f
comiss xmm4, xmm1
jbe 0x40bf8f
comiss xmm2, xmm0
jbe 0x40bf8f
mov eax, 1
jmp 0x40bf91
xor eax, eax
movaps xmm0, xmmword [esp + 0xa0]
mov dword [edi + 0x10c], eax
movups xmmword [edi + 0x110], xmm0
jmp 0x40bfac
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 0x40c08d
mov eax, dword [eax + 0x44]
add ecx, ecx
movups xmm4, xmmword [eax + ecx*8 - 0x10]
comiss xmm4, xmm1
movaps xmmword [esp + 0xf0], xmm4
jbe 0x40c03b
movaps xmm1, xmm4
movss dword [esp + 0xc0], xmm1
movss xmm4, dword [esp + 0xf4]
comiss xmm4, xmm0
jbe 0x40c055
movaps xmm0, xmm4
movss dword [esp + 0xc4], xmm0
movss xmm4, dword [esp + 0xf8]
comiss xmm3, xmm4
jbe 0x40c06f
movaps xmm3, xmm4
movss dword [esp + 0xc8], xmm3
movss xmm4, dword [esp + 0xfc]
comiss xmm2, xmm4
mov eax, dword [esp + 0x28]
jbe 0x40c08d
movaps xmm2, xmm4
movss dword [esp + 0xcc], xmm2
comiss xmm1, xmm3
jb 0x40c09b
movss dword [esp + 0xc8], xmm1
comiss xmm0, xmm2
jb 0x40c0a9
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 0x40c0eb
inc edx
mov dword [esp + 0x40], edx
test eax, eax
je 0x40c0d4
cdq
sub eax, edx
mov edx, dword [esp + 0x40]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40c0d9
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00421050
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.0041b6f0
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 0x40c160
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 0x40c218
test al, 0x40
jne 0x40c1fa
cmp dword [edi + 0x8c], 0
jg 0x40c1fa
cmp dword [edi + 0x90], 0
jg 0x40c1fa
movss xmm0, dword [edi + 0x1d8]
comiss xmm0, dword [edi + 0x1e0]
jae 0x40c1f0
movss xmm0, dword [edi + 0x1dc]
comiss xmm0, dword [edi + 0x1e4]
jb 0x40c1fa
mov dword [edi + 0xa0], 1
mov eax, dword [esp + 0x44]
test eax, eax
je 0x40c218
cmp byte [eax + 0x79], 0
jne 0x40c20e
cmp byte [eax + 0x7d], 0
je 0x40c218
mov dword [edi + 0xa0], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x1518]
jb 0x40c22e
mov dword [edi + 0xa0], 1
cmp dword [edi + 0xa0], 0
jg 0x40c244
cmp dword [edi + 0xa4], 0
jg 0x40c244
xor al, al
jmp 0x40c246
mov al, 1
cmp byte [edi + 0x79], 0
mov byte [edi + 0x7d], al
jne 0x40c259
cmp byte [edi + 0x76], 0
je 0x40c259
test al, al
je 0x40c278
cmp dword [edi + 0x8c], 0
jg 0x40c278
cmp dword [edi + 0x90], 0
jg 0x40c278
cmp dword [edi + 0xa4], 0
jg 0x40c278
mov al, 1
jmp 0x40c27a
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.004758de
mov esp, ebp
pop ebp
ret