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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x510140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
mov esi, dword [0x513c00]
push edi
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x4c], esi
call fcn.0040b320
mov edi, eax
mov dword [ebp - 0x44], eax
test edi, edi
xorps xmm0, xmm0
movss dword [ebp - 0x58], xmm0
sete cl
mov byte [ebp - 0x39], cl
test eax, eax
jne 0x40d5bf
mov edx, dword [esi + 0x1a78]
and edx, 2
je 0x40d57a
mov eax, dword [esi + 0x1a98]
mov ecx, dword [esi + 0x1a9c]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], ecx
jmp 0x40d588
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
test edx, edx
lea ecx, [ebp - 0x74]
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x54]
cmovne eax, ecx
mov ecx, dword [ebp - 0x88]
movss xmm0, dword [eax]
movss dword [ebp - 0x60], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x5c], xmm0
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.0040b3c0
add esp, 8
mov edi, eax
mov edx, dword [ebp - 0x38]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x40d5d8
or edx, 6
mov dword [ebp - 0x38], edx
cmp dword [esi + 0x19dc], 0
mov ecx, dword [esi + 0x19a8]
mov eax, dword [edi + 0x24c]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x7c], eax
jne 0x40d603
cmp byte [esi + 0x19b5], 0
je 0x40d603
mov al, 1
jmp 0x40d605
xor al, al
mov byte [edi + 0x82], al
lea eax, [ecx - 1]
cmp dword [ebp - 0x7c], eax
mov eax, dword [edi + 0x9c]
setl ch
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x3a], ch
test edx, 0x4000000
je 0x40d65d
mov eax, dword [esi + 0x1b14]
lea esi, [eax + eax*8]
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 0x1b10]
mov eax, dword [edi + 0x8c]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov esi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x38]
setne al
or cl, al
mov eax, dword [ebp - 0x78]
or ch, cl
mov byte [ebp - 0x3a], ch
test ch, ch
jne 0x40d66d
test eax, eax
jg 0x40d66d
mov byte [edi + 0x80], ch
jmp 0x40d689
or dword [edi + 0xa0], 8
or dword [edi + 0xa4], 8
or dword [edi + 0xa8], 8
mov byte [edi + 0x80], 1
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x7c], eax
je 0x40d6d0
mov dword [edi + 0x24c], eax
xor eax, eax
mov dword [edi + 8], edx
movsd xmm0, qword [esi + 0x19a0]
cvtpd2ps xmm0, xmm0
mov word [edi + 0x88], ax
movss dword [edi + 0x250], xmm0
movzx eax, word [esi + 0x19f4]
inc dword [esi + 0x19f4]
mov word [edi + 0x8a], ax
jmp 0x40d6d6
mov edx, dword [edi + 8]
mov dword [ebp - 0x38], edx
mov ecx, dword [esi + 0x19dc]
test ecx, ecx
jne 0x40d6e4
xor eax, eax
jmp 0x40d6ee
mov eax, dword [esi + 0x19e4]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [ebp - 0x8c]
je 0x40d70c
mov ecx, edx
and ecx, 0x5000000
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0x68], ecx
jmp 0x40d715
mov eax, dword [edi + 0x2f4]
mov dword [ebp - 0x68], eax
cmp dword [edi + 0xbc], 0
lea eax, [edi + 0xbc]
jne 0x40d74a
cmp dword [eax + 4], 0
jne 0x40d739
push 8
mov ecx, eax
call fcn.004151b0
lea eax, [edi + 0xbc]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 4]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xbc]
mov ecx, dword [esi + 0x19e0]
lea edx, [esi + 0x19dc]
cmp dword [edx], ecx
jne 0x40d78d
test ecx, ecx
je 0x40d76f
mov eax, ecx
cdq
sub eax, edx
lea edx, [esi + 0x19dc]
sar eax, 1
add eax, ecx
jmp 0x40d774
mov eax, 8
mov ecx, dword [edx]
mov esi, dword [ebp - 0x4c]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.004151b0
lea edx, [esi + 0x19dc]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
inc dword [edx]
lea edx, [edi + 0x1e0]
mov ecx, dword [0x513c00]
mov dword [esi + 0x19f8], 0
movzx eax, word [edi + 0xbc]
mov word [edx], ax
movzx eax, word [edi + 0x1d4]
mov word [edx + 2], ax
movzx eax, word [ecx + 0x1b14]
mov word [edx + 4], ax
movzx eax, word [ecx + 0x1ae4]
mov word [edx + 6], ax
add edx, 8
movzx eax, word [ecx + 0x1af0]
mov word [edx], ax
movzx eax, word [ecx + 0x1afc]
mov word [edx + 2], ax
mov eax, dword [ebp - 0x38]
test eax, 0x4000000
je 0x40d894
mov eax, dword [esi + 0x1b14]
lea ecx, [esi + 0x1b14]
mov edx, dword [esi + 0x1b10]
mov dword [ebp - 0x64], edx
lea eax, [eax + eax*8]
mov dword [edx + eax*4 + 4], edi
mov edx, dword [ecx]
mov dword [ebp - 0x6c], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x40d851
inc edx
mov dword [ebp - 0x70], edx
test eax, eax
je 0x40d83b
cdq
sub eax, edx
mov edx, dword [ebp - 0x70]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40d840
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00415620
lea ecx, [esi + 0x1b14]
mov eax, dword [ecx]
mov esi, dword [ebp - 0x64]
mov ecx, dword [ecx + 8]
lea edx, [eax + eax*8]
mov eax, dword [ebp - 0x6c]
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 [ebp - 0x4c]
mov dword [ecx + edx*4 + 0x20], eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x64]
inc dword [esi + 0x1b14]
mov eax, dword [ecx + eax*4]
mov dword [edi + 0x8c], eax
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x78], 0
jle 0x40d8ab
test eax, 0x1000000
jne 0x40d8ab
mov dword [edi + 0x308], 0
xor dl, dl
mov byte [ebp - 0x33], 0
test byte [esi + 0x1a78], 1
mov byte [ebp - 0x34], dl
mov byte [ebp - 0x32], dl
je 0x40d94d
mov ecx, dword [esi + 0x1a7c]
mov edx, dword [edi + 0xa0]
test ecx, edx
mov eax, edx
setne byte [ebp - 0x33]
test ecx, eax
je 0x40d93c
movss xmm1, dword [esi + 0x1a94]
movss xmm0, dword [esi + 0x1a90]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x505668]
jbe 0x40d93c
mov eax, dword [esi + 0x1a88]
and edx, 0xfffffff1
mov ecx, dword [esi + 0x1a8c]
mov dword [edi + 0xac], eax
mov dword [edi + 0xb0], ecx
mov eax, dword [esi + 0x1a90]
mov ecx, dword [esi + 0x1a94]
mov dword [edi + 0xb4], eax
mov dword [edi + 0xb8], ecx
mov dword [edi + 0xa0], edx
jmp 0x40d94d
push ecx
lea edx, [esi + 0x1a88]
mov ecx, edi
call fcn.004102d0
add esp, 4
test byte [esi + 0x1a78], 2
je 0x40d9ad
mov eax, dword [edi + 0xa4]
mov ecx, dword [esi + 0x1a80]
movss xmm1, dword [ebp - 0x58]
and eax, ecx
je 0x40d97e
movss xmm0, dword [esi + 0x1a98]
comiss xmm0, xmm1
jbe 0x40d97e
mov byte [ebp - 0x34], 1
jmp 0x40d987
xor dl, dl
mov byte [ebp - 0x34], dl
test eax, eax
je 0x40d998
movss xmm0, dword [esi + 0x1a9c]
comiss xmm0, xmm1
mov byte [ebp - 0x32], 1
ja 0x40d99c
mov byte [ebp - 0x32], 0
push ecx
lea edx, [esi + 0x1a98]
mov ecx, edi
call fcn.004103b0
add esp, 4
test byte [esi + 0x1a78], 4
je 0x40d9ca
mov eax, dword [esi + 0x1aa0]
mov ecx, dword [esi + 0x1aa4]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], ecx
jmp 0x40d9e3
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x8c]
je 0x40d9e3
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
test byte [esi + 0x1a78], 8
je 0x40da0e
mov eax, dword [esi + 0x1a84]
mov cl, byte [esi + 0x1aa8]
test eax, eax
je 0x40da04
test dword [edi + 0xa8], eax
je 0x40da0e
and dword [edi + 0xa8], 0xfffffff1
mov byte [edi + 0x7d], cl
test byte [esi + 0x1a78], 0x20
je 0x40da1e
mov ecx, edi
call fcn.0040fc80
cmp byte [edi + 0x80], 0
je 0x40da3c
and dword [edi + 0xa0], 0xfffffff7
and dword [edi + 0xa4], 0xfffffff7
and dword [edi + 0xa8], 0xfffffff7
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x8c]
je 0x40f853
mov ecx, dword [ebp - 0x38]
mov edx, ecx
mov eax, dword [ebp - 0x68]
and edx, 0x3000000
mov dword [ebp - 0x6c], edx
mov dword [edi + 0x2f4], eax
mov dword [edi + 0x300], edi
mov dword [edi + 0x2fc], edi
mov dword [edi + 0x2f8], edi
test eax, eax
je 0x40daab
cmp edx, 0x1000000
jne 0x40da8f
mov eax, dword [eax + 0x2f8]
mov dword [edi + 0x2f8], eax
mov eax, dword [ebp - 0x68]
test ecx, 0x8000000
jne 0x40daab
test ecx, 0x5000000
je 0x40daab
mov eax, dword [eax + 0x2fc]
mov dword [edi + 0x2fc], eax
test dword [edi + 8], 0x800000
je 0x40dad7
mov ecx, edi
nop word [eax + eax]
mov eax, dword [ecx + 0x2f4]
mov ecx, eax
mov dword [edi + 0x300], eax
test dword [ecx + 8], 0x800000
jne 0x40dac0
mov byte [edi + 0x7a], 1
mov byte [edi + 0x83], 0
mov dword [edi + 0x22c], 0xff7fffff
mov dword [edi + 0x230], 0xff7fffff
mov dword [edi + 0x234], 0x7f7fffff
mov dword [edi + 0x238], 0x7f7fffff
mov eax, dword [edi + 0xc0]
cmp eax, 1
jge 0x40db48
test eax, eax
je 0x40db2b
cdq
sub eax, edx
lea edx, [edi + 0xbc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x40db36
mov ecx, 8
lea edx, [edi + 0xbc]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.004151b0
mov dword [edi + 0xbc], 1
cmp byte [edi + 0x330], 0
je 0x40db9e
mov ecx, dword [edi + 0x278]
push dword [edi + 0x334]
add ecx, 0xc
mov byte [edi + 0x330], 0
call fcn.004155a0
mov ecx, dword [edi + 0x278]
push dword [edi + 0x338]
add ecx, 0x18
call fcn.004153b0
mov dword [edi + 0x338], 0
mov dword [edi + 0x334], 0
cmp dword [esi + 0x1c20], 0
je 0x40dc7f
test dword [edi + 8], 0x80000
jne 0x40dc7f
cmp dword [ebp - 0x44], 0
je 0x40dc7f
mov eax, dword [edi]
mov ecx, eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x88]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40dbf0
test dl, dl
je 0x40dbec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40dbf0
add eax, 2
add ecx, 2
test dl, dl
jne 0x40dbd0
xor eax, eax
jmp 0x40dbf5
sbb eax, eax
or eax, 1
test eax, eax
je 0x40dc7f
mov ecx, dword [ebp - 0x88]
mov edx, dword [edi + 0x44]
mov dword [ebp - 0x48], edx
lea eax, [ecx + 1]
mov dword [ebp - 0x70], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40dc10
sub ecx, dword [ebp - 0x70]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x64], eax
cmp edx, eax
jae 0x40dc67
test ecx, ecx
je 0x40dc3a
mov eax, dword [0x513c00]
test eax, eax
je 0x40dc3a
dec dword [eax + 0x374]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [0x513c00]
add esp, 4
test eax, eax
je 0x40dc53
inc dword [eax + 0x374]
push dword [ebp - 0x64]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x48], eax
push eax
push dword [ebp - 0x88]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi], eax
add esp, 0xc
mov eax, dword [ebp - 0x48]
mov dword [edi + 0x44], eax
mov edx, edi
lea ecx, [ebp - 0x60]
call fcn.0040b970
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [edi + 0x98]
movss dword [edi + 0x24], xmm0
movss dword [edi + 0x28], xmm1
test eax, eax
jle 0x40dcad
dec eax
mov dword [edi + 0x98], eax
mov eax, dword [edi + 0x9c]
test eax, eax
jle 0x40dcbe
dec eax
mov dword [edi + 0x9c], eax
cmp dword [ebp - 0x44], 0
mov al, byte [ebp - 0x34]
mov cl, byte [ebp - 0x32]
jne 0x40dcdc
test al, al
je 0x40dcd2
test cl, cl
jne 0x40dcdc
mov dword [edi + 0x9c], 1
cmp byte [ebp - 0x3a], 0
mov edx, dword [ebp - 0x38]
je 0x40dd2e
test edx, 0x6000000
je 0x40dd2e
mov dword [edi + 0x9c], 1
test dl, 0x40
je 0x40dd2e
test al, al
jne 0x40dd0e
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test cl, cl
jne 0x40dd20
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov eax, dword [0x513c00]
movss xmm0, dword [eax + 0x18cc]
mov dword [eax + 0x19f8], edi
mov ecx, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test ecx, ecx
je 0x40dd5b
mulss xmm0, dword [ecx + 0x270]
movss dword [eax + 0x18dc], xmm0
movss dword [eax + 0x18c8], xmm0
test edx, 0x1000000
je 0x40dd7d
movss xmm0, dword [esi + 0x153c]
jmp 0x40dd9f
test edx, 0x6000000
je 0x40dd97
test edx, 0x8000000
jne 0x40dd97
movss xmm0, dword [esi + 0x1544]
jmp 0x40dd9f
movss xmm0, dword [esi + 0x1520]
mov eax, edi
movss dword [eax + 0x40], xmm0
mov eax, dword [esi + 0x1514]
mov ecx, dword [esi + 0x1518]
movss xmm2, dword [ebp - 0x58]
mov dword [edi + 0x34], eax
mov eax, edx
and eax, 0x5010000
mov dword [edi + 0x38], ecx
cmp eax, 0x1000000
jne 0x40ddf5
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x40ddf5
test edx, 0x400
je 0x40dde6
movss xmm0, dword [esi + 0x1518]
jmp 0x40dde9
movaps xmm0, xmm2
mov dword [edi + 0x34], 0
movss dword [edi + 0x38], xmm0
test dl, 0x21
jne 0x40df2b
test byte [edi + 8], 1
mov ecx, dword [0x513c00]
je 0x40de0f
movaps xmm3, xmm2
jmp 0x40de41
movss xmm0, dword [ecx + 0x18cc]
mov eax, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x40de31
mulss xmm0, dword [eax + 0x270]
movss xmm3, dword [ecx + 0x154c]
addss xmm3, xmm3
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 + 0x19fc], edi
jne 0x40def1
cmp dword [esi + 0x1a18], 0
jne 0x40def1
cmp dword [esi + 0x1a20], 0
jne 0x40def1
mov eax, dword [ecx + 0x19f8]
movss xmm1, dword [ecx + 0x1568]
movss xmm0, dword [ecx + 0x156c]
maxss xmm5, dword [eax + 0x22c]
minss xmm4, dword [eax + 0x234]
maxss xmm6, dword [eax + 0x230]
minss xmm3, dword [eax + 0x238]
subss xmm5, xmm1
addss xmm4, xmm1
movss xmm1, dword [ecx + 0xe8]
subss xmm6, xmm0
addss xmm3, xmm0
comiss xmm1, xmm5
jb 0x40def1
movss xmm0, dword [ecx + 0xec]
comiss xmm0, xmm6
jb 0x40def1
comiss xmm4, xmm1
jbe 0x40def1
comiss xmm3, xmm0
jbe 0x40def1
cmp byte [esi + 0x3dd], 0
je 0x40def1
mov byte [edi + 0x7e], 1
cmp byte [edi + 0x7e], 0
je 0x40df2f
cmp byte [edi + 0x7d], 0
mov ecx, dword [0x513c00]
sete al
test dword [edi + 8], 0x100
mov byte [edi + 0x7d], al
jne 0x40df22
comiss xmm2, dword [ecx + 0x2d80]
jb 0x40df22
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2d80], eax
mov ecx, edi
call fcn.0040fc80
jmp 0x40df2f
mov byte [edi + 0x7d], 0
lea eax, [edi + 0x24]
mov byte [edi + 0x7e], 0
push eax
mov edx, edi
lea ecx, [ebp - 0x54]
call fcn.0040ba20
mov cl, byte [ebp - 0x39]
add esp, 4
test byte [ebp - 0x38], 0x40
mov byte [ebp - 0x31], cl
je 0x40df87
cmp byte [edi + 0x7d], 0
jne 0x40df87
cmp byte [ebp - 0x34], 0
jne 0x40df6a
movss xmm0, dword [ebp - 0x54]
movss dword [edi + 0x1c], xmm0
mov byte [ebp - 0x39], 1
cmp byte [ebp - 0x32], 0
jne 0x40e029
movss xmm0, dword [ebp - 0x50]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 0x31], 1
jmp 0x40e029
mov al, byte [edi + 0x90]
test al, al
jg 0x40df9e
cmp byte [edi + 0x91], 0
jle 0x40e029
cmp byte [ebp - 0x34], 0
jne 0x40dfcb
test al, al
jle 0x40dfcb
cmp byte [edi + 0x93], 0
je 0x40dfbd
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [ebp - 0x54]
jmp 0x40dfc2
movss xmm0, dword [ebp - 0x54]
movss dword [edi + 0x1c], xmm0
mov byte [ebp - 0x39], 1
cmp byte [ebp - 0x32], 0
jne 0x40dffd
cmp byte [edi + 0x91], 0
jle 0x40dffd
cmp byte [edi + 0x93], 0
je 0x40dfef
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [ebp - 0x50]
jmp 0x40dff4
movss xmm0, dword [ebp - 0x50]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 0x31], 1
cmp byte [edi + 0x7d], 0
jne 0x40e029
test dword [edi + 8], 0x100
mov ecx, dword [0x513c00]
jne 0x40e029
movss xmm0, dword [ebp - 0x58]
comiss xmm0, dword [ecx + 0x2d80]
jb 0x40e029
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2d80], eax
push dword [edi + 0x20]
mov edx, edi
lea ecx, [ebp - 0xe8]
push dword [edi + 0x1c]
call fcn.0040b760
mov edx, dword [ebp - 0x38]
add esp, 8
cmp byte [edi + 0x7d], 0
movss xmm2, dword [eax]
movss xmm0, dword [eax + 4]
mov eax, dword [0x513c00]
movss dword [edi + 0x1c], xmm2
movss dword [edi + 0x20], xmm0
mov dword [ebp - 0x40], eax
je 0x40e0ca
test edx, 0x1000000
jne 0x40e0ca
test byte [edi + 8], 1
je 0x40e078
movss xmm1, dword [ebp - 0x58]
jmp 0x40e0aa
movss xmm0, dword [eax + 0x18cc]
mov ecx, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test ecx, ecx
je 0x40e09a
mulss xmm0, dword [ecx + 0x270]
movss xmm1, dword [eax + 0x154c]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, dword [edi + 0xc]
addss xmm1, dword [edi + 0x10]
subss xmm2, dword [edi + 0xc]
subss xmm1, dword [edi + 0x10]
movss dword [ebp - 0x60], xmm2
movss dword [ebp - 0x5c], xmm1
jmp 0x40e0d6
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ecx
test byte [edi + 8], 1
lea ecx, [ebp - 0x60]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x40]
mov dword [edi + 0x18], ecx
je 0x40e0f7
movss xmm0, dword [ebp - 0x58]
movaps xmm1, xmm0
jmp 0x40e12e
movss xmm0, dword [edi + 0x270]
mov ecx, dword [edi + 0x2f4]
mulss xmm0, dword [eax + 0x18cc]
test ecx, ecx
je 0x40e119
mulss xmm0, dword [ecx + 0x270]
movss xmm1, dword [eax + 0x154c]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x58]
test dword [edi + 8], 0x400
je 0x40e173
movss xmm2, dword [edi + 0x270]
mov ecx, dword [edi + 0x2f4]
mulss xmm2, dword [eax + 0x18cc]
test ecx, ecx
je 0x40e159
mulss xmm2, dword [ecx + 0x270]
movss xmm0, dword [eax + 0x154c]
addss xmm2, dword [edi + 0x150]
addss xmm0, xmm0
addss xmm2, xmm0
jmp 0x40e176
movaps xmm2, xmm0
cmp byte [ebp - 0x3a], 0
addss xmm2, xmm1
movss dword [ebp - 0x64], xmm2
je 0x40e1c2
mov dword [edi + 0x94], 0xffffffff
test edx, 0x4000000
je 0x40e1c2
cmp byte [ebp - 0x33], 0
jne 0x40e1c2
mov eax, dword [esi + 0x1b14]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x1b1c]
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 0x40e261
mov ecx, dword [ebp - 0x68]
add ecx, 0x180
mov dword [ebp - 0x80], ecx
mov ax, word [ecx]
mov word [edi + 0x88], ax
mov eax, dword [ecx + 4]
cmp dword [ecx], eax
jne 0x40e220
mov edx, dword [ecx]
inc edx
mov dword [ebp - 0x70], edx
test eax, eax
je 0x40e202
cdq
sub eax, edx
mov edx, dword [ebp - 0x70]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40e207
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.004151b0
mov eax, dword [0x513c00]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x188]
mov dword [eax + ecx*4], edi
mov ecx, dword [ebp - 0x68]
mov al, byte [ebp - 0x33]
inc dword [ecx + 0x180]
test edx, 0x4000000
jne 0x40e264
test al, al
jne 0x40e264
cmp dword [ebp - 0x6c], 0x3000000
je 0x40e264
mov eax, dword [ecx + 0xc8]
mov ecx, dword [ecx + 0xcc]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov al, byte [ebp - 0x33]
movss xmm7, dword [edi + 0xac]
ucomiss xmm7, dword [0x50576c]
lahf
test ah, 0x44
jnp 0x40e36f
cmp dword [edi + 0x9c], 0
jne 0x40e36f
movss xmm1, dword [edi + 0x1c]
movss xmm5, dword [edi + 0x20]
movss xmm2, dword [edi + 0xb0]
and dword [edi + 0xa0], 0xfffffff1
mov dword [edi + 0xac], 0x7f7fffff
mov dword [edi + 0xb0], 0x7f7fffff
mulss xmm1, dword [edi + 0xb4]
mulss xmm5, dword [edi + 0xb8]
movss xmm4, dword [edi + 0xc]
subss xmm7, xmm1
movss xmm6, dword [edi + 0x10]
subss xmm2, xmm5
cvttss2si eax, xmm7
movd xmm7, eax
cvttss2si eax, xmm2
cvtdq2ps xmm7, xmm7
movd xmm1, eax
movss dword [edi + 0xc], xmm7
subss xmm7, xmm4
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm7
movss dword [edi + 0x10], xmm1
subss xmm1, xmm6
addss xmm0, dword [edi + 0xc8]
movss dword [edi + 0xc8], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0xcc]
movss dword [edi + 0xcc], xmm0
movaps xmm0, xmm7
addss xmm0, dword [edi + 0xe0]
addss xmm7, dword [edi + 0xd8]
movss dword [edi + 0xe0], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0xe4]
addss xmm1, dword [edi + 0xdc]
movss dword [edi + 0xd8], xmm7
movss dword [edi + 0xe4], xmm0
movss dword [edi + 0xdc], xmm1
jmp 0x40e3c1
test edx, 0x10000000
jne 0x40e39e
test edx, 0x4000000
je 0x40e389
test al, al
jne 0x40e389
cmp dword [ebp - 0x78], 0
jg 0x40e39e
test edx, 0x2000000
je 0x40e3c1
test al, al
jne 0x40e3c1
cmp dword [ebp - 0x6c], 0x3000000
je 0x40e3c1
mov edx, edi
lea ecx, [ebp - 0xb8]
call fcn.00410ff0
mov edx, dword [ebp - 0x38]
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
cmp byte [ebp - 0x33], 0
mov eax, dword [ebp - 0x40]
movss xmm4, dword [ebp - 0x58]
movss dword [ebp - 0x30], xmm4
movss dword [ebp - 0x2c], xmm4
movss xmm2, dword [eax + 0x10]
movss xmm7, dword [eax + 0x14]
movss dword [ebp - 0x80], xmm2
movss dword [ebp - 0x28], xmm2
movss dword [ebp - 0x70], xmm7
movss dword [ebp - 0x24], xmm7
jne 0x40e50b
test edx, 0x1000000
jne 0x40e50b
cmp byte [edi + 0x90], 0
jg 0x40e50b
cmp byte [edi + 0x91], 0
jg 0x40e50b
movss xmm5, dword [esi + 0x15a4]
movaps xmm0, xmm2
movss xmm6, dword [esi + 0x15a8]
subss xmm0, xmm4
maxss xmm5, dword [esi + 0x15ac]
maxss xmm6, dword [esi + 0x15b0]
comiss xmm0, xmm4
jbe 0x40e50b
movaps xmm0, xmm7
subss xmm0, xmm4
comiss xmm0, xmm4
jbe 0x40e50b
cmp byte [eax + 0xb4], 0
je 0x40e4b3
test byte [edi + 8], 1
jne 0x40e4b3
movss xmm0, dword [eax + 0x18cc]
mov ecx, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test ecx, ecx
je 0x40e492
mulss xmm0, dword [ecx + 0x270]
movss xmm1, dword [eax + 0x154c]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x14]
movss dword [ebp - 0x60], xmm0
movss dword [ebp - 0x5c], xmm1
jmp 0x40e4bf
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ecx
lea eax, [ebp - 0x60]
movaps xmm1, xmm7
movss xmm0, dword [eax]
subss xmm2, xmm5
addss xmm0, dword [edi + 0xc]
addss xmm5, xmm4
subss xmm1, xmm6
addss xmm6, xmm4
maxss xmm0, xmm5
subss xmm0, dword [eax]
minss xmm2, xmm0
movss xmm0, dword [eax + 4]
addss xmm0, dword [edi + 0x10]
movss dword [edi + 0xc], xmm2
maxss xmm0, xmm6
subss xmm0, dword [eax + 4]
minss xmm1, xmm0
movss dword [edi + 0x10], xmm1
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 0x40e53f
movss xmm2, dword [esi + 0x1538]
jmp 0x40e55f
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x40e557
movss xmm2, dword [esi + 0x1540]
jmp 0x40e55f
movss xmm2, dword [esi + 0x151c]
xor cl, cl
movss dword [edi + 0x3c], xmm2
mov dword [ebp - 0x78], ecx
cmp byte [ebp - 0x3a], cl
je 0x40e598
test edx, 0x1000
jne 0x40e598
test edx, 0x4000000
je 0x40e584
mov byte [ebp - 0x78], 1
jmp 0x40e598
test edx, 0x3000000
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [ebp - 0x78], ecx
movss xmm1, dword [esi + 0x18c8]
xorps xmm0, xmm0
addss xmm2, dword [0x5056d0]
movaps xmmword [ebp - 0x20], xmm0
xor eax, eax
cmp byte [esi + 0xb3], al
movaps xmm0, xmm1
mulss xmm1, dword [0x50568c]
setne al
mov dword [ebp - 0x48], 0xffffffff
mulss xmm0, dword [0x5056d8]
inc eax
cmp byte [edi + 0x7d], 0
addss xmm2, xmm1
mov dword [ebp - 0x5c], eax
maxss xmm0, xmm2
cvttss2si esi, xmm0
jne 0x40e627
lea ecx, [ebp - 0x20]
push ecx
push eax
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
lea edx, [ebp - 0x54]
call fcn.0040bdb0
movss xmm4, dword [ebp - 0x58]
add esp, 0xc
mov edx, dword [ebp - 0x38]
test al, al
je 0x40e61f
mov ecx, dword [0x513c00]
mov byte [ebp - 0x31], 1
mov byte [ebp - 0x39], 1
mov dword [ebp - 0x40], ecx
jmp 0x40e627
mov eax, dword [0x513c00]
mov dword [ebp - 0x40], eax
cmp byte [edi + 0x7d], 0
mov al, byte [ebp - 0x48]
movss xmm3, dword [ebp - 0x64]
mov byte [edi + 0x84], al
jne 0x40e784
cmp dword [ebp - 0x44], 0
lea eax, [ebp - 0x54]
movss xmm2, dword [edi + 0x204]
movss xmm5, dword [edi + 0x208]
subss xmm2, dword [edi + 0x1fc]
subss xmm5, dword [edi + 0x200]
movss xmm6, dword [edi + 0x20]
movss xmm7, dword [edi + 0x1c]
subss xmm6, xmm3
mov dword [ebp - 0x48], eax
addss xmm2, dword [edi + 0x70]
addss xmm5, dword [edi + 0x74]
jne 0x40e693
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
jmp 0x40e6b9
movss xmm0, dword [edi + 0x34]
movss xmm1, dword [edi + 0x38]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [edi + 0x24]
addss xmm1, dword [edi + 0x28]
movss dword [ebp - 0x54], xmm0
movss dword [ebp - 0x50], xmm1
cmp byte [ebp - 0x39], 0
movss xmm1, dword [eax + 4]
jne 0x40e6c7
movaps xmm7, xmm2
cmp byte [ebp - 0x31], 0
jne 0x40e6d0
movaps xmm6, xmm5
test edx, 0x4000
jne 0x40e6e6
comiss xmm1, xmm6
jbe 0x40e6e2
test dl, 8
je 0x40e6e6
xor al, al
jmp 0x40e6e8
mov al, 1
mov byte [ebp - 0x31], al
mov byte [edi + 0x79], al
test edx, 0x8000
jne 0x40e737
mov ecx, dword [ebp - 0x4c]
test al, al
je 0x40e707
movss xmm0, dword [ecx + 0x1578]
jmp 0x40e70a
movaps xmm0, xmm4
mov edx, dword [ebp - 0x48]
subss xmm7, xmm0
movss xmm0, dword [edx]
comiss xmm0, xmm7
mov edx, dword [ebp - 0x38]
jbe 0x40e72e
mov eax, edx
and eax, 0x808
cmp eax, 0x800
mov al, byte [ebp - 0x31]
je 0x40e737
mov byte [edi + 0x78], 0
movaps xmm1, xmm4
jmp 0x40e75d
mov byte [edi + 0x78], 1
test al, al
jne 0x40e752
comiss xmm1, xmm6
jbe 0x40e74d
test dl, 8
jne 0x40e74d
mov al, 1
jmp 0x40e74f
xor al, al
mov byte [edi + 0x79], al
mov ecx, dword [ebp - 0x4c]
movss xmm1, dword [ecx + 0x1578]
test al, al
je 0x40e775
movss xmm0, dword [ecx + 0x1578]
movss dword [edi + 0x70], xmm0
movss dword [edi + 0x74], xmm1
jmp 0x40e787
movaps xmm0, xmm4
movss dword [edi + 0x74], xmm1
movss dword [edi + 0x70], xmm0
jmp 0x40e787
mov ecx, dword [ebp - 0x4c]
mov eax, edx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x40e7a8
cmp dword [ebp - 0x6c], 0x3000000
je 0x40e7a8
mov eax, dword [ebp - 0x68]
add eax, 0x22c
jmp 0x40e7ab
lea eax, [ebp - 0x30]
test byte [edi + 8], 1
movss xmm1, dword [edi + 0x10]
movss xmm2, dword [edi + 0xc]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x18]
movups xmm6, xmmword [eax]
movaps xmm7, xmm2
movss dword [ebp - 0x48], xmm2
addss xmm7, dword [edi + 0x14]
movaps xmmword [ebp - 0x100], xmm6
movss dword [ebp - 0x44], xmm1
movss dword [ebp - 0x50], xmm0
je 0x40e7e9
movaps xmm5, xmm4
jmp 0x40e829
cmp dword [edi + 0x2f4], 0
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x4c]
movss xmm0, dword [eax + 0x18cc]
mulss xmm0, dword [edi + 0x270]
je 0x40e819
mov edx, dword [edi + 0x2f4]
mulss xmm0, dword [edx + 0x270]
mov edx, dword [ebp - 0x38]
movss xmm5, dword [eax + 0x154c]
addss xmm5, xmm5
addss xmm5, xmm0
addss xmm2, dword [edi + 0x1c]
movss xmm0, dword [edi + 0x10]
addss xmm1, xmm5
movss xmm5, dword [ebp - 0x48]
mov eax, edx
movss dword [ebp - 0x9c], xmm0
and eax, 0x401
movss dword [ebp - 0xa0], xmm5
movss dword [ebp - 0x98], xmm2
movss xmm2, dword [ebp - 0x44]
movss dword [ebp - 0x94], xmm1
movaps xmm1, xmm6
movss dword [edi + 0x1ec], xmm5
movss dword [edi + 0x1f0], xmm2
movss dword [edi + 0x1f4], xmm7
movss xmm0, dword [ebp - 0x50]
movss dword [edi + 0x1f8], xmm0
movss xmm0, dword [edi + 0x1ec]
shufps xmm1, xmm6, 0x55
maxss xmm0, xmm6
maxss xmm2, xmm1
movups xmmword [ebp - 0xe0], xmm1
movss dword [edi + 0x1ec], xmm0
movaps xmm0, xmm6
movss dword [edi + 0x1f0], xmm2
movaps xmm2, xmm6
movss xmm1, dword [edi + 0x1f4]
shufps xmm0, xmm6, 0xaa
shufps xmm2, xmm6, 0xff
minss xmm1, xmm0
movups xmmword [ebp - 0xd0], xmm0
movss xmm0, dword [edi + 0x1f8]
minss xmm0, xmm2
movss dword [edi + 0x1f4], xmm1
movups xmmword [ebp - 0xb0], xmm2
movss dword [edi + 0x1f8], xmm0
movss xmm5, dword [edi + 0x10]
movss xmm7, dword [edi + 0xc]
movaps xmm0, xmm5
movss dword [edi + 0x1fc], xmm7
addss xmm0, xmm3
movaps xmm3, xmm7
addss xmm3, dword [edi + 0x14]
addss xmm5, dword [edi + 0x18]
movss dword [ebp - 0x50], xmm0
movss dword [edi + 0x200], xmm0
subss xmm3, dword [edi + 0x70]
subss xmm5, dword [edi + 0x74]
movss dword [edi + 0x204], xmm3
movss dword [edi + 0x208], xmm5
cmp eax, 1
jne 0x40e958
movss xmm0, dword [edi + 0x40]
jmp 0x40e960
movss xmm0, dword [ecx + 0x1554]
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [edi + 0x34]
mulss xmm0, dword [0x5056a4]
addss xmm7, dword [0x5056a4]
addss xmm3, dword [0x5056a4]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x50]
addss xmm0, dword [0x5056a4]
addss xmm5, dword [0x5056a4]
movups xmm2, xmmword [ebp - 0xe0]
movd xmm1, eax
addss xmm0, dword [ebp - 0x48]
cvtdq2ps xmm1, xmm1
subss xmm5, dword [edi + 0x40]
maxss xmm1, dword [edi + 0x40]
addss xmm7, xmm1
subss xmm3, xmm1
cvttss2si eax, xmm7
movd xmm7, eax
cvttss2si eax, xmm0
cvtdq2ps xmm7, xmm7
movd xmm0, eax
cvttss2si eax, xmm3
cvtdq2ps xmm0, xmm0
movups xmm3, xmmword [ebp - 0xb0]
movss dword [edi + 0x210], xmm0
movd xmm0, eax
cvttss2si eax, xmm5
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x20c], xmm7
movss dword [edi + 0x214], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x218], xmm0
movss xmm0, dword [edi + 0x210]
comiss xmm2, xmm0
jbe 0x40ea25
movaps xmm1, xmm2
jmp 0x40ea2c
movaps xmm1, xmm3
minss xmm1, xmm0
comiss xmm6, xmm7
movups xmm5, xmmword [ebp - 0xd0]
jbe 0x40ea3d
movaps xmm0, xmm6
jmp 0x40ea44
movaps xmm0, xmm5
minss xmm0, xmm7
movss dword [edi + 0x20c], xmm0
movss dword [edi + 0x210], xmm1
movss xmm0, dword [edi + 0x218]
comiss xmm2, xmm0
jbe 0x40ea66
movaps xmm1, xmm2
jmp 0x40ea6d
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm2, dword [edi + 0x214]
comiss xmm6, xmm2
jbe 0x40ea7f
movaps xmm0, xmm6
jmp 0x40ea86
movaps xmm0, xmm5
minss xmm0, xmm2
movss dword [edi + 0x214], xmm0
movss dword [edi + 0x218], xmm1
movss xmm0, dword [edi + 0x14]
comiss xmm0, xmm4
jbe 0x40eab2
test edx, 0x2000040
jne 0x40eab2
mulss xmm0, dword [0x5056ac]
jmp 0x40eac2
movss xmm0, dword [ecx + 0x18c8]
mulss xmm0, dword [0x505720]
cvttss2si eax, xmm0
mov ecx, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x254], xmm0
movss xmm6, dword [edi + 0x34]
movss xmm0, dword [edi + 0x204]
movaps xmm5, xmm6
subss xmm0, dword [edi + 0x1fc]
movss xmm2, dword [edi + 0x24]
addss xmm5, xmm6
movss xmm7, dword [0x50576c]
movss xmm3, dword [edi + 0x50]
addss xmm5, xmm2
movaps xmm1, xmm5
subss xmm1, xmm0
movaps xmm0, xmm4
maxss xmm0, xmm1
movss xmm1, dword [edi + 0x38]
addss xmm1, xmm1
movss dword [edi + 0x58], xmm0
movss xmm0, dword [edi + 0x208]
subss xmm0, dword [edi + 0x200]
addss xmm1, dword [edi + 0x28]
subss xmm1, xmm0
movaps xmm0, xmm4
maxss xmm0, xmm1
movss xmm1, dword [edi + 0x54]
movss dword [ebp - 0x50], xmm0
movss dword [edi + 0x5c], xmm0
movss xmm0, dword [edi + 0x60]
comiss xmm7, xmm0
jbe 0x40eba7
movss xmm7, dword [edi + 0x68]
movaps xmm3, xmm0
comiss xmm4, xmm7
jb 0x40eb75
comiss xmm6, xmm3
jb 0x40eb75
movaps xmm3, xmm4
jmp 0x40eb95
comiss xmm7, dword [0x5056d0]
jb 0x40eb95
mov eax, dword [ebp - 0x40]
addss xmm2, xmm6
addss xmm2, dword [eax + 0x1558]
comiss xmm3, xmm2
jb 0x40eb95
movaps xmm3, xmm5
movss xmm0, dword [edi + 0x1c]
subss xmm0, dword [edi + 0x70]
mulss xmm0, xmm7
subss xmm3, xmm0
movss xmm5, dword [edi + 0x64]
movss xmm0, dword [0x50576c]
comiss xmm0, xmm5
jbe 0x40ecac
mov edx, dword [edi + 8]
mov eax, dword [ebp - 0x40]
test dl, 1
je 0x40ebcd
movaps xmm1, xmm4
jmp 0x40ebff
movss xmm0, dword [eax + 0x18cc]
mov ecx, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test ecx, ecx
je 0x40ebef
mulss xmm0, dword [ecx + 0x270]
movss xmm1, dword [eax + 0x154c]
addss xmm1, xmm1
addss xmm1, xmm0
test edx, 0x400
je 0x40ec43
movss xmm2, dword [eax + 0x18cc]
mov ecx, dword [edi + 0x2f4]
mulss xmm2, dword [edi + 0x270]
test ecx, ecx
je 0x40ec29
mulss xmm2, dword [ecx + 0x270]
movss xmm0, dword [eax + 0x154c]
addss xmm2, dword [edi + 0x150]
addss xmm0, xmm0
addss xmm2, xmm0
jmp 0x40ec46
movaps xmm2, xmm4
movss xmm6, dword [edi + 0x6c]
addss xmm2, xmm1
comiss xmm4, xmm6
movaps xmm1, xmm5
jb 0x40ec64
movss xmm0, dword [edi + 0x38]
comiss xmm0, xmm1
jb 0x40ec64
movaps xmm1, xmm4
comiss xmm6, dword [0x5056d0]
jb 0x40ec96
movss xmm7, dword [edi + 0x28]
movss xmm5, dword [edi + 0x38]
movaps xmm0, xmm7
addss xmm0, xmm5
addss xmm0, dword [eax + 0x155c]
comiss xmm1, xmm0
jb 0x40ec96
movaps xmm1, xmm5
addss xmm1, xmm5
addss xmm1, xmm7
movss xmm0, dword [edi + 0x20]
subss xmm0, dword [edi + 0x74]
subss xmm0, xmm2
mulss xmm0, xmm6
subss xmm1, xmm0
cmp byte [edi + 0x7d], 0
maxss xmm3, xmm4
maxss xmm1, xmm4
jne 0x40ecda
cmp byte [edi + 0x7f], 0
jne 0x40ecda
movss xmm0, dword [edi + 0x58]
comiss xmm0, xmm3
ja 0x40eccd
movaps xmm3, xmm0
movss xmm0, dword [ebp - 0x50]
comiss xmm0, xmm1
ja 0x40ecda
movaps xmm1, xmm0
mov ecx, dword [edi + 0x278]
movss dword [edi + 0x50], xmm3
movss dword [edi + 0x54], xmm1
mov dword [edi + 0x60], 0x7f7fffff
mov dword [edi + 0x64], 0x7f7fffff
call fcn.0041d510
mov eax, dword [ebp - 0x4c]
mov ecx, dword [edi + 0x278]
mov dword [ebp - 0x40], ecx
add ecx, 0x4c
mov dword [ebp - 0x48], ecx
mov eax, dword [eax + 0x18c4]
mov edx, dword [ecx]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x40ed4f
inc edx
mov dword [ebp - 0x50], edx
test eax, eax
je 0x40ed3c
cdq
sub eax, edx
mov edx, dword [ebp - 0x50]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40ed41
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.004151b0
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0x44]
mov dword [eax + edx*4], ecx
mov ecx, dword [ebp - 0x48]
inc dword [ecx]
mov ecx, dword [ebp - 0x40]
call fcn.0041d980
mov ecx, dword [0x513c00]
movaps xmm0, xmmword [ebp - 0x100]
comiss xmm0, dword [ebp - 0xd0]
mov eax, dword [ecx + 0x19f8]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x19f8]
mov dword [ebp - 0x40], eax
movaps xmmword [ebp - 0xc0], xmm0
mov eax, dword [eax + 0x278]
mov dword [ebp - 0x44], eax
jb 0x40eda8
movss dword [ebp - 0xb8], xmm0
movups xmm0, xmmword [ebp - 0xe0]
comiss xmm0, dword [ebp - 0xb0]
jb 0x40edc0
movss dword [ebp - 0xb4], xmm0
mov edx, dword [eax + 0x40]
lea ecx, [eax + 0x40]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x48], ecx
cmp edx, eax
jne 0x40edf8
inc edx
mov dword [ebp - 0x50], edx
test eax, eax
je 0x40ede5
cdq
sub eax, edx
mov edx, dword [ebp - 0x50]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40edea
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00423920
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
add eax, eax
movups xmm0, xmmword [ebp - 0xc0]
movups xmmword [edx + eax*8], xmm0
inc dword [ecx]
mov ecx, dword [ebp - 0x44]
call fcn.0041d850
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x278]
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x48]
shl ecx, 4
test dword [ebp - 0x38], 0x8000000
movss xmm0, dword [ecx + eax - 0xc]
movss xmm1, dword [ecx + eax - 8]
movss xmm2, dword [ecx + eax - 4]
mov eax, dword [ecx + eax - 0x10]
mov dword [edx + 0x22c], eax
movss dword [edx + 0x230], xmm0
movss dword [edx + 0x234], xmm1
movss dword [edx + 0x238], xmm2
je 0x40ee79
call fcn.00410b80
cmp edi, eax
jne 0x40ee79
cmp dword [edi + 0x9c], 0
jg 0x40ee79
mov cl, 1
jmp 0x40ee7b
xor cl, cl
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x1c1c]
test eax, eax
je 0x40ee94
cmp edi, dword [eax + 0x2f8]
jne 0x40ee94
mov al, 1
jmp 0x40ee96
xor al, al
mov byte [ebp - 0x31], al
test cl, cl
jne 0x40eea5
test al, al
je 0x40ef8e
movss xmm1, dword [edx + 0x1c90]
push 0xf
push ecx
movzx ecx, cl
add ecx, 0x2e
mov dword [esp], 0
call fcn.00406790
mov ecx, dword [edi + 0x278]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0041f370
cmp byte [ebp - 0x31], 0
je 0x40ef8e
mov edx, dword [ebp - 0x4c]
cmp edi, dword [edx + 0x1c1c]
jne 0x40ef8e
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm1, xmm2
movss xmm0, dword [edx + 0x18c8]
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 [ebp - 0x58]
comiss xmm0, xmm1
movss dword [ebp - 0x30], xmm1
movss dword [ebp - 0x2c], xmm4
movss dword [ebp - 0x28], xmm2
movss dword [ebp - 0x24], xmm3
jb 0x40ef50
comiss xmm0, xmm4
jb 0x40ef50
comiss xmm2, dword [ebp - 0x80]
jb 0x40ef50
comiss xmm3, dword [ebp - 0x70]
jae 0x40ef8e
movss xmm1, dword [edx + 0x1c28]
mulss xmm1, dword [0x505690]
push 0xf
movss xmm0, dword [edx + 0x151c]
push ecx
mov ecx, 0x2d
movss dword [esp], xmm0
call fcn.00406790
mov ecx, dword [edi + 0x278]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0041f370
mov eax, dword [ebp - 0x38]
and eax, 0x5000000
mov byte [ebp - 0x31], 0
cmp eax, 0x1000000
jne 0x40efd8
cmp dword [ebp - 0x6c], 0x3000000
je 0x40efd8
mov edx, dword [edi + 0x278]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0x28], 0
jne 0x40efd8
mov eax, dword [ebp - 0x68]
mov eax, dword [eax + 0x278]
cmp dword [eax + 0x18], 0
jle 0x40efd8
mov byte [ebp - 0x31], 1
mov dword [edi + 0x278], eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x1c18]
test ecx, ecx
jne 0x40efeb
mov ecx, dword [eax + 0x1b20]
cmp byte [ebp - 0x78], 0
jne 0x40f009
test ecx, ecx
je 0x40f003
mov eax, dword [edi + 0x2fc]
cmp eax, dword [ecx + 0x2fc]
je 0x40f009
mov byte [ebp - 0x48], 0
jmp 0x40f00d
mov byte [ebp - 0x48], 1
movd xmm0, esi
lea eax, [ebp - 0x20]
cvtdq2ps xmm0, xmm0
push ecx
lea edx, [ebp - 0xa0]
mov ecx, edi
movss dword [esp], xmm0
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x48]
call fcn.0040cae0
add esp, 0x10
cmp byte [ebp - 0x31], 0
je 0x40f046
lea eax, [edi + 0x27c]
mov dword [edi + 0x278], eax
mov esi, dword [ebp - 0x4c]
cmp dword [esi + 0x1c1c], edi
jne 0x40f1d8
movss xmm1, dword [edi + 0xc]
movss xmm5, dword [edi + 0x3c]
movaps xmm4, xmm1
movss xmm2, dword [esi + 0x18c8]
movaps xmm0, xmm5
addss xmm1, dword [edi + 0x14]
maxss xmm0, dword [esi + 0x151c]
movss xmm7, dword [edi + 0x10]
subss xmm4, xmm2
movaps xmm3, xmm7
addss xmm7, dword [edi + 0x18]
subss xmm3, xmm2
addss xmm1, xmm2
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [ebp - 0x58]
comiss xmm0, xmm4
movss dword [ebp - 0x6c], xmm4
addss xmm7, xmm2
movss dword [ebp - 0x40], xmm3
movss dword [ebp - 0x44], xmm1
jb 0x40f0fc
comiss xmm0, xmm3
jb 0x40f0fc
comiss xmm1, dword [ebp - 0x80]
jb 0x40f0fc
comiss xmm7, dword [ebp - 0x70]
jb 0x40f0fc
xorps xmm2, xmmword [0x5059c0]
subss xmm2, dword [0x5056d0]
movss dword [ebp - 0x4c], xmm5
movaps xmm0, xmm2
subss xmm4, xmm2
subss xmm3, xmm2
addss xmm0, xmm1
addss xmm7, xmm2
movss dword [ebp - 0x6c], xmm4
movss dword [ebp - 0x40], xmm3
movss dword [ebp - 0x44], xmm0
mov edx, dword [edi + 0x278]
mov ecx, 0x2d
movss xmm1, dword [esi + 0x1c28]
mov dword [ebp - 0x70], edx
call fcn.00406790
mov dword [ebp - 0x5c], eax
test eax, 0xff000000
je 0x40f1d8
test byte [edx + 0x24], 1
lea eax, [ebp - 0x54]
movss xmm1, dword [ebp - 0x44]
mov ecx, edx
movss xmm0, dword [ebp - 0x6c]
movss xmm3, dword [ebp - 0x4c]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x84]
push eax
je 0x40f170
movss xmm2, dword [0x5056a4]
addss xmm0, xmm2
subss xmm1, xmm2
subss xmm7, xmm2
movss dword [ebp - 0x84], xmm0
movss xmm0, dword [ebp - 0x40]
addss xmm0, xmm2
jmp 0x40f19d
addss xmm0, dword [0x5056a4]
subss xmm1, dword [0x5056a0]
subss xmm7, dword [0x5056a0]
movss dword [ebp - 0x84], xmm0
movss xmm0, dword [ebp - 0x40]
addss xmm0, dword [0x5056a4]
movss dword [ebp - 0x54], xmm1
movss dword [ebp - 0x50], xmm7
movss dword [ebp - 0x80], xmm0
call fcn.0041ee40
mov eax, dword [ebp - 0x70]
push ecx
mov dword [esp], 0x40400000
mov ecx, eax
push 1
push dword [ebp - 0x5c]
push dword [eax + 0x58]
push dword [eax + 0x60]
call fcn.0041dc50
mov eax, dword [ebp - 0x70]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp - 0x38]
mov edx, ecx
movss xmm7, dword [edi + 0x2c]
movss xmm4, dword [ebp - 0x58]
shr edx, 3
not dl
and dl, 1
ucomiss xmm7, xmm4
lahf
test ah, 0x44
jnp 0x40f1ff
movss dword [ebp - 0x70], xmm7
jmp 0x40f237
movss xmm0, dword [edi + 0x34]
mov eax, ecx
movss xmm1, dword [edi + 0x14]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [edi + 0x70]
cmp eax, 0x800
jne 0x40f22b
movss xmm0, dword [edi + 0x24]
jmp 0x40f22e
movaps xmm0, xmm4
maxss xmm0, xmm1
movss dword [ebp - 0x70], xmm0
movss xmm5, dword [edi + 0x30]
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jnp 0x40f24c
movss dword [ebp - 0x80], xmm5
jmp 0x40f27f
movss xmm0, dword [edi + 0x38]
movss xmm1, dword [edi + 0x18]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [ebp - 0x64]
subss xmm1, dword [edi + 0x74]
test dl, dl
je 0x40f273
movss xmm0, dword [edi + 0x28]
jmp 0x40f276
movaps xmm0, xmm4
maxss xmm0, xmm1
movss dword [ebp - 0x80], xmm0
movss xmm6, dword [edi + 0x34]
movss xmm1, dword [edi + 0x1fc]
movaps xmm0, xmm6
maxss xmm0, dword [edi + 0x40]
subss xmm1, dword [edi + 0x50]
movss xmm3, dword [edi + 0x10]
ucomiss xmm7, xmm4
addss xmm1, xmm0
movss xmm0, dword [edi + 0x38]
movss dword [ebp - 0x5c], xmm0
maxss xmm0, dword [edi + 0x40]
cvttss2si eax, xmm1
movss xmm1, dword [edi + 0x54]
movss dword [ebp - 0x44], xmm1
movss xmm1, dword [edi + 0x200]
subss xmm1, dword [ebp - 0x44]
subss xmm3, dword [ebp - 0x44]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm1, xmm0
movss dword [edi + 0x21c], xmm2
addss xmm2, dword [ebp - 0x70]
cvttss2si eax, xmm1
movss xmm1, dword [ebp - 0x5c]
movss dword [edi + 0x224], xmm2
addss xmm3, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
lahf
movss dword [edi + 0x220], xmm0
addss xmm0, dword [ebp - 0x80]
movss dword [edi + 0x228], xmm0
movss xmm0, dword [edi + 0xc]
movss dword [ebp - 0x50], xmm0
movaps xmm2, xmm0
movss xmm0, dword [ebp - 0x64]
addss xmm3, xmm0
subss xmm2, dword [edi + 0x50]
movss dword [edi + 0x240], xmm3
addss xmm2, xmm6
movss dword [edi + 0x23c], xmm2
test ah, 0x44
jp 0x40f36c
movss xmm7, dword [edi + 0x14]
movaps xmm0, xmm6
addss xmm0, xmm6
subss xmm7, xmm0
movss xmm0, dword [ebp - 0x64]
subss xmm7, dword [edi + 0x70]
ucomiss xmm5, xmm4
addss xmm2, xmm7
lahf
movss dword [edi + 0x244], xmm2
test ah, 0x44
jp 0x40f39f
movss xmm5, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, xmm1
subss xmm5, xmm0
movss xmm0, dword [ebp - 0x64]
subss xmm5, xmm0
subss xmm5, dword [edi + 0x74]
addss xmm6, xmm4
addss xmm1, xmm0
addss xmm3, xmm5
lea ecx, [edi + 0x16c]
subss xmm6, dword [edi + 0x50]
subss xmm1, dword [ebp - 0x44]
movss dword [edi + 0x248], xmm3
movss dword [edi + 0x100], xmm6
addss xmm6, xmm4
mov dword [edi + 0x108], 0
mov dword [edi + 0x104], 0
addss xmm1, dword [edi + 0x10]
addss xmm6, dword [ebp - 0x50]
movss dword [edi + 0xd8], xmm6
movss dword [edi + 0xdc], xmm1
movss dword [edi + 0xc8], xmm6
movss dword [edi + 0xcc], xmm1
movss dword [edi + 0xd0], xmm6
movss dword [edi + 0xd4], xmm1
movss dword [edi + 0xe0], xmm6
movss dword [edi + 0xe4], xmm1
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xe8], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0xf8], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x138], 1
mov eax, dword [edi + 0x140]
mov dword [edi + 0x13c], eax
mov dword [edi + 0x140], 0
mov dword [edi + 0x144], 0
mov byte [edi + 0x148], 0
movss xmm0, dword [edi + 0x5c]
comiss xmm0, xmm4
seta al
cmp byte [ebp - 0x3a], 0
mov byte [edi + 0x149], al
mov byte [edi + 0x14a], 0
movss xmm0, dword [edi + 0x34]
maxss xmm0, dword [esi + 0x1558]
maxss xmm0, dword [esi + 0x1ac8]
movss dword [edi + 0x14c], xmm0
mov eax, dword [esi + 0x1acc]
mov dword [edi + 0x150], eax
movss xmm0, dword [esi + 0x1558]
mov dword [edi + 0x15c], 0
mov dword [edi + 0x158], 0
movss dword [edi + 0x154], xmm0
je 0x40f51d
xorps xmm0, xmm0
movq qword [ecx], xmm0
mov dword [ecx + 8], 0
xor edx, edx
nop
test edx, edx
je 0x40f545
movss xmm0, dword [ecx]
comiss xmm0, xmm4
jbe 0x40f545
movss xmm0, dword [edi + 0x154]
addss xmm0, dword [edi + 0x158]
movss dword [edi + 0x158], xmm0
cvttss2si eax, dword [edi + 0x158]
inc edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx - 0xc], xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [edi + 0x158]
movss dword [edi + 0x158], xmm0
mov dword [ecx], 0
add ecx, 4
cmp edx, 3
jl 0x40f520
mov dword [edi + 0x178], 0
lea eax, [edi + 0x180]
mov dword [edi + 0x17c], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40f5bf
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 + 0x180]
call fcn.004151b0
lea eax, [edi + 0x180]
mov ecx, dword [ebp - 0x68]
mov dword [eax], 0
lea eax, [edi + 0x258]
mov dword [edi + 0x18c], eax
mov dword [edi + 0x190], 0
mov dword [edi + 0x194], 1
test ecx, ecx
je 0x40f614
mov eax, dword [ecx + 0x194]
mov dword [edi + 0x198], eax
mov dword [edi + 0x1a0], 0xffffffff
mov dword [edi + 0x19c], 0xffffffff
mov eax, dword [ecx + 0x1a4]
jmp 0x40f634
mov dword [edi + 0x198], 1
xor eax, eax
mov dword [edi + 0x1a0], 0xffffffff
mov dword [edi + 0x19c], 0xffffffff
mov dword [edi + 0x1a4], eax
mov eax, dword [edi + 0x254]
mov dword [edi + 0x1a8], eax
lea eax, [edi + 0x1b0]
mov dword [edi + 0x1ac], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40f67f
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 + 0x1b0]
call fcn.004151b0
lea eax, [edi + 0x1b0]
mov dword [eax], 0
lea eax, [edi + 0x1bc]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40f6b4
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 + 0x1bc]
call fcn.004151b0
lea eax, [edi + 0x1bc]
mov dword [eax], 0
lea eax, [edi + 0x1c8]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40f6e9
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 + 0x1c8]
call fcn.004151b0
lea eax, [edi + 0x1c8]
push 0
lea ecx, [edi + 0x1d4]
mov dword [eax], 0
call fcn.00414dd0
test dword [ebp - 0x38], 0x1000000
je 0x40f76a
mov eax, dword [ebp - 0x68]
mov eax, dword [eax + 0x1a4]
cmp dword [edi + 0x1a4], eax
je 0x40f76a
lea ecx, [edi + 0x1b0]
mov dword [edi + 0x1a4], eax
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x40f756
inc edx
mov dword [ebp - 0x5c], edx
test eax, eax
je 0x40f740
cdq
sub eax, edx
mov edx, dword [ebp - 0x5c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40f745
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.004151b0
lea ecx, [edi + 0x1b0]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [edi + 0x1a4]
mov dword [ecx + edx*4], eax
inc dword [edi + 0x1b0]
mov al, byte [edi + 0x90]
test al, al
jle 0x40f77c
dec al
mov byte [edi + 0x90], al
mov al, byte [edi + 0x91]
test al, al
jle 0x40f78e
dec al
mov byte [edi + 0x91], al
cmp byte [ebp - 0x78], 0
je 0x40f7a4
mov ecx, edi
call fcn.0040fc80
xor dl, dl
mov ecx, edi
call fcn.00411c20
test byte [ebp - 0x38], 1
jne 0x40f7c1
push ecx
push dword [ebp - 0x88]
lea edx, [ebp - 0xa0]
mov ecx, edi
call fcn.0040d080
add esp, 8
mov ecx, dword [0x513c00]
mov eax, dword [edi + 0x48]
movss xmm2, dword [ebp - 0xa0]
movss xmm4, dword [ebp - 0x98]
movss xmm3, dword [ebp - 0x94]
mov dword [edi + 0x10c], eax
movss xmm1, dword [ecx + 0x1568]
movss xmm0, dword [ecx + 0x156c]
subss xmm2, xmm1
movss xmm5, dword [ecx + 0xe8]
addss xmm4, xmm1
movss xmm1, dword [ebp - 0x9c]
addss xmm3, xmm0
subss xmm1, xmm0
comiss xmm5, xmm2
jb 0x40f83b
movss xmm0, dword [ecx + 0xec]
comiss xmm0, xmm1
jb 0x40f83b
comiss xmm4, xmm5
jbe 0x40f83b
comiss xmm3, xmm0
jbe 0x40f83b
mov eax, 1
jmp 0x40f83d
xor eax, eax
movups xmm0, xmmword [ebp - 0xa0]
mov dword [edi + 0x110], eax
movups xmmword [edi + 0x114], xmm0
jmp 0x40f891
mov ecx, dword [0x513c00]
movss xmm0, dword [ecx + 0x18cc]
mov dword [ecx + 0x19f8], edi
mov eax, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x40f881
mulss xmm0, dword [eax + 0x270]
movss dword [ecx + 0x18dc], xmm0
movss dword [ecx + 0x18c8], xmm0
mov eax, dword [ecx + 0x19f8]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x19f8]
movss xmm3, dword [edi + 0x214]
movss xmm2, dword [edi + 0x218]
movss xmm1, dword [edi + 0x20c]
movss xmm0, dword [edi + 0x210]
mov dword [ebp - 0x70], eax
mov eax, dword [eax + 0x278]
mov dword [ebp - 0x44], eax
movss dword [ebp - 0xa0], xmm1
movss dword [ebp - 0x9c], xmm0
mov ecx, dword [eax + 0x40]
movss dword [ebp - 0x98], xmm3
movss dword [ebp - 0x94], xmm2
test ecx, ecx
je 0x40f960
mov eax, dword [eax + 0x48]
add ecx, ecx
movups xmm4, xmmword [eax + ecx*8 - 0x10]
comiss xmm4, xmm1
movaps xmmword [ebp - 0xb0], xmm4
jbe 0x40f915
movaps xmm1, xmm4
movss dword [ebp - 0xa0], xmm1
movss xmm4, dword [ebp - 0xac]
comiss xmm4, xmm0
jbe 0x40f92d
movaps xmm0, xmm4
movss dword [ebp - 0x9c], xmm0
movss xmm4, dword [ebp - 0xa8]
comiss xmm3, xmm4
jbe 0x40f945
movaps xmm3, xmm4
movss dword [ebp - 0x98], xmm3
movss xmm4, dword [ebp - 0xa4]
comiss xmm2, xmm4
mov eax, dword [ebp - 0x44]
jbe 0x40f960
movaps xmm2, xmm4
movss dword [ebp - 0x94], xmm2
comiss xmm1, xmm3
jb 0x40f96d
movss dword [ebp - 0x98], xmm1
comiss xmm0, xmm2
jb 0x40f97a
movss dword [ebp - 0x94], xmm0
mov edx, dword [eax + 0x40]
lea ecx, [eax + 0x40]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x50], ecx
cmp edx, eax
jne 0x40f9b2
inc edx
mov dword [ebp - 0x5c], edx
test eax, eax
je 0x40f99f
cdq
sub eax, edx
mov edx, dword [ebp - 0x5c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40f9a4
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00423920
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
add eax, eax
movups xmm0, xmmword [ebp - 0xa0]
movups xmmword [edx + eax*8], xmm0
inc dword [ecx]
mov ecx, dword [ebp - 0x44]
call fcn.0041d850
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 0x278]
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x48]
shl ecx, 4
movss xmm0, dword [eax + ecx - 0xc]
movss xmm1, dword [eax + ecx - 8]
movss xmm2, dword [eax + ecx - 4]
mov eax, dword [eax + ecx - 0x10]
mov dword [edx + 0x22c], eax
mov eax, dword [ebp - 0x7c]
movss dword [edx + 0x230], xmm0
movss dword [edx + 0x234], xmm1
movss dword [edx + 0x238], xmm2
cmp eax, dword [ebp - 0x8c]
je 0x40fa23
mov byte [edi + 0x7c], 0
inc word [edi + 0x86]
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x1a78], 0
test eax, 0x1000000
je 0x40fabd
test al, 0x40
jne 0x40fa84
cmp byte [edi + 0x90], 0
jg 0x40fa84
cmp byte [edi + 0x91], 0
jg 0x40fa84
movss xmm0, dword [edi + 0x1ec]
comiss xmm0, dword [edi + 0x1f4]
jae 0x40fa7a
movss xmm0, dword [edi + 0x1f0]
comiss xmm0, dword [edi + 0x1f8]
jb 0x40fa84
mov dword [edi + 0x98], 1
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x40fabd
cmp byte [eax + 0x7d], 0
jne 0x40fa9a
cmp dword [eax + 0x98], 0
jle 0x40faa4
mov dword [edi + 0x98], 1
cmp byte [eax + 0x7d], 0
jne 0x40fab3
cmp dword [eax + 0x9c], 0
jle 0x40fabd
mov dword [edi + 0x9c], 1
movss xmm0, dword [ebp - 0x58]
comiss xmm0, dword [esi + 0x1510]
jb 0x40fad5
mov dword [edi + 0x98], 1
cmp dword [edi + 0x98], 0
jg 0x40faeb
cmp dword [edi + 0x9c], 0
jg 0x40faeb
xor cl, cl
jmp 0x40faed
mov cl, 1
xor al, al
mov byte [edi + 0x81], cl
cmp byte [edi + 0x7d], al
jne 0x40fb03
cmp byte [edi + 0x7a], al
je 0x40fb03
test cl, cl
je 0x40fb27
cmp byte [edi + 0x90], 0
jg 0x40fb27
cmp byte [edi + 0x91], 0
jg 0x40fb27
cmp dword [edi + 0x9c], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov ecx, dword [ebp - 4]
mov byte [edi + 0x7f], al
xor ecx, ebp
pop edi
xor al, 1
pop esi
call fcn.004a1871
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret