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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, dword [0x43d040]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [0x448570]
push esi
mov esi, eax
mov dword [esp + 0x50], ecx
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], esi
call fcn.00407920
mov dword [esp + 0x34], eax
mov edi, eax
mov dword [esp + 0x5c], edi
test eax, eax
jne 0x408ccf
mov edx, dword [esi + 0x1a40]
test edx, edx
je 0x408c6d
mov eax, dword [esi + 0x1a68]
mov ecx, dword [esi + 0x1a6c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
jmp 0x408c83
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.00407990
mov edi, eax
add esp, 8
mov eax, dword [0x448570]
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 0x408cea
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 0x408d07
mov dword [edi + 8], edx
jmp 0x408d0e
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 0x408d25
xor eax, eax
jmp 0x408d35
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 0x408d5b
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 0x408d65
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 0x408dca
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 0x408dce
mov al, byte [esp + 0x1b]
test al, al
jne 0x408dde
cmp dword [esp + 0x20], 0
jg 0x408dde
mov byte [edi + 0x7c], al
jmp 0x408df7
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 0x408e39
inc edx
mov dword [esp + 0x24], edx
test eax, eax
je 0x408e17
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x408e1c
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00412b10
mov edx, dword [0x448570]
lea ecx, [esi + 0x1980]
mov dword [esp + 0x1c], edx
jmp 0x408e3d
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 0x408f69
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 0x408f26
inc edx
mov dword [esp + 0x24], edx
test eax, eax
je 0x408f07
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x408f0c
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00412e60
mov eax, dword [0x448570]
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 0x408f84
test dword [esp + 0x14], 0x1000000
jne 0x408f84
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 0x409025
mov edx, dword [edi + 0xa8]
test ecx, edx
mov eax, edx
setne byte [esp + 0x13]
test ecx, eax
je 0x409014
movss xmm1, dword [esi + 0x1a64]
movss xmm0, dword [esi + 0x1a60]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x43a5dc]
jbe 0x409014
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 0x409025
push ecx
lea edx, [esi + 0x1a58]
mov ecx, edi
call fcn.0040c630
add esp, 4
mov ecx, dword [esi + 0x1a40]
test ecx, ecx
je 0x409082
mov eax, dword [edi + 0xac]
xorps xmm1, xmm1
and eax, ecx
je 0x409050
movss xmm0, dword [esi + 0x1a68]
comiss xmm0, xmm1
jbe 0x409050
mov byte [esp + 0x12], 1
jmp 0x40905a
xor dl, dl
mov byte [esp + 0x12], dl
test eax, eax
je 0x40906c
movss xmm0, dword [esi + 0x1a6c]
comiss xmm0, xmm1
mov byte [esp + 0x1a], 1
ja 0x409071
mov byte [esp + 0x1a], 0
push ecx
lea edx, [esi + 0x1a68]
mov ecx, edi
call fcn.0040c6f0
add esp, 4
cmp dword [esi + 0x1a44], 0
je 0x409138
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 0x409150
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x1c]
test cl, 1
je 0x4090c7
xorps xmm2, xmm2
jmp 0x4090e7
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 0x409126
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 0x409150
xorps xmm1, xmm1
addss xmm1, xmm2
addss xmm1, xmm3
movss dword [edi + 0x38], xmm1
jmp 0x409150
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x60]
je 0x409150
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov ecx, dword [esi + 0x1a48]
test ecx, ecx
je 0x409176
mov eax, dword [edi + 0xb0]
mov dl, byte [esi + 0x1a78]
test eax, ecx
je 0x409176
and eax, 0xfffffff1
mov byte [edi + 0x79], dl
mov dword [edi + 0xb0], eax
cmp dword [esi + 0x1a50], 0
je 0x409186
mov ecx, edi
call fcn.0040c1c0
cmp byte [edi + 0x7c], 0
je 0x4091a1
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 0x40bdb8
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 0x40920d
cmp eax, 0x1000000
jne 0x4091f1
mov eax, dword [edx + 0x2ec]
mov dword [edi + 0x2ec], eax
test ecx, 0x8000000
jne 0x40920d
test ecx, 0x5000000
je 0x40920d
mov eax, dword [edx + 0x2f0]
mov dword [edi + 0x2f0], eax
test dword [edi + 8], 0x800000
je 0x409237
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 0x409220
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 0x4092dd
test eax, eax
je 0x4092b4
cdq
sub eax, edx
lea edx, [edi + 0x1bc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x4092bf
mov ecx, 8
lea edx, [edi + 0x1bc]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.00412b10
mov edx, dword [0x448570]
mov ecx, dword [esp + 0x14]
jmp 0x4092e1
mov edx, dword [esp + 0x1c]
mov dword [edi + 0x1bc], 1
cmp byte [edi + 0x79], 0
jne 0x40936e
cmp byte [edi + 0x7d], 0
je 0x409309
cmp dword [edi + 0xa4], 0
jne 0x409309
cmp dword [edi + 0xa0], 0
jg 0x40936e
movss xmm0, dword [edi + 0x34]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x40932c
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 0x409357
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 0x40937b
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 0x409396
dec eax
mov dword [edi + 0xa0], eax
mov eax, dword [edi + 0xa4]
test eax, eax
jle 0x4093a7
dec eax
mov dword [edi + 0xa4], eax
cmp dword [esp + 0x34], 0
mov al, byte [esp + 0x12]
mov ah, byte [esp + 0x1a]
jne 0x4093c8
test al, al
je 0x4093be
test ah, ah
jne 0x4093c8
mov dword [edi + 0xa4], 1
cmp byte [esp + 0x1b], 0
je 0x409418
test ecx, 0x6000000
je 0x409418
mov dword [edi + 0xa4], 1
test cl, 0x40
je 0x409418
test al, al
jne 0x4093f8
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test ah, ah
jne 0x40940a
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 0x409450
movss xmm0, dword [esi + 0x1540]
jmp 0x409472
test ecx, 0x6000000
je 0x40946a
test ecx, 0x8000000
jne 0x40946a
movss xmm0, dword [esi + 0x1548]
jmp 0x409472
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 0x4094c5
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x4094c5
test ecx, 0x400
je 0x4094b6
movss xmm0, dword [esi + 0x1520]
jmp 0x4094b9
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 0x409606
test byte [edi + 8], 1
je 0x409502
xorps xmm3, xmm3
jmp 0x409522
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 0x4095d2
cmp dword [esi + 0x19a8], 0
jne 0x4095d2
cmp dword [esi + 0x19b0], 0
jne 0x4095d2
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 0x4095d2
movss xmm0, dword [edx + 0xe8]
comiss xmm0, xmm6
jb 0x4095d2
comiss xmm4, xmm1
jbe 0x4095d2
comiss xmm3, xmm0
jbe 0x4095d2
cmp byte [esi + 0x3fd], 0
je 0x4095d2
mov byte [edi + 0x7a], 1
cmp byte [edi + 0x7a], 0
je 0x40960a
cmp byte [edi + 0x79], 0
sete al
test dword [edi + 8], 0x100
mov byte [edi + 0x79], al
jne 0x4095fd
comiss xmm2, dword [edx + 0x2c2c]
jb 0x4095fd
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x2c2c], eax
mov ecx, edi
call fcn.0040c1c0
jmp 0x40960a
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.00408030
movss xmm0, dword [0x43a6fc]
add esp, 4
test byte [esp + 0x14], 0x40
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x1c], xmm0
je 0x409683
cmp byte [edi + 0x79], 0
jne 0x409683
cmp byte [esp + 0x12], 0
jne 0x40965f
movss xmm0, dword [esp + 0xb0]
movss dword [esp + 0x48], xmm0
movss dword [edi + 0x1c], xmm0
cmp byte [esp + 0x1a], 0
jne 0x409739
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x1c], xmm0
movss dword [edi + 0x20], xmm0
jmp 0x409739
mov eax, dword [edi + 0x8c]
test eax, eax
jg 0x40969a
cmp dword [edi + 0x90], 0
jle 0x409739
cmp byte [esp + 0x12], 0
jne 0x4096d2
test eax, eax
jle 0x4096d2
cmp byte [edi + 0x94], 0
je 0x4096be
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [esp + 0xb0]
jmp 0x4096c7
movss xmm0, dword [esp + 0xb0]
movss dword [esp + 0x48], xmm0
movss dword [edi + 0x1c], xmm0
cmp byte [esp + 0x1a], 0
jne 0x40970f
cmp dword [edi + 0x90], 0
jle 0x40970f
cmp byte [edi + 0x94], 0
je 0x4096fb
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [esp + 0xb4]
jmp 0x409704
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x1c], xmm0
movss dword [edi + 0x20], xmm0
cmp byte [edi + 0x79], 0
jne 0x409739
test dword [edi + 8], 0x100
mov ecx, dword [0x448570]
jne 0x409739
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2c2c]
jb 0x409739
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.00407da0
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 0x4097d5
test edx, 0x1000000
jne 0x4097d5
test byte [edi + 8], 1
je 0x409785
xorps xmm2, xmm2
jmp 0x4097aa
mov eax, dword [0x448570]
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 0x4097e9
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 0x4098e7
movss xmm0, dword [esp + 0x48]
movss xmm1, dword [0x43a6fc]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x409822
movss xmm3, dword [edi + 0x24]
movss xmm0, dword [esp + 0x1c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x409838
movss xmm2, dword [edi + 0x20]
jmp 0x40983d
movss xmm2, dword [edi + 0x28]
test edx, 0x4000
jne 0x409858
movss xmm0, dword [edi + 0x30]
comiss xmm0, xmm2
jbe 0x409854
test dl, 8
je 0x409858
xor cl, cl
jmp 0x40985a
mov cl, 1
mov byte [edi + 0x75], cl
test edx, 0x8000
jne 0x40989e
xorps xmm1, xmm1
test cl, cl
je 0x409876
movss xmm0, dword [esi + 0x157c]
jmp 0x409879
xorps xmm0, xmm0
subss xmm3, xmm0
movss xmm0, dword [edi + 0x2c]
comiss xmm0, xmm3
jbe 0x409895
mov eax, edx
and eax, 0x808
cmp eax, 0x800
je 0x40989e
mov byte [edi + 0x74], 0
xorps xmm0, xmm0
jmp 0x4098d1
mov byte [edi + 0x74], 1
test cl, cl
jne 0x4098c6
subss xmm2, dword [esi + 0x157c]
movss xmm0, dword [edi + 0x30]
comiss xmm0, xmm2
jbe 0x4098c1
test dl, 8
jne 0x4098c1
mov cl, 1
jmp 0x4098c3
xor cl, cl
mov byte [edi + 0x75], cl
movss xmm0, dword [esi + 0x157c]
xorps xmm1, xmm1
test cl, cl
je 0x4098dd
movss xmm1, dword [esi + 0x157c]
movss dword [edi + 0x6c], xmm1
movss dword [edi + 0x70], xmm0
cmp byte [esp + 0x1b], 0
je 0x40992c
mov dword [edi + 0x9c], 0xffffffff
test edx, 0x4000000
je 0x40992c
cmp byte [esp + 0x13], 0
jne 0x40992c
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 0x4099d3
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 0x409988
mov edx, dword [ecx]
inc edx
mov dword [esp + 0x24], edx
test eax, eax
je 0x409970
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x409975
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00412b10
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 0x4099db
test al, al
jne 0x4099db
cmp ecx, 0x3000000
je 0x4099db
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 [0x43a6fc]
ucomiss xmm0, xmm7
movss dword [esp + 0x24], xmm0
lahf
test ah, 0x44
jnp 0x409b0a
cmp dword [edi + 0xa4], 0
jne 0x409b0a
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 0x409b5b
test edx, 0x10000000
jne 0x409b39
test edx, 0x4000000
je 0x409b25
test al, al
jne 0x409b25
cmp dword [esp + 0x20], 0
jg 0x409b39
test edx, 0x2000000
je 0x409b63
test al, al
jne 0x409b63
cmp ecx, 0x3000000
je 0x409b63
mov edx, edi
lea ecx, [esp + 0x4c]
call fcn.0040d7b0
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 [0x43a6fc]
test edx, 0x1000000
jne 0x409c8d
cmp byte [esp + 0x13], 0
jne 0x409c8d
cmp dword [edi + 0x8c], 0
jg 0x409c8d
cmp dword [edi + 0x90], 0
xorps xmm2, xmm2
jg 0x409c90
movss xmm0, dword [esi + 0x10]
comiss xmm0, xmm2
jbe 0x409c90
movss xmm0, dword [esi + 0x14]
comiss xmm0, xmm2
jbe 0x409c90
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 0x409c20
test byte [edi + 8], 1
jne 0x409c20
mov eax, dword [0x448570]
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 0x409c34
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 0x409cc4
movss xmm6, dword [esi + 0x153c]
jmp 0x409ce4
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x409cdc
movss xmm6, dword [esi + 0x1544]
jmp 0x409ce4
movss xmm6, dword [esi + 0x1524]
mov eax, dword [edi + 0x334]
movss dword [edi + 0x44], xmm6
cmp eax, 0x7fffffff
je 0x409d0a
mov ecx, dword [edi + 0x324]
cmp ecx, 0xffffffff
je 0x409d0a
inc eax
add eax, ecx
inc ecx
cdq
idiv ecx
jmp 0x409d0f
mov edx, 0x7fffffff
mov eax, dword [edi + 0x338]
mov dword [edi + 0x32c], edx
cmp eax, 0x7fffffff
je 0x409d36
mov ecx, dword [edi + 0x328]
cmp ecx, 0xffffffff
je 0x409d36
inc eax
add eax, ecx
inc ecx
cdq
idiv ecx
jmp 0x409d3b
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 0x409d93
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 [0x43a63c]
jbe 0x409e79
movss xmm7, dword [edi + 0x68]
movaps xmm3, xmm0
comiss xmm2, xmm7
jb 0x409dc3
movss xmm0, dword [edi + 0x40]
comiss xmm0, xmm3
jb 0x409dc3
xorps xmm3, xmm3
comiss xmm7, xmm5
mov eax, dword [0x448570]
jb 0x409dea
movss xmm1, dword [edi + 0x30]
movaps xmm0, xmm1
subss xmm0, dword [edi + 0x40]
addss xmm0, dword [eax + 0x1560]
comiss xmm3, xmm0
jb 0x409dea
movaps xmm3, xmm1
mov ecx, dword [edi + 8]
test cl, 1
je 0x409df7
xorps xmm5, xmm5
jmp 0x409e17
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 0x409e49
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 0x409e4c
xorps xmm1, xmm1
addss xmm1, xmm5
movss xmm5, dword [0x43a63c]
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 0x409ed1
cmp byte [edi + 0x7b], 0
jne 0x409ed1
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 0x409eaf
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 0x409ed1
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 0x409f13
mov eax, dword [esp + 0x14]
test eax, 0x1000
jne 0x409f13
test eax, 0x3000000
je 0x409f0e
test eax, 0x4000000
je 0x409f13
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 [0x43a600]
mov dword [esp + 0x2c], eax
mulss xmm0, dword [0x43a640]
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 0x409f94
lea ecx, [esp + 0xf0]
push ecx
push eax
lea eax, [esp + 0x30]
mov ecx, edi
push eax
lea edx, [esp + 0xbc]
call fcn.004082c0
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 0x409fb2
test dword [esp + 0x14], 0x2000040
jne 0x409fb2
mulss xmm0, dword [0x43a620]
jmp 0x409fc6
mov eax, dword [esp + 0x30]
movss xmm0, dword [eax + 0x18bc]
mulss xmm0, dword [0x43a6b4]
cvttss2si eax, xmm0
mov ecx, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x21c], xmm0
mov ecx, dword [edi + 0x270]
call fcn.0041b0b0
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 0x40a068
inc ecx
test eax, eax
je 0x40a052
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
add eax, dword [esp + 0x24]
jmp 0x40a057
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00412b10
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.0041b5d0
mov ecx, dword [0x448570]
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 0x40a0d3
movss xmm0, dword [ecx + 0xb0]
ucomiss xmm0, dword [ecx + 0xb8]
lahf
test ah, 0x44
jnp 0x40a0d3
movss xmm4, dword [ecx + 0xb8]
movaps xmm2, xmm0
jmp 0x40a0f2
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 0x40a2a8
cmp dword [esp + 0x38], 0x3000000
je 0x40a2a8
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 0x40a229
mov eax, dword [eax + 0x44]
add ecx, ecx
movups xmm4, xmmword [eax + ecx*8 - 0x10]
comiss xmm4, xmm1
movaps xmmword [esp + 0xe0], xmm4
jbe 0x40a1d7
movaps xmm1, xmm4
movss dword [esp + 0xc0], xmm1
movss xmm4, dword [esp + 0xe4]
comiss xmm4, xmm0
jbe 0x40a1f1
movaps xmm0, xmm4
movss dword [esp + 0xc4], xmm0
movss xmm4, dword [esp + 0xe8]
comiss xmm2, xmm4
jbe 0x40a20b
movaps xmm2, xmm4
movss dword [esp + 0xc8], xmm2
movss xmm4, dword [esp + 0xec]
comiss xmm3, xmm4
mov eax, dword [esp + 0x20]
jbe 0x40a229
movaps xmm3, xmm4
movss dword [esp + 0xcc], xmm3
comiss xmm1, xmm2
jb 0x40a237
movss dword [esp + 0xc8], xmm1
comiss xmm0, xmm3
jb 0x40a245
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 0x40a281
inc edx
mov dword [esp + 0x24], edx
test eax, eax
je 0x40a26d
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40a272
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00420e00
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.0041b4a0
mov edx, dword [esp + 0x58]
jmp 0x40a3fa
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 0x40a362
mov eax, dword [eax + 0x44]
add ecx, ecx
movups xmm0, xmmword [eax + ecx*8 - 0x10]
comiss xmm0, xmm1
movaps xmmword [esp + 0xe0], xmm0
jbe 0x40a303
movss dword [esp + 0xc0], xmm0
jmp 0x40a30c
movss xmm0, dword [esp + 0xc0]
movss xmm1, dword [esp + 0xe4]
comiss xmm1, xmm2
jbe 0x40a325
movss dword [esp + 0xc4], xmm1
jmp 0x40a32e
movss xmm1, dword [esp + 0xc4]
movss xmm2, dword [esp + 0xe8]
comiss xmm3, xmm2
jbe 0x40a345
movss dword [esp + 0xc8], xmm2
movss xmm2, dword [esp + 0xec]
comiss xmm4, xmm2
mov eax, dword [esp + 0x20]
jbe 0x40a374
movss dword [esp + 0xcc], xmm2
jmp 0x40a374
movss xmm1, dword [esp + 0xc4]
movss xmm0, dword [esp + 0xc0]
comiss xmm0, dword [esp + 0xc8]
jb 0x40a387
movss dword [esp + 0xc8], xmm0
comiss xmm1, dword [esp + 0xcc]
jb 0x40a39a
movss dword [esp + 0xcc], xmm1
mov ecx, dword [eax + 0x40]
lea edx, [eax + 0x3c]
mov dword [esp + 0x64], edx
cmp dword [edx], ecx
jne 0x40a3d8
test ecx, ecx
je 0x40a3bb
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x64]
sar eax, 1
add eax, ecx
jmp 0x40a3c0
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00420e00
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.0041b4a0
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 0x40a45c
call fcn.0040cf20
cmp edi, eax
jne 0x40a45c
cmp dword [edi + 0xa4], 0
jg 0x40a45c
mov dl, 1
jmp 0x40a45e
xor dl, dl
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x1ae8]
test ecx, ecx
je 0x40a478
cmp edi, dword [ecx + 0x2ec]
jne 0x40a478
mov cl, 1
jmp 0x40a47a
xor cl, cl
mov byte [esp + 0x13], cl
test dl, dl
jne 0x40a48a
test cl, cl
je 0x40a5a8
movss xmm1, dword [eax + 0x1be0]
push 0xf
push ecx
movzx ecx, dl
add ecx, 0x2e
mov dword [esp], 0
call fcn.004030d0
mov ecx, dword [edi + 0x270]
push eax
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.0041d4d0
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0x30]
je 0x40a5a8
cmp edi, dword [eax + 0x1ae8]
jne 0x40a5a8
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 0x40a55e
movss xmm0, dword [esp + 0x98]
comiss xmm0, xmm4
jb 0x40a55e
comiss xmm2, dword [esp + 0x68]
jb 0x40a55e
comiss xmm3, dword [esp + 0x28]
jae 0x40a5a8
movss xmm1, dword [eax + 0x1af4]
mulss xmm1, dword [0x43a604]
push 0xf
movss xmm0, dword [eax + 0x1524]
push ecx
mov ecx, 0x2d
movss dword [esp], xmm0
call fcn.004030d0
mov ecx, dword [edi + 0x270]
push eax
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.0041d4d0
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 0x40a5ce
mov ecx, dword [eax + 0x1aa8]
cmp byte [esp + 0x12], 0
jne 0x40a5eb
test ecx, ecx
je 0x40a5e7
mov eax, dword [edi + 0x2f0]
cmp eax, dword [ecx + 0x2f0]
je 0x40a5eb
xor cl, cl
jmp 0x40a5ed
mov cl, 1
test byte [edi + 8], 1
xorps xmm7, xmm7
mov byte [esp + 0x13], cl
je 0x40a5ff
xorps xmm3, xmm3
jmp 0x40a624
mov eax, dword [0x448570]
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 0x40a6f6
mov esi, dword [esp + 0x30]
movss xmm0, dword [esi + 0x1558]
movss dword [esp + 0x2c], xmm0
movss dword [esi + 0x1558], xmm1
test cl, cl
je 0x40a6a9
cmp byte [esi + 0x1b06], 0
mov ecx, 0xb
je 0x40a6ae
mov ecx, 0xc
push dword [esp + 0x7c]
movss xmm1, dword [0x43a63c]
push dword [esp + 0x7c]
push dword [esp + 0xec]
push dword [esp + 0xec]
call fcn.004030d0
movss xmm2, dword [esp + 0x2c]
mov dl, 1
mov ecx, eax
call fcn.00403650
movss xmm0, dword [esp + 0x3c]
add esp, 0x10
movss dword [esi + 0x1558], xmm0
jmp 0x40afd1
mov ecx, dword [esp + 0x14]
test cl, cl
js 0x40a82f
test ecx, 0x6000000
je 0x40a711
mov ecx, 4
jmp 0x40a720
and ecx, 0x1000000
or ecx, 0x2000000
shr ecx, 0x18
movss xmm1, dword [0x43a63c]
call fcn.004030d0
mov ecx, eax
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x1a54], 0
je 0x40a779
movss xmm1, dword [eax + 0x1a94]
comiss xmm7, xmm1
jbe 0x40a74e
xorps xmm0, xmm0
jmp 0x40a75a
movss xmm0, dword [0x43a63c]
minss xmm0, xmm1
mulss xmm0, dword [0x43a6d8]
and ecx, 0xffffff
addss xmm0, dword [0x43a618]
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 0x40a7b1
xorps xmm1, xmm1
jmp 0x40a7d6
mov eax, dword [0x448570]
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.0041d4d0
movss xmm2, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov dword [eax + 0x1a54], 0
test cl, 1
jne 0x40a88c
cmp byte [edi + 0x79], 0
je 0x40a84f
mov ecx, 0xc
jmp 0x40a857
movzx ecx, byte [esp + 0x13]
add ecx, 0xa
movss xmm1, dword [0x43a63c]
push 3
push ecx
movss dword [esp], xmm2
call fcn.004030d0
mov ecx, dword [edi + 0x270]
push eax
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.0041d4d0
mov ecx, dword [esp + 0x14]
test ecx, 0x400
je 0x40aa3c
mov edx, dword [edi + 8]
xorps xmm2, xmm2
mov eax, dword [0x448570]
test dl, 1
je 0x40a8ad
xorps xmm4, xmm4
jmp 0x40a8cd
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 0x40a908
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 0x40a90b
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 0x40a977
movss xmm2, dword [esp + 0x1c]
movss xmm1, dword [0x43a63c]
push 3
push ecx
mov ecx, 0xd
movss dword [esp], xmm2
call fcn.004030d0
mov ecx, dword [edi + 0x270]
push eax
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0xd0]
push eax
call fcn.0041d4d0
mov eax, dword [esp + 0x30]
movss xmm2, dword [eax + 0x1558]
comiss xmm2, dword [0x43a5c8]
jbe 0x40aa3c
movss xmm0, dword [edi + 0x10]
addss xmm0, dword [edi + 0x18]
movss xmm1, dword [esp + 0x34]
comiss xmm0, xmm1
jbe 0x40aa3c
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 [0x43a63c]
mov dword [esp + 0xd8], eax
movss dword [esp + 0x54], xmm0
movss dword [esp + 4], xmm2
call fcn.004030d0
mov ecx, dword [edi + 0x270]
add esp, 4
push eax
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.0041d280
cmp byte [edi + 0x74], 0
je 0x40aa4c
mov ecx, 1
call fcn.00422de0
cmp byte [edi + 0x75], 0
je 0x40aa59
xor ecx, ecx
call fcn.00422de0
mov eax, dword [esp + 0x14]
test al, 2
jne 0x40ad00
movss xmm4, dword [esp + 0x38]
xor ecx, ecx
movaps xmm0, xmm4
mov dword [esp + 0x64], ecx
addss xmm0, dword [esp + 0x1c]
mov eax, 0x447be8
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 0x40aaee
movd xmm3, esi
movaps xmm1, xmm4
cvtdq2ps xmm3, xmm3
jmp 0x40aaf8
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 0x40ab5f
inc ecx
test edi, edi
je 0x40ab35
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x40ab3a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x40]
call fcn.00412ee0
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 0x40ab99
movd xmm1, esi
movaps xmm3, xmm4
cvtdq2ps xmm1, xmm1
jmp 0x40aba3
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 0x40ac09
inc edi
test ecx, ecx
je 0x40abeb
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x40abf0
mov eax, 8
mov ecx, dword [esp + 0x3c]
cmp eax, edi
cmovg edi, eax
push edi
call fcn.00412ee0
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.0041cc90
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.0041c8b0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40acd2
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.00412ee0
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 0x40aa90
mov eax, dword [esp + 0x14]
movss xmm6, dword [esp + 0x38]
xorps xmm1, xmm1
comiss xmm6, xmm1
jbe 0x40ad85
test al, al
js 0x40ad85
movss xmm0, dword [edi + 0x14]
addss xmm0, dword [edi + 0xc]
movss xmm1, dword [0x43a63c]
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.004030d0
mov ecx, dword [edi + 0x270]
add esp, 4
push eax
lea eax, [esp + 0xd0]
push eax
lea eax, [edi + 0xc]
push eax
call fcn.0041d3c0
movss xmm6, dword [esp + 0x38]
xorps xmm1, xmm1
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x40af26
movss xmm4, dword [edi + 0xc]
movss xmm5, dword [edi + 0x10]
movaps xmm2, xmm4
movss xmm7, dword [0x43a63c]
movaps xmm3, xmm5
addss xmm2, dword [edi + 0x14]
addss xmm3, dword [edi + 0x18]
subss xmm2, xmm7
subss xmm3, xmm7
test eax, eax
jne 0x40ae03
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 0x40aeea
cmp eax, 1
jne 0x40ae4e
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 0x40aeea
cmp eax, 2
jne 0x40ae93
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 0x40aeea
cmp eax, 3
jne 0x40aedb
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 0x40aeea
movaps xmm0, xmmword [0x43a830]
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.004030d0
mov ecx, dword [edi + 0x270]
add esp, 4
push eax
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.0041d280
mov esi, dword [esp + 0x30]
movss xmm2, dword [esi + 0x1558]
comiss xmm2, dword [0x43a5c8]
jbe 0x40afd1
test byte [esp + 0x14], 1
jne 0x40afd1
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 [0x43a63c]
movss dword [esp + 0xd8], xmm1
movss xmm1, dword [0x43a63c]
movss dword [esp + 0xcc], xmm0
movss dword [esp + 0xdc], xmm0
call fcn.004030d0
mov ecx, dword [edi + 0x270]
add esp, 4
push eax
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.0041d280
cmp dword [esi + 0x1ae8], edi
jne 0x40b0f7
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 0x40b0b3
movss xmm7, dword [esp + 0x98]
comiss xmm7, xmm3
jb 0x40b0b3
comiss xmm2, dword [esp + 0x68]
jb 0x40b0b3
comiss xmm1, dword [esp + 0x28]
jb 0x40b0b3
xorps xmm0, xmmword [0x43a810]
movaps xmm5, xmm6
subss xmm0, dword [0x43a63c]
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.004030d0
mov ecx, dword [edi + 0x270]
add esp, 4
push eax
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0xd4]
push eax
call fcn.0041d3c0
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 [0x448570]
addss xmm0, xmm3
mov dword [edi + 0x24], eax
movss dword [edi + 0x208], xmm0
test edx, 0x400
je 0x40b15f
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 0x40b162
xorps xmm1, xmm1
test dl, 1
je 0x40b16c
xorps xmm6, xmm6
jmp 0x40b18c
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 0x40b1ca
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 0x40b1f2
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 0x40b259
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 0x40b25c
xorps xmm4, xmm4
test dl, 1
je 0x40b266
xorps xmm1, xmm1
jmp 0x40b286
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 [0x43a6f4]
movss dword [edi + 0xfc], xmm0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40b3ae
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.00412b10
lea eax, [edi + 0x14c]
mov ecx, dword [esp + 0x44]
mov dword [eax], 0
mov dword [edi + 0x15c], 0
test ecx, ecx
je 0x40b3da
mov eax, dword [ecx + 0x15c]
mov dword [edi + 0x160], eax
mov eax, dword [ecx + 0x164]
jmp 0x40b3e6
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 0x40b431
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.00412b10
lea eax, [edi + 0x170]
mov dword [eax], 0
lea eax, [edi + 0x17c]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40b466
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.00412b10
lea eax, [edi + 0x17c]
mov dword [eax], 0
lea eax, [edi + 0x188]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40b49b
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.00412b10
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.004127a0
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 0x40b519
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
xor edx, edx
cmp dword [edi + 0x220], edx
jle 0x40b585
xorps xmm1, xmm1
test edx, edx
jle 0x40b54b
movss xmm0, dword [ecx]
comiss xmm0, xmm1
jbe 0x40b54b
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 0x40b526
test dword [esp + 0x14], 0x1000000
je 0x40b5f7
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x164]
cmp dword [edi + 0x164], eax
je 0x40b5f7
lea ecx, [edi + 0x170]
mov dword [edi + 0x164], eax
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x40b5e3
inc edx
mov dword [esp + 0x40], edx
test eax, eax
je 0x40b5cd
cdq
sub eax, edx
mov edx, dword [esp + 0x40]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40b5d2
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00412b10
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 0x40b608
dec eax
mov dword [edi + 0x8c], eax
mov eax, dword [edi + 0x90]
test eax, eax
jle 0x40b619
dec eax
mov dword [edi + 0x90], eax
cmp byte [esp + 0x12], 0
je 0x40b630
mov ecx, edi
call fcn.0040c1c0
xor dl, dl
mov ecx, edi
call fcn.0040e280
test byte [esp + 0x14], 1
movaps xmm0, xmmword [esp + 0xe0]
movaps xmmword [esp + 0xa0], xmm0
jne 0x40bb53
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 0x40b6d2
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.004029d0
mov ecx, dword [0x448570]
add esp, 4
cmp dword [ecx + 0x19bc], eax
jne 0x40b6ad
mov dword [ecx + 0x19c4], eax
cmp dword [ecx + 0x19c0], eax
jne 0x40b6bc
mov byte [ecx + 0x19cf], 1
lea edx, [edi + 0xc]
mov ecx, eax
call fcn.00422b10
test al, al
mov eax, dword [esp + 0x14]
je 0x40b6d2
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 [0x448570]
mov dword [esp + 0x1c], ecx
test eax, 0x100000
je 0x40b78f
movss xmm0, dword [ecx + 0x18bc]
mov eax, dword [ecx + 0x18b8]
movaps xmm2, xmm0
movss xmm3, dword [0x43a6fc]
push ecx
push 0
push 0x436404
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.0041fb40
movss xmm0, dword [esp + 0xc0]
xorps xmm2, xmm2
comiss xmm0, xmm2
jbe 0x40b770
mov eax, dword [esp + 0xb0]
movss xmm1, dword [esp + 0x40]
divss xmm1, dword [eax]
subss xmm0, xmm1
addss xmm0, dword [0x43a638]
mov ecx, dword [esp + 0x1c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x20], xmm0
jmp 0x40b798
xorps xmm2, xmm2
movss dword [esp + 0x20], xmm2
mov edx, dword [esp + 0x54]
cmp edx, 0xffffffff
jae 0x40b7ba
mov al, byte [edx]
mov byte [esp + 0x12], al
test al, al
je 0x40b7ba
cmp al, 0x23
jne 0x40b7b4
cmp byte [edx + 1], al
je 0x40b7ba
inc edx
cmp edx, 0xffffffff
jb 0x40b7a1
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 0x40b7e3
movaps xmm6, xmm2
jmp 0x40b85a
movss xmm3, dword [0x43a6fc]
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.0041fb40
movss xmm1, dword [esp + 0xc0]
xorps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x40b831
mov eax, dword [esp + 0xb0]
movss xmm0, dword [esp + 0x40]
divss xmm0, dword [eax]
subss xmm1, xmm0
addss xmm1, dword [0x43a638]
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 0x40b8a4
movss xmm1, dword [esi + 0x154c]
movaps xmm5, xmm1
jmp 0x40b8bf
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 0x40b8de
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 0x40b95d
nop dword [eax]
mov al, byte [edx]
mov byte [esp + 0x12], al
test al, al
je 0x40b959
cmp al, 0x23
jne 0x40b953
cmp byte [edx + 1], al
je 0x40b959
inc edx
cmp edx, 0xffffffff
jb 0x40b940
mov dword [esp + 0x2c], edx
mov eax, edx
sub eax, dword [esp + 0x54]
je 0x40b9f9
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.004033c0
mov eax, dword [esp + 0x34]
add esp, 0x18
cmp byte [eax + 0x2c54], 0
je 0x40b9cc
push dword [esp + 0x2c]
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0xb4]
call fcn.00411ae0
add esp, 4
mov ecx, dword [0x448570]
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 0x40b9fd
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test eax, 0x100000
je 0x40bb63
movss xmm0, dword [esi + 0x18bc]
mov edx, 0x436404
xorps xmm0, xmmword [0x43a810]
mulss xmm0, dword [0x43a604]
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 [0x43a66c]
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 0x40baed
nop dword [eax]
mov al, byte [edx]
mov byte [esp + 0x12], al
test al, al
je 0x40bae9
cmp al, 0x23
jne 0x40bae3
cmp byte [edx + 1], al
je 0x40bae9
inc edx
cmp edx, 0xffffffff
jb 0x40bad0
mov dword [esp + 0x2c], edx
mov eax, edx
sub eax, 0x436404
je 0x40bb5f
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 0x436404
push eax
lea edx, [esp + 0xe8]
call fcn.004033c0
mov eax, dword [esp + 0x34]
add esp, 0x18
cmp byte [eax + 0x2c54], 0
je 0x40bb53
push dword [esp + 0x2c]
mov edx, 0x436404
lea ecx, [esp + 0xd4]
call fcn.00411ae0
add esp, 4
mov ecx, dword [0x448570]
mov eax, dword [esp + 0x14]
jmp 0x40bb67
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 0x40bc1c
movaps xmm1, xmm5
jmp 0x40bc24
movss xmm1, dword [esi + 0x1558]
test dword [edi + 8], 0x400
je 0x40bc57
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 0x40bc5a
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 [0x43a618]
subss xmm0, xmm5
movss xmm5, dword [0x43a618]
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 0x40bd9f
movss xmm0, dword [ecx + 0xe8]
comiss xmm0, xmm5
jb 0x40bd9f
comiss xmm4, xmm1
jbe 0x40bd9f
comiss xmm2, xmm0
jbe 0x40bd9f
mov eax, 1
jmp 0x40bda1
xor eax, eax
movaps xmm0, xmmword [esp + 0xa0]
mov dword [edi + 0x10c], eax
movups xmmword [edi + 0x110], xmm0
jmp 0x40bdbc
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 0x40be9d
mov eax, dword [eax + 0x44]
add ecx, ecx
movups xmm4, xmmword [eax + ecx*8 - 0x10]
comiss xmm4, xmm1
movaps xmmword [esp + 0xf0], xmm4
jbe 0x40be4b
movaps xmm1, xmm4
movss dword [esp + 0xc0], xmm1
movss xmm4, dword [esp + 0xf4]
comiss xmm4, xmm0
jbe 0x40be65
movaps xmm0, xmm4
movss dword [esp + 0xc4], xmm0
movss xmm4, dword [esp + 0xf8]
comiss xmm3, xmm4
jbe 0x40be7f
movaps xmm3, xmm4
movss dword [esp + 0xc8], xmm3
movss xmm4, dword [esp + 0xfc]
comiss xmm2, xmm4
mov eax, dword [esp + 0x28]
jbe 0x40be9d
movaps xmm2, xmm4
movss dword [esp + 0xcc], xmm2
comiss xmm1, xmm3
jb 0x40beab
movss dword [esp + 0xc8], xmm1
comiss xmm0, xmm2
jb 0x40beb9
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 0x40befb
inc edx
mov dword [esp + 0x40], edx
test eax, eax
je 0x40bee4
cdq
sub eax, edx
mov edx, dword [esp + 0x40]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40bee9
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00420e00
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.0041b4a0
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 0x40bf70
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 0x40c028
test al, 0x40
jne 0x40c00a
cmp dword [edi + 0x8c], 0
jg 0x40c00a
cmp dword [edi + 0x90], 0
jg 0x40c00a
movss xmm0, dword [edi + 0x1d8]
comiss xmm0, dword [edi + 0x1e0]
jae 0x40c000
movss xmm0, dword [edi + 0x1dc]
comiss xmm0, dword [edi + 0x1e4]
jb 0x40c00a
mov dword [edi + 0xa0], 1
mov eax, dword [esp + 0x44]
test eax, eax
je 0x40c028
cmp byte [eax + 0x79], 0
jne 0x40c01e
cmp byte [eax + 0x7d], 0
je 0x40c028
mov dword [edi + 0xa0], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x1518]
jb 0x40c03e
mov dword [edi + 0xa0], 1
cmp dword [edi + 0xa0], 0
jg 0x40c054
cmp dword [edi + 0xa4], 0
jg 0x40c054
xor al, al
jmp 0x40c056
mov al, 1
cmp byte [edi + 0x79], 0
mov byte [edi + 0x7d], al
jne 0x40c069
cmp byte [edi + 0x76], 0
je 0x40c069
test al, al
je 0x40c088
cmp dword [edi + 0x8c], 0
jg 0x40c088
cmp dword [edi + 0x90], 0
jg 0x40c088
cmp dword [edi + 0xa4], 0
jg 0x40c088
mov al, 1
jmp 0x40c08a
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.00433624
mov esp, ebp
pop ebp
ret