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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x148
mov eax, dword [0x46a040]
xor eax, esp
mov dword [esp + 0x144], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x46e460]
push edi
mov dword [esp + 0x94], edx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], esi
call fcn.0040a220
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x2c], ecx
mov edi, ecx
sete al
mov dword [esp + 0x3c], edi
mov byte [esp + 0x18], al
mov eax, ecx
mov dword [esp + 0x60], eax
test ecx, ecx
jne 0x40caf9
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x90]
call fcn.0040a360
mov edi, eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x60], edi
mov edx, dword [esp + 0x14]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x40cb14
or edx, 6
mov dword [esp + 0x14], edx
cmp dword [esi + 0x1c24], 0
mov eax, dword [eax + 0x290]
mov ecx, dword [esi + 0x1be0]
mov dword [esp + 0x7c], eax
lea eax, [esi + 0x1c24]
mov dword [esp + 0x74], ecx
jne 0x40cb44
cmp byte [esi + 0x1bf1], 0
je 0x40cb44
mov al, 1
jmp 0x40cb46
xor al, al
mov byte [edi + 0xcb], al
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x60]
cmp dword [ecx + 0x290], eax
setl al
mov byte [esp + 0x1b], al
test edx, 0x4000000
je 0x40cba6
mov eax, dword [esi + 0x1dc4]
lea esi, [eax + eax*8]
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x1dc0]
mov eax, dword [edi + 0xd8]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
setne al
or cl, al
mov al, byte [esp + 0x1b]
or al, cl
mov ecx, dword [esp + 0x60]
mov byte [esp + 0x1b], al
mov byte [edi + 0xc9], al
test al, al
je 0x40cbcc
or byte [edi + 0xe8], 8
or byte [edi + 0xe9], 8
or byte [edi + 0xea], 8
or byte [edi + 0xeb], 8
mov eax, dword [esp + 0x7c]
cmp eax, dword [esp + 0x74]
mov eax, dword [edi + 8]
je 0x40cc1c
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [edi + 8], edx
mov dword [ecx + 0x290], eax
xor eax, eax
movsd xmm0, qword [esi + 0x1bd8]
cvtpd2ps xmm0, xmm0
movss dword [edi + 0x298], xmm0
mov word [edi + 0xd0], ax
movzx eax, word [esi + 0x1c3c]
inc dword [esi + 0x1c3c]
mov word [edi + 0xd2], ax
jmp 0x40cc20
mov dword [esp + 0x14], eax
test dword [esi + 0x1cd0], 0x200
je 0x40cc42
push dword [esi + 0x1ce0]
mov edx, dword [esi + 0x1d30]
mov ecx, edi
call fcn.0041db00
add esp, 4
mov eax, dword [esp + 0x7c]
cmp eax, dword [esp + 0x74]
je 0x40cca2
cmp dword [edi + 0x3c4], 0
jne 0x40cc84
cmp dword [edi + 0x3bc], 0
jne 0x40cc84
mov eax, dword [0x46e460]
cmp byte [eax + 0xb1], 0
jne 0x40cc72
cmp byte [edi + 0x2c], 0
je 0x40cca2
test dword [edi + 8], 0x1200001
jne 0x40cca2
cmp byte [edi + 0xcb], 0
jne 0x40cca2
mov edx, dword [esp + 0x94]
mov ecx, edi
call fcn.0041df10
mov ecx, dword [edi + 8]
and dword [esi + 0x1cd0], 0xffffffef
mov dword [esp + 0x14], ecx
jmp 0x40cca6
mov ecx, dword [esp + 0x14]
test byte [edi + 0x3a1], 1
je 0x40ccba
mov eax, dword [edi + 0x3bc]
mov edx, dword [eax + 0x68]
jmp 0x40ccce
mov edx, dword [esi + 0x1c24]
test edx, edx
je 0x40ccce
mov eax, dword [esi + 0x1c2c]
mov edx, dword [eax + edx*4 - 4]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x64], edx
cmp eax, dword [esp + 0x74]
je 0x40cceb
mov eax, ecx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, edx
jmp 0x40ccf1
mov eax, dword [edi + 0x358]
cmp dword [edi + 0xfc], 0
lea ecx, [edi + 0xfc]
mov dword [esp + 0x68], eax
jne 0x40cd0d
lea eax, [edi + 4]
push eax
call fcn.0041f750
lea eax, [esp + 0x3c]
push eax
lea ecx, [esi + 0x1c24]
call fcn.0041f750
mov ecx, dword [0x46e460]
mov dword [esi + 0x1c48], edi
mov eax, dword [ecx + 0x1c48]
movzx eax, word [eax + 0xfc]
mov word [edi + 0x208], ax
movzx eax, word [ecx + 0x1d70]
mov word [edi + 0x20a], ax
movzx eax, word [ecx + 0x1d7c]
mov word [edi + 0x20c], ax
movzx eax, word [ecx + 0x1d88]
mov word [edi + 0x20e], ax
movzx eax, word [ecx + 0x1d94]
mov word [edi + 0x210], ax
movzx eax, word [ecx + 0x1dac]
mov word [edi + 0x212], ax
movzx eax, word [ecx + 0x1dc4]
mov ecx, dword [esp + 0x14]
mov word [edi + 0x214], ax
mov dword [esi + 0x1c48], 0
test ecx, 0x4000000
je 0x40ce4b
mov eax, dword [esi + 0x1dc4]
lea ecx, [esi + 0x1dc4]
mov edx, dword [esi + 0x1dc0]
mov dword [esp + 0x40], edx
lea eax, [eax + eax*8]
mov dword [edx + eax*4 + 4], edi
mov edx, dword [ecx]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x40ce02
inc edx
mov dword [esp + 0x38], edx
test eax, eax
je 0x40cdec
cdq
sub eax, edx
mov edx, dword [esp + 0x38]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40cdf1
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.004200f0
lea ecx, [esi + 0x1dc4]
mov eax, dword [ecx]
mov esi, dword [esp + 0x40]
mov ecx, dword [ecx + 8]
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x20]
movups xmm0, xmmword [esi + eax*4]
movups xmmword [ecx + edx*4], xmm0
movups xmm0, xmmword [esi + eax*4 + 0x10]
movups xmmword [ecx + edx*4 + 0x10], xmm0
mov eax, dword [esi + eax*4 + 0x20]
mov esi, dword [esp + 0x30]
mov dword [ecx + edx*4 + 0x20], eax
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
inc dword [esi + 0x1dc4]
mov eax, dword [ecx + eax*4]
mov ecx, dword [esp + 0x14]
mov dword [edi + 0xd8], eax
mov eax, dword [esp + 0x7c]
cmp eax, dword [esp + 0x74]
je 0x40cef7
mov edx, dword [esp + 0x68]
mov dword [edi + 0x358], edx
mov dword [edi + 0x368], edi
mov dword [edi + 0x364], edi
mov dword [edi + 0x360], edi
mov dword [edi + 0x35c], edi
test edx, edx
je 0x40ced3
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x40ceb7
test byte [edi + 0x3a1], 1
mov eax, dword [edx + 0x360]
mov dword [edi + 0x360], eax
jne 0x40ceb7
test dword [edx + 8], 0x20000000
jne 0x40ceb7
mov eax, dword [edx + 0x35c]
mov dword [edi + 0x35c], eax
test ecx, 0x8000000
jne 0x40ced3
test ecx, 0x5000000
je 0x40ced3
mov eax, dword [edx + 0x364]
mov dword [edi + 0x364], eax
test dword [edi + 8], 0x800000
je 0x40cef7
mov ecx, edi
nop
mov eax, dword [ecx + 0x358]
mov ecx, eax
mov dword [edi + 0x368], eax
test dword [ecx + 8], 0x800000
jne 0x40cee0
test byte [esi + 0x1cd0], 1
mov byte [esp + 0x1a], 0
mov byte [esp + 0x12], 0
mov byte [esp + 0x19], 0
je 0x40cfb3
movsx eax, byte [edi + 0xe8]
mov ecx, dword [esi + 0x1cd4]
test ecx, eax
setne byte [esp + 0x1a]
test ecx, eax
je 0x40cfa2
movss xmm1, dword [esi + 0x1cf0]
movss xmm0, dword [esi + 0x1cec]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x4647ac]
jbe 0x40cfa2
mov eax, dword [esi + 0x1ce4]
mov ecx, dword [esi + 0x1ce8]
mov dword [edi + 0xec], eax
mov dword [edi + 0xf0], ecx
mov eax, dword [esi + 0x1cec]
mov ecx, dword [esi + 0x1cf0]
mov dword [edi + 0xf4], eax
mov dword [edi + 0xf8], ecx
movzx ecx, byte [edi + 0xe8]
mov eax, dword [edi + 0xe8]
and ecx, 0xf1
and eax, 0xffffff00
or ecx, eax
mov dword [edi + 0xe8], ecx
jmp 0x40cfb3
push ecx
lea edx, [esi + 0x1ce4]
mov ecx, edi
call fcn.00410360
add esp, 4
test byte [esi + 0x1cd0], 2
xorps xmm1, xmm1
je 0x40d019
movsx eax, byte [edi + 0xe9]
mov ecx, dword [esi + 0x1cd8]
and eax, ecx
je 0x40cfe4
movss xmm0, dword [esi + 0x1cf4]
comiss xmm0, xmm1
jbe 0x40cfe4
mov byte [esp + 0x12], 1
jmp 0x40cfee
xor dl, dl
mov byte [esp + 0x12], dl
test eax, eax
je 0x40d000
movss xmm0, dword [esi + 0x1cf8]
comiss xmm0, xmm1
mov byte [esp + 0x19], 1
ja 0x40d005
mov byte [esp + 0x19], 0
push ecx
lea edx, [esi + 0x1cf4]
mov ecx, edi
call fcn.00410480
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x1cd0], 0x80
je 0x40d060
movss xmm0, dword [esi + 0x1d04]
comiss xmm0, xmm1
jb 0x40d041
movss dword [edi + 0xa0], xmm0
mov dword [edi + 0xa8], 0
movss xmm0, dword [esi + 0x1d08]
comiss xmm0, xmm1
jb 0x40d060
movss dword [edi + 0xa4], xmm0
mov dword [edi + 0xac], 0
test byte [esi + 0x1cd0], 4
je 0x40d07d
mov eax, dword [esi + 0x1cfc]
mov ecx, dword [esi + 0x1d00]
mov dword [edi + 0x6c], eax
mov dword [edi + 0x70], ecx
jmp 0x40d095
mov eax, dword [esp + 0x7c]
cmp eax, dword [esp + 0x74]
je 0x40d095
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
test dword [esi + 0x1cd0], 0x400
je 0x40d0b7
movups xmm0, xmmword [esi + 0x1d34]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [esi + 0x1d44]
movups xmmword [edi + 0x20], xmm0
test byte [esi + 0x1cd0], 8
je 0x40d104
mov ecx, dword [esi + 0x1cdc]
mov dl, byte [esi + 0x1d0d]
test ecx, ecx
je 0x40d0db
movsx eax, byte [edi + 0xea]
test ecx, eax
je 0x40d104
movzx ecx, byte [edi + 0xea]
mov eax, dword [edi + 0xe8]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [edi + 0xc6], dl
mov dword [edi + 0xe8], ecx
test byte [esi + 0x1cd0], 0x20
je 0x40d114
mov ecx, edi
call fcn.0040ff80
cmp byte [edi + 0xc9], 0
je 0x40d139
and byte [edi + 0xe8], 0xf7
and byte [edi + 0xe9], 0xf7
and byte [edi + 0xea], 0xf7
and byte [edi + 0xeb], 0xf7
mov eax, dword [esp + 0x7c]
cmp eax, dword [esp + 0x74]
je 0x40f80a
mov eax, dword [esp + 0x14]
lea ecx, [edi + 0xfc]
and eax, 0x3000000
mov byte [edi + 0xc3], 1
cmp dword [esp + 0x94], 0
mov dword [esp + 0x78], eax
setne al
mov byte [edi + 0xcc], al
mov dword [edi + 0x268], 0xff7fffff
mov dword [edi + 0x26c], 0xff7fffff
mov dword [edi + 0x270], 0x7f7fffff
push 1
mov dword [edi + 0x274], 0x7f7fffff
call fcn.00420220
mov ecx, dword [edi + 0x2c4]
call fcn.00428950
mov dword [edi + 0x1d4], 0xffffffff
cmp byte [edi + 0x3a0], 0
je 0x40d202
mov byte [edi + 0x3a0], 0
mov ecx, dword [edi + 0x2c4]
push dword [edi + 0x398]
add ecx, 0xc
call fcn.00420450
mov ecx, dword [edi + 0x2c4]
push dword [edi + 0x39c]
add ecx, 0x18
call fcn.004202d0
mov dword [edi + 0x39c], 0
mov dword [edi + 0x398], 0
mov eax, dword [edi + 0x30]
test eax, eax
je 0x40d20e
cmp dword [eax + 0x6c], edi
je 0x40d231
test byte [edi + 0x3a1], 1
jne 0x40d231
cmp dword [esi + 0x1f28], 0
je 0x40d30d
test dword [edi + 8], 0x80000
jne 0x40d30d
cmp dword [esp + 0x2c], 0
je 0x40d30d
mov eax, dword [edi]
mov ecx, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x90]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40d270
test dl, dl
je 0x40d26c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40d270
add eax, 2
add ecx, 2
test dl, dl
jne 0x40d250
xor eax, eax
jmp 0x40d275
sbb eax, eax
or eax, 1
test eax, eax
je 0x40d30d
mov ecx, dword [esp + 0x90]
mov edx, dword [edi + 0x84]
mov dword [esp + 0x60], edx
lea eax, [ecx + 1]
mov dword [esp + 0x38], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d295
sub ecx, dword [esp + 0x38]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x20], eax
cmp edx, eax
jae 0x40d2f0
test ecx, ecx
je 0x40d2c2
mov eax, dword [0x46e460]
test eax, eax
je 0x40d2c2
dec dword [eax + 0x374]
push ecx
call fcn.00444271
mov eax, dword [0x46e460]
add esp, 4
test eax, eax
je 0x40d2da
inc dword [eax + 0x374]
push dword [esp + 0x20]
call fcn.00449059
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x60], eax
push eax
push dword [esp + 0x94]
push ecx
call fcn.004405a0
mov dword [edi], eax
add esp, 0xc
mov eax, dword [esp + 0x60]
mov dword [edi + 0x84], eax
mov al, byte [edi + 0xe5]
lea edx, [edi + 0x5c]
mov byte [esp + 0x5f], al
mov ecx, edi
lea eax, [edi + 0x64]
push eax
call fcn.0040a8e0
mov al, byte [edi + 0xe4]
add esp, 4
test al, al
jle 0x40d33a
dec al
mov byte [edi + 0xe4], al
mov al, byte [edi + 0xe5]
test al, al
jle 0x40d34c
dec al
mov byte [edi + 0xe5], al
mov al, byte [edi + 0xe6]
test al, al
jle 0x40d35e
dec al
mov byte [edi + 0xe6], al
cmp dword [esp + 0x2c], 0
mov cl, byte [esp + 0x12]
mov dl, byte [esp + 0x19]
jne 0x40d37c
test cl, cl
je 0x40d375
test dl, dl
jne 0x40d37c
mov byte [edi + 0xe5], 1
cmp byte [esp + 0x1b], 0
je 0x40d3d9
mov eax, dword [esp + 0x14]
test eax, 0x6000000
je 0x40d3d9
mov byte [edi + 0xe5], 1
test al, 0x40
je 0x40d3d9
test cl, cl
jne 0x40d3ab
mov dword [edi + 0x54], 0
mov dword [edi + 0x4c], 0
test dl, dl
jne 0x40d3bd
mov dword [edi + 0x58], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov ecx, edi
call fcn.00417090
mov edx, dword [edi + 0x30]
mov ecx, dword [0x46e460]
test edx, edx
je 0x40d3f6
mov eax, dword [ecx + 0x1be0]
mov dword [edx + 0x4c], eax
movss xmm0, dword [0x46483c]
cmp dword [ecx + 0x1de0], edx
je 0x40d449
test edx, edx
je 0x40d439
mov eax, dword [edx + 0x28]
mov dword [ecx + 0x1ddc], eax
mov eax, dword [ecx + 0x1560]
mov dword [ecx + 0x1de0], edx
test eax, eax
je 0x40d449
push edx
call eax
movss xmm0, dword [0x46483c]
add esp, 4
mov ecx, dword [0x46e460]
jmp 0x40d449
mov dword [ecx + 0x1ddc], 0x3f800000
mov dword [ecx + 0x1de0], edx
test dword [esi + 8], 0x8000
je 0x40d45a
mov eax, dword [edi + 0x30]
movss xmm0, dword [eax + 0x28]
movss dword [edi + 0x2bc], xmm0
mov dword [ecx + 0x1c48], edi
mov eax, dword [edi + 0x1d4]
cmp eax, 0xffffffff
je 0x40d481
imul eax, eax, 0x228
add eax, dword [ecx + 0x1ff8]
jmp 0x40d483
xor eax, eax
movss xmm0, dword [ecx + 0x19dc]
mov dword [ecx + 0x1fec], eax
mulss xmm0, dword [edi + 0x2b8]
mov eax, dword [edi + 0x358]
mulss xmm0, dword [edi + 0x2bc]
test eax, eax
je 0x40d4b3
mulss xmm0, dword [eax + 0x2b8]
movss dword [ecx + 0x19ec], xmm0
movss dword [ecx + 0x19d8], xmm0
mov edx, dword [edi + 8]
mov dword [esp + 0x14], edx
test edx, 0x1000000
je 0x40d4e0
mov eax, dword [esi + 0x15c4]
mov dword [edi + 0x80], eax
jmp 0x40d50a
test edx, 0x6000000
je 0x40d4fa
test edx, 0x8000000
jne 0x40d4fa
movss xmm0, dword [esi + 0x15cc]
jmp 0x40d502
movss xmm0, dword [esi + 0x15a8]
movss dword [edi + 0x80], xmm0
test byte [edi + 0x3a1], 1
jne 0x40d564
mov eax, edx
and eax, 0x5010000
cmp eax, 0x1000000
jne 0x40d564
movss xmm0, dword [edi + 0x80]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x40d564
test edx, 0x400
je 0x40d553
movss xmm0, dword [esi + 0x15a0]
mov dword [edi + 0x74], 0
movss dword [edi + 0x78], xmm0
jmp 0x40d57c
xorps xmm0, xmm0
mov dword [edi + 0x74], 0
movss dword [edi + 0x78], xmm0
jmp 0x40d57c
mov ecx, dword [esi + 0x15a0]
mov eax, dword [esi + 0x159c]
mov dword [edi + 0x74], eax
mov dword [edi + 0x78], ecx
mov ecx, dword [0x46e460]
movss xmm0, dword [edi + 0x74]
maxss xmm0, dword [esi + 0x15e0]
maxss xmm0, dword [esi + 0x1d54]
movss dword [edi + 0x18c], xmm0
mov eax, dword [esi + 0x1d58]
mov dword [edi + 0x190], eax
test dl, 0x21
jne 0x40d740
test byte [edi + 0x3a1], 1
jne 0x40d740
test byte [edi + 8], 1
je 0x40d5c6
xorps xmm3, xmm3
jmp 0x40d600
movss xmm0, dword [ecx + 0x19dc]
mulss xmm0, dword [edi + 0x2b8]
mov eax, dword [edi + 0x358]
mulss xmm0, dword [edi + 0x2bc]
test eax, eax
je 0x40d5f0
mulss xmm0, dword [eax + 0x2b8]
movss xmm3, dword [ecx + 0x15d4]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm5, dword [edi + 0x44]
movaps xmm4, xmm5
movss xmm7, dword [edi + 0x48]
addss xmm4, dword [edi + 0x54]
addss xmm3, dword [edi + 0x48]
cmp dword [esi + 0x1c4c], edi
jne 0x40d707
cmp dword [esi + 0x1c70], 0
jne 0x40d707
cmp dword [esi + 0x1c74], 0
jne 0x40d707
mov eax, dword [ecx + 0x1c48]
movss xmm0, dword [ecx + 0x15fc]
movss xmm1, dword [ecx + 0x15f8]
minss xmm3, dword [eax + 0x274]
maxss xmm5, dword [eax + 0x268]
minss xmm4, dword [eax + 0x270]
maxss xmm7, dword [eax + 0x26c]
movaps xmm2, xmm3
addss xmm2, xmm0
movaps xmm6, xmm4
addss xmm6, xmm1
movss dword [esp + 0x38], xmm2
movaps xmm2, xmm5
subss xmm2, xmm1
movaps xmm1, xmm7
subss xmm1, xmm0
movss xmm0, dword [ecx + 0xe4]
comiss xmm0, xmm2
jb 0x40d707
movss xmm0, dword [ecx + 0xe8]
comiss xmm0, xmm1
jb 0x40d707
comiss xmm6, dword [ecx + 0xe4]
jbe 0x40d707
movss xmm1, dword [esp + 0x38]
comiss xmm1, xmm0
jbe 0x40d707
mov eax, dword [ecx + 0x1de4]
movss xmm2, dword [eax + 0xc]
movss xmm6, dword [eax + 8]
movaps xmm0, xmm2
addss xmm0, dword [eax + 0x14]
movaps xmm1, xmm6
addss xmm1, dword [eax + 0x10]
comiss xmm0, xmm7
jbe 0x40d707
comiss xmm3, xmm2
jbe 0x40d707
comiss xmm1, xmm5
jbe 0x40d707
comiss xmm4, xmm6
jbe 0x40d707
cmp byte [esi + 0x3e5], 0
je 0x40d707
mov byte [edi + 0xc7], 1
cmp byte [edi + 0xc7], 0
je 0x40d747
cmp byte [edi + 0xc6], 0
sete al
mov byte [edi + 0xc6], al
test dword [edi + 8], 0x100
jne 0x40d747
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2fe4]
jb 0x40d747
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2fe4], eax
jmp 0x40d747
mov byte [edi + 0xc6], 0
lea eax, [edi + 0x64]
mov byte [edi + 0xc7], 0
push eax
mov edx, edi
lea ecx, [esp + 0x118]
call fcn.0040aa10
mov cl, byte [esp + 0x1c]
add esp, 4
test byte [esp + 0x14], 0x40
mov byte [esp + 0x13], cl
je 0x40d7b8
cmp byte [edi + 0xc6], 0
jne 0x40d7b8
cmp byte [esp + 0x12], 0
jne 0x40d795
movss xmm0, dword [esp + 0x114]
movss dword [edi + 0x54], xmm0
mov byte [esp + 0x18], 1
cmp byte [esp + 0x19], 0
jne 0x40d86f
movss xmm0, dword [esp + 0x118]
movss dword [edi + 0x58], xmm0
mov byte [esp + 0x13], 1
jmp 0x40d86f
mov al, byte [edi + 0xdc]
test al, al
jg 0x40d7cf
cmp byte [edi + 0xdd], 0
jle 0x40d86f
cmp byte [esp + 0x12], 0
jne 0x40d806
test al, al
jle 0x40d806
cmp byte [edi + 0xdf], 0
je 0x40d7f3
movss xmm0, dword [edi + 0x54]
maxss xmm0, dword [esp + 0x114]
jmp 0x40d7fc
movss xmm0, dword [esp + 0x114]
movss dword [edi + 0x54], xmm0
mov byte [esp + 0x18], 1
cmp byte [esp + 0x19], 0
jne 0x40d842
cmp byte [edi + 0xdd], 0
jle 0x40d842
cmp byte [edi + 0xdf], 0
je 0x40d82f
movss xmm0, dword [edi + 0x58]
maxss xmm0, dword [esp + 0x118]
jmp 0x40d838
movss xmm0, dword [esp + 0x118]
movss dword [edi + 0x58], xmm0
mov byte [esp + 0x13], 1
cmp byte [edi + 0xc6], 0
jne 0x40d86f
test dword [edi + 8], 0x100
mov ecx, dword [0x46e460]
jne 0x40d86f
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2fe4]
jb 0x40d86f
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2fe4], eax
lea eax, [edi + 0x54]
mov edx, edi
push eax
lea ecx, [esp + 0x8c]
call fcn.0040a690
mov edx, dword [0x46e460]
add esp, 4
mov dword [esp + 0x1c], edx
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [edi + 0x54], xmm0
movss dword [edi + 0x58], xmm1
cmp byte [edi + 0xc6], 0
je 0x40d926
test dword [esp + 0x14], 0x1000000
jne 0x40d926
test byte [edi + 8], 1
je 0x40d8bf
xorps xmm2, xmm2
jmp 0x40d8f9
movss xmm0, dword [edx + 0x19dc]
mulss xmm0, dword [edi + 0x2b8]
mov eax, dword [edi + 0x358]
mulss xmm0, dword [edi + 0x2bc]
test eax, eax
je 0x40d8e9
mulss xmm0, dword [eax + 0x2b8]
movss xmm2, dword [edx + 0x15d4]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [edi + 0x44]
addss xmm0, dword [edi + 0x54]
addss xmm2, dword [edi + 0x48]
subss xmm0, dword [edi + 0x44]
subss xmm2, dword [edi + 0x48]
movss dword [esp + 0x80], xmm0
movss dword [esp + 0x84], xmm2
jmp 0x40d93a
mov eax, dword [edi + 0x54]
mov ecx, dword [edi + 0x58]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x80]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x4c], eax
mov dword [edi + 0x50], ecx
mov ecx, dword [edi + 8]
test cl, 1
je 0x40d959
xorps xmm1, xmm1
jmp 0x40d993
movss xmm0, dword [edx + 0x19dc]
mulss xmm0, dword [edi + 0x2b8]
mov eax, dword [edi + 0x358]
mulss xmm0, dword [edi + 0x2bc]
test eax, eax
je 0x40d983
mulss xmm0, dword [eax + 0x2b8]
movss xmm1, dword [edx + 0x15d4]
addss xmm1, xmm1
addss xmm1, xmm0
test ecx, 0x400
je 0x40d9df
movss xmm2, dword [edx + 0x19dc]
mulss xmm2, dword [edi + 0x2b8]
mov eax, dword [edi + 0x358]
mulss xmm2, dword [edi + 0x2bc]
test eax, eax
je 0x40d9c5
mulss xmm2, dword [eax + 0x2b8]
movss xmm0, dword [edx + 0x15d4]
addss xmm2, dword [edi + 0x190]
addss xmm0, xmm0
addss xmm2, xmm0
jmp 0x40d9e2
xorps xmm2, xmm2
cmp byte [esp + 0x1b], 0
addss xmm2, xmm1
mov edx, dword [esp + 0x14]
movss dword [esp + 0x60], xmm2
je 0x40da3b
mov eax, edx
mov dword [edi + 0xe0], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x40da3b
cmp byte [esp + 0x1a], 0
jne 0x40da3b
mov eax, dword [esi + 0x1dc4]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x1dcc]
movss xmm0, dword [eax + ecx*4 - 0x10]
movss xmm1, dword [eax + ecx*4 - 0xc]
movss dword [edi + 0x44], xmm0
movss dword [edi + 0x48], xmm1
test edx, 0x1000000
je 0x40daa0
mov ecx, dword [esp + 0x68]
add ecx, 0x1c0
mov ax, word [ecx]
mov word [edi + 0xd0], ax
lea eax, [esp + 0x3c]
push eax
call fcn.0041f750
test dword [esp + 0x14], 0x4000000
jne 0x40da92
cmp byte [esp + 0x1a], 0
jne 0x40da92
cmp dword [esp + 0x78], 0x3000000
je 0x40da92
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx + 0x108]
mov ecx, dword [ecx + 0x10c]
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], ecx
mov edx, dword [0x46e460]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x14]
movss xmm1, dword [edi + 0xec]
ucomiss xmm1, dword [0x464970]
lahf
test ah, 0x44
jnp 0x40db0f
cmp byte [edi + 0xe5], 0
jne 0x40db0f
movss xmm0, dword [edi + 0x4c]
lea edx, [esp + 0x80]
mulss xmm0, dword [edi + 0xf4]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xf0]
movss dword [esp + 0x84], xmm1
movss xmm1, dword [edi + 0x50]
mulss xmm1, dword [edi + 0xf8]
subss xmm0, xmm1
movss dword [esp + 0x88], xmm0
call fcn.00410360
add esp, 4
jmp 0x40db76
test edx, 0x10000000
je 0x40db20
lea ecx, [esp + 0x98]
jmp 0x40db5c
mov al, byte [esp + 0x1a]
test edx, 0x4000000
je 0x40db3f
test al, al
jne 0x40db3f
cmp byte [esp + 0x5f], al
jle 0x40db3f
lea ecx, [esp + 0xc0]
jmp 0x40db5c
test edx, 0x2000000
je 0x40db76
test al, al
jne 0x40db76
cmp dword [esp + 0x78], 0x3000000
je 0x40db76
lea ecx, [esp + 0xb0]
mov edx, edi
call fcn.00411980
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [edi + 0x44], xmm0
movss dword [edi + 0x48], xmm1
cmp dword [edi + 0x40], 0
jl 0x40dce7
cmp byte [edi + 0xc2], 0
jne 0x40dce7
mov eax, dword [edi + 0x30]
test dword [eax + 4], 0x400
jne 0x40dce7
movss xmm0, dword [edi + 0x44]
lea ecx, [edi + 0x44]
comiss xmm0, dword [eax + 8]
movss xmm6, dword [eax + 0xc]
movaps xmm2, xmm0
movss xmm7, dword [edi + 0x48]
movaps xmm5, xmm6
movss xmm3, dword [eax + 8]
movaps xmm4, xmm7
addss xmm3, dword [eax + 0x10]
addss xmm5, dword [eax + 0x14]
addss xmm2, dword [edi + 0x4c]
addss xmm4, dword [edi + 0x50]
jb 0x40dbea
comiss xmm7, xmm6
jb 0x40dbea
comiss xmm3, xmm2
jb 0x40dbea
comiss xmm5, xmm4
jae 0x40dce7
mov edx, dword [edi + 4]
lea eax, [edi + 0x4c]
push 0x20
push eax
push ecx
mov ecx, edi
call fcn.00416de0
mov edx, dword [0x46e460]
mov ecx, eax
add esp, 0xc
mov dword [edi + 0x30], ecx
mov dword [esp + 0x1c], edx
test ecx, ecx
je 0x40dc1a
mov eax, dword [edx + 0x1be0]
mov dword [ecx + 0x4c], eax
cmp dword [edx + 0x1de0], ecx
je 0x40dc61
test ecx, ecx
je 0x40dc51
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x1ddc], eax
mov eax, dword [edx + 0x1560]
mov dword [edx + 0x1de0], ecx
test eax, eax
je 0x40dc61
push ecx
call eax
mov edx, dword [0x46e460]
add esp, 4
mov dword [esp + 0x1c], edx
jmp 0x40dc61
mov dword [edx + 0x1ddc], 0x3f800000
mov dword [edx + 0x1de0], ecx
test dword [esi + 8], 0x8000
je 0x40dc74
mov eax, dword [edi + 0x30]
movss xmm0, dword [eax + 0x28]
jmp 0x40dc7c
movss xmm0, dword [0x46483c]
movss dword [edi + 0x2bc], xmm0
mov dword [edx + 0x1c48], edi
mov eax, dword [edi + 0x1d4]
cmp eax, 0xffffffff
je 0x40dca3
imul eax, eax, 0x228
add eax, dword [edx + 0x1ff8]
jmp 0x40dca5
xor eax, eax
movss xmm0, dword [edx + 0x19dc]
mov dword [edx + 0x1fec], eax
mulss xmm0, dword [edi + 0x2b8]
mov eax, dword [edi + 0x358]
mulss xmm0, dword [edi + 0x2bc]
test eax, eax
je 0x40dcd5
mulss xmm0, dword [eax + 0x2b8]
movss dword [edx + 0x19ec], xmm0
movss dword [edx + 0x19d8], xmm0
jmp 0x40dceb
mov edx, dword [esp + 0x1c]
cmp byte [edi + 0xc2], 0
mov byte [esp + 0x12], 0
je 0x40df61
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x20], ecx
cmp byte [ecx + 0x44], 0
mov eax, dword [ecx + 8]
je 0x40dd36
mov ecx, dword [ecx + 0xc]
xorps xmm3, xmm3
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], ecx
test dword [edi + 8], 0x100
jne 0x40dd61
comiss xmm3, dword [edx + 0x2fe4]
jb 0x40dd61
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x2fe4], eax
jmp 0x40dd61
cmp eax, dword [edi + 0x44]
jne 0x40dd43
mov eax, dword [ecx + 0xc]
cmp eax, dword [edi + 0x48]
je 0x40dd5e
mov esi, dword [esp + 0x20]
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x48]
mov byte [esp + 0x12], 1
mov dword [esi + 8], eax
mov eax, esi
mov esi, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
xorps xmm3, xmm3
mov ecx, dword [edi + 0x30]
cmp byte [ecx + 0x45], 0
je 0x40dda5
movss xmm0, dword [ecx + 0x10]
movss xmm1, dword [ecx + 0x14]
movss dword [edi + 0x54], xmm0
movss dword [edi + 0x58], xmm1
movss dword [edi + 0x4c], xmm0
movss dword [edi + 0x50], xmm1
test dword [edi + 8], 0x100
jne 0x40ddc9
comiss xmm3, dword [edx + 0x2fe4]
jb 0x40ddc9
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x2fe4], eax
jmp 0x40ddc9
mov eax, dword [ecx + 0x10]
cmp eax, dword [edi + 0x4c]
jne 0x40ddb5
mov eax, dword [ecx + 0x14]
cmp eax, dword [edi + 0x50]
je 0x40ddc9
mov edx, dword [edi + 0x30]
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x50]
mov byte [esp + 0x12], 1
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
cmp byte [esp + 0x12], 0
mov eax, dword [edi + 0x30]
movss xmm0, dword [eax + 0xe4]
addss xmm0, dword [eax + 0xc]
movss xmm2, dword [eax + 0xe0]
movaps xmm1, xmm2
addss xmm1, dword [eax + 8]
movss dword [eax + 0x1c], xmm0
movss xmm0, dword [eax + 0x10]
subss xmm0, xmm2
xorps xmm2, xmm2
movss dword [eax + 0x18], xmm1
xorps xmm1, xmm1
addss xmm0, dword [eax + 0xe8]
maxss xmm2, xmm0
movss xmm0, dword [eax + 0x14]
subss xmm0, dword [eax + 0xe4]
addss xmm0, dword [eax + 0xec]
movss dword [eax + 0x20], xmm2
maxss xmm1, xmm0
movss dword [eax + 0x24], xmm1
je 0x40de40
mov ecx, dword [edi + 0x30]
call fcn.00417960
mov eax, dword [edi + 0x30]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov eax, edx
shr eax, 0x1b
and ecx, 0xfffffce7
and eax, 0xffffff01
mov dword [esp + 0x3c], ecx
or dword [esp + 0x3c], 0x200
mov dword [esp + 0x20], eax
mov eax, edx
and eax, 0x16000000
test edx, 0x2000000
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
cmove eax, ecx
cmp byte [esi + 0xb4], 0
mov dword [esp + 0x3c], eax
jne 0x40de9a
cmp dword [esp + 0x40], 0
mov dword [esp + 0x34], eax
je 0x40deb3
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], eax
test cl, cl
jne 0x40deb7
mov eax, dword [esp + 0x3c]
or eax, 0x10
mov dword [esp + 0x34], eax
jmp 0x40deb7
mov ecx, dword [esp + 0x20]
cmp byte [esi + 0xb5], 0
jne 0x40ded0
cmp dword [esp + 0x40], 0
je 0x40dee9
or eax, 8
mov dword [esp + 0x34], eax
jmp 0x40dede
or eax, 8
cmp dword [esp + 0x40], 0
mov dword [esp + 0x34], eax
je 0x40dee9
test cl, cl
jne 0x40dee9
or eax, 0x60
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x14]
test eax, eax
je 0x40def8
mov ecx, dword [edi + 0x30]
mov dword [ecx + 0x2c], eax
jmp 0x40df2b
test edx, 0x6000000
je 0x40df15
mov eax, dword [esp + 0x64]
test eax, eax
je 0x40df15
mov eax, dword [eax + 0x30]
mov ecx, dword [edi + 0x30]
mov eax, dword [eax]
mov dword [ecx + 0x2c], eax
jmp 0x40df2b
xor eax, eax
mov ecx, 0x11111111
cmp byte [esi + 0xb6], al
cmovne ecx, eax
mov eax, dword [edi + 0x30]
mov dword [eax + 0x2c], ecx
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x34]
test eax, eax
je 0x40df3c
or ecx, eax
mov dword [esp + 0x34], ecx
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x40df4b
not eax
and ecx, eax
mov dword [esp + 0x34], ecx
mov eax, dword [edi + 0x30]
or ecx, 0x100
test dl, 0x80
cmovne ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
jmp 0x40df65
mov edx, dword [esp + 0x14]
cmp byte [esp + 0x1a], 0
mov eax, dword [edi + 0x30]
movss xmm4, dword [esi + 0x163c]
maxss xmm4, dword [esi + 0x1644]
movss xmm0, dword [eax + 0xc]
movss xmm2, dword [eax + 0x18]
movss xmm3, dword [eax + 0x1c]
movaps xmm6, xmm2
movss xmm1, dword [eax + 8]
addss xmm2, xmm4
addss xmm6, dword [eax + 0x20]
movss dword [esp + 0x3c], xmm0
movaps xmm5, xmm3
addss xmm5, dword [eax + 0x24]
movss dword [esp + 0x104], xmm0
movaps xmm7, xmm1
addss xmm0, dword [eax + 0x14]
addss xmm7, dword [eax + 0x10]
subss xmm6, xmm4
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x100], xmm1
movss dword [esp + 0x120], xmm2
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x10c], xmm0
movss xmm0, dword [esi + 0x1640]
maxss xmm0, dword [esi + 0x1648]
movss dword [esp + 0x20], xmm7
movss dword [esp + 0x108], xmm7
movss dword [esp + 0x128], xmm6
subss xmm5, xmm0
addss xmm3, xmm0
movss dword [esp + 0x12c], xmm5
movss dword [esp + 0x124], xmm3
jne 0x40e228
test edx, 0x1000000
jne 0x40e228
cmp byte [edi + 0xdc], 0
jg 0x40e228
cmp byte [edi + 0xdd], 0
jg 0x40e228
cmp byte [edi + 0xc2], 0
jne 0x40e11b
movaps xmm0, xmm7
subss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x40e228
movss xmm0, dword [esp + 0x34]
subss xmm0, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
comiss xmm0, xmm1
jbe 0x40e22c
cmp byte [edx + 0xbc], 0
movss xmm1, dword [edi + 0x50]
je 0x40e0e1
test byte [edi + 8], 1
jne 0x40e0e1
movss xmm0, dword [edx + 0x19dc]
mulss xmm0, dword [edi + 0x2b8]
mov eax, dword [edi + 0x358]
mulss xmm0, dword [edi + 0x2bc]
test eax, eax
je 0x40e0d1
mulss xmm0, dword [eax + 0x2b8]
movss xmm1, dword [edx + 0x15d4]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x48]
subss xmm3, xmm1
subss xmm2, dword [edi + 0x4c]
comiss xmm3, xmm0
ja 0x40e0fb
movaps xmm3, xmm5
minss xmm3, xmm0
movss xmm0, dword [edi + 0x44]
comiss xmm2, xmm0
ja 0x40e10c
movaps xmm2, xmm6
minss xmm2, xmm0
movss dword [edi + 0x44], xmm2
movss dword [edi + 0x48], xmm3
jmp 0x40e22c
cmp dword [esi + 0x1580], 0
mov edx, dword [esp + 0x1c]
jle 0x40e22c
mov eax, dword [edi + 0x30]
movsx eax, word [eax + 0x68]
test eax, eax
js 0x40e14d
cmp eax, dword [edx + 0x1580]
jge 0x40e14d
lea ecx, [eax + eax*8]
mov eax, dword [edx + 0x1588]
lea eax, [eax + ecx*4]
jmp 0x40e153
lea eax, [edx + 0x1df0]
movaps xmm1, xmm4
movaps xmm2, xmm0
addss xmm1, dword [eax + 0x10]
addss xmm2, dword [eax + 0x14]
movss dword [esp + 0x120], xmm1
movss dword [esp + 0x124], xmm2
movss xmm5, dword [eax + 0x18]
addss xmm5, dword [eax + 0x10]
subss xmm5, xmm4
movss xmm4, dword [eax + 0x1c]
addss xmm4, dword [eax + 0x14]
movss dword [esp + 0x128], xmm5
subss xmm4, xmm0
movss dword [esp + 0x12c], xmm4
cmp byte [edx + 0xbc], 0
movss xmm3, dword [edi + 0x50]
je 0x40e1f1
test byte [edi + 8], 1
jne 0x40e1f1
movss xmm0, dword [edx + 0x19dc]
mulss xmm0, dword [edi + 0x2b8]
mov eax, dword [edi + 0x358]
mulss xmm0, dword [edi + 0x2bc]
test eax, eax
je 0x40e1e1
mulss xmm0, dword [eax + 0x2b8]
movss xmm3, dword [edx + 0x15d4]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm0, dword [edi + 0x48]
subss xmm2, xmm3
subss xmm1, dword [edi + 0x4c]
comiss xmm2, xmm0
ja 0x40e20b
movaps xmm2, xmm4
minss xmm2, xmm0
movss xmm0, dword [edi + 0x44]
comiss xmm1, xmm0
ja 0x40e21c
movaps xmm1, xmm5
minss xmm1, xmm0
movss dword [edi + 0x44], xmm1
movss dword [edi + 0x48], xmm2
jmp 0x40e22c
mov edx, dword [esp + 0x1c]
cvttss2si eax, dword [edi + 0x44]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x48]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x44], xmm1
movss dword [edi + 0x48], xmm0
cmp byte [edi + 0xc2], 0
jne 0x40e2a7
test byte [edi + 0x3a1], 1
jne 0x40e2a7
mov ecx, dword [esp + 0x14]
test ecx, 0x1000000
je 0x40e27b
movss xmm0, dword [esi + 0x15c0]
movss dword [edi + 0x7c], xmm0
jmp 0x40e2b2
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x40e298
movss xmm0, dword [esi + 0x15c8]
movss dword [edi + 0x7c], xmm0
jmp 0x40e2b2
movss xmm0, dword [esi + 0x15a4]
movss dword [edi + 0x7c], xmm0
jmp 0x40e2b2
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x7c], 0
xor al, al
mov dword [esp + 0x1c], eax
cmp byte [esp + 0x1b], al
je 0x40e2fb
test ecx, 0x1000
jne 0x40e2fb
test ecx, 0x4000000
je 0x40e2d5
mov byte [esp + 0x1c], 1
jmp 0x40e2fb
test byte [edi + 0x3a1], 1
jne 0x40e2e6
test ecx, 0x1000000
jne 0x40e2fb
test ecx, 0x2000000
movzx eax, al
mov ecx, 1
cmove eax, ecx
mov dword [esp + 0x1c], eax
cmp dword [edi + 0x3c0], 0
jne 0x40e311
test byte [edi + 0x3a1], 1
je 0x40e311
xor al, al
jmp 0x40e313
mov al, 1
movss xmm2, dword [esi + 0x19d8]
xorps xmm0, xmm0
movaps xmmword [esp + 0x130], xmm0
movaps xmm1, xmm2
mulss xmm2, dword [0x4647e0]
xor ecx, ecx
cmp byte [esi + 0xbb], cl
mulss xmm1, dword [0x464840]
mov dword [esp + 0x11c], 0xffffffff
setne cl
movss xmm0, dword [edi + 0x7c]
inc ecx
mov byte [esp + 0x38], al
mov dword [esp + 0x80], ecx
addss xmm0, dword [0x46483c]
addss xmm0, xmm2
maxss xmm1, xmm0
cvttss2si esi, xmm1
mov dword [esp + 0x64], esi
test al, al
je 0x40e3c3
cmp byte [edi + 0xc6], 0
jne 0x40e3c3
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0x134]
push eax
push ecx
lea eax, [esp + 0x128]
mov ecx, edi
push eax
lea edx, [esp + 0x124]
call fcn.0040acd0
mov edx, dword [0x46e460]
add esp, 0x10
test al, al
je 0x40e3c3
mov byte [esp + 0x13], 1
mov byte [esp + 0x18], 1
mov al, byte [esp + 0x11c]
mov byte [edi + 0xcd], al
cmp byte [edi + 0xc2], 0
je 0x40e50a
mov eax, dword [edi + 0x30]
mov dword [esp + 0x20], eax
cmp byte [eax + 0x44], 0
jne 0x40e3fc
mov esi, dword [esp + 0x20]
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x48]
mov dword [esi + 8], eax
mov eax, esi
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0x30]
mov dword [esp + 0x20], eax
cmp byte [eax + 0x45], 0
jne 0x40e41b
mov esi, dword [esp + 0x20]
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x50]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [eax + 0x14], ecx
mov eax, dword [edi + 0x30]
movss xmm0, dword [eax + 0xe4]
addss xmm0, dword [eax + 0xc]
movss xmm2, dword [eax + 0xe0]
movaps xmm1, xmm2
addss xmm1, dword [eax + 8]
movss dword [eax + 0x1c], xmm0
movss xmm0, dword [eax + 0x10]
subss xmm0, xmm2
xorps xmm2, xmm2
movss dword [eax + 0x18], xmm1
xorps xmm1, xmm1
addss xmm0, dword [eax + 0xe8]
maxss xmm2, xmm0
movss xmm0, dword [eax + 0x14]
subss xmm0, dword [eax + 0xe4]
addss xmm0, dword [eax + 0xec]
movss dword [eax + 0x20], xmm2
maxss xmm1, xmm0
movss dword [eax + 0x24], xmm1
mov eax, dword [edi + 0x30]
movss xmm0, dword [eax + 0xc]
movss xmm1, dword [eax + 8]
movss dword [esp + 0x104], xmm0
addss xmm0, dword [eax + 0x14]
movss dword [esp + 0x100], xmm1
addss xmm1, dword [eax + 0x10]
movss dword [esp + 0x10c], xmm0
movss dword [esp + 0x108], xmm1
movaps xmm0, xmmword [esp + 0x100]
movaps xmmword [esp + 0x100], xmm0
movss xmm0, dword [esp + 0x10c]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x108]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x104]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x100]
movss dword [esp + 0x40], xmm0
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edi + 0x38], ecx
mov dword [edi + 0x3c], eax
cmp byte [edi + 0xc6], 0
jne 0x40e690
cmp dword [esp + 0x2c], 0
lea eax, [esp + 0x6c]
movss xmm2, dword [edi + 0x230]
movss xmm3, dword [edi + 0x234]
subss xmm2, dword [edi + 0x228]
subss xmm3, dword [edi + 0x22c]
movss xmm4, dword [edi + 0x58]
movss xmm5, dword [edi + 0x54]
subss xmm4, dword [esp + 0x60]
addss xmm2, dword [edi + 0xb8]
addss xmm3, dword [edi + 0xbc]
jne 0x40e583
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
jmp 0x40e5ab
movss xmm0, dword [edi + 0x74]
movss xmm1, dword [edi + 0x78]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [edi + 0x5c]
addss xmm1, dword [edi + 0x60]
movss dword [esp + 0x6c], xmm0
movss dword [esp + 0x70], xmm1
movss xmm7, dword [eax]
movss xmm1, dword [eax + 4]
mov al, byte [esp + 0x18]
test al, al
jne 0x40e5bf
movaps xmm5, xmm2
cmp byte [esp + 0x13], 0
jne 0x40e5c9
movaps xmm4, xmm3
mov ecx, dword [esp + 0x14]
test ecx, 0x4000
jne 0x40e5e3
comiss xmm1, xmm4
jbe 0x40e5df
test cl, 8
je 0x40e5e3
xor al, al
jmp 0x40e5e5
mov al, 1
mov byte [edi + 0xc1], al
test ecx, 0x8000
jne 0x40e628
test al, al
je 0x40e605
mov eax, dword [esp + 0x30]
movss xmm0, dword [eax + 0x1608]
jmp 0x40e608
xorps xmm0, xmm0
subss xmm5, xmm0
comiss xmm7, xmm5
jbe 0x40e61f
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
je 0x40e628
mov byte [edi + 0xc0], 0
jmp 0x40e64e
mov byte [edi + 0xc0], 1
cmp byte [edi + 0xc1], 0
jne 0x40e64e
comiss xmm1, xmm4
jbe 0x40e646
test cl, 8
jne 0x40e646
mov al, 1
jmp 0x40e648
xor al, al
mov byte [edi + 0xc1], al
cmp byte [edi + 0xc0], 0
mov eax, dword [esp + 0x30]
je 0x40e665
movss xmm1, dword [eax + 0x1608]
jmp 0x40e668
xorps xmm1, xmm1
cmp byte [edi + 0xc1], 0
je 0x40e67b
movss xmm0, dword [eax + 0x1608]
jmp 0x40e67e
xorps xmm0, xmm0
movss dword [edi + 0xb8], xmm0
movss dword [edi + 0xbc], xmm1
jmp 0x40e694
mov ecx, dword [esp + 0x14]
mov eax, ecx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x40e6b7
cmp dword [esp + 0x78], 0x3000000
je 0x40e6b7
mov eax, dword [esp + 0x68]
add eax, 0x268
jmp 0x40e6be
lea eax, [esp + 0x100]
test byte [edi + 8], 1
movss xmm1, dword [edi + 0x48]
movups xmm3, xmmword [eax]
movss xmm5, dword [edi + 0x44]
movaps xmm7, xmm1
addss xmm7, dword [edi + 0x50]
movaps xmm6, xmm5
movaps xmmword [esp + 0xa0], xmm3
addss xmm6, dword [edi + 0x4c]
movss dword [esp + 0x2c], xmm1
je 0x40e6f4
xorps xmm4, xmm4
jmp 0x40e72e
movss xmm0, dword [edx + 0x19dc]
mulss xmm0, dword [edi + 0x2b8]
mov eax, dword [edi + 0x358]
mulss xmm0, dword [edi + 0x2bc]
test eax, eax
je 0x40e71e
mulss xmm0, dword [eax + 0x2b8]
movss xmm4, dword [edx + 0x15d4]
addss xmm4, xmm4
addss xmm4, xmm0
movaps xmm2, xmm5
addss xmm1, xmm4
addss xmm2, dword [edi + 0x54]
movss dword [esp + 0xf0], xmm5
movss xmm0, dword [edi + 0x48]
movss dword [esp + 0xf4], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0xf8], xmm2
movss dword [esp + 0xfc], xmm1
movss dword [edi + 0x218], xmm5
movss dword [edi + 0x21c], xmm0
movss dword [edi + 0x220], xmm6
movss dword [edi + 0x224], xmm7
test byte [edi + 0x3a1], 1
je 0x40e7e7
test byte [edi + 8], 1
je 0x40e79d
xorps xmm1, xmm1
jmp 0x40e7d7
movss xmm0, dword [edx + 0x19dc]
mulss xmm0, dword [edi + 0x2b8]
mov eax, dword [edi + 0x358]
mulss xmm0, dword [edi + 0x2bc]
test eax, eax
je 0x40e7c7
mulss xmm0, dword [eax + 0x2b8]
movss xmm1, dword [edx + 0x15d4]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm1, dword [edi + 0x21c]
movss dword [edi + 0x21c], xmm1
movss xmm1, dword [edi + 0x218]
movaps xmm2, xmm3
movss xmm0, dword [edi + 0x21c]
maxss xmm1, xmm3
shufps xmm2, xmm3, 0x55
movaps xmm6, xmm3
maxss xmm0, xmm2
shufps xmm6, xmm3, 0xaa
movaps xmm5, xmm3
shufps xmm5, xmm3, 0xff
movss dword [edi + 0x218], xmm1
movups xmmword [esp + 0xd0], xmm2
movss dword [edi + 0x21c], xmm0
movss xmm0, dword [edi + 0x224]
movss xmm1, dword [edi + 0x220]
minss xmm0, xmm5
minss xmm1, xmm6
movups xmmword [esp + 0xc0], xmm6
movups xmmword [esp + 0xe0], xmm5
movss dword [edi + 0x224], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [edi + 0x220], xmm1
mov eax, dword [edi + 0x44]
mov dword [edi + 0x228], eax
mov eax, ecx
addss xmm0, dword [edi + 0x48]
mov ecx, dword [esp + 0x30]
and eax, 0x401
movss dword [edi + 0x22c], xmm0
movss xmm0, dword [edi + 0x4c]
addss xmm0, dword [edi + 0x44]
subss xmm0, dword [edi + 0xb8]
movss dword [edi + 0x230], xmm0
movss xmm0, dword [edi + 0x50]
addss xmm0, dword [edi + 0x48]
subss xmm0, dword [edi + 0xbc]
movss dword [edi + 0x234], xmm0
cmp eax, 1
jne 0x40e8ce
movss xmm4, dword [edi + 0x80]
jmp 0x40e8d6
movss xmm4, dword [ecx + 0x15dc]
movss xmm0, dword [edi + 0x74]
movss xmm7, dword [0x4647f8]
mulss xmm0, xmm7
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0x228]
addss xmm0, xmm7
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [edi + 0x80]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x238], xmm0
movss xmm0, dword [edi + 0x22c]
addss xmm0, xmm7
addss xmm0, xmm4
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x23c], xmm0
movss xmm0, dword [edi + 0x74]
mulss xmm0, xmm7
movss xmm1, dword [edi + 0x230]
addss xmm1, xmm7
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm0, dword [edi + 0x80]
subss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x240], xmm0
movss xmm0, dword [edi + 0x234]
addss xmm0, xmm7
subss xmm0, dword [edi + 0x80]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x244], xmm0
movss xmm0, dword [edi + 0x23c]
comiss xmm2, xmm0
jbe 0x40e9b8
movaps xmm1, xmm2
jmp 0x40e9bf
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm4, dword [edi + 0x238]
comiss xmm3, xmm4
jbe 0x40e9d1
movaps xmm0, xmm3
jmp 0x40e9d8
movaps xmm0, xmm6
minss xmm0, xmm4
movss dword [edi + 0x238], xmm0
movss dword [edi + 0x23c], xmm1
movss xmm1, dword [edi + 0x244]
comiss xmm2, xmm1
jbe 0x40e9fa
movaps xmm0, xmm2
jmp 0x40ea01
movaps xmm0, xmm5
minss xmm0, xmm1
movss xmm1, dword [edi + 0x240]
comiss xmm3, xmm1
ja 0x40ea15
movaps xmm3, xmm6
minss xmm3, xmm1
movss dword [edi + 0x240], xmm3
xorps xmm2, xmm2
movss dword [edi + 0x244], xmm0
movss xmm0, dword [edi + 0x4c]
comiss xmm0, xmm2
jbe 0x40ea46
test dword [esp + 0x14], 0x2000040
jne 0x40ea46
mulss xmm0, dword [0x464804]
jmp 0x40ea56
movss xmm0, dword [ecx + 0x19d8]
mulss xmm0, dword [0x4648a4]
cvttss2si eax, xmm0
mov edx, edi
lea ecx, [esp + 0xb0]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x29c], xmm0
movss xmm1, dword [edi + 0x74]
movss xmm0, dword [edi + 0x230]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x228]
addss xmm1, dword [edi + 0x5c]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x98], xmm0
movss xmm1, dword [edi + 0x78]
movss xmm0, dword [edi + 0x234]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x22c]
addss xmm1, dword [edi + 0x60]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x9c], xmm0
call fcn.004109c0
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [esp + 0x30]
movss dword [edi + 0x90], xmm0
movss dword [edi + 0x94], xmm1
mov dword [edi + 0xa0], 0x7f7fffff
mov dword [edi + 0xa4], 0x7f7fffff
mov eax, dword [eax + 0x19d4]
mov ecx, dword [edi + 0x2c4]
mov dword [esp + 0x6c], ecx
add ecx, 0x48
mov dword [esp + 0x88], ecx
mov eax, dword [eax + 0x30]
mov edx, dword [ecx]
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x40eb6b
inc edx
mov dword [esp + 0x98], edx
test eax, eax
je 0x40eb54
cdq
sub eax, edx
mov edx, dword [esp + 0x98]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40eb59
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00420620
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov esi, dword [esp + 0x2c]
mov dword [eax + edx*4], esi
mov eax, esi
inc dword [ecx]
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 0x70], eax
call fcn.00428d70
mov ecx, dword [0x46e460]
movaps xmm0, xmmword [esp + 0xa0]
comiss xmm0, dword [esp + 0xc0]
mov esi, dword [esp + 0x64]
mov eax, dword [ecx + 0x1c48]
mov byte [eax + 0xc5], 1
mov eax, dword [ecx + 0x1c48]
mov dword [esp + 0x2c], eax
movaps xmmword [esp + 0xb0], xmm0
mov eax, dword [eax + 0x2c4]
mov dword [esp + 0x98], eax
jb 0x40ebe8
movss dword [esp + 0xb8], xmm0
movaps xmm0, xmmword [esp + 0xb0]
movaps xmmword [esp + 0xa0], xmm0
movups xmm0, xmmword [esp + 0xd0]
comiss xmm0, dword [esp + 0xe0]
jb 0x40ec13
movss dword [esp + 0xbc], xmm0
movaps xmm0, xmmword [esp + 0xb0]
movaps xmmword [esp + 0xa0], xmm0
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx + 4]
mov dword [esp + 0x88], ecx
cmp edx, eax
jne 0x40ec55
inc edx
mov dword [esp + 0x6c], edx
test eax, eax
je 0x40ec3e
cdq
sub eax, edx
mov edx, dword [esp + 0x6c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40ec43
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.004205a0
mov ecx, dword [esp + 0x88]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
add eax, eax
movaps xmm0, xmmword [esp + 0xa0]
movups xmmword [edx + eax*8], xmm0
inc dword [ecx]
mov ecx, dword [esp + 0x98]
movups xmmword [ecx + 0x60], xmm0
call fcn.00428cd0
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x2c4]
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 + 0x268], eax
movss dword [edx + 0x26c], xmm0
movss dword [edx + 0x270], xmm1
movss dword [edx + 0x274], xmm2
mov edx, dword [esp + 0x30]
je 0x40ed33
mov eax, dword [0x46e460]
mov eax, dword [eax + 0x1db8]
sub eax, 1
mov dword [esp + 0x6c], eax
js 0x40ed1f
lea ecx, [eax + eax*8]
mov eax, dword [0x46e460]
lea ecx, [ecx + 1]
mov eax, dword [eax + 0x1dc0]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x2c], ecx
nop
mov ecx, dword [ecx]
test ecx, ecx
je 0x40ed0f
test dword [ecx + 8], 0x8000000
jne 0x40ed21
mov ecx, dword [esp + 0x2c]
sub ecx, 0x24
sub eax, 1
mov dword [esp + 0x2c], ecx
jns 0x40ed00
xor ecx, ecx
cmp edi, ecx
jne 0x40ed33
cmp byte [edi + 0xe5], 0
mov byte [esp + 0x13], 1
jle 0x40ed38
mov byte [esp + 0x13], 0
mov ecx, dword [edx + 0x1f24]
test ecx, ecx
je 0x40ed60
cmp edi, dword [ecx + 0x360]
je 0x40ed5c
mov eax, dword [edx + 0x1f28]
cmp edi, eax
jne 0x40ed60
mov eax, dword [eax + 0x30]
cmp eax, dword [ecx + 0x30]
je 0x40ed60
mov al, 1
jmp 0x40ed62
xor al, al
mov cl, byte [esp + 0x13]
mov byte [esp + 0x18], al
test cl, cl
jne 0x40ed76
test al, al
je 0x40ee8a
movss xmm1, dword [edx + 0x1f54]
push 0
push ecx
movzx ecx, cl
add ecx, 0x35
mov dword [esp], 0
call fcn.004037c0
mov ecx, dword [edi + 0x2c4]
push eax
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x110]
push eax
call fcn.0042b0b0
cmp byte [esp + 0x18], 0
je 0x40ee8a
mov edx, dword [esp + 0x30]
cmp edi, dword [edx + 0x1f24]
jne 0x40ee8a
movss xmm2, dword [edi + 0x44]
movss xmm3, dword [edi + 0x48]
movaps xmm1, xmm2
movss xmm0, dword [edx + 0x19d8]
movaps xmm4, xmm3
addss xmm2, dword [edi + 0x4c]
addss xmm3, dword [edi + 0x50]
subss xmm1, xmm0
subss xmm4, xmm0
addss xmm2, xmm0
addss xmm3, xmm0
movss xmm0, dword [esp + 0x40]
comiss xmm0, xmm1
movss dword [esp + 0x100], xmm1
movss dword [esp + 0x104], xmm4
movss dword [esp + 0x108], xmm2
movss dword [esp + 0x10c], xmm3
jb 0x40ee44
movss xmm0, dword [esp + 0x3c]
comiss xmm0, xmm4
jb 0x40ee44
comiss xmm2, dword [esp + 0x20]
jb 0x40ee44
comiss xmm3, dword [esp + 0x34]
jae 0x40ee8a
movss xmm1, dword [edx + 0x1f30]
mulss xmm1, dword [0x4647e4]
push 0
movss xmm0, dword [edx + 0x15a4]
push ecx
mov ecx, 0x34
movss dword [esp], xmm0
call fcn.004037c0
mov ecx, dword [edi + 0x2c4]
push eax
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x110]
push eax
call fcn.0042b0b0
mov al, byte [edi + 0x3a1]
test al, 1
je 0x40ee9c
test al, 2
je 0x40ef7e
mov eax, dword [esp + 0x14]
and eax, 0x5000000
mov byte [esp + 0x13], 0
cmp eax, 0x1000000
jne 0x40eeeb
cmp dword [esp + 0x78], 0x3000000
je 0x40eeeb
mov edx, dword [edi + 0x2c4]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x40eeeb
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x2c4]
cmp dword [eax + 0x18], 0
jle 0x40eeeb
mov byte [esp + 0x13], 1
mov dword [edi + 0x2c4], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x1f20]
test ecx, ecx
jne 0x40eeff
mov ecx, dword [eax + 0x1e18]
cmp byte [esp + 0x1c], 0
jne 0x40ef31
test ecx, ecx
je 0x40ef2a
mov eax, dword [edi + 0x364]
cmp eax, dword [ecx + 0x364]
je 0x40ef31
mov eax, dword [edi + 0x3bc]
test eax, eax
je 0x40ef2a
cmp eax, dword [ecx + 0x3bc]
je 0x40ef31
mov byte [esp + 0x2c], 0
jmp 0x40ef36
mov byte [esp + 0x2c], 1
movd xmm0, esi
lea eax, [esp + 0x130]
push ecx
cvtdq2ps xmm0, xmm0
lea edx, [esp + 0xf4]
mov ecx, edi
movss dword [esp], xmm0
push eax
push dword [esp + 0x88]
push dword [esp + 0x44]
push dword [esp + 0x3c]
call fcn.0040bcf0
add esp, 0x14
cmp byte [esp + 0x13], 0
je 0x40ef7e
lea eax, [edi + 0x2c8]
mov dword [edi + 0x2c4], eax
mov esi, dword [esp + 0x30]
cmp dword [esi + 0x1f24], edi
jne 0x40f142
movss xmm4, dword [edi + 0x7c]
movss xmm1, dword [edi + 0x44]
movaps xmm0, xmm4
maxss xmm0, dword [esi + 0x15a4]
movss xmm2, dword [esi + 0x19d8]
movaps xmm3, xmm1
addss xmm1, dword [edi + 0x4c]
movss xmm7, dword [edi + 0x48]
subss xmm3, xmm2
movss xmm5, dword [esp + 0x40]
movss dword [esp + 0x30], xmm0
movaps xmm0, xmm7
addss xmm7, dword [edi + 0x50]
subss xmm0, xmm2
comiss xmm5, xmm3
addss xmm1, xmm2
movss dword [esp + 0x64], xmm3
movss dword [esp + 0x78], xmm0
addss xmm7, xmm2
movss dword [esp + 0x2c], xmm1
jb 0x40f046
movss xmm5, dword [esp + 0x3c]
comiss xmm5, xmm0
jb 0x40f046
comiss xmm1, dword [esp + 0x20]
jb 0x40f046
comiss xmm7, dword [esp + 0x34]
jb 0x40f046
xorps xmm2, xmmword [0x464af0]
subss xmm2, dword [0x46483c]
movss dword [esp + 0x30], xmm4
subss xmm0, xmm2
subss xmm3, xmm2
addss xmm7, xmm2
movss dword [esp + 0x78], xmm0
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [esp + 0x64], xmm3
movss dword [esp + 0x2c], xmm0
mov edx, dword [edi + 0x2c4]
mov ecx, 0x34
movss xmm1, dword [esi + 0x1f30]
mov dword [esp + 0x38], edx
call fcn.004037c0
mov dword [esp + 0x80], eax
test eax, 0xff000000
je 0x40f142
test byte [edx + 0x24], 1
lea eax, [esp + 0x6c]
movss xmm1, dword [esp + 0x2c]
mov ecx, edx
movss xmm0, dword [esp + 0x64]
movss xmm3, dword [esp + 0x30]
push 0
push eax
lea eax, [esp + 0x90]
push eax
je 0x40f0c9
movss xmm2, dword [0x4647f8]
addss xmm0, xmm2
subss xmm1, xmm2
subss xmm7, xmm2
movss dword [esp + 0x94], xmm0
movss xmm0, dword [esp + 0x84]
addss xmm0, xmm2
jmp 0x40f0fb
addss xmm0, dword [0x4647f8]
subss xmm1, dword [0x4647f4]
subss xmm7, dword [0x4647f4]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [esp + 0x84]
addss xmm0, dword [0x4647f8]
movss dword [esp + 0x78], xmm1
movss dword [esp + 0x7c], xmm7
movss dword [esp + 0x98], xmm0
call fcn.0042aa00
mov eax, dword [esp + 0x38]
push ecx
mov dword [esp], 0x40400000
mov ecx, eax
push 1
push dword [esp + 0x88]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.004290d0
mov eax, dword [esp + 0x38]
mov dword [eax + 0x54], 0
mov ecx, dword [esp + 0x14]
xorps xmm4, xmm4
movss xmm3, dword [edi + 0x6c]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x40f197
movss xmm0, dword [edi + 0x74]
mov eax, ecx
movss xmm1, dword [edi + 0x4c]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [edi + 0xb8]
cmp eax, 0x800
jne 0x40f190
movss xmm3, dword [edi + 0x5c]
jmp 0x40f193
xorps xmm3, xmm3
maxss xmm3, xmm1
movss xmm2, dword [edi + 0x70]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x40f1d7
movss xmm0, dword [edi + 0x78]
movss xmm1, dword [edi + 0x50]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [esp + 0x60]
subss xmm1, dword [edi + 0xbc]
test dl, dl
je 0x40f1d0
movss xmm2, dword [edi + 0x60]
jmp 0x40f1d3
xorps xmm2, xmm2
maxss xmm2, xmm1
movss xmm1, dword [edi + 0x228]
subss xmm1, dword [edi + 0x90]
movss xmm0, dword [edi + 0x74]
maxss xmm0, dword [edi + 0x80]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x248], xmm0
movss xmm1, dword [edi + 0x22c]
movss xmm0, dword [edi + 0x78]
maxss xmm0, dword [edi + 0x80]
subss xmm1, dword [edi + 0x94]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x24c], xmm0
addss xmm3, dword [edi + 0x248]
movss dword [edi + 0x250], xmm3
addss xmm2, dword [edi + 0x24c]
movss dword [edi + 0x254], xmm2
movups xmm0, xmmword [edi + 0x248]
movss xmm2, dword [esp + 0x60]
movups xmmword [edi + 0x258], xmm0
movss xmm0, dword [edi + 0x44]
subss xmm0, dword [edi + 0x90]
addss xmm0, dword [edi + 0x74]
movss dword [edi + 0x278], xmm0
movss xmm0, dword [edi + 0x48]
subss xmm0, dword [edi + 0x94]
addss xmm0, dword [edi + 0x78]
addss xmm0, xmm2
movss dword [edi + 0x27c], xmm0
movss xmm1, dword [edi + 0x6c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x40f2d3
movss xmm0, dword [edi + 0x74]
movss xmm1, dword [edi + 0x4c]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [edi + 0xb8]
addss xmm1, dword [edi + 0x278]
movss dword [edi + 0x280], xmm1
movss xmm1, dword [edi + 0x70]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x40f30f
movss xmm0, dword [edi + 0x78]
movss xmm1, dword [edi + 0x50]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, xmm2
subss xmm1, dword [edi + 0xbc]
addss xmm1, dword [edi + 0x27c]
movss dword [edi + 0x284], xmm1
movss xmm0, dword [edi + 0x74]
addss xmm0, xmm4
subss xmm0, dword [edi + 0x90]
movss dword [edi + 0x148], xmm0
mov dword [edi + 0x150], 0
mov dword [edi + 0x14c], 0
addss xmm2, dword [edi + 0x78]
movss xmm0, dword [edi + 0x148]
addss xmm0, xmm4
subss xmm2, dword [edi + 0x94]
addss xmm0, dword [edi + 0x44]
addss xmm2, dword [edi + 0x48]
movss dword [edi + 0x118], xmm0
movss dword [edi + 0x11c], xmm2
movss dword [edi + 0x108], xmm0
movss dword [edi + 0x10c], xmm2
movss dword [edi + 0x110], xmm0
movss dword [edi + 0x114], xmm2
mov eax, dword [edi + 0x118]
mov ecx, dword [edi + 0x11c]
mov dword [edi + 0x120], eax
mov dword [edi + 0x124], ecx
mov eax, dword [edi + 0x118]
mov ecx, dword [edi + 0x11c]
mov dword [edi + 0x128], eax
mov dword [edi + 0x12c], ecx
lea ecx, [edi + 0x1ac]
mov dword [edi + 0x138], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x130], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0x140], 0
mov dword [edi + 0x17c], 0
mov ax, word [edi + 0x182]
mov word [edi + 0x180], ax
xor eax, eax
mov word [edi + 0x182], ax
mov byte [edi + 0x188], al
movss xmm0, dword [edi + 0x9c]
comiss xmm0, xmm4
seta al
cmp byte [esp + 0x1b], 0
mov byte [edi + 0x189], al
mov byte [edi + 0x18a], 0
movss xmm0, dword [esi + 0x15e0]
mov dword [edi + 0x19c], 0
mov dword [edi + 0x198], 0
movss dword [edi + 0x194], xmm0
je 0x40f48c
xorps xmm0, xmm0
movq qword [ecx], xmm0
mov dword [ecx + 8], 0
xor edx, edx
nop
test edx, edx
je 0x40f4b5
movss xmm0, dword [ecx]
comiss xmm0, xmm4
jbe 0x40f4b5
movss xmm0, dword [edi + 0x194]
addss xmm0, dword [edi + 0x198]
movss dword [edi + 0x198], xmm0
cvttss2si eax, dword [edi + 0x198]
inc edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx - 0xc], xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [edi + 0x198]
movss dword [edi + 0x198], xmm0
mov dword [ecx], 0
add ecx, 4
cmp edx, 3
jl 0x40f490
push ecx
mov dword [edi + 0x1b8], 0
lea ecx, [edi + 0x1c0]
mov dword [edi + 0x1bc], 0
call fcn.00420170
lea eax, [edi + 0x2a0]
mov dword [edi + 0x1cc], eax
mov eax, dword [esp + 0x68]
mov dword [edi + 0x1d0], 0
mov dword [edi + 0x1d8], 1
test eax, eax
je 0x40f53c
mov eax, dword [eax + 0x1d8]
jmp 0x40f541
mov eax, 1
mov dword [edi + 0x1dc], eax
mov dword [edi + 0x1e4], 0xffffffff
mov dword [edi + 0x1e0], 0xffffffff
mov eax, dword [edi + 0x29c]
push ecx
mov dword [edi + 0x1e8], eax
lea ecx, [edi + 0x1f0]
mov dword [edi + 0x1ec], 0xbf800000
call fcn.00420170
push ecx
lea ecx, [edi + 0x1fc]
call fcn.00420170
mov al, byte [edi + 0xdc]
test al, al
jle 0x40f59b
dec al
mov byte [edi + 0xdc], al
mov al, byte [edi + 0xdd]
test al, al
jle 0x40f5ad
dec al
mov byte [edi + 0xdd], al
cmp byte [esp + 0x1c], 0
je 0x40f5c4
mov ecx, edi
call fcn.0040ff80
xor dl, dl
mov ecx, edi
call fcn.00412480
mov edx, dword [esp + 0x94]
test edx, edx
je 0x40f603
mov ecx, dword [edi + 0x30]
cmp byte [ecx + 0x46], 0
je 0x40f603
mov eax, dword [0x46e460]
mov eax, dword [eax + 0x1dd8]
cmp ecx, dword [eax]
je 0x40f603
mov al, byte [edi + 0x3a1]
test al, 1
je 0x40f5f5
test al, 2
je 0x40f603
mov byte [ecx + 0x46], 0
mov byte [esi + 0x1f34], 0
mov byte [edx], 0
test byte [esp + 0x14], 1
jne 0x40f688
test byte [edi + 0x3a1], 1
jne 0x40f688
movss xmm1, dword [edi + 0x80]
mov ecx, edi
movss xmm0, dword [esp + 0xf0]
addss xmm0, xmm1
push edx
push dword [esp + 0x94]
lea edx, [esp + 0xa8]
movss dword [esp + 0xa8], xmm0
movss xmm0, dword [esp + 0xfc]
movss dword [esp + 0xac], xmm0
movss xmm0, dword [esp + 0x100]
subss xmm0, xmm1
movss dword [esp + 0xb0], xmm0
movss xmm0, dword [esp + 0x104]
movss dword [esp + 0xb4], xmm0
call fcn.0040c560
add esp, 8
xor eax, eax
mov dword [edi + 0x288], eax
test byte [esi + 8], 0x40
je 0x40f6f9
cmp dword [esi + 0x1c58], edi
jne 0x40f6bc
cmp byte [esi + 0x101], al
jne 0x40f6bc
mov eax, dword [edi + 0x360]
test dword [eax + 8], 0x200000
jne 0x40f6bc
mov ecx, edi
call fcn.0041e3e0
cmp byte [esi + 0x1f5c], 0
je 0x40f6f9
test dword [esp + 0x14], 0x200000
jne 0x40f6f9
mov eax, dword [esi + 0x1c58]
test eax, eax
je 0x40f6e1
cmp dword [eax + 0x360], edi
je 0x40f6f9
cmp edi, dword [edi + 0x360]
jne 0x40f6f9
test dword [edi + 8], 0x20000000
jne 0x40f6f9
mov ecx, edi
call fcn.0041e5a0
test byte [edi + 0x3a1], 1
je 0x40f72a
mov ecx, dword [edi + 0x3c8]
mov eax, dword [edi + 4]
mov dword [edi + 0x154], eax
mov dword [edi + 0x158], ecx
movups xmm0, xmmword [edi + 0x3cc]
movups xmmword [edi + 0x15c], xmm0
jmp 0x40f8c3
mov eax, dword [0x46e460]
movss xmm1, dword [esp + 0xf0]
movss xmm6, dword [esp + 0xf8]
movss xmm7, dword [esp + 0xfc]
movaps xmm3, xmm6
movss xmm2, dword [eax + 0x15f8]
movaps xmm4, xmm7
movss xmm0, dword [eax + 0x15fc]
subss xmm1, xmm2
movss xmm5, dword [eax + 0xe4]
addss xmm3, xmm2
movss xmm2, dword [esp + 0xf4]
addss xmm4, xmm0
subss xmm2, xmm0
comiss xmm5, xmm1
jb 0x40f7e2
movss xmm0, dword [eax + 0xe8]
comiss xmm0, xmm2
jb 0x40f7e2
comiss xmm3, xmm5
jbe 0x40f7e2
comiss xmm4, xmm0
jbe 0x40f7e2
mov eax, dword [eax + 0x1de4]
movss xmm3, dword [eax + 0xc]
movss xmm2, dword [eax + 8]
movaps xmm0, xmm3
addss xmm0, dword [eax + 0x14]
movaps xmm1, xmm2
addss xmm1, dword [eax + 0x10]
comiss xmm0, dword [esp + 0xf4]
jbe 0x40f7e2
comiss xmm7, xmm3
jbe 0x40f7e2
comiss xmm1, dword [esp + 0xf0]
jbe 0x40f7e2
comiss xmm6, xmm2
jbe 0x40f7e2
mov ecx, 1
jmp 0x40f7e4
xor ecx, ecx
mov eax, dword [edi + 0x88]
mov dword [edi + 0x154], eax
mov dword [edi + 0x158], ecx
movups xmm0, xmmword [esp + 0xf0]
movups xmmword [edi + 0x15c], xmm0
jmp 0x40f8c3
mov ecx, dword [edi + 0x30]
mov edx, dword [0x46e460]
test ecx, ecx
je 0x40f820
mov eax, dword [edx + 0x1be0]
mov dword [ecx + 0x4c], eax
cmp dword [edx + 0x1de0], ecx
je 0x40f85d
test ecx, ecx
je 0x40f84d
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x1ddc], eax
mov eax, dword [edx + 0x1560]
mov dword [edx + 0x1de0], ecx
test eax, eax
je 0x40f85d
push ecx
call eax
add esp, 4
jmp 0x40f85d
mov dword [edx + 0x1ddc], 0x3f800000
mov dword [edx + 0x1de0], ecx
mov eax, dword [0x46e460]
mov dword [eax + 0x1c48], edi
mov ecx, dword [edi + 0x1d4]
cmp ecx, 0xffffffff
je 0x40f881
imul ecx, ecx, 0x228
add ecx, dword [eax + 0x1ff8]
jmp 0x40f883
xor ecx, ecx
movss xmm0, dword [eax + 0x19dc]
mov dword [eax + 0x1fec], ecx
mulss xmm0, dword [edi + 0x2b8]
mov ecx, dword [edi + 0x358]
mulss xmm0, dword [edi + 0x2bc]
test ecx, ecx
je 0x40f8b3
mulss xmm0, dword [ecx + 0x2b8]
movss dword [eax + 0x19ec], xmm0
movss dword [eax + 0x19d8], xmm0
mov ecx, dword [esi + 0x1da0]
mov eax, dword [esi + 0x1da8]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x1c6c], eax
test ecx, 0x1000000
je 0x40f8f1
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x184]
jmp 0x40f8f3
xor eax, eax
mov dword [edi + 0x184], eax
test ecx, 0x20000000
jne 0x40fab1
mov ecx, dword [0x46e460]
mov eax, dword [ecx + 0x1c48]
mov byte [eax + 0xc5], 1
mov eax, dword [ecx + 0x1c48]
movss xmm1, dword [edi + 0x238]
movss xmm3, dword [edi + 0x240]
movss xmm2, dword [edi + 0x244]
movss xmm0, dword [edi + 0x23c]
mov dword [esp + 0x98], eax
mov eax, dword [eax + 0x2c4]
mov dword [esp + 0x88], eax
movss dword [esp + 0x100], xmm1
movss dword [esp + 0x104], xmm0
movups xmm4, xmmword [eax + 0x60]
movss dword [esp + 0x108], xmm3
comiss xmm4, xmm1
movss dword [esp + 0x10c], xmm2
movaps xmmword [esp + 0xa0], xmm4
jbe 0x40f993
movaps xmm1, xmm4
movss dword [esp + 0x100], xmm1
movss xmm4, dword [esp + 0xa4]
comiss xmm4, xmm0
jbe 0x40f9ad
movaps xmm0, xmm4
movss dword [esp + 0x104], xmm0
movss xmm4, dword [esp + 0xa8]
comiss xmm3, xmm4
jbe 0x40f9c7
movaps xmm3, xmm4
movss dword [esp + 0x108], xmm3
movss xmm4, dword [esp + 0xac]
comiss xmm2, xmm4
jbe 0x40f9e1
movaps xmm2, xmm4
movss dword [esp + 0x10c], xmm2
comiss xmm1, xmm3
jb 0x40f9ef
movss dword [esp + 0x108], xmm1
comiss xmm0, xmm2
jb 0x40f9fd
movss dword [esp + 0x10c], xmm0
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx + 4]
mov dword [esp + 0x6c], ecx
cmp edx, eax
jne 0x40fa3f
inc edx
mov dword [esp + 0x80], edx
test eax, eax
je 0x40fa2b
cdq
sub eax, edx
mov edx, dword [esp + 0x80]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40fa30
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.004205a0
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
add eax, eax
movaps xmm0, xmmword [esp + 0x100]
movups xmmword [edx + eax*8], xmm0
inc dword [ecx]
mov ecx, dword [esp + 0x88]
movups xmmword [ecx + 0x60], xmm0
call fcn.00428cd0
mov edx, dword [esp + 0x98]
mov eax, dword [edx + 0x2c4]
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 ecx, dword [esp + 0x14]
mov dword [edx + 0x268], eax
movss dword [edx + 0x26c], xmm0
movss dword [edx + 0x270], xmm1
movss dword [edx + 0x274], xmm2
mov eax, dword [esp + 0x7c]
mov byte [edi + 0xc5], 0
inc word [edi + 0xce]
mov dword [esi + 0x1cd0], 0
cmp eax, dword [esp + 0x74]
je 0x40fc29
mov al, byte [edi + 0x3a1]
test al, 1
je 0x40fb03
test al, 2
jne 0x40fb03
mov eax, dword [edi + 0x294]
cmp eax, dword [esi + 0x1be0]
jne 0x40fafc
mov byte [edi + 0xe5], 1
jmp 0x40fb03
mov byte [edi + 0xe4], 1
test ecx, 0x1000000
je 0x40fb92
test cl, 0x40
jne 0x40fb58
cmp byte [edi + 0xdc], 0
jg 0x40fb58
cmp byte [edi + 0xdd], 0
jg 0x40fb58
cmp byte [esi + 0x3028], 0
jne 0x40fb58
movss xmm0, dword [edi + 0x218]
comiss xmm0, dword [edi + 0x220]
jae 0x40fb51
movss xmm0, dword [edi + 0x21c]
comiss xmm0, dword [edi + 0x224]
jb 0x40fb58
mov byte [edi + 0xe4], 1
mov eax, dword [esp + 0x68]
test eax, eax
je 0x40fb92
cmp byte [eax + 0xc6], 0
jne 0x40fb72
cmp byte [eax + 0xe4], 0
jle 0x40fb79
mov byte [edi + 0xe4], 1
cmp byte [eax + 0xc6], 0
jne 0x40fb8b
cmp byte [eax + 0xe5], 0
jle 0x40fb92
mov byte [edi + 0xe5], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x1598]
jb 0x40fba5
mov byte [edi + 0xe4], 1
cmp byte [edi + 0xe4], 0
jg 0x40fbc4
cmp byte [edi + 0xe5], 0
jg 0x40fbc4
cmp byte [edi + 0xe6], 0
jg 0x40fbc4
xor al, al
jmp 0x40fbc6
mov al, 1
mov byte [edi + 0xca], al
mov al, byte [edi + 0xe7]
test al, al
jle 0x40fbe5
dec al
mov byte [edi + 0xe7], al
or dword [edi + 8], 0xc0200
xor al, al
cmp byte [edi + 0xc6], al
jne 0x40fbff
cmp byte [edi + 0xc3], al
je 0x40fbff
cmp byte [edi + 0xca], al
je 0x40fc23
cmp byte [edi + 0xdc], 0
jg 0x40fc23
cmp byte [edi + 0xdd], 0
jg 0x40fc23
cmp byte [edi + 0xe5], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [edi + 0xc8], al
cmp byte [edi + 0xc8], 0
mov ecx, dword [esp + 0x14c]
pop edi
sete al
pop esi
xor ecx, esp
call fcn.0043d6d2
mov esp, ebp
pop ebp
ret